Message341239
Follow the lead of the dataclasses module and allow lru_cache() to be used as a straight decorator rather than as a function that returns a decorator. Both of these would now be supported:
@lru_cache
def f(x):
...
@lru_cache(maxsize=256)
def f(x):
... |
|
Date |
User |
Action |
Args |
2019-05-02 00:40:09 | rhettinger | set | recipients:
+ rhettinger, eric.smith, serhiy.storchaka |
2019-05-02 00:40:09 | rhettinger | set | messageid: <1556757609.15.0.729025293802.issue36772@roundup.psfhosted.org> |
2019-05-02 00:40:09 | rhettinger | link | issue36772 messages |
2019-05-02 00:40:09 | rhettinger | create | |
|