Aahz <aahz at pythoncraft.com> writes: > On Thu, Mar 11, 2004, Greg Ewing wrote: >> Aahz <aahz at pythoncraft.com>: >>> >>> * 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) >> >> You left out >> >> * Comma-separated list of arbitrary expressions >> >> which is the one I'm in favor of. > > If we allow truly arbitrary expressions, that comes for free, by > definition. ;-) Yes, but that's not the point! What my patch currently allows is a 'exprlist', whuch is a "comma-separated list of arbitrary expressions", and is The Only Sane Choice (tm). Allowing a listmaker (or whatever that production is called) and so list comprehensions is barmy. Besides, a literal reading of Arbitrary expression (which must produce a sequence of callables) would suggest def foo [staticmethod] (): pass was in error! Cheers, mwh -- Now this is what I don't get. Nobody said absolutely anything bad about anything. Yet it is always possible to just pull random flames out of ones ass. -- http://www.advogato.org/person/vicious/diary.html?start=60
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