Yury Selivanov added the comment: > But why is this so different from the C implementation of lru_cache?
I don't know. Maybe C version of lru cache creates a bit less pressure on GC. BTW, if I set maxsize=100000 for typing lru_cache, test_generic_forward_ref crashes in refleak-test mode. Maybe this is another bug... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28649> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com