Now this is a really interesting proposal. Something wasn't right in the other discussion, I didn't think making variable decorators inconsistent with the current class and function decorators by providing the variable name was particularly good. I've always felt like that something like __decoration_call__ was missing, so I'm really grateful that someone took the time to think about it. I'd say this looks pretty promising, and I can't see any specific downside compared to the alternative proposals. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KX5ZOTCYLGLUT365VKE6U45HAISKI7ZC/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] A __decoration_call__ method for Callable ... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__ method for ... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__ method ... Matt del Valle
- [Python-ideas] Re: A __decoration_call__ met... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__ method for ... Valentin Berlier
- [Python-ideas] Re: A __decoration_call__ method for ... Steven D'Aprano
- [Python-ideas] Re: A __decoration_call__ method ... Matt del Valle
- [Python-ideas] Re: A __decoration_call__ met... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__... Matt del Valle
- [Python-ideas] Re: A __decoration_c... Ricky Teachey
- [Python-ideas] Re: A __decoration_c... micro codery
- [Python-ideas] Re: A __decoration_call__ method ... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__ met... micro codery
- [Python-ideas] Re: A __decoration_call__... Ricky Teachey
- [Python-ideas] Re: A __decoration_call__ met... Steven D'Aprano