Message261428
| 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: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 | |
|