◐ Shell
clean mode source ↗

Message 173073 - Python tracker

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.