Author tim_one
Recipients
Date 2006-07-18.18:02:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

The correct way to repair this is to move the body of
_PyThread_CurrentFrames above:

/* Python "auto thread state" API. */
#ifdef WITH_THREAD

_PyThread_CurrentFrames() should be able to return a dict
regardless of whether WITH_THREAD is defined.  If
WITH_THREAD is not defined, sys._current_frames() should
return a single-element dict, mapping the integer 0 to the
main thread's frame.  That should happen "by magic", but the
test case will have to be changed to pass then.

I have no idea how to build Python without threads on
Windows, so I'm probably not the best person to try this.
History
Date User Action Args
2007-08-23 15:53:38adminlinkissue1524724 messages
2007-08-23 15:53:38admincreate