[Python-ideas] Statement local functions and classes (aka PEP 3150 is dead, say 'Hi!' to PEP 403)

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Thu Oct 13 08:30:31 CEST 2011


On Oct 12, 2011, at 8:24 PM, Ka-Ping Yee wrote:

> I don't see why the leading colon is necessary, actually.  Isn't
> the presence of a bare @ enough to signal that a function or class
> definition must come next?

Python's parser is purposefully pretty simple, so it's not clear if that could be added without ripping up the whole language definition.


More information about the Python-ideas mailing list