[New-bugs-announce] [issue6613] ctypes.PyThreadState_SetAsyncExc does not work on linux 64bit machines
Tiago Coutinho
report at bugs.python.org
Fri Jul 31 17:13:43 CEST 2009
New submission from Tiago Coutinho <coutinhotiago at gmail.com>:
Hello,
It seems that the ctypes.PyThreadState_SetAsyncExc is not working in
Linux 64bits machines
I have tried the code in attachment in python 2.5 and 2.6 in both 32bits
and 64bits machines with the following return:
| linux 32bits | linux 64bits |
------|--------------|--------------|
py2.5 | 1 (OK) | 0 (ERR) |
py2.6 | 1 (OK) | 0 (ERR) |
I have also tried to make a python extension in C++ exporting a function
to python that simply calls the C++ PyThreadState_SetAsyncExc and this
works fine.
----------
assignee: theller
components: ctypes
files: t16.py
messages: 91131
nosy: coutinhotiago, theller
severity: normal
status: open
title: ctypes.PyThreadState_SetAsyncExc does not work on linux 64bit machines
type: behavior
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file14614/t16.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6613>
_______________________________________
More information about the New-bugs-announce
mailing list