> The point is not saving a line or typing, but saving a thought. Expressing 
> the intent of the factory function more clearly.

Could you give some other usage examples? 

To me it seems like a nicer and less confusing way to create decorators is 
warranted but could then be more specialized and this much nicer. We wouldn't 
necessarily get to that future point by adding super tiny improvements to what 
we have, but instead take a step back and rethink what the syntax could be. 
Personally I often just copy paste an existing decorator and then tweak it 
instead of writing from scratch because it's too confusing and error prone to 
do that. 

/ Anders
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to