Add ETIMEDOUT handling to get_socket_conn_refused_errs#128711
Add ETIMEDOUT handling to get_socket_conn_refused_errs#128711AtamanKit wants to merge 9 commits into
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
The following commit authors need to sign the Contributor License Agreement: |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
This PR is stale because it has been open for 30 days with no activity. |
Summary of Changes
This Pull Request adds support for handling the
ETIMEDOUTerror in theget_socket_conn_refused_errsfunction within thesocket_helpermodule. The change ensures that timeout errors during socket connection attempts are correctly handled and improves compatibility across platforms.Issue Reference
This is a minor improvement and does not require a corresponding GitHub issue. Please add the "skip issue" label to this PR if appropriate.
Details of the Change
errno.ETIMEDOUTusinghasattrto ensure compatibility across platforms.Rationale
When running the test suite against
test_socket.pyon theUbuntu 24.04.1 LTSplatform using a Python build from source, the following failure was observed: