This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove sys.exitfunc
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: collinwinter Nosy List: collinwinter, georg.brandl
Priority: normal Keywords: patch

Created on 2006-07-03 14:30 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py3k-remove_sys_exitfunc.patch collinwinter, 2006-07-03 14:30 Remove sys.exitfunc support, against r47222
Messages (7)
msg50591 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2006-07-03 14:30
As mentioned in PEP 3100, this patch removes the
interpreter's support for sys.exitfunc.

This patch is against r47222.
msg50592 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 20:26
How is the atexit module to work after this patch?

(It could be reimplemented in C and reuse the old exitfunc functionality.)
msg50593 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-13 20:30
Guido suggested renaming sys.exitfunc to sys._exitfunc: http://mail.python.org/pipermail/python-3000/2007-March/006100.html
msg50594 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 20:47
Hm, that doesn't make me too happy. Why do we need exitfunc at all if we have atexit?
msg50595 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-13 20:51
Me, either. I'd prefer to reimplement atexit in C and make use of something like the Py_AtExit-related functionality in pythonrun.c.
msg50596 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 20:54
Then let's come up with a patch and sneak it in while Guido isn't watching <wink>
msg50597 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-14 19:51
See #1680961 for an atexit rewrite.
In any case, I think we can close this.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43605
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2006-07-03 14:30:44collinwintercreate