[issue812369] module shutdown procedure based on GC

Martin v. Löwis report at bugs.python.org
Thu Feb 23 23:13:03 CET 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

> (This is just a report about PyPy's situation; I understand that the
> situation in CPython is a bit more delicate if CPython is embedded in
> a larger process.)

I think that would indeed be unacceptable for Python - there is a
long-standing expectation that we free all memory that we allocated,
as well as release any other resources that we hold. There are also
expectations wrt. running atexit code. So there clearly must be a
shutdown procedure.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue812369>
_______________________________________


More information about the Python-bugs-list mailing list