Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
No, this will break cases when you need to cache generators. There are many ways of using lru_cache improperly, and we can't distinguish incorrect uses from intentional correct uses. ---------- assignee: -> rhettinger nosy: +rhettinger, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com