Martin Panter added the comment:
Not a Python bug. The web site seems to be doing this based on the user agent;
if you change it, it works:
urlopen(Request("http://www.thomsonlocal.com/", headers={"User-Agent":
"https://bugs.python.org/issue21896"}))
----------
nosy: +vadmium
type: crash -> behavior
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com