Serhiy Storchaka added the comment: An alternative patch changes semantic of _PyDict_Pop() with deflt == NULL, but makes the code simpler.
---------- Added file: http://bugs.python.org/file45931/lru_cache-dict-pop-simpler-3.5.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com