Author pablogsal
Recipients FFY00, p-ganssle, pablogsal, steven.daprano, theacodes, tlalexander, veky
Date 2021-07-12.14:39:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I do want to be cautious of saying that we can't do it because of the way the REPL is currently implemented- which appears to be an implementation driven by convenience more than necessity.

Apologies if I have not been clear on this. Is not that we can't do it, is just the balance between complexity and the benefits of the change.

> I also find pushing against special-case behavior in the REPL strange. The REPL already has special-case behavior: printing the header, the __interactivehook__ that configures readline, heck, the `>>>` are unique the REPL and plainly copy-pasting a REPL session into a file won't work.

But that is just printing, not semantic behaviour. What we are discussing here is to give a different semantic behaviour to exit NAME only in interactive mode. This is fundamentally different that just printing or make the parser show ">>>" every time it asks for a new line, as those are not changing the *meaning* of Python code.
Date User Action Args
2021-07-12 14:39:05pablogsalsetrecipients: + pablogsal, steven.daprano, veky, p-ganssle, FFY00, theacodes, tlalexander
2021-07-12 14:39:05pablogsalsetmessageid: <>
2021-07-12 14:39:05pablogsallinkissue44603 messages
2021-07-12 14:39:04pablogsalcreate