Author pablogsal
Recipients dino.viehland, eric.smith, eric.snow, giampaolo.rodola, njs, pablogsal, rhettinger, scoder, serhiy.storchaka
Date 2019-05-06.17:31:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557163867.3.0.401274929347.issue36772@roundup.psfhosted.org>
In-reply-to
Content
I am +1 to this. Making it easier for the case of decorator factories that are called with all the defaults is a very common pattern in the wild. There are even known idioms for how to reduce the indentation of the naive approach (returning partials of the factory). In particular for lru_cache, my experience is that every time I teach this feature, people are confused initially about the '()' at the end of the call.
History
Date User Action Args
2019-05-06 17:31:07pablogsalsetrecipients: + pablogsal, rhettinger, scoder, eric.smith, giampaolo.rodola, dino.viehland, njs, eric.snow, serhiy.storchaka
2019-05-06 17:31:07pablogsalsetmessageid: <1557163867.3.0.401274929347.issue36772@roundup.psfhosted.org>
2019-05-06 17:31:07pablogsallinkissue36772 messages
2019-05-06 17:31:07pablogsalcreate