This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Pasting and then running code doesn't work in the IDLE Shell
Type: behavior Stage:
Components: IDLE Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE: Pasted newline doesn't trigger execution when typed newline would
View: 3559
Assigned To: Nosy List: Ramchandra Apte, roger.serwy
Priority: normal Keywords:

Created on 2012-01-16 12:44 by Ramchandra Apte, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg151352 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2012-01-16 12:44
If you paste code with multiple lines which are not in a block of code into the IDLE Shell and press enter to run the code, only the first line of the code gets executed and the rest of the code is ignored.

You can even put garbage such as "$$$$" in the lines after the first line.
msg151398 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-01-16 18:11
This is a duplicate of #3559.
History
Date User Action Args
2022-04-11 14:57:25adminsetgithub: 58007
2012-01-21 02:32:48terry.reedysetstatus: open -> closed
resolution: duplicate
superseder: IDLE: Pasted newline doesn't trigger execution when typed newline would
2012-01-16 18:11:43roger.serwysetnosy: + roger.serwy
messages: + msg151398
2012-01-16 12:44:43Ramchandra Aptecreate