Author exarkun
Recipients
Date 2006-06-25.04:51:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 15:53:06adminlinkissue1512007 messages
2007-08-23 15:53:06admincreate