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

O.R.Senthil Kumaran orsenthil at users.sourceforge.net
Thu Jun 14 04:43:44 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.

Sure, thats a good idea as I see it. It wont break anything as well.

Thanks,

-- O.R.Senthil Kumaran http://uthcode.sarovar.org



More information about the Python-Dev mailing list