[Python-Dev] Why aren't decorators just expressions?
Éric Araujo
merwok at netwok.org
Mon Sep 18 11:33:48 EDT 2017
More information about the Python-Dev mailing list
Mon Sep 18 11:33:48 EDT 2017
- Previous message (by thread): [Python-Dev] Why aren't decorators just expressions?
- Next message (by thread): [Python-Dev] Why aren't decorators just expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] Why aren't decorators just expressions?
- Next message (by thread): [Python-Dev] Why aren't decorators just expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list