[Python-bugs-list] [ python-Bugs-729300 ] Compiling --with-pydebug=yes --with-threads=no fails

SourceForge.net noreply@sourceforge.net
Mon, 28 Apr 2003 19:12:26 -0700


Bugs item #729300, was opened at 2003-04-28 21:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=729300&group_id=5470

Category: Threads
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compiling --with-pydebug=yes --with-threads=no fails

Initial Comment:
A PyGILstate_ function is called outside of a 
WITH_THREADS #ifdef.  Of course all the PyGIL 
functions only exist when threads are enabled. 
 
The attached patch fixes it, although I don't know enough  
about the new GIL Implementation to verify that it's  
'correct'.  

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=729300&group_id=5470