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 nikratio
Recipients amaury.forgeotdarc, anacrolix, docs@python, ncoghlan, nikratio, swapnil, verigak
Date 2010-09-17.21:16:08
SpamBayes Score 8.754155e-09
Marked as misclassified No
Message-id <1284758170.03.0.525759141973.issue6627@psf.upfronthosting.co.za>
In-reply-to
Content
To be a bit more constructive, why not add something like this in paragraph to http://docs.python.org/library/ctypes.html#callback-functions:

"Note that if the callback function is called in a new thread that has been created outside of Python's control (i.e., by the foreign code that calls the callback), ctypes creates a new dummy Python thread on every invocation. That means that values stored with `threading.local` will *not* survive across different callbacks.
History
Date User Action Args
2010-09-17 21:16:10nikratiosetrecipients: + nikratio, amaury.forgeotdarc, ncoghlan, verigak, swapnil, anacrolix, docs@python
2010-09-17 21:16:10nikratiosetmessageid: <1284758170.03.0.525759141973.issue6627@psf.upfronthosting.co.za>
2010-09-17 21:16:08nikratiolinkissue6627 messages
2010-09-17 21:16:08nikratiocreate