Message191676
Here is an initial attempt: set a custom allocator for bz2, lzma and zlib modules. The allocator is only replaced for an instance of a compressor or decompress, the change does not affect the library globally.
PyMem_RawMalloc() is used instead of PyMem_Malloc() because the GIL is always released. |
|
Date |
User |
Action |
Args |
2013-06-22 22:33:52 | vstinner | set | recipients:
+ vstinner, christian.heimes, aliles |
2013-06-22 22:33:52 | vstinner | set | messageid: <1371940432.23.0.420074503554.issue18227@psf.upfronthosting.co.za> |
2013-06-22 22:33:52 | vstinner | link | issue18227 messages |
2013-06-22 22:33:52 | vstinner | create | |
|