Skip to content

Conversation

@alexrudd2
Copy link
Collaborator

@alexrudd2 alexrudd2 commented Feb 20, 2024

pyserial defines a class Socket which used to have a property interCharTimeout.

This was renamed to inter_byte_timeout in pyserial>=3.0. interCharTimeout remains as an alias for now.

I do not believe this is an API change since it's only internal, and users set strict: True on ModbusSerialClient instead.

is_open has also been available since 3.0 so there is no need to keep the deprecated isOpen()

@alexrudd2 alexrudd2 requested a review from janiversen February 20, 2024 00:28
@alexrudd2 alexrudd2 changed the title Use new inter_byte_timeout Use "new" inter_byte_timeout and is_open for pyserial Feb 20, 2024
@janiversen janiversen merged commit fe809d9 into dev Feb 20, 2024
@janiversen janiversen deleted the inter-byte-timeout branch February 20, 2024 07:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
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.

3 participants