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
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com