Nick Coghlan <ncogh...@gmail.com> added the comment: The "I'm not sure" in my comment really was a question, rather than a definite direction to conditionally retain the old test.
I've actually looked at the relevant C code in the zlib module now, and I agree with Antoine that the original suggestion of changing the 0 in the test to a -1 is fine (the test is just checking the handling of a Z_STREAM_ERROR return from the API call rather than anything more sophisticated). Adding to my to-do list. ---------- assignee: -> ncoghlan _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com