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

Antoine Pitrou report at bugs.python.org
Tue May 29 16:55:34 EDT 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

I agree with Victor, we shouldn't add PyObject fields that only have use in certain (minority) situations.

The idea of tracking per arena will be non-trivial to implement, as only small objects (smaller than 512 bytes) use our own allocator; larger objects go to the system allocator.

Can I ask why you're considering this?  I thought you didn't want to transfer ownership between interpreters.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list