| commit | 64a4bbeb259026e6bb3e4a8864870b1ed35ffab2 | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <bcannon@gmail.com> | Sat May 03 03:19:39 2008 +0000 |
| committer | Brett Cannon <bcannon@gmail.com> | Sat May 03 03:19:39 2008 +0000 |
| tree | 895e181342f2856f8c3912787eb33dc022550dc1 | |
| parent | ab9cc1b7ad87f4f6d921ce9599aaeb6a1839fe3b [diff] |
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.