[XML-SIG] [ pyxml-Patches-1358233 ] pyexpat.py should call PyGIL_Acquire

SourceForge.net noreply at sourceforge.net
Wed Nov 16 17:44:21 CET 2005


Patches item #1358233, was opened at 2005-11-16 17:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1358233&group_id=6473

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: expat
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Raphael Slinckx (kikidonk)
Assigned to: Nobody/Anonymous (nobody)
Summary: pyexpat.py should call PyGIL_Acquire

Initial Comment:
When doing callback into python code from the C code in
pyexpat.c, the GIL should be acquired to avoid
concurrent modifications in the python interpreter.
This problem apears with gtk and gnomevfs, which is
threaded. Sometimes when arsing wml from the thread it
crashes the application.

The patch adds GIL acquire/free when calling back in
python code from pyexpat.c

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1358233&group_id=6473


More information about the XML-SIG mailing list