Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Possibly this could be done just by adding @lru_cache to the __new__() method. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com