Message162342
| Author |
moritz |
| Recipients |
anacrolix, bethard, moritz, pitrou |
| Date |
2012年06月05日.13:51:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338904300.69.0.960023694667.issue14156@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't know how if this is the perfect solution but it keeps the program from crashing.
1154c1154,1157
< return _sys.stdin
---
> if 'b' in self._mode:
> return _sys.stdin.buffer
> else:
> return _sys.stdin
1156c1159,1162
< return _sys.stdout
---
> if 'b' in self._mode:
> return _sys.stdout.buffer
> else:
> return _sys.stdout |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月05日 13:51:40 | moritz | set | recipients:
+ moritz, pitrou, bethard, anacrolix |
| 2012年06月05日 13:51:40 | moritz | set | messageid: <1338904300.69.0.960023694667.issue14156@psf.upfronthosting.co.za> |
| 2012年06月05日 13:51:40 | moritz | link | issue14156 messages |
| 2012年06月05日 13:51:39 | moritz | create |
|