Skip to content
GitLab
Explore
Sign in
Register
Kirill Smelkov
cpython
Repository
cpython
Lib
socket.py
Find file
Blame
History
Permalink
When the socket is closed, don't just assign 0 to self._sock.
· e5e50591
Guido van Rossum
authored
Aug 18, 2001
This breaks software that excepts a socket.error but not an AttributeError.
e5e50591