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.

classification
Title: Obsolete comment in urlparse.py
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: loewis, staschuk
Priority: normal Keywords: patch

Created on 2003-03-30 10:40 by staschuk, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
urlparse-obsolete-comment.patch staschuk, 2003-03-30 10:40
Messages (2)
msg43238 - (view) Author: Steven Taschuk (staschuk) Date: 2003-03-30 10:40
urlparse.py contains a comment to the effect
that urljoin('http://foo/bar', '//g') returns 'http://g/',
contrary to the RFC 1808 example, which calls
for 'http://g' (with no trailing slash).

But this is false, and has been since at least 2.2.2;
urljoin correctly returns 'http://g' in this case, as the
test suite in fact verifies.

The patch simply removes this bogus comment.
msg43239 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-03-30 16:42
Logged In: YES 
user_id=21627

Thanks for the patch, committed as 1.40.
History
Date User Action Args
2022-04-10 16:07:57adminsetgithub: 38241
2003-03-30 10:40:09staschukcreate