[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

STINNER Victor report at bugs.python.org
Tue Jun 27 20:11:46 EDT 2017


STINNER Victor added the comment:

> _PyCode_SetExtra() uses two memory block for code extras. By changing how memory is accessed and allocated, it would be possible to use a single memory block. Was it on purpose to use two memory blocks?

I discussed with Yury who is not opposed to such change in Python 3.7, so I created bpo-30789.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30604>
_______________________________________


More information about the Python-bugs-list mailing list