Ticket #5978 defect new
Opened 9 months ago
twisted.internet.error.getConnectError implementation doesn't match usage
| Reported by: | itamar | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
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.
Note: See
TracTickets for help on using
tickets.
