> That still leaves the question for what *is* allowed within the > brackets. AFAICT, the options are > > * A single identifier (which must be a callable) > > * Comma-separated list of identifiers (which must be callables) > > * Arbitrary expression (which must produce a sequence of callables) The latter. I previously mentioned a use case for allowing a function call (or class constructor) here. > BTW, have we agreed on the order in which decorators will be applied? I think I've said in the past left-to-right, but since we're talking function application here, right-to-left might also work. And it's also possible that decorators are (by convention) commutative, making it a wash. It's a concern that there's no clear reason to prefer one order! We'll have to come up with some use cases. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4