Message50528
Python 2.4 displays tracebacks interactively like this:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ZeroDivisionError: integer division or modulo by zero
Python 2.5b1 displays them like this:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero
This doesn't seem likely a particularly good change and
it breaks tests which rely on the particular spelling
of this message. I probably wouldn't mind the change
if it were to a more useful string than "<module>", but
"?" seemed better than the current state. If anything
is /not/ a module, it's an interactive session with the
interpreter.
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 15:53:06 | admin | link | issue1512007 messages |
| 2007-08-23 15:53:06 | admin | create | |
|