[Python-Dev] PyGC_Collect ignores state of enabled
(original) (raw)
Neil Schemenauer nas at arctrix.com
Fri May 20 13:00:19 EDT 2016
- Previous message (by thread): [Python-Dev] PyGC_Collect ignores state of `enabled`
- Next message (by thread): [Python-Dev] PyGC_Collect ignores state of `enabled`
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan <ncoghlan at gmail.com> wrote:
PEP 3121 is insufficient, since a lot of extension modules can't (or at least haven't) adopted it in practice. https://www.python.org/dev/peps/pep-0489/ has some more background on that (since it was the first step towards tackling the problem in a different way that extension module authors may be more likely to actually adopt)
My idea is that if we can cleanup the built-in extension modules then maybe that would be enough to stop doing a lot of the finalization hacks (e.g. module dict clearing). If 3rd party extension modules are not fixed, then some finalizers that used to be called might no longer get called.
- Previous message (by thread): [Python-Dev] PyGC_Collect ignores state of `enabled`
- Next message (by thread): [Python-Dev] PyGC_Collect ignores state of `enabled`
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]