[New-bugs-announce] [issue2743] Fix module output for warnings from the interpreter
Brett Cannon
report at bugs.python.org
Fri May 2 23:26:49 CEST 2008
New submission from Brett Cannon <brett at python.org>:
In svn, the module name is lost if you raise an exception at the
interpreter::
>>> import warnings
>>> warnings.warn("foo")
:1: UserWarning: foo
It should be::
>>> import warnings
>>> warnings.warn("foo")
__main__:1: UserWarning: foo
Notice how '__main__' is missing in svn.
----------
assignee: brett.cannon
components: Interpreter Core
messages: 66112
nosy: brett.cannon
priority: critical
severity: normal
status: open
title: Fix module output for warnings from the interpreter
type: behavior
versions: Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2743>
__________________________________
More information about the New-bugs-announce
mailing list