Message341239
| Author | rhettinger |
|---|---|
| Recipients | eric.smith, rhettinger, serhiy.storchaka |
| Date | 2019-05-02.00:40:09 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1556757609.15.0.729025293802.issue36772@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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):
... |
|
| History | |||
|---|---|---|---|
| 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 | |