[issue9618] IDLE shell ignores all but first statement

2016-07-20 Thread irdb
Changes by irdb : -- nosy: +irdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue9618] IDLE shell ignores all but first statement

2010-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: To be clearer, this issue is an elaboration of the #3559 report that \n 'does not work' in that it points out that \n silently ignores the second while \n is reported as a syntax error. I agree that this elaboration should have been included there and I am ad

[issue9618] IDLE shell ignores all but first statement

2010-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree: Implementation note: PyShell.py hass the following line: from code import InteractiveInterpreter That is the base class for InteractiveConsole, the subject of #7741. PyShell makes it own extension class ModifiedInterpreter(InteractiveInterpreter): ---

[issue9618] IDLE shell ignores all but first statement

2010-08-20 Thread R. David Murray
R. David Murray added the comment: It seems to me that this bug should be closed as a duplicate of the original bug (#3559). It's the same bug, only the proposed solution is different, unless I'm missing something. -- nosy: +r.david.murray ___ Pyt

[issue9618] IDLE shell ignores all but first statement

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In interactive mode, multiline statements are terminated with a blank line. Your examples lacks that, so the 3rd line is part of the def and lacking the proper indent, is indeed a syntax error. You get the same with the standard command-line interpreter. >>>

[issue9618] IDLE shell ignores all but first statement

2010-08-16 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, kbk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9618] IDLE shell ignores all but first statement

2010-08-15 Thread Cherniavsky Beni
New submission from Cherniavsky Beni : [Spinoff of http://bugs.python.org/issue3559] If you manage to type several simple statements into the prompt (by copy-pasting them, using Ctrl+J, or creative deletion), IDLE runs the first one and silently ignores the rest: >>> x = 1 x = 2 >>> x 1 More