[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

Matej Cepl report at bugs.python.org
Tue Feb 11 16:13:45 CET 2014


Matej Cepl added the comment:

On Tue, Feb 11, 2014 at 02:14:16PM +0000, Chris Angelico wrote:
>I suspect, though, that this will be called a feature addition, 
>ergo it won't go into 2.7 (and for 3.x, will be deferred until 
>3.5). I would advise working with the current 3.x branch, as 
>that's your best bet for acceptance; backporting to 2.7 can 
>come later, if it's accepted for that.

Which was one of the reasons why I send the my message to 
python-dev at python.org I would argue however, that this is not 
a new feature, just a fix of a bug which has been overlooked for 
long long time. I don’t think I am changing API, just fixing 
a bug which made urllib2 fail to login into many sites (yes, they 
are broken and not following RFC). I am not sure I am right, but 
I guess it is valuable to discuss it.

----------

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


More information about the Python-bugs-list mailing list