Message229859
| Author |
akira |
| Recipients |
akira |
| Date |
2014年10月23日.07:16:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1414048560.8.0.0429092094688.issue22709@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The patch for Issue #21075: "fileinput.FileInput now reads bytes from standard stream if binary mode is specified" broke code that used
sys.stdin = sys.stdin.detach() with FileInput(mode='rb') in Python 3.3
I've attached the patch that makes FileInput to accept detached sys.stdin
(without 'buffer' attribute) in binary mode. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年10月23日 07:16:00 | akira | set | recipients:
+ akira |
| 2014年10月23日 07:16:00 | akira | set | messageid: <1414048560.8.0.0429092094688.issue22709@psf.upfronthosting.co.za> |
| 2014年10月23日 07:16:00 | akira | link | issue22709 messages |
| 2014年10月23日 07:16:00 | akira | create |
|