Larry Hastings added the comment: I suggest that 20 lines of identical code copy-and-pasted between two functions is not the cleanest way to do it. Find attached my version of the patch, which splits this common code out into a static function.
---------- Added file: http://bugs.python.org/file39785/clru_cache_known_hash_5.larry.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24483> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com