On Sat, Mar 24, 2018 at 3:16 PM, Masayuki YAMAMOTO <ma3yuki.8mam...@gmail.com> wrote: > FWIW, I thought another way which provides cache object library, it seems to > just work in some cases. But it doesn't create statement local scope and > might be difficult to read because looks ordinary expression doing magic. > Chris, would you append the library to alternative proposal section? >
Done. In the interests of brevity, I used a version that just uses a dict, which is a bit less pretty but doesn't require a lengthy class statement. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/