Irit Katriel <iritkatr...@yahoo.com> added the comment:
The regression was introduced here: https://github.com/python/cpython/commit/e023091815e4946e42c1af102be1f258b2f47cb8 in main() it prints " ".join(sys.argv[1:]) instead of " ".join(args). In do_run (line 1029) sys.argv gets updated with the arg for that particular "run" command: sys.argv = shlex.split(arg) The quickest fix would be to change main back to print sys.argv rather than arg. But I'm a little uneasy with a program modifying sys.argv (I wouldn't do it). So I'm wondering if that should be changed. What do you think? ---------- nosy: +iritkatriel _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26053> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com