Message261428
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). |
|
Date |
User |
Action |
Args |
2016-03-09 14:15:02 | vstinner | set | recipients:
+ vstinner, lemburg, python-dev, serhiy.storchaka |
2016-03-09 14:15:00 | vstinner | set | messageid: <1457532900.66.0.923880873958.issue26516@psf.upfronthosting.co.za> |
2016-03-09 14:15:00 | vstinner | link | issue26516 messages |
2016-03-09 14:15:00 | vstinner | create | |
|