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 martin.panter
Recipients martin.panter
Date 2015-01-12.00:58:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421024308.33.0.868171678499.issue23224@psf.upfronthosting.co.za>
In-reply-to
Content
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]
History
Date User Action Args
2015-01-12 00:58:28martin.pantersetrecipients: + martin.panter
2015-01-12 00:58:28martin.pantersetmessageid: <1421024308.33.0.868171678499.issue23224@psf.upfronthosting.co.za>
2015-01-12 00:58:28martin.panterlinkissue23224 messages
2015-01-12 00:58:28martin.pantercreate