This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:09rhettingersetrecipients: + rhettinger, eric.smith, serhiy.storchaka
2019-05-02 00:40:09rhettingersetmessageid: <1556757609.15.0.729025293802.issue36772@roundup.psfhosted.org>
2019-05-02 00:40:09rhettingerlinkissue36772 messages
2019-05-02 00:40:09rhettingercreate