diff Doc/api/exceptions.tex @ 31805:cebda23aaadb legacy-trunk

Remove note that PyErr_SetInterrupt() is obsolete; add comment about the fact that it was marked obsolete but is still needed. Closes SF bug #919299. Someone else should backport this to Python 2.3.
author Fred Drake <fdrake@acm.org>
date Thu, 25 Mar 2004 14:25:28 +0000
parents 381ae326ee65
children d6589c88d23b
line wrap: on
line diff
--- a/Doc/api/exceptions.tex	Thu Mar 25 13:50:59 2004 +0000
+++ b/Doc/api/exceptions.tex	Thu Mar 25 14:25:28 2004 +0000
@@ -299,12 +299,14 @@
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{void}{PyErr_SetInterrupt}{}
-  This function is obsolete.  It simulates the effect of a
+  It 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.
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{PyObject*}{PyErr_NewException}{char *name,