[issue3046] Locking should be removed from the new buffer protocol
Stefan Behnel
report at bugs.python.org
Fri Jun 6 10:08:33 CEST 2008
Stefan Behnel <scoder at users.sourceforge.net> added the comment:
Here is a patch that removes all occurrences of the locking protocol
from the current py3k branch code base.
There are still some issues in memoryobject.c:
- there was an occurrence of PyBUF_SHADOW that might have to be handled
- memory_getbuf and memory_releasebuf must be reimplemented as it is no
longer allowed to call getbuffer/releasebuffer with a NULL pointer
Added file: http://bugs.python.org/file10534/buffer-no-locking.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3046>
_______________________________________
More information about the Python-bugs-list
mailing list