Issue #4200: Changed the atexit module to store its state in its PyModuleDef atexitmodule. This fixes a bug with multiple subinterpeters. The bug was found by Graham Dumpletom during his work on a 3.0 port of mod_wsgi. The patch has been reviewed by Benjamin.
diff --git a/Misc/NEWS b/Misc/NEWS
index 841d6d6..20359ff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@
Core and Builtins
-----------------
+- Issue #4200: Changed the atexit module to store its state in its
+ PyModuleDef atexitmodule. This fixes a bug with multiple subinterpeters.
+
- Issue #4237: io.FileIO() was raising invalid warnings caused by
insufficient initialization of PyFileIOObject struct members.