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.

Author cben
Recipients cben, gpolo, terry.reedy
Date 2010-08-15.23:06:34
SpamBayes Score 3.4261595e-07
Marked as misclassified No
Message-id <>
There are 2 issues here:

(1) There should be a quick & obvious way to paste and run several statements.

(2) If a user types several statements and presses Enter, all should run.  The current behavior is badly broken, and pasting is just one of the ways to trigger this.  Splitting this into a new bug:

The original formulation of this bug seems to favor an xterm-like solution to (1): when you paste \n-terminated, run them immediately, as if each \n was an Enter press.

I think a more IDLEic [think "idillic" ;-)] approach to solving (1) is to solve (2): keep the behavior that pasting creates a multi-line block without executing anything, make Enter execute it all.  Benefits:

- More intuitive to users that have never pasted multiple lines into a shell terminal.
- More sensible: why should Pasting execute anything?!
- Allows editing any of the statements before running.
- Keeps all statements together for Alt+P recalling.

If there is agreement on this, then this issue requires no action beyond solving issue 9618.
Date User Action Args
2010-08-15 23:06:37cbensetrecipients: + cben, terry.reedy, gpolo
2010-08-15 23:06:36cbensetmessageid: <>
2010-08-15 23:06:35cbenlinkissue3559 messages
2010-08-15 23:06:34cbencreate