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 aliles, christian.heimes, vstinner
Date 2013-06-22.22:33:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:52vstinnersetrecipients: + vstinner, christian.heimes, aliles
2013-06-22 22:33:52vstinnersetmessageid: <>
2013-06-22 22:33:52vstinnerlinkissue18227 messages
2013-06-22 22:33:52vstinnercreate