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.
Showing
Please register or sign in to comment
makes the filenames the warning module prints much more sensible when a PYTHONSTARTUP file is used.