commit | e5e50591a477f90203219898e02a603ba6a9d71b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Aug 18 01:23:20 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Aug 18 01:23:20 2001 +0000 |
tree | a69c6961d5734146b808b6de75219d1be81e5047 | |
parent | 241d69c11babc3641825fa9be4dee426652f8c40 [diff] |
When the socket is closed, don't just assign 0 to self._sock. This breaks software that excepts a socket.error but not an AttributeError.