Author inada.naoki
Recipients ajaksu2, inada.naoki, kbk, sgala
Date 2009-04-12.00:54:38
SpamBayes Score 3.63659e-07
Marked as misclassified No
Message-id <1239497680.33.0.162795242404.issue1542677@psf.upfronthosting.co.za>
In-reply-to
Content
This patch is for iplib/PyShell.py#ModifiedInterpreter.runsource.

         if isinstance(source, types.UnicodeType):
             import IOBinding
             try:
                 source = source.encode(IOBinding.encoding)
+                source = "# coding: %s\n%s" % (IOBinding.encoding, source)
             except UnicodeError:
History
Date User Action Args
2009-04-12 00:54:40inada.naokisetrecipients: + inada.naoki, kbk, sgala, ajaksu2
2009-04-12 00:54:40inada.naokisetmessageid: <1239497680.33.0.162795242404.issue1542677@psf.upfronthosting.co.za>
2009-04-12 00:54:39inada.naokilinkissue1542677 messages
2009-04-12 00:54:39inada.naokicreate