[New-bugs-announce] [issue38160] Add a "PyInterpreterState *" field to PyTypeObject.
report at bugs.python.org
Fri Sep 13 09:33:29 EDT 2019
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
A "PyInterpreterState *interp" field on PyTypeObject would allow us to quickly access the originating interpreter from any object. This will help us avoid more costly lookups. The additional pointer used for this should not have a significant impact on the memory usage of CPython.
components: Interpreter Core
nosy: eric.snow, petr.viktorin, scoder, steve.dower
stage: needs patch
title: Add a "PyInterpreterState *" field to PyTypeObject.
versions: Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce