From: Raymond Hettinger Date: Wed, 18 Aug 2004 02:50:00 +0000 (+0000) Subject: Deprecate sys.exitfunc in favor of the atexit module. X-Git-Tag: v2.4a3~214 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01884d56f40fb0f44b410f9a61fad638996a0d8d;p=thirdparty%2FPython%2Fcpython.git Deprecate sys.exitfunc in favor of the atexit module. Per Guido, sys.exitfunc will be kept around for backwards compatability but atexit will become the one preferred way to do it. --- diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 2cac03e98ae1..a3971b67399a 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -195,6 +195,7 @@ It is always available. module. \note{The exit function is not called when the program is killed by a signal, when a Python fatal internal error is detected, or when \code{os._exit()} is called.} + \deprecated{2.4}{Use \refmodule{atexit} instead.} \end{datadesc} \begin{funcdesc}{getcheckinterval}{}