Message341569
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. |
|
Date |
User |
Action |
Args |
2019-05-06 17:31:07 | pablogsal | set | recipients:
+ pablogsal, rhettinger, scoder, eric.smith, giampaolo.rodola, dino.viehland, njs, eric.snow, serhiy.storchaka |
2019-05-06 17:31:07 | pablogsal | set | messageid: <1557163867.3.0.401274929347.issue36772@roundup.psfhosted.org> |
2019-05-06 17:31:07 | pablogsal | link | issue36772 messages |
2019-05-06 17:31:07 | pablogsal | create | |
|