Hello, Le 2017-09-16 à 07:22, Serhiy Storchaka a écrit : > 16.09.17 12:39, Larry Hastings пише: >> So why don't decorators allow arbitrary expressions? [...] > > Actually I remember somebody raised this question a year or two ago,> but > don't remember details.
The discussion I remember was https://bugs.python.org/issue19660 Guido said: «Nobody has posted a real use case. All the examples are toys. What are the real use cases that are blocked by this? Readability counts!» Cheers _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com