[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

Senthil Kumaran report at bugs.python.org
Wed Jun 2 06:13:35 CEST 2010


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

The point of retry is for auth failure, which can happen due to any reason. It is not just for a wrong password.

I was thinking just doing a single verification and failing, but did find some resources (not just browsers) which adopt this approach of retry.

BTW, Basic auth is gone now and Digest auth has some recommendations so I found its fine to do the same way as Digest auth does.

----------

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


More information about the Python-bugs-list mailing list