mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.
This commit is contained in:
parent
450ee81b22
commit
670e692134
13 changed files with 360 additions and 204 deletions
|
@ -897,9 +897,6 @@ excepthook -- called to handle any uncaught exception other than SystemExit\n\
|
|||
To customize printing in an interactive session or to install a custom\n\
|
||||
top-level exception handler, assign other functions to replace these.\n\
|
||||
\n\
|
||||
exitfunc -- if sys.exitfunc exists, this routine is called when Python exits\n\
|
||||
Assigning to sys.exitfunc is deprecated; use the atexit module instead.\n\
|
||||
\n\
|
||||
stdin -- standard input file object; used by raw_input() and input()\n\
|
||||
stdout -- standard output file object; used by print()\n\
|
||||
stderr -- standard error object; used for error messages\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue