Author scoder
Recipients eric.smith, gvanrossum, rhettinger, scoder, serhiy.storchaka
Date 2019-05-02.14:14:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556806471.88.0.10511571829.issue36772@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-02 14:14:31scodersetrecipients: + scoder, gvanrossum, rhettinger, eric.smith, serhiy.storchaka
2019-05-02 14:14:31scodersetmessageid: <1556806471.88.0.10511571829.issue36772@roundup.psfhosted.org>
2019-05-02 14:14:31scoderlinkissue36772 messages
2019-05-02 14:14:31scodercreate