[issue1035] bytes buffer API needs to support read locking and/or PyBUF_LOCKDATA
Gregory P. Smith
report at bugs.python.org
Mon Oct 8 04:56:38 CEST 2007
Gregory P. Smith added the comment:
This bug will be taken care of by PEP 3137
http://python.org/dev/peps/pep-3137/ being implemented.
Anyways, no the _bsddb.c changes that I checked in do not cause a
problem because I checked them in using PyBUF_SIMPLE.
Until PEP 3137 is implemented the possibility of hidden data corruption
due to mutable bytes objects being modified while an IO library that
releases the GIL is using them remains.
Feel free to close this bug in favor of something that just tracks the
PEP being implemented.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list