Author brett.cannon
Recipients amaury.forgeotdarc, benjamin.peterson, brett.cannon, jmfauth, sjmachin, vstinner
Date 2009-03-24.23:40:12
SpamBayes Score 1.99108e-06
Marked as misclassified No
Message-id <>
In-reply-to <>
On Tue, Mar 24, 2009 at 09:24, Jean-Michel Fauth <>wrote:

> Jean-Michel Fauth <> added the comment:
> I'm glad to have discovered this topic. I bumped into something similar
> when I toyed with an interactive interpreter.
> from code import InteractiveInterpreter
> ii = InteractiveInterpreter()
> source = ...
> ii.runsource(source)
> What should be the encoding and/or the type (str, bytes) of the "source"
> string?

Off the top of my head it should be UTF-8. Otherwise it can probably be
bytes as long as it has universal newlines.
File name Uploaded
unnamed brett.cannon, 2009-03-24.23:40:12
Date User Action Args
2009-03-24 23:40:14brett.cannonsetrecipients: + brett.cannon, sjmachin, amaury.forgeotdarc, vstinner, benjamin.peterson, jmfauth
2009-03-24 23:40:13brett.cannonlinkissue4626 messages
2009-03-24 23:40:13brett.cannoncreate