[issue3559] Pasted \n not same as typed \n

2015-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #9618, it was pointed out that IDLE Shell inherits from code.InteractiveConsole, and that #7741 proposes to allow multiple statements there. In 3.5, this example from msg114561 now gives a SyntaxError, as it should. >>> x = 3 y = 7 Seven years

[issue3559] Pasted \n not same as typed \n

2014-12-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___ ___ Python-bugs-list mailing list

[issue3559] Pasted \n not same as typed \n

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___ ___

[issue3559] Pasted \n not same as typed \n

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: Could we borrow code from the ipython %paste command? This issue is also referenced from #5124. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559

[issue3559] Pasted \n not same as typed \n

2013-05-19 Thread Roger Serwy
Roger Serwy added the comment: The core problem is that IDLE only executes the shell buffer when the newline-and-indent virtual event gets sent by physically pressing the Enter key. Pasting the clipboard contents with \n will not trigger the enter_callback function in Lib/idlelib/PyShell.py.

[issue3559] Pasted \n not same as typed \n

2010-08-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___ ___ Python-bugs-list

[issue3559] Pasted \n not same as typed \n

2010-08-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___ ___ Python-bugs-list

[issue3559] Pasted \n not same as typed \n

2010-08-21 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I switched to patch review because I am not sure unit test is possible. I did not advocate a change to immediate execution in my original post. I noted that pasting multiple statements does not work and that if it cannot be made to work, the

[issue3559] Pasted \n not same as typed \n

2010-08-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Re: testability, Tarek has written tests for distutils interactive commands by monkey-patching input/raw_input. A bit ugly, but gets the job done. -- ___ Python tracker rep...@bugs.python.org

[issue3559] Pasted \n not same as typed \n

2010-08-15 Thread Cherniavsky Beni
Cherniavsky Beni c...@users.sf.net added the comment: 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

[issue3559] Pasted \n not same as typed \n

2009-08-01 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: This seems to be problematic in general. I have worked on a patch now, but it fails to succeed while pasting multiple lines. The problem is that when a second line is pasted, IDLE is still marked as executing so it ends up just pasting the line

[issue3559] Pasted \n not same as typed \n

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +gpolo priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___

[issue3559] Pasted \n not same as typed \n

2008-08-14 Thread Terry J. Reedy
New submission from Terry J. Reedy [EMAIL PROTECTED]: Winxp, 3.0b2, but I suspect earlier as well, since reported on c.l.p. If I paste '1+2\n' into the command window interpreter, it responds with '3' and a new prompt. In IDLE, the pasted \n is ignored and a typed \n is required to trigger