[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)
New submission from Robert Buckley : In both Python 2.7 and 3.1 the IDLE is unable to handle example 4.1 in the tutorial (if statements). Works OK with the command line shell, but not the IDLE shell. -- messages: 112930 nosy: drbuckle priority: normal severity: normal status: open title: IDLE cannot do example 4.1 in tutorial (if statements) type: behavior versions: Python 3.1 ___ Python tracker <http://bugs.python.org/issue9519> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)
Robert Buckley added the comment: See attached file -- Added file: http://bugs.python.org/file18411/ISSUE_9519.rtf ___ Python tracker <http://bugs.python.org/issue9519> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)
Robert Buckley added the comment: Yes, thank you. Using BACKSPACE to unindent works when I am using an indented block inside a first or subsequent indented block, e.g., inside a simple funtion. That feature does not work, as illustrated in example 4.1, when using IDLE. -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue9519> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)
Robert Buckley added the comment: I can say that more clearly. The backspace feature for ending a block does not work in IDLE when attempting to end a block that had no indentation. Example: >>> if a < 4: a = 0 # Assume this is end of the 'if' block; that you want to # return to column 1, in line below the 'i'. The use of # BACKSPACE in IDLE will fail to achieve the desired # result and will cause ERROR. Another example: >>> if a < 4: a = 0 while b < 7: a = a + b # Assume this is end of 'while' block; that # you want next line to begin directly below # the 'w'. Use of BACKSPACE in IDLE will # work correctly. But if you ultimately want # to end the initial 'if' block, BACKSPACE # will again fail and result in ERROR. -- ___ Python tracker <http://bugs.python.org/issue9519> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com