Martin Panter added the comment: Here is a patch which I propose to use that factors out a set_inflate_zdict() function. I think this will help with maintainence, e.g. if someone changes the UINT_MAX checking, but forgets that there are two places than need changing. Let me know if that is okay with you :)
---------- components: +Extension Modules -Library (Lib) stage: patch review -> commit review versions: +Python 3.6 Added file: http://bugs.python.org/file43230/raw-zdict.v3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27164> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com