[New-bugs-announce] [issue3423] DeprecationWarning message applies to wrong context with exec()
Greg Hazel
report at bugs.python.org
Tue Jul 22 02:40:42 CEST 2008
New submission from Greg Hazel <ghazel at users.sourceforge.net>:
exec()ing a line which causes a DeprecationWarning causes the warning
to quote the file exec() occurs in instead of the string.
Demonstration of the issue:
http://codepad.org/aMTYQgN5
----------
components: None
messages: 70129
nosy: ghazel
severity: normal
status: open
title: DeprecationWarning message applies to wrong context with exec()
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3423>
_______________________________________
More information about the New-bugs-announce
mailing list