comparison Python/mysnprintf.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 8af86a952b2c
children 2925b568aacc a8cc8e6f0c1a
comparison
equal deleted inserted replaced
29642:58f141d1ccca 29643:fa97293533a9