[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Just like in the interactive interpreter, when you get to the end of a suite, you have to hit enter again to end the suite. This is indicated in the example by the '...' with no other text on the line (i.e.: at that ... you press enter). In Idle it is the

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Robert Buckley
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 #

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Robert Buckley
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: clo

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Yes, Mark is correct. IDLE does auto-indentation, and you have to backspace to go up to the previous indentation level. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tr

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: It appears that IDLE maintains the current indentation level, while the interpreter always resets indentation to the start of the line. I don't really see why this is a problem. In IDLE, when you want to unindent a level, you need to hit your backspace key.

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: Replacing RTF file with a plain text version. -- nosy: +mark.dickinson Added file: http://bugs.python.org/file18419/ISSUE_9519.txt ___ Python tracker __

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: rtf2html can't make anything out of that file, so I'm guessing it is some sort of image wrapped up as an RTF? If that's so can you just post a jpg? Better would be to cut and paste the Idle session text as text. --

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-05 Thread Robert Buckley
Robert Buckley added the comment: See attached file -- Added file: http://bugs.python.org/file18411/ISSUE_9519.rtf ___ Python tracker ___

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-05 Thread R. David Murray
R. David Murray added the comment: Could you please be more specific? What error are you seeing? It works for me. -- nosy: +r.david.murray ___ Python tracker ___ __

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-04 Thread Robert Buckley
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 titl