[RFC] urlparse - parse query facility
a) import cgi and call cgi module's query_ps. [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
* Jim Jewett <jimjjewett@gmail.com> [2007-06-13 19:27:24]:
a) import cgi and call cgi module's query_ps. [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
participants (2)
-
Jim Jewett -
O.R.Senthil Kumaran