exec/eval changed?

Michael Hudson mwh21 at cam.ac.uk
Mon Nov 15 20:35:29 CET 1999


JB <jimbag at kw.igs.net> writes:

> Did the exec/eval statements change somehow in the 1.5 versions? I
> have a script that did an eval( "some code", dict1, locals()) but
> now it doesn't work. I've looked through the doc's but they are
> little thin as to these statements. Any help is appreciated.

Well, eval("some code") is a syntax error. What are you trying to to
do? We can't read minds here.

Regards,
Michael




More information about the Python-list mailing list