timeoutsocket.py -- Version 1.23

Timothy O'Malley timo at alum.mit.edu
Sat Mar 16 00:35:12 EST 2002


hola.

I've updated the timeoutsocket module with the following two
fixes:
  1.  The recv() method did not work with recv(0) when the
      socket was closed.  This was causing problems with
      httplib in 2.2.
      There was a condition test that used > when it
      should have used >= instead.
  2.  The readlines() method should no longer potentially
      lose data when a Timeout exception is thrown.


As usual:

http://www.timo-tasi.org/python/timeoutsocket.py


Happy python-ing!


TimO



More information about the Python-list mailing list