[issue754016] urlparse goes wrong with IP:port without scheme

Senthil Kumaran report at bugs.python.org
Wed Aug 4 06:56:32 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Fixed in revision 83700 (release27-maint). r83701(py3k) and r83702(release31-maint).

David, thanks for reworking on the patch. Couple of comments
- I made change to the original patch where I checked 'https:' and 'http:' kind of url with url.endswith(':')  instead of len(url) == i+1 // I had a hard time to figure out why I had this way in the first place.

- In py3k, the urlparse.urlparse is changed to urllib.parse.urlparse. So that changes were required in the tests.

----------
assignee: facundobatista -> orsenthil
resolution: accepted -> fixed
stage: patch review -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue754016>
_______________________________________


More information about the Python-bugs-list mailing list