]> granicus.if.org Git - python/commit
Refactored the warning-issuing code more.
authorGuido van Rossum <guido@python.org>
Fri, 2 Mar 2001 03:30:41 +0000 (03:30 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 2 Mar 2001 03:30:41 +0000 (03:30 +0000)
commit207fda61a5ee3d4ab0bac3e9d0415c73a9d6e4d0
treed542de14e1e394b3715a273647b0a171376bef82
parent677898a3918470d718550aee9969cebcd4b1a61b
Refactored the warning-issuing code more.

Made sure that the warnings issued by symtable_check_unoptimized()
(about import * and exec) contain the proper filename and line number,
and are transformed into SyntaxError exceptions with -Werror.
Python/compile.c