![](https://secure.gravatar.com/avatar/1b22e978d7a2c755e770c6ecebc26b9b.jpg?s=120&d=mm&r=g)
Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1:/tmp/cvs-serv30648/Lib Modified Files: Tag: release23-maint httplib.py Log Message: Patch #817854: Add missing operations for SSLFile. Fixes #792101. Index: httplib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v retrieving revision 1.79 retrieving revision 1.79.8.1 diff -C2 -d -r1.79 -r1.79.8.1 *** httplib.py 29 Jun 2003 17:55:05 -0000 1.79 --- httplib.py 27 Oct 2003 14:07:42 -0000 1.79.8.1 *************** *** 911,914 **** --- 911,939 ---- return line + def readlines(self, sizehint=0): + total = 0 + list = [] + while True: + line = self.readline() + if not line: + break + list.append(line) + total += len(line) + if sizehint and total >= sizehint: + break + return list + + def fileno(self): + return self._sock.fileno() + + def __iter__(self): + return self + + def next(self): + line = self.readline() + if not line: + raise StopIteration + return line + class FakeSocket(SharedSocketClient):