Terry J. Reedy <tjre...@udel.edu> added the comment:
I changed the title back to the symptom description, rather than the wrong fix. As Cheryl noted, the cause of the specific regression is the erroneous deletion of one line in pyshell.PyShell. The simplest fix is to put is back. Globally replacing context_use_ps1 is a different issue, and there is more than one possibility. I will open a new issue and move PR 11307 there. The reversion also reverts the 'fixes' that came with the error. Fixing the shell branch, now that is is used, will be a different issue. >>> d = {1:3, # correct indent, 3.7 >>> d = {1:3, # indent not accounting for prompt, after reversion ---------- stage: patch review -> test needed title: IDLE Shell: check syntax before smart indent -> IDLE: erroneous 'smart' indents in shell _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34055> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com