[issue28140] Give better errors for OS commands, like 'pip', in REPL, script

2021-11-28 Thread Tom Viner
Tom Viner added the comment: I've updated my pull request from 3 years ago. Fixed merge conflicts and addressed all comments. https://github.com/python/cpython/pull/8536 -- ___ Python tracker

[issue28140] Give better errors for OS commands, like 'pip', in REPL, script

2021-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #45721, which has additional comments, as a duplicate of this. 'print foo' now results in "SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?" -- components: +Interpreter Core nosy: +aroberge title: Attempt to give