On Thu, Aug 06, 2020 at 04:01:47PM -0000, [email protected] wrote:
> I see lots of use-cases for property decorators ...
We have had property decorators since version Python 2.2 which was 18
years ago. We know that there are many wonderful use-cases for things
like this. What you are not explaining is why you can do them with
syntax:
@function
name = value
but not
name = function(value)
--
Steven
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/76FNJ7H56NVAQT77WWUYHAQLVQSIMVQZ/
Code of Conduct: http://python.org/psf/codeofconduct/