[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 502bb809b03b by Senthil Kumaran in branch '2.7': update news in 2.7 for Issue #11703 http://hg.python.org/cpython/rev/502bb809b03b -- ___ Python tracker

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ee48ec69844 by Senthil Kumaran in branch '3.1': Update the News for the fix to Issue11703. http://hg.python.org/cpython/rev/8ee48ec69844 -- ___ Python tracker __

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all the codelines. Thanks for the patch, Santoso. -- status: open -> closed ___ Python tracker ___ __

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e73f75ee034 by Senthil Kumaran in branch '2.7': Fix Issue11703 - urllib2.get_url does not handle fragment in url properly. http://hg.python.org/cpython/rev/6e73f75ee034 -- ___ Python tracker

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: It should be noted that the bug surfaced in 2.7 and above due to changes made as part of Issue8280. -- assignee: -> orsenthil resolution: -> fixed ___ Python tracker _

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f240a1cd245 by Senthil Kumaran in branch '3.1': Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya. http://hg.python.org/cpython/rev/3f240a1cd245 --

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-06 Thread Santoso Wijaya
Changes by Santoso Wijaya : Added file: http://bugs.python.org/file21556/issue11703_py31_with_redirect.patch ___ Python tracker ___ ___ Python

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-06 Thread Santoso Wijaya
Santoso Wijaya added the comment: It already does. ;-) Python 2.7.1+ (default, Apr 6 2011, 16:25:38) [MSC v.1500 32 bit (Intel)] on wi n32 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 [74578 refs] >>> fp = urllib2.urlopen('http://16.foobnix-cms.apps

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-30 Thread Ivan Ivanenko
Ivan Ivanenko added the comment: Santa4nt, I think you also need to check case with Redirect Response URL: print urllib2.urlopen("http://16.foobnix-cms.appspot.com/test_base";).geturl() python 2.6 returns OK http://16.foobnix-cms.appspot.com/test_redirect#json={value:'OK'} python 2.7 returns

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-29 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-29 Thread Santoso Wijaya
Changes by Santoso Wijaya : Added file: http://bugs.python.org/file21457/issue11703_py31.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-29 Thread Santoso Wijaya
Santoso Wijaya added the comment: Attaching patches against 2.7 and 3.1 branches. -- keywords: +patch Added file: http://bugs.python.org/file21456/issue11703_py27.patch ___ Python tracker _

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-29 Thread Santoso Wijaya
Santoso Wijaya added the comment: This is because the Request class' constructor splits the URL into __original and fragment: def __init__(self, url, data=None, headers={}, origin_req_host=None, unverifiable=False): # unwrap('') --> 'type://host/path' self.

[issue11703] Bug in python >= 2.7 with urllib2 fragment

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

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-03-28 Thread Ivan Ivanenko
New submission from Ivan Ivanenko : result = urllib.urlopen("http://docs.python.org/library/urllib.html#OK";) print result.geturl() result = urllib2.urlopen("http://docs.python.org/library/urllib.html#OK";) print result.geturl() Python 2.6 returns: "http://docs.python.org/library/urllib.html#OK