Author Guilherme.Simões
Recipients Guilherme.Simões
Date 2013-04-25.06:56:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366872984.94.0.234893757031.issue17838@psf.upfronthosting.co.za>
In-reply-to
Content
Something like:

sys.stdin = open('file')

works in Python but doesn't in the IDLE shell. After trying to do that, a dialog is open asking if the user wants to kill the program. This happens because the method "close" of the class "PseudoInputFile" (which was created in #17585) is called.
History
Date User Action Args
2013-04-25 06:56:25Guilherme.Simõessetrecipients: + Guilherme.Simões
2013-04-25 06:56:24Guilherme.Simõessetmessageid: <1366872984.94.0.234893757031.issue17838@psf.upfronthosting.co.za>
2013-04-25 06:56:24Guilherme.Simõeslinkissue17838 messages
2013-04-25 06:56:24Guilherme.Simõescreate