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 theller
Recipients coutinhotiago, theller
Date 2009-07-31.15:56:53
SpamBayes Score 8.096878e-08
Marked as misclassified No
Message-id <1249055815.06.0.22345947208.issue6613@psf.upfronthosting.co.za>
In-reply-to
Content
I have no time to figure out what the attached script is supposed to do.
 Please provide a standalone test-script and describe exactly how it
should be used to reproduce the bug.

However, I guess the problem is that the signature of
PyThreadState_SetAsyncEx is this:
  int PyThreadState_SetAsyncExc( long id, PyObject *exc)

To call this function correctly on a 64-bit system you have to set
argtypes because 'long' isn't the same as 'int' any longer.  Without
argtypes, ctypes passes a Python integer as 'int' argument.
History
Date User Action Args
2009-07-31 15:56:55thellersetrecipients: + theller, coutinhotiago
2009-07-31 15:56:55thellersetmessageid: <1249055815.06.0.22345947208.issue6613@psf.upfronthosting.co.za>
2009-07-31 15:56:54thellerlinkissue6613 messages
2009-07-31 15:56:53thellercreate