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

Daniel Stutzbach report at bugs.python.org
Wed May 26 17:12:26 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

I wrote a short C program to test a few different variations.  It looks to me like a bug in the operating system's implementation of HKEY_PERFORMANCE_DATA (which is a virtual registry key).  If I pass NULL as the second parameter to a more conventional key that has a default value, everything works fine.

I suggest changing the test to pass "" instead of None.

----------

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


More information about the Python-bugs-list mailing list