New submission from Eric Snow <ericsnowcurren...@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
messages: 352325
nosy: eric.snow, petr.viktorin, scoder, steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: Add a "PyInterpreterState *" field to PyTypeObject.
type: enhancement
versions: Python 3.9

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

Reply via email to