[Python-Dev] [RFC] urlparse - parse query facility
orsenthil at users.sourceforge.net
Thu Jun 14 04:43:44 CEST 2007
* Jim Jewett <jimjjewett at gmail.com> [2007-06-13 19:27:24]:
> > a) import cgi and call cgi module's query_ps. [circular imports]
> > 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.
More information about the Python-Dev