[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-09-27 Thread secynic
Changes by secynic <secy...@gmail.com>: -- keywords: +patch versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44850/issue28291.patch ___ Python tracker <rep...@bugs.python.o

[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-09-27 Thread secynic
secynic added the comment: It is a very limited use case; I won't gripe about 3.7+ only support. At the end of the day, even shown in the comments of that class, it shouldn't be set to a static 5 count. At least this is a very easy patch that won't affect existing code

[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-09-27 Thread secynic
New submission from secynic: urllib/urllib2 AbstractDigestAuthHandler is hardcoded to 5 retries (self.retried). Normally this wouldn't be an issue. Certain products link basic HTTP auth to Active Directory (yes, this shouldn't be a thing). When you have a failed login attempt lockout set