[issue8123] TypeError in urllib when trying to use HTTP authentication

Senthil Kumaran report at bugs.python.org
Wed Aug 4 19:51:06 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Surprising that it was not observed in my system (Ubuntu).

There was mistake where in the bytes value was being coerced to a string.
bauth = "Basic: %s" % auth // with auth was bytes.

Fixed it in r83729 and r83730.

----------
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8123>
_______________________________________


More information about the Python-bugs-list mailing list