On 14 September 2016 at 22:27, Marius Gedminas <mar...@gedmin.as> wrote: > On Tue, Sep 13, 2016 at 06:55:49PM -0400, Donald Stufft wrote: >> >>> pip install >> >> And print a better error message that gives a better indication about what’s >> gone wrong besides a SyntaxError? > > This way you could also make > > >>> exit > > work like people expect it to work, without the ().
That's never going to happen, as aside from some additional builtins, the default REPL will always work the same way as non-interactive code. Cheers, Nick. P.S. It's also entirely unrelated to the current discussion, as it's not a SyntaxError, it's a valid reference to the exit builtin injected by the site module. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig