diff setup.py @ 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 6e1cf4d28af3
children 060c79f6d919
line wrap: on
line diff
--- a/setup.py	Wed Mar 21 02:14:12 2007 +0000
+++ b/setup.py	Wed Mar 21 02:57:17 2007 +0000
@@ -379,6 +379,8 @@
         exts.append( Extension('operator', ['operator.c']) )
         # _functools
         exts.append( Extension("_functools", ["_functoolsmodule.c"]) )
+        # atexit
+        exts.append( Extension("atexit", ["atexitmodule.c"]) )
         # Python C API test module
         exts.append( Extension('_testcapi', ['_testcapimodule.c']) )
         # profilers (_lsprof is for cProfile.py)