[Python-ideas] Statement local functions and classes (aka PEP 3150 is dead, say 'Hi!' to PEP 403)
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Oct 17 09:52:28 CEST 2011
Nick Coghlan wrote:
> Yeah, that's a large part of why I now think the given clause needs to
> be built on the same semantics that we already use internally for
> implicit out of order evaluation (i.e. decorators, comprehensions and
> generator expressions), such that it merely exposes the unifying
> mechanic underlying existing constructs rather than creating a
> completely new way of doing things.
I'm not sure what you mean by that. If you're talking about
the implementation, all three of those use rather different
underlying mechanics. What exactly do you see about these
that unifies them?
--
Greg
More information about the Python-ideas
mailing list