]> granicus.if.org Git - python/commit
Provide a clearer error message when urlopen fails because of an
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 2 Oct 2000 23:04:02 +0000 (23:04 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 2 Oct 2000 23:04:02 +0000 (23:04 +0000)
commitd52755f41c1545a1e6dcc0f38ebed0a1fd1fa5e8
tree79f56e5eeaef06516ed0ded7f9758b0f071f199e
parent4dc1a6d6bae5c5828ca1e3473be280650dfadab5
Provide a clearer error message when urlopen fails because of an
invalid proxy setting.

Minor change to call of unknown_url; always pass data argument
explicitly since data defaults to None.

PEP 42: Add as a feature that urllib handle proxy setting that contain
only the host and port of the proxy.
Lib/urllib.py