[issue16828] bz2 error on compression of empty string

Martin report at bugs.python.org
Mon Dec 31 18:12:07 CET 2012


Martin added the comment:

On 2.7 only the compress() function is affected, and the fix is much simpler. Just using BZ_FINISH when the input is less then 4GB is sufficient.

----------
Added file: http://bugs.python.org/file28513/bz2_compress_empty_string_27.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16828>
_______________________________________


More information about the Python-bugs-list mailing list