Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 41253:f29f1a8b7869
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.
| author | Collin Winter <collinw@gmail.com> |
|---|---|
| date | Wed, 21 Mar 2007 02:57:17 +0000 |
| parents | 19f7ff443718 |
| children | 06145fbc7ab9 |
line wrap: on
line diff
--- a/Python/import.c Wed Mar 21 02:14:12 2007 +0000 +++ b/Python/import.c Wed Mar 21 02:57:17 2007 +0000 @@ -361,7 +361,7 @@ /* List of names to clear in sys */ static char* sys_deletes[] = { - "path", "argv", "ps1", "ps2", "exitfunc", + "path", "argv", "ps1", "ps2", "exc_type", "exc_value", "exc_traceback", "last_type", "last_value", "last_traceback", "path_hooks", "path_importer_cache", "meta_path",
