Issue 1516375: Remove sys.exitfunc - Python tracker (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/43605
classification
process
Created on 2006-07-03 14:30 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (7) |
|
|
| msg50591 - (view) |
Author: Collin Winter (collinwinter) *  |
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) *  |
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) *  |
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) *  |
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) *  |
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) *  |
Date: 2007-03-13 20:54 |
| Then let's come up with a patch and sneak it in while Guido isn't watching |
|
|
| msg50597 - (view) |
Author: Georg Brandl (georg.brandl) *  |
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:18 |
admin |
set |
github: 43605 |
| 2008-01-06 22:29:46 |
admin |
set |
keywords: - py3kversions: + Python 3.0 |
| 2006-07-03 14:30:44 |
collinwinter |
create |
|