Opened 6 years ago

#5978 defect new

twisted.internet.error.getConnectError implementation doesn't match usage

Reported by: Itamar Turner-Trauring Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: Branch:


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.

Change History (0)

Note: See TracTickets for help on using tickets.