[Distutils] bootstrap.py/ez_setup doesn't understand username:passwd in URLs

Attila Oláh attilaolah at gmail.com
Wed Aug 25 06:29:22 CEST 2010


On Wed, Aug 25, 2010 at 06:26, Attila Oláh <attilaolah at gmail.com> wrote:
> Since URLs like
> "https://username:password@pypi.example.com/distribute-0.6.14.tar.gz"
> seem to be handled well by *urllib*, but not by *urllib2*, I wonder
> why are they handled by urllib2 instead of urllib.

Oops, I should have checked better before making the above statement.
Actually neither of urllib or urllib2 can handle these types of URLs.
However, it would be handy if bootstrap.py or ez_setup.py would be
smart enough to handle these edge-cases.

Attila


More information about the Distutils-SIG mailing list