Message233866
Noticed in a patch review around LZMModules/_lzmamodule.c:1055 that the C-level LZMADecompressor object is being initialized in an __init__() method. It crashes if you create the object with __new__() and never call __init__():
>>> from lzma import LZMADecompressor
>>> LZMADecompressor.__new__(LZMADecompressor).decompress(bytes())
Segmentation fault (core dumped)
[Exit 139] |
|
Date |
User |
Action |
Args |
2015-01-12 00:58:28 | martin.panter | set | recipients:
+ martin.panter |
2015-01-12 00:58:28 | martin.panter | set | messageid: <1421024308.33.0.868171678499.issue23224@psf.upfronthosting.co.za> |
2015-01-12 00:58:28 | martin.panter | link | issue23224 messages |
2015-01-12 00:58:28 | martin.panter | create | |
|