Opened 5 years ago
#5978 defect new
twisted.internet.error.getConnectError implementation doesn't match usage
|Reported by:||Itamar Turner-Trauring||Owned by:|
All the calls to
getConnectError that I could find pass in a tuple, but the code assumes it's passed an exception. This may mean the
socket.gaierror case is never hit, giving less informative error reasons. Also,
gaierror always exists in modern Python, so if we're fixing the implementation we should also fix that.