This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fdirosa
Recipients Rhamphoryncus, fdirosa, nnorwitz, timbishop, vslavik
Date 2008-07-09.14:13:12
SpamBayes Score 0.00034507035
Marked as misclassified No
Message-id <1215612793.35.0.179197188412.issue1758146@psf.upfronthosting.co.za>
In-reply-to
Content
OK,

I think I found my problem.  I was using the main interpreter state 
(the one created by Py_Initialize) to create new thread states with.  
It seems that this interpreter state is reserved for GIL functions so 
one will need to create a new interpreter state with 
PyInterpeterState_New and use that interpreter state when creating the 
cooperating threads.  So now this check makes sense.  If one is 
swapping in a ts belonging to the main interpreter state, it best be 
the GIL thread state.
History
Date User Action Args
2008-07-09 14:13:13fdirosasetspambayes_score: 0.00034507 -> 0.00034507035
recipients: + fdirosa, nnorwitz, Rhamphoryncus, timbishop, vslavik
2008-07-09 14:13:13fdirosasetspambayes_score: 0.00034507 -> 0.00034507
messageid: <1215612793.35.0.179197188412.issue1758146@psf.upfronthosting.co.za>
2008-07-09 14:13:12fdirosalinkissue1758146 messages
2008-07-09 14:13:12fdirosacreate