[issue21349] crash in winreg SetValueEx with memoryview

Antoine Pitrou report at bugs.python.org
Sat Apr 26 13:32:42 CEST 2014


Antoine Pitrou added the comment:

> Are you aware of the old/new buffer interfaces and their usages? Did
> you actually try the code? "crash" would be obvious.

I cannot try the code as I'm under Linux :-)
I was asking merely because many people report plain exception
tracebacks as "crashes". Yes, by reading the patch it came to me that it
was probably related to the coexistence of old and new buffer API, but I
prefer it to be confirmed by the reporter, rather than trust my own
intuition.

(I also wonder why the code did that manually instead of calling e.g.
PyObject_AsReadBuffer)

----------

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


More information about the Python-bugs-list mailing list