This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author astraw
Recipients
Date 2003-03-03.07:38:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The urllib module does not support http proxy authentication with passwords.  The urllib2 module does, so I changed pimp.py to use urllib2.  I have tested the patch below after setting my http_proxy environment variable to the form "http://user:pass@proxy.com:1234".

It may be possible to remove the dependency on urllib entirely by sustituting a urllib2 work-alike for a call to urllib.url2pathname().

This may affect the exception(s) raised when unable to connect.  For example, PackageManager.py catches an IOError, but I believe urllib2 raises a socket.gaierror when unable to resolve the name of the URL. I have not resolved this issue.
History
Date User Action Args
2007-08-23 15:20:54adminlinkissue696392 messages
2007-08-23 15:20:54admincreate