◐ Shell
clean mode source ↗

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

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@marktech0813

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.

1 participant

@marktech0813