[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed this in all codelines. Thanks Santoso. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 495d12196487 by Senthil Kumaran in branch '3.1': Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits. http://hg.python.org/cpython/rev/495d12196487 --

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a693e283c68 by Senthil Kumaran in branch '2.7': Issue #11467: Fix urlparse behavior when handling urls which contains scheme http://hg.python.org/cpython/rev/7a693e283c68 -- nosy: +python-dev ___ Python

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: Senthil, Thanks for the review! I was initially thinking of `port = ...` but opted for _, arbitrarily, instead. regrtest on Darwin-10.6.0-i386-64bit ran fine. -- ___ Python tracker

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Santoso, Quick review comments: 1. The patch looks good. 2. I would use a temporary 'throw-away' variable instead of _, but don't bother to change it, before committing I shall take care. 3. Important - Did you find any regression with the earlier builds, als

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: Oops, wrong revision base. -- Added file: http://bugs.python.org/file2/urlparse.patch ___ Python tracker ___ __

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : Removed file: http://bugs.python.org/file21110/urlparse.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: I'm attaching a patch with a fix and a unittest using the email example. I put this in a new test_RFC2368 (the mailto URL scheme) method. Seems like there is no unittest for parsing mailto scheme to begin with. -- Added file: http://bugs.python.org/fi

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Bastian Kleineidam
Bastian Kleineidam added the comment: To make the previous comment more precise: URLs where the scheme specific part begins with a digit are affected. -- ___ Python tracker ___

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Bastian Kleineidam
Bastian Kleineidam added the comment: Regarding the correctness of the Python 2.6 implementation: http://www.faqs.org/rfcs/rfc1738.html specifies URLs of the form : where the scheme specific part is allowed to consist only of digits. I agree that the example URL is not a good one and it is a

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: What kind of url is 'javascript:123' and how do you (/ we) say that python2.6 behavior was correct? -- assignee: -> orsenthil keywords: +patch ___ Python tracker __

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread R. David Murray
Changes by R. David Murray : -- nosy: +orsenthil, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Bastian Kleineidam
Bastian Kleineidam added the comment: The behaviour change is caused by the fix for issue #754016. -- ___ Python tracker ___ ___ Pyth

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Bastian Kleineidam
Changes by Bastian Kleineidam : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-11 Thread Bastian Kleineidam
New submission from Bastian Kleineidam : When using a javascript URL with only digits as paths, the urlsplit() functions behaves different in Python 2.7 than in 2.6: $ python2.6 -c "import urlparse; print urlparse.urlsplit('javascript:123')" SplitResult(scheme='javascript', netloc='', path='123