Jim Jewett wrote:
(2) A function as a parameter isn't good enough, because the
passed-in function can't see bindings in the surrounding larger
function. (It still sees the lexical scope it which it was defined.)
That sounds confused, because the lexical scope it which
it was defined is exactly
Jim Jewett wrote:
It may be time to PEP (or re-PEP), if only to clarify what people are
actually asking for.
Brian Sabbey's example from message
http://mail.python.org/pipermail/python-dev/2005-March/052202.html
*seems* reasonably clear, but I don't see how it relates in any way to
"for" loops o
It may be time to PEP (or re-PEP), if only to clarify what people are
actually asking for.
Brian Sabbey's example from message
http://mail.python.org/pipermail/python-dev/2005-March/052202.html
*seems* reasonably clear, but I don't see how it relates in any way to
"for" loops or generators, exce