Serhiy Storchaka added the comment:

Thank you Nadeem. In committed patch fixed the docstring for
BZ2Compressor.__init__, and renamed module name "bz2" in clinic declaration is 
renamed to "_bz2".

Here is updated patch for the _lzma module which addresses Nadeem's comment and 
renames the "lzma" module name to "_lzma".

Unfortunately this patch is incompatible with current Argument Clinic because 
it uses "unspecified" default value. Default value of the "check" parameter in 
LZMACompressor.__init__ depends on the value of other parameter.

"""For FORMAT_XZ, the default is CHECK_CRC64.  FORMAT_ALONE and FORMAT_RAW do 
not suport integrity checks; for these formats, check must be omitted, or be 
CHECK_NONE."""

----------
Added file: http://bugs.python.org/file33697/lzma_clinic.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20193>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to