This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yorick
Recipients bbange, jhylton, rhettinger, terry.reedy, yorick
Date 2009-02-16.13:03:29
SpamBayes Score 0.0016758335
Marked as misclassified No
Message-id <1234789460.58.0.287156757157.issue1153622@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a vague wish at all. The implementation is at odds with the
documentation, and in fact nobody has been able to explain just how
Python works or should work. Read msg24424 again - it all boils down to
explaining why the variable x in

    def f(x): return eval('x')

and

    def f(x): return eval('lambda: x')

should be interpreted differently, whereas in

    def f(x): return x

and
    def f(x): return lambda: x

the same x is used in both cases.
History
Date User Action Args
2009-02-16 13:04:20yoricksetrecipients: + yorick, jhylton, rhettinger, terry.reedy, bbange
2009-02-16 13:04:20yoricksetmessageid: <1234789460.58.0.287156757157.issue1153622@psf.upfronthosting.co.za>
2009-02-16 13:03:30yoricklinkissue1153622 messages
2009-02-16 13:03:29yorickcreate