Author ncoghlan
Recipients BTaskaya, ncoghlan, rhettinger, serhiy.storchaka, uriyyo
Date 2021-01-05.11:34:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609846483.03.0.29673297122.issue42455@roundup.psfhosted.org>
In-reply-to
Content
Sorry, I meant to include this comment as well:

The other filter I applied here was "Could someone figure out the boilerplate code themselves in less time than it would take them to find, read, and understand the documentation for the new helper function?"

I'm not sure the answer to that question is "Yes" when writing a decorator factory for the first time, but I am confident it is "Yes" when reading a decorator factory, and for anyone writing their second and subsequent factory (especially if they use the "def factory(decorated=None, /, *, keyword="only", params=True)" idiom the way dataclass and _tp_cache do).
History
Date User Action Args
2021-01-05 11:34:43ncoghlansetrecipients: + ncoghlan, rhettinger, serhiy.storchaka, BTaskaya, uriyyo
2021-01-05 11:34:43ncoghlansetmessageid: <1609846483.03.0.29673297122.issue42455@roundup.psfhosted.org>
2021-01-05 11:34:43ncoghlanlinkissue42455 messages
2021-01-05 11:34:42ncoghlancreate