Ronald Oussoren <ronaldousso...@mac.com> added the comment: I've attached a patch for the trunk that fixes the issue and passes test_urllib.py on the trunk.
What I haven't done yet is write some unittests that actually test different proxy configurations, that would require changing the SystemConfigation proxy settings (that is, the settings you set using the Network panel in "System Preferences"). Doing that is non-trivial, especially because running the tests should affect the rest of the system. It should be possible though to temporarily change the settings for the currently running process. ---------- Added file: http://bugs.python.org/file15145/urllib-hostIP-error.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7149> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com