[Python-Dev] New syntax for 'dynamic' attribute access (original) (raw)
Armin Rigo arigo at tunes.org
Wed Feb 14 12:56:19 CET 2007
- Previous message: [Python-Dev] New syntax for 'dynamic' attribute access
- Next message: [Python-Dev] New syntax for 'dynamic' attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Michael,
On Tue, Feb 13, 2007 at 11:55:46PM +0000, Michael Foord wrote:
> x = *('variable%d' % n) > f(a, b, *('keyword%d' % n) = c) > class *('33strangename'): > pass > def *(funcname)(x, y, *(argname), *args, **kwds): > pass > import *modname as mymodule > Are you for these uses or mocking them ? Some of them look interesting...
I don't actually have any strong opinion, I was just exploring all the places in the grammar that say NAME... Some of the above are definitely just absurd. In general I am failing to see much the point of syntax extensions, so I'll step out of this discussion again.
Armin
- Previous message: [Python-Dev] New syntax for 'dynamic' attribute access
- Next message: [Python-Dev] New syntax for 'dynamic' attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]