[issue38636] IDLE regression: toggle tabs and change indent width functions

Terry J. Reedy report at bugs.python.org
Wed Oct 30 21:58:11 EDT 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Interesting.  The result of making these changes is legal code looking like
>>> if a:
    if b:
        c = 3
This has been proposed as the way Shell should work, but rejected as likely too confusing to beginners as the indented code does not look indented compared to the line above.  The use of tabs for indents in Shell has long been considered a wart that is a 'least bad solution'.

Please hold your proposals.  I intend to solve the issue by moving the prompt to a shell sidebar and use the same indent in shell as in editors.  #37903 has a PR under review.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38636>
_______________________________________


More information about the Python-bugs-list mailing list