Serhiy Storchaka <storch...@gmail.com> added the comment: > Ah. See blockfiles-3.diff then.
Well, I have no objections. Patch fixes this issue. > Where do you see that? In my patch, _RPCInputFile inherits from > _RPCFile, which is neither output nor input. Instead, _RPCOutputFile > also inherits from _RPCFile. I made a mistake. I mean PseudoInputFile, but it just monkey-patched. > > _RPCInputFile unnecessary, if redirect stdin not on PyShell self, but on > > PyShell.stdin. > It is necessary, as rpc will not communicate the exceptions properly. Yes, this is yet another issue. Rpc not communicates properly only OSError. Remove "except socket.error: raise" in SocketIO.localcall in Lib/idlelib/rpc.py and io.UnsupportedOperation will transparently transfered. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15318> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com