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 roger.serwy
Recipients BreamoreBoy, cben, eric.araujo, gpolo, roger.serwy, terry.reedy
Date 2013-05-19.15:51:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/

The extension as part of IdleX intercepts the pasted text and splits the buffer on '\n' and then runs each line.

Mark, what you are suggesting is adding something like a "Paste and Execute" option for the shell and its right-click menu which mimics the %paste magic from IPython. That's doable.
Date User Action Args
2013-05-19 15:51:23roger.serwysetrecipients: + roger.serwy, terry.reedy, cben, gpolo, eric.araujo, BreamoreBoy
2013-05-19 15:51:23roger.serwysetmessageid: <>
2013-05-19 15:51:23roger.serwylinkissue3559 messages
2013-05-19 15:51:23roger.serwycreate