Message341266
I'm generally ok with such APIs. It seems needless to require
@lru_cache()
def f(): ...
when a simple decorator would suffice. I think I might decide otherwise in cases where almost all usages require arguments, but if the no-arguments case is common (and there is no ambiguity in the arguments), then I prefer not requiring parentheses. |
|
Date |
User |
Action |
Args |
2019-05-02 14:14:31 | scoder | set | recipients:
+ scoder, gvanrossum, rhettinger, eric.smith, serhiy.storchaka |
2019-05-02 14:14:31 | scoder | set | messageid: <1556806471.88.0.10511571829.issue36772@roundup.psfhosted.org> |
2019-05-02 14:14:31 | scoder | link | issue36772 messages |
2019-05-02 14:14:31 | scoder | create | |
|