Title: Fix--tcp_mojifinder.py crashes on empty search result #61 by marktech0813 · Pull Request #66 · fluentpython/example-code-2e · GitHub
Open Graph Title: Fix--tcp_mojifinder.py crashes on empty search result #61 by marktech0813 · Pull Request #66 · fluentpython/example-code-2e
X Title: Fix--tcp_mojifinder.py crashes on empty search result #61 by marktech0813 · Pull Request #66 · fluentpython/example-code-2e
Description: 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.
Open Graph Description: 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.
X Description: 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.
Opengraph URL: https://github.com/fluentpython/example-code-2e/pull/66
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:db9bd239-48c7-97b0-412b-9734d4ca4732 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 853E:169FC4:1141806:17307FF:69705A08 |
| html-safe-nonce | 020abce6f38c13045b667ae4c6114331c5df46ccf90bba23d0e6c8909959cfec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTNFOjE2OUZDNDoxMTQxODA2OjE3MzA3RkY6Njk3MDVBMDgiLCJ2aXNpdG9yX2lkIjoiNTExMTA1NTIyNzY4MjgzOTA0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ddec83550b579faed9d9bd4fbb73443978b3e02041bcf7faadd1559fb5e7483c |
| hovercard-subject-tag | pull_request:2978739910 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/fluentpython/example-code-2e/66/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/57e8fed81adfb970d8f16525f5b1c0919e6de6ab6c3460b4e0d5c6b4a14305d0/fluentpython/example-code-2e/pull/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57e8fed81adfb970d8f16525f5b1c0919e6de6ab6c3460b4e0d5c6b4a14305d0/fluentpython/example-code-2e/pull/66 |
| og:image:alt | 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. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marktech0813 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/fluentpython/example-code-2e git https://github.com/fluentpython/example-code-2e.git |
| octolytics-dimension-user_id | 9216311 |
| octolytics-dimension-user_login | fluentpython |
| octolytics-dimension-repository_id | 176997413 |
| octolytics-dimension-repository_nwo | fluentpython/example-code-2e |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 176997413 |
| octolytics-dimension-repository_network_root_nwo | fluentpython/example-code-2e |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width