◐ Shell
clean mode source ↗

bpo-37892: Use space indents in IDLE Shell by terryjreedy · Pull Request #25678 · python/cpython

@taleinat I hope I am not surprising you too much. Unless you find reason why not, I am inclined to merge this tomorrow and leave it to you to merge this in with master, add a toggle*, and test that this works with sidebar toggled off. Or make the 3 little changes to the other PR to test. Or I will tomorrow (it is 2:40 am here).

  • for the beta, I think we can skip configdialog, and instead add something like the following to the startup message.
Enter a statement on the line *after* the last '>>>' prompt.  Indents will be spaces instead of tabs.
Or hit Alt-? to try out the new Shell sidebar.  Doing so will clear this window.

Then switch to this addition.

Enter a statement to the right of the last '>>>' prompt.  But indents will be spaces instead of tabs.
Or hit Alt-? to return to the prompt above input mode.  Doing so will clear this window.

Actually, I intend to revise the current mostly useless help message. It could instead be removed and permanently replaced with something more useful. People should know about Help -> About.