Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow nowait for status(), and split message parsing into separate function #253

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

uzlonewolf
Copy link
Collaborator

I have a single-threaded application where I handle the socket reading (via select.select() and buffering the data) and needed status() to not block. Once I get a message I then need to parse it, so I moved the parsing part of _send_receive() into its own function to make it easier to call.

@jasonacox jasonacox merged commit 084a8a5 into jasonacox:master Jan 14, 2023
@jasonacox
Copy link
Owner

Logical. I can't think of any dependency issue for this change so I will rev the version as a minor patch, v1.9.2.

@uzlonewolf uzlonewolf deleted the misc branch January 14, 2023 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants