Daniel Stutzbach <dan...@stutzbachenterprises.com> added the comment:

Attached is a file that reliably produces the "More data is available" error 
from _winreg.EnumValue in Python 2.6.

The script triggers the error via a race condition, by modifying the value 
after PyEnumValue() calls RegQueryInfoKey() but before it calls RegEnumValue(). 
 I don't know if that's what caused the original problem for my end-user, but 
it certainly is one way to trigger the problem.

I can work on a patch next week for a proper test case and to fix PyEnumValue().

----------
Added file: http://bugs.python.org/file16728/more_data_is_available.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2810>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to