socket.socket.makefile

Matt Joiner anacrolix at gmail.com
Sun Nov 13 08:32:39 EST 2011


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?



More information about the Python-list mailing list