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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, eric.smith
Date 2008-05-06.14:48:26
SpamBayes Score 0.24576163
Marked as misclassified No
Message-id <1210085311.62.0.917703691704.issue2772@psf.upfronthosting.co.za>
In-reply-to
Content
> Do I need to acquire the GIL here?
No, the GIL has already been acquired.

The problem with the static variable is that while the main thread is
PyErr_WarnEx(), another thread may gain focus. And it will not trigger
the warning.
History
Date User Action Args
2008-05-06 14:48:32amaury.forgeotdarcsetspambayes_score: 0.245762 -> 0.24576163
recipients: + amaury.forgeotdarc, eric.smith
2008-05-06 14:48:31amaury.forgeotdarcsetspambayes_score: 0.245762 -> 0.245762
messageid: <1210085311.62.0.917703691704.issue2772@psf.upfronthosting.co.za>
2008-05-06 14:48:30amaury.forgeotdarclinkissue2772 messages
2008-05-06 14:48:29amaury.forgeotdarccreate