[issue37961] Tracemalloc traces do not include original stack trace length
Julien Danjou
report at bugs.python.org
Fri Aug 30 08:46:09 EDT 2019
Julien Danjou <julien at danjou.info> added the comment:
> In fact, I didn't check: maybe traceback_t size is not change by your PR, because of memory aligment and padding.
It is changed. The current size is should be determined by sizeof(Py_uhash_t + int + int) which is 4 + 4 + 4, so 12 aligned/padded.
Using a short will add 2 bytes and potentially some space for 2 more bytes in the future. :)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37961>
_______________________________________
More information about the Python-bugs-list
mailing list