[Python-bugs-list] [ python-Bugs-724751 ] urllib.urlparse has inverse in cgi module

SourceForge.net noreply@sourceforge.net
Sun, 20 Apr 2003 14:18:32 -0700


Bugs item #724751, was opened at 2003-04-20 22:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=724751&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib.urlparse has inverse in cgi module

Initial Comment:
The fact that urllib.urlparse has its inverse in the 
cgi module is not mentioned in the urllib docs. 
 
The patch adds a link to the cgi module, pointing out 
that the cgi.parse_qs and cgi.parse_qsl functions 
are the inverse of urllib.urlparse (if you ignore the 
precise types involved -- urllib.urlparse is many-to-one 
in that respect, so there isn't really a proper inverse 
function). 
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=724751&group_id=5470