[issue34055] IDLE: erroneous 'smart' indents in shell

2019-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 11307 was moved to #35610. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34055] IDLE: erroneous 'smart' indents in shell

2019-01-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10543 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34055] IDLE: erroneous 'smart' indents in shell

2019-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my Macbook with Mohave with installed python.org 3.7.2, compiled against tk 8.6.8, the startup header is Python 3.7.2 (v3.7.2.9a3ffc0492, Dec 24 ...) [Clang 6.0 .. on Darwin]. Your header is quite different (repository?, tk version?) but the version is

[issue34055] IDLE: erroneous 'smart' indents in shell

2019-01-02 Thread Grant Jenks
Grant Jenks added the comment: This issue was closed but I still see the problem in 3.7.2. Here's a snippet with line numbers from IDLE: 01 Python 3.7.2 (default, Dec 30 2018, 08:59:00) 02 [Clang 9.1.0 (clang-902.0.39.2)] on darwin 03 Type "help", "copyright", "credits" or "license()" for

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I 'moved' pr-11307 to #35610 by changing the title. -- ___ Python tracker ___ ___

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Even before this fix, in 3.7.2, I no longer see the extra blank lines I reported in msg321135 either on Windows or macOS. I did still see the persistent and expanding indents reported in the opening post. I believe that this is what Raymond also referred

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10643 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10644 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread miss-islington
miss-islington added the comment: New changeset 95dc4577c3a1bb12978de5234aaf07839f4d7844 by Miss Islington (bot) in branch '3.7': bpo-34055: Revert deletion of line in IDLE's PyShell (GH-11346) https://github.com/python/cpython/commit/95dc4577c3a1bb12978de5234aaf07839f4d7844 --

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +10642, 10643 stage: test needed -> patch review ___ Python tracker ___ ___

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +10642, 10643, 10644 stage: test needed -> patch review ___ Python tracker ___ ___

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +10642 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4bc246786f003cdf1fffb3403b4cd92fc42ba9ef by Terry Jan Reedy in branch 'master': bpo-34055: Revert deletion of line in IDLE's PyShell (#11346) https://github.com/python/cpython/commit/4bc246786f003cdf1fffb3403b4cd92fc42ba9ef --

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10641 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Terry J. Reedy 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

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-12-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10640 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Of late, I've also encountered two recurring problems along these lines. At some point in the IDLE session, the auto-indents become large and this survives a restart-shell. Another problem is that an extra \n is emitted after every result which gives

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: def funcname(param = 'somestring) # Indent for next param. is another situation where \n is treating as closing '. -- ___ Python tracker

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The SyntaxError is not relevant. Interactive CPython: >>> d=[] >>> d=() >>> d={} >>> Erroneous extra lines in IDLE 3.6+ Shell but not editor: >>> d = [] >>> d=() >>> d={} >>> d=[i for i in [1]] >>> The 'blank'