Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

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.

----------
nosy: +pablogsal

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to