Message185848
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). |
|
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 | |
|