Message173073
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. |
|
Date |
User |
Action |
Args |
2012-10-16 19:10:04 | terry.reedy | set | recipients:
+ terry.reedy, roger.serwy, serhiy.storchaka |
2012-10-16 19:10:04 | terry.reedy | set | messageid: <1350414604.58.0.539356538232.issue16103@psf.upfronthosting.co.za> |
2012-10-16 19:10:04 | terry.reedy | link | issue16103 messages |
2012-10-16 19:10:04 | terry.reedy | create | |
|