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 <1371940432.23.0.420074503554.issue18227@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-06-22 22:33:52vstinnersetrecipients: + vstinner, christian.heimes, aliles
2013-06-22 22:33:52vstinnersetmessageid: <1371940432.23.0.420074503554.issue18227@psf.upfronthosting.co.za>
2013-06-22 22:33:52vstinnerlinkissue18227 messages
2013-06-22 22:33:52vstinnercreate