Serhiy Storchaka added the comment: I would write the test as:
v = tuple(map(int, zlib.ZLIB_RUNTIME_VERSION.split("."))) supports_wbits_0 = v >= (1, 2, 3, 5) ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5784> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com