[issue21349] crash in winreg SetValueEx with memoryview
Zachary Ware
report at bugs.python.org
Fri Apr 25 19:21:22 CEST 2014
New submission from Zachary Ware:
The new test fails with the patch applied:
======================================================================
ERROR: test_setvalueex_with_memoryview (__main__.LocalWinregTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "P:\ath\to\2.7\cpython\lib\test\test_winreg.py", line 336, in test_setvalueex_with_memoryview
SetValueEx(ck, "test_name", None, REG_BINARY, memoryview('val'))
TypeError: Objects of type 'memoryview' can not be used as binary registry values
----------------------------------------------------------------------
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21349>
_______________________________________
More information about the Python-bugs-list
mailing list