[issue33960] IDLE REPL: Strange indentation

2018-12-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33960] IDLE REPL: Strange indentation

2018-06-25 Thread Julien Palard
Julien Palard added the comment: Thanks Terry, it perfectly make sense. > I intend to open an issue about separating the prompt from statement entry to > remove the latter. Do you mean, by putting the ">>>" in a separated "physical" / "fixed-width" column left to the statements? It would so

[issue33960] IDLE REPL: Strange indentation

2018-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python's secondary prompt in interactive mode is an artifact of the fact the command line consoles work with physical lines while python works with statements that quite possibly comprises multiple lines. As mentioned in the its doc, IDLE works with statemen

[issue33960] IDLE REPL: Strange indentation

2018-06-25 Thread Julien Palard
New submission from Julien Palard : Using IDLE REPL, I found confusing the absence of a "secondary prompt" while typing multiline statements, see attached screenshot where the "correctly aligned" code raises a SyntaxError while a strangely unaligned code is given correctly to the interpreter.