Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 29643:fa97293533a9 legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 28 Jun 2003 21:53:52 +0000 |
| parents | 6c4a04ce965c |
| children | cc1f74d19fcb |
