[issue37892] IDLE Shell: isolate user code input

2021-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 25678 merged on top of the sidebar patch results in using space indents with the sidebar. An additional patch is needed to have the mode with '>>>' on a line by itself instead of having a sidebar. The shell prompt_last_line attribute is now obsolete (it

[issue37892] IDLE Shell: isolate user code input

2021-05-01 Thread Tal Einat
Tal Einat added the comment: > For doctests, one wants code with '>>> ' and '... ' prompts and unmarked > output. Note that with the latest PR, the shell sidebar now adds a "Copy with prompts" context-menu option which does precisely this. -- ___

[issue37892] IDLE Shell: isolate user code input

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8ec2f0dc0cd096b7a851b1a41e458daa23bf1ffc by Terry Jan Reedy in branch 'master': bpo-37892: Use space indents in IDLE Shell (GH-25678) https://github.com/python/cpython/commit/8ec2f0dc0cd096b7a851b1a41e458daa23bf1ffc -- ___

[issue37892] IDLE Shell: isolate user code input

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had a similar reaction, "weird", when I tried the isolated prompt a year or whatever ago. I don't remember if I also changed the indent for that. But when testing this patch, with space indents, a longer time, most of the weird feeling dissipated and I r

[issue37892] IDLE Shell: isolate user code input

2021-04-28 Thread E. Paine
E. Paine added the comment: Personally, I find the change quite weird and will take some getting used to. I hope people read the help at the top of the shell, but if not I can imagine numerous bug reports about the change. I have not used any shell that has the prompt above where you type, s

[issue37892] IDLE Shell: isolate user code input

2021-04-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24369 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25678 ___ Python tracker __

[issue37892] IDLE Shell: isolate user code input

2019-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: One of the related changes is to add multiple options for saving the shell history. For editing, one wants code without prompts and output either omitting or commented out. For doctests, one wants code with '>>> ' and '... ' prompts and unmarked output. A

[issue37892] IDLE Shell: isolate user code input

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding a Shell sidebar is #37903. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue37892] IDLE Shell: isolate user code input

2019-08-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : The main operational difference between the standard Python REPL and IDLE's Shell is that the latter operates with complete Python statements rather than physical lines. Shell keeps the '>>>' prompt, but with the expanded meaning of "Enter a complete Pyth