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 terry.reedy
Recipients roger.serwy, serhiy.storchaka, terry.reedy
Date 2012-10-16.19:10:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350414604.58.0.539356538232.issue16103@psf.upfronthosting.co.za>
In-reply-to
Content
Roger, you are partially right -- there are changes, but they were intentional. I updated the idlelib part of my installation to match the repository on July 9 to incorporate the _RPCFile wrapping of of the three stdio files, including this:

-        sys.stdin = self.console = self.get_remote_proxy("stdin")

+        sys.stdin = self.console = _RPCFile(self.get_remote_proxy("stdin"))

>>> import sys
>>> sys.stdin
<idlelib.run._RPCInputFile object at 0x000000000315D320>

Sorry about forgetting this. Anyway, I presume you remember that issue. It seems that there is still a bug either in that update or its interaction with other code. What happens in linux with a fresh 2.7 build?

Serhiy's patch for #9290 replaces _RPCXyxFile with PseudoXyzFile subclasses of revised PseudoFile. If it works, it should fix this issue also.
History
Date User Action Args
2012-10-16 19:10:04terry.reedysetrecipients: + terry.reedy, roger.serwy, serhiy.storchaka
2012-10-16 19:10:04terry.reedysetmessageid: <1350414604.58.0.539356538232.issue16103@psf.upfronthosting.co.za>
2012-10-16 19:10:04terry.reedylinkissue16103 messages
2012-10-16 19:10:04terry.reedycreate