homepage

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 nikratio
Recipients Arfrever, christian.heimes, eric.araujo, martin.panter, nadeem.vawda, nikratio, pitrou, serhiy.storchaka
Date 2014年03月25日.04:03:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395720236.33.0.768056635762.issue15955@psf.upfronthosting.co.za>
In-reply-to
Content
I have attached a patch adding the max_length parameter to LZMADecompressor.decompress(). 
I have chosen to store the pointer to any unconsumed input in the lzma stream object itself. The new convention is: if lzs.next_in != NULL, then there is valid data that needs to be prepended.
Since I expect that max_length will often be specified as a keyword argument, I had to change the argument clinic definition to allow all arguments to be specified as keyword arguments. I hope that's ok.
Testcases seem to run fine. No reference leaks with -R : either.
Comments?
History
Date User Action Args
2014年03月25日 04:03:56nikratiosetrecipients: + nikratio, pitrou, christian.heimes, nadeem.vawda, eric.araujo, Arfrever, martin.panter, serhiy.storchaka
2014年03月25日 04:03:56nikratiosetmessageid: <1395720236.33.0.768056635762.issue15955@psf.upfronthosting.co.za>
2014年03月25日 04:03:56nikratiolinkissue15955 messages
2014年03月25日 04:03:55nikratiocreate

AltStyle によって変換されたページ (->オリジナル) /