Message85882
| Author |
methane |
| Recipients |
ajaksu2, kbk, methane, sgala |
| Date |
2009年04月12日.00:54:38 |
| SpamBayes Score |
3.6365864e-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:40 | methane | set | recipients:
+ methane, kbk, sgala, ajaksu2 |
| 2009年04月12日 00:54:40 | methane | set | messageid: <1239497680.33.0.162795242404.issue1542677@psf.upfronthosting.co.za> |
| 2009年04月12日 00:54:39 | methane | link | issue1542677 messages |
| 2009年04月12日 00:54:39 | methane | create |
|