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 ncoghlan
Recipients ncoghlan
Date 2012-08-21.05:18:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345526301.75.0.455071650321.issue15751@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, modules that use the PyGILState* APIs cannot be used with mod_wsgi, as mod_wsgi uses the subinterpreter support.

Graham Dumpleton and I spent some time discussing this at PyCon AU 2012, and we believe that the incompatibility can be resolved with a single API in the core: a function that mod_wsgi can call to set the interpreter used by the GIL state APIs to implicitly create new thread states.

This is still only a seed of an idea (and it's entirely possible we've missed something), but it's a place to start in resolving this longstanding incompatibility.
History
Date User Action Args
2012-08-21 05:18:21ncoghlansetrecipients: + ncoghlan
2012-08-21 05:18:21ncoghlansetmessageid: <1345526301.75.0.455071650321.issue15751@psf.upfronthosting.co.za>
2012-08-21 05:18:00ncoghlanlinkissue15751 messages
2012-08-21 05:18:00ncoghlancreate