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 <rep...@bugs.python.org> <http://bugs.python.org/issue16828> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com