[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.16,1.17
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Mar 25 09:25:30 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11514
Modified Files:
exceptions.tex
Log Message:
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.
Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** exceptions.tex 7 Dec 2003 11:40:16 -0000 1.16
--- exceptions.tex 25 Mar 2004 14:25:28 -0000 1.17
***************
*** 300,304 ****
\begin{cfuncdesc}{void}{PyErr_SetInterrupt}{}
! This function is obsolete. It simulates the effect of a
\constant{SIGINT}\ttindex{SIGINT} signal arriving --- the next time
\cfunction{PyErr_CheckSignals()} is called,
--- 300,304 ----
\begin{cfuncdesc}{void}{PyErr_SetInterrupt}{}
! It simulates the effect of a
\constant{SIGINT}\ttindex{SIGINT} signal arriving --- the next time
\cfunction{PyErr_CheckSignals()} is called,
***************
*** 306,309 ****
--- 306,311 ----
\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}
More information about the Python-checkins
mailing list