I'm writing an alternative socket module, and have come across the code for the makefile call, which mentions the following: (XXX refactor to share code?) http://hg.python.org/cpython/file/27adb952813b/Lib/socket.py#l149 Has this been refactored elsewhere? Is there something I can use to wrap the SocketIO inheriting from RawIOBase in all the variants the io.open/socket.makefile functions return for me? -- http://mail.python.org/mailman/listinfo/python-list