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 kristjan.jonsson
Recipients kristjan.jonsson
Date 2010-01-19.15:09:06
SpamBayes Score 0.0067274943
Marked as misclassified No
Message-id <1263913748.62.0.306440480764.issue7741@psf.upfronthosting.co.za>
In-reply-to
Content
Here is how to test this manually:
from code import InteractiveConsole
c = InteractiveConsole()
s = "if True:\n  print 1\nprint 2"
c.push(s)  #fails
c.push(s, "exec")  #succeeds
History
Date User Action Args
2010-01-19 15:09:09kristjan.jonssonsetrecipients: + kristjan.jonsson
2010-01-19 15:09:08kristjan.jonssonsetmessageid: <1263913748.62.0.306440480764.issue7741@psf.upfronthosting.co.za>
2010-01-19 15:09:06kristjan.jonssonlinkissue7741 messages
2010-01-19 15:09:06kristjan.jonssoncreate