This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients ajaksu2, akuchling, eric.araujo, lukasz.langa, martin.panter, ncoghlan, orsenthil
Date 2013-11-13.00:22:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384302151.84.0.799763096577.issue1500504@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a slightly modified version of urischeme.py that can be run under Python 3 and compares its results with urllib.parse, printing out the mismatches.

The major differences seem to be 1) urischeme fills in the default port if it's not explicitly provided, e.g. http urls have the port set to 80, 2) the path is returned as '/', not the empty string, for the URL http://host, 3) urllib.parse.urljoin() doesn't get rid of ./ and ../ in URLs.

3) seems like something worth fixing in urllib.parse.  The others probably present some backward-compatibility issues.
History
Date User Action Args
2013-11-13 00:22:33akuchlingsetrecipients: + akuchling, ncoghlan, orsenthil, ajaksu2, eric.araujo, lukasz.langa, martin.panter
2013-11-13 00:22:31akuchlingsetmessageid: <1384302151.84.0.799763096577.issue1500504@psf.upfronthosting.co.za>
2013-11-13 00:22:31akuchlinglinkissue1500504 messages
2013-11-13 00:22:31akuchlingcreate