Mark Roseman <m...@markroseman.com> added the comment:
I like Terry's idea of providing a better error message than just "invalid syntax" when we run something that likely isn't a Python file. There doesn't seem to be any great danger in trying to run any file that would justify a warning beforehand. ---------- nosy: +markroseman _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41434> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com