[issue22248] urllib.request.urlopen raises exception when 30X-redirect url contains non-ascii chars

2014-08-22 Thread Tomas Groth
Tomas Groth added the comment: Small correction. Use this url for a working redirect instead of the one given at the end of the first comment: http://legacy.biblegateway.com/versions/?vid=ESV&action=getVersionInfo#books -- ___ Python tracker &

[issue22248] urllib.request.urlopen raises exception when 30X-redirect url contains non-ascii chars

2014-08-22 Thread Tomas Groth
New submission from Tomas Groth: Running this simple test script produces the traceback show below. import urllib.request page = urllib.request.urlopen('http://legacy.biblegateway.com/versions/?vid=DN1933&action=getVersionInfo#books') Traceback (most recent call last): File