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

zenyatta report at bugs.python.org
Thu Jul 22 11:58:32 CEST 2010


zenyatta <jh at journey.sk> added the comment:

I work in sidux and my Mercurial currently doesn't work. The python version already contains the fix for this issue (revision 81637) and it crashes Mercurial ("authorization failed") whenever a command involves more than 5 requests to the repository. I fixed it by resetting the retry counter upon successful authorization (see patch). Maybe this helps someone in a similar situation. The patch was made against trunk using "diff -u".

----------
keywords: +patch
nosy: +zenyatta
Added file: http://bugs.python.org/file18121/urllib2-8797-fix-workaround.patch

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


More information about the Python-bugs-list mailing list