Mattias Engdegård <yor...@users.sourceforge.net> added the comment:
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. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1153622> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com