This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients doughellmann, georg.brandl, iritkatriel, vstinner, xdegaye
Date 2020-08-31.19:01:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598900495.13.0.0129800629827.issue26053@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2020-08-31 19:01:35iritkatrielsetrecipients: + iritkatriel, georg.brandl, vstinner, doughellmann, xdegaye
2020-08-31 19:01:35iritkatrielsetmessageid: <1598900495.13.0.0129800629827.issue26053@roundup.psfhosted.org>
2020-08-31 19:01:35iritkatriellinkissue26053 messages
2020-08-31 19:01:35iritkatrielcreate