commit | aa2321b0f8f8d51fe6aa1e8b9c81d989e642982d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Mar 07 00:40:28 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Mar 07 00:40:28 2007 +0000 |
tree | da24f798ec16aa968cfa6fed0f3844eb7e81b0e8 | |
parent | 49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752 [diff] |
Patch #703779: unset __file__ in __main__ after running a file. This makes the filenames the warning module prints much more sensible when a PYTHONSTARTUP file is used.