homepage

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 kevinwatters
Recipients kevinwatters, theller
Date 2008年08月14日.16:39:50
SpamBayes Score 0.0011789267
Marked as misclassified No
Message-id <1218731992.24.0.0258351695719.issue3554@psf.upfronthosting.co.za>
In-reply-to
Content
in Lib/ctypes/__init__.py the wstring_at and string_at functions are
declared with CFUNCTYPE.
This means that in Modules/_ctypes/callproc.c when the functions are
invoked, Py_UNBLOCK_THREADS and Py_BLOCK_THREADS surround the call. But
string_at and wstring_at call PyString_FromString and
PyUnicode_FromWideChar, respectively.
The solution (I think) is to declare the functions with PYFUNCTYPE
instead, so that callproc.c doesn't release the GIL when calling them.
History
Date User Action Args
2008年08月14日 16:39:52kevinwatterssetrecipients: + kevinwatters, theller
2008年08月14日 16:39:52kevinwatterssetmessageid: <1218731992.24.0.0258351695719.issue3554@psf.upfronthosting.co.za>
2008年08月14日 16:39:51kevinwatterslinkissue3554 messages
2008年08月14日 16:39:50kevinwatterscreate

AltStyle によって変換されたページ (->オリジナル) /