Issue #4200: Changed the atexit module to store its state in its PyMo… · pythoncapi/cpython@9c94ba4 · GitHub
Skip to content

Commit 9c94ba4

Browse files
committed
Issue python#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.
1 parent df32b39 commit 9c94ba4

2 files changed

Lines changed: 85 additions & 50 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions

Modules/atexitmodule.c

Lines changed: 82 additions & 50 deletions

0 commit comments

Comments
 (0)