It seems as though the default filename for evaluated changed from "?" to
"<module>". Was this intentional? (it's causing some test failures for me.
The tests are correctable of course, but it doesn't seem to be an obvious
improvement in behavior, so if it wasn't intentional, perhaps it should be
changed back.)
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
>>> eval("0/0")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "<string>", line 0, in ?
Python 2.5b1 (trunk:47096, Jun 25 2006, 23:18:21)
[GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
>>> eval("0/0")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero
|