[Python-bugs-list] [Bug #133200] cPickle does not use Py_BEGIN_ALLOW_THREADS.

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Feb 2001 00:12:07 -0800


Bug #133200, was updated on 2001-Feb-20 00:12
Here is a current snapshot of the bug.

Project: Python
Category: Threads
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: ianbanks
Assigned to : nobody
Summary: cPickle does not use Py_BEGIN_ALLOW_THREADS.

Details: This bug refers to:

python/dist/src/Modules/cPickle.c
Revision 2.54 (In SourceForge)

The use of fread (line 506) and fwrite (line 410) are not wrapped by
Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS.

This causes certain uses of cPickle in threaded programs to deadlock, where
pickle does not.


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133200&group_id=5470