Skip to content

Conversation

@bfabio
Copy link
Contributor

@bfabio bfabio commented Jan 11, 2018

Fallback to socket.error on Python 2 when we catch TimeoutError.

Also, socket.timeout can still be raised on Python 3 with different
semantics than TimeoutError, so we catch it as well.

Fix #263.

Fallback to socket.error on Python 2 when we catch TimeoutError.

Also, socket.timeout can still be raised on Python 3 with different
semantics than TimeoutError, so we catch it as well.

Fix pymodbus-dev#263.
@dhoomakethu dhoomakethu merged commit ca5dfaf into pymodbus-dev:dev Jan 11, 2018
@dhoomakethu
Copy link
Contributor

Thanks @bfabio bfabio for the PR

@dhoomakethu dhoomakethu added this to the 1.5.0 milestone Jan 23, 2018
@bfabio bfabio deleted the timeout_error branch March 29, 2018 21:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NameError: global name 'TimeoutError' is not defined

2 participants