[Python-Dev] [RFC] urlparse - parse query facility (original) (raw)

Jim Jewett jimjjewett at gmail.com
Thu Jun 14 01:27:24 CEST 2007


a) import cgi and call cgi module's queryps. [circular imports]

or

b) Implement a stand alone query parsing facility in urlparse AS IN cgi module.

Assuming (b), please remove the (code for the) parsing from the cgi module, and just import it back from urlparse (or urllib). Since cgi already imports urllib (which imports urlparse), this isn't adding any dependencies -- but it keeps the code in a single location.

-jJ



More information about the Python-Dev mailing list