New submission from Antoine Pitrou:

atexit uses PEP 3121 module initialization, and by this scheme each 
subinterpreter gets a separate module state. However, atexit's m_free doesn't 
actually decref the callbacks: it only frees the callbacks array, thinking the 
callbacks were already decref'ed when run. This is ok at main interpreter 
shutdown, but not at subinterpreter shutdown (see issue 18618).

----------
components: Interpreter Core, Library (Lib)
messages: 194098
nosy: Robin.Schreiber, pitrou, sbt
priority: normal
severity: normal
stage: needs patch
status: open
title: atexit leaks callbacks in subinterpreters
type: resource usage
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18619>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to