Make socket exceptions more specific to match Python semantics
This commit is contained in:
@@ -158,6 +158,7 @@ ZTS_ENOBUFS = _libzt.ZTS_ENOBUFS
|
||||
ZTS_EISCONN = _libzt.ZTS_EISCONN
|
||||
ZTS_ENOTCONN = _libzt.ZTS_ENOTCONN
|
||||
ZTS_ETIMEDOUT = _libzt.ZTS_ETIMEDOUT
|
||||
ZTS_ECONNREFUSED = _libzt.ZTS_ECONNREFUSED
|
||||
ZTS_EHOSTUNREACH = _libzt.ZTS_EHOSTUNREACH
|
||||
ZTS_EALREADY = _libzt.ZTS_EALREADY
|
||||
ZTS_EINPROGRESS = _libzt.ZTS_EINPROGRESS
|
||||
|
||||
Reference in New Issue
Block a user