[issue2810] _winreg.EnumValue sometimes raises WindowsError ("More data is available")

R. David Murray report at bugs.python.org
Thu Apr 29 14:08:31 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

How much would increasing the loop count slow down the test?  Since if the bug isn't present the loop will run to the end every time, if it is non-trivial it would probably be better to keep it shorter, since Brian said it failed one way or another 9 out of 10 times.  Either way, a note in the test that it may occasionally pass even if the bug is present, but should fail most of the time, would be a good idea.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list