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 vstinner
Recipients lemburg, python-dev, serhiy.storchaka, vstinner
Date 2016-03-09.14:14:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457532900.66.0.923880873958.issue26516@psf.upfronthosting.co.za>
In-reply-to
Content
More complete patch (version 2):

* Document PYTHONMALLOC environment variable
* Add PYTHONMALLOC=debug to install debug hooks without forcing a specific memory allocator (keep the default memory allocator)
* Fix sys._debugmallocstats() for PYTHONMALLOC=malloc: don't display pymalloc stats
* _testcapi.pymem_api_misuse(): more realistic code, use PyMem_Mallloc() + PyMem_RawFree(). This code works in release mode (since PyMem and PyMem_Raw use the same allocator: malloc/free), but fail with a fatal error with debug hooks (API misused).
History
Date User Action Args
2016-03-09 14:15:02vstinnersetrecipients: + vstinner, lemburg, python-dev, serhiy.storchaka
2016-03-09 14:15:00vstinnersetmessageid: <1457532900.66.0.923880873958.issue26516@psf.upfronthosting.co.za>
2016-03-09 14:15:00vstinnerlinkissue26516 messages
2016-03-09 14:15:00vstinnercreate