STINNER Victor <vstin...@python.org> added the comment:
It is possible to install a custom hook on memory allocators using the PEP 445: see for example attached fatalmalloc.c. I don't see much traction to get this feature since 2013, I reject the feature request. ---------- resolution: -> rejected stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue16381> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com