[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'}

[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.pytho