Ticket #5978 defect new
Opened 15 months ago
twisted.internet.error.getConnectError implementation doesn't match usage
|Reported by:||itamar||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.