A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/071106.html below:

[Python-Dev] New syntax for 'dynamic' attribute access

[Python-Dev] New syntax for 'dynamic' attribute accessArmin Rigo arigo at tunes.org
Wed Feb 14 12:56:19 CET 2007
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
More information about the Python-Dev mailing list

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