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