Message185848
| Author |
Drekin |
| Recipients |
Drekin |
| Date |
2013年04月02日.16:59:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1364921954.86.0.527255608282.issue17620@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The Python interactive console actually doesn't use sys.stdin but standard C stdin for input. Is there any reason for this? Why it then uses its encoding attribute? (Assigning sys.stdin something, that doesn't have encoding attribute freezes the interpreter.) If anything, wouldn't it make more sense if it used sys.__stdin__.encoding instead of sys.stdin? sys.stdin is intended to be set by user (it affects input() and code.inpterrupt() which tries to minic standard interactive console). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年04月02日 16:59:14 | Drekin | set | recipients:
+ Drekin |
| 2013年04月02日 16:59:14 | Drekin | set | messageid: <1364921954.86.0.527255608282.issue17620@psf.upfronthosting.co.za> |
| 2013年04月02日 16:59:14 | Drekin | link | issue17620 messages |
| 2013年04月02日 16:59:14 | Drekin | create |
|