1. Armin Rigo
  2. cpython-withatomic


Fred Drake  committed 318bf69

backport 1.17, 1.18 from the trunk: PyErr_SetInterrupt not Obsolete
(closes SF patch #919299)

  • Participants
  • Parent commits 630a091
  • Branches 2.3

Comments (0)

Files changed (1)

File Doc/api/exceptions.tex

View file
-  This function is obsolete.  It simulates the effect of a
+  This function simulates the effect of a
   \constant{SIGINT}\ttindex{SIGINT} signal arriving --- the next time
   \cfunction{PyErr_CheckSignals()} is called,
   \withsubitem{(built-in exception)}{\ttindex{KeyboardInterrupt}}
   \exception{KeyboardInterrupt} will be raised.  It may be called
   without holding the interpreter lock.
+  % XXX This was described as obsolete, but is used in
+  % thread.interrupt_main() (used from IDLE), so it's still needed.
 \begin{cfuncdesc}{PyObject*}{PyErr_NewException}{char *name,