FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix--tcp_mojifinder.py crashes on empty search result #61 by marktech0813 · Pull Request #66 · fluentpython/example-code-2e · GitHub

Fix--tcp_mojifinder.py crashes on empty search result #61 - #66

Open
marktech0813 wants to merge 1 commit into
fluentpython:masterfrom
marktech0813:develop
Open

Fix--tcp_mojifinder.py crashes on empty search result #61#66
marktech0813 wants to merge 1 commit into
fluentpython:masterfrom
marktech0813:develop

Conversation

Copy link
Copy Markdown

I updated 21-async/mojifinder/tcp_mojifinder.py so search now builds a list of response lines and guards the writelines call, preventing any edge-case crash when there are no matches.

I updated 21-async/mojifinder/tcp_mojifinder.py so search now builds a list of response lines and guards the writelines call, preventing any edge-case crash when there are no matches.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL