summaryrefslogtreecommitdiffstats
path: root/Include/errcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-06-28 21:53:52 (GMT)
committerGuido van Rossum <guido@python.org>2003-06-28 21:53:52 (GMT)
commitb8b6d0c2c63bcd9252ce20ef990da093dda8b8ce (patch)
tree6a7d86081fd3a1be1d446f9b060133b5f340f614 /Include/errcode.h
parent90a2041ffd9789c19344bcf0d1b1e65138312736 (diff)
downloadcpython-b8b6d0c2c63bcd9252ce20ef990da093dda8b8ce.zip
cpython-b8b6d0c2c63bcd9252ce20ef990da093dda8b8ce.tar.gz
cpython-b8b6d0c2c63bcd9252ce20ef990da093dda8b8ce.tar.bz2
Add PyThreadState_SetAsyncExc(long, PyObject *).
A new API (only accessible from C) to interrupt a thread by sending it an exception. This is not always effective, but might help some people. Requested by Just van Rossum and Alex Martelli. It is intentional that you have to write your own C extension to call it from Python. Docs will have to wait.
Diffstat (limited to 'Include/errcode.h')
0 files changed, 0 insertions, 0 deletions