This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients remi.lapeyre, ronaldoussoren, skrah
Date 2020-06-09.21:20:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591737605.56.0.021111477855.issue40928@roundup.psfhosted.org>
In-reply-to
Content
Thanks for checking, it's a pity that os.putenv() does not work.

There's a global variable malloc_logger that is set from the
environment on startup:

https://opensource.apple.com/source/libmalloc/libmalloc-53.1.1/src/malloc.c


It seems to be always checked for NULL, but I can't find any
documentation that says it is guaranteed.

A nuclear option would be to set malloc_logger to NULL on Python
startup.  Or write a custom malloc_logger, which *does* seem to
be supported.
History
Date User Action Args
2020-06-09 21:20:05skrahsetrecipients: + skrah, ronaldoussoren, remi.lapeyre
2020-06-09 21:20:05skrahsetmessageid: <1591737605.56.0.021111477855.issue40928@roundup.psfhosted.org>
2020-06-09 21:20:05skrahlinkissue40928 messages
2020-06-09 21:20:05skrahcreate