This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:14Drekinsetrecipients: + Drekin
2013-04-02 16:59:14Drekinsetmessageid: <1364921954.86.0.527255608282.issue17620@psf.upfronthosting.co.za>
2013-04-02 16:59:14Drekinlinkissue17620 messages
2013-04-02 16:59:14Drekincreate