What can you do in LISP that you can't do in Python
see at my.signature
Thu May 17 06:07:45 CEST 2001
Neil Schemenauer wrote:
> No, eval evaluates expressions. You want a closure. Nested
> scopes makes this work nicely.
The example should have used "exec", but there
are problems with that in the new nested-scope
environment, e.g. what should
x = 17
exec "x = 42"
do? The result of the last big argument on
python-dev about this seemed to be that we should
deprecate enough things so that you can't even *try*
to do anything like that.
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
More information about the Python-list