Irit Katriel added the comment:
I think Perry means HTTPBasicAuthHandler.http_error_401, which seems to still
be missing a reset_retry_count() call.
https://github.com/python/cpython/blob/0982ded179f280176868c1c4eccf77bf70687816/Lib/urllib/request.py#L1050
--
nosy: +iritkatriel
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19402
___
___
Python-bugs-list
New submission from Perry Lorier:
Similar to Issue8797, if the first 5 requests result in exception (eg 404),
then AbstractBasicAuthHandler.retried is not reset, meaning authentication will
fail on all subsequent attempts.
The logic in AbstractBasicAuthHandler.http_error_401 calling