[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 21:00:32 CET 2014


Matej Cepl added the comment:

On Tue, 2014-02-11 at 16:52 +0000, Terry J. Reedy wrote:
> Both patches have an unusual email section at the top that is not
> needed for this tracker, and which I have not seen here before. Is this
> something idiosyncratic to git?

Yes, it is output of git-format-patch(1) ... the advantage against the
plain diff is that it all commit's metadata are included so it can be
fully restored with git-am(1). It is a normal way how commits are sent
around.

> I believe I have read elsewhere the recommendation to use 404 to avoid
> leading info. So taking that into account seems like a good idea. But I
> am not sure what the manual claims about urllib.request and I won't
> make the decision about which versions to apply a patch to.

Well, I would apply it at least to the latest py2k (aka 2.7.7?) and the
latest py3k (3.3.*, 3.4.next).

Matěj

----------

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


More information about the Python-bugs-list mailing list