Terry J. Reedy <tjreedy at udel.edu> added the comment: As near as I can tell, 'python file.py' results in absolute __file__ in 3.9 versus still relative in 3.8. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue27452> _______________________________________