diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-03 03:19:39 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-03 03:19:39 +0000 |
commit | 64a4bbeb259026e6bb3e4a8864870b1ed35ffab2 (patch) | |
tree | 895e181342f2856f8c3912787eb33dc022550dc1 /Python/ast.c | |
parent | ab9cc1b7ad87f4f6d921ce9599aaeb6a1839fe3b (diff) | |
download | cpython-git-64a4bbeb259026e6bb3e4a8864870b1ed35ffab2.tar.gz |
Fix the C implementation of 'warnings' to infer the filename of the module that
raised an exception properly when __file__ is not set, __name__ == '__main__',
and sys.argv[0] is a false value.
Closes issue2743.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions