Brett Cannon added the comment: And Lib/idlelib/run.py also does the substitution. I'll file a separate bug for all of this. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18081> _______________________________________