[issue33607] [subinterpreters] Explicitly track object ownership (and allocator).

Nick Coghlan report at bugs.python.org
Wed May 23 09:13:52 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Rather than tracking this per object, you could potentially track it per arena at the memory allocator level instead. Then if you really need the info (e.g. when running the debug allocator), you can check it in a reliable way, but in the normal case, you assume the associations are being managed correctly and avoid any significant bookkeeping overhead.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33607>
_______________________________________


More information about the Python-bugs-list mailing list