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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e7597de9-fdc8-a536-95a8-1d6aa991188f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 85E2:166B1C:11F2AA9:190A640:6970CA1F |
| html-safe-nonce | 8a816ba3974eb1e11288cfd164f329e6912a156d241f457eee4e49ad3dbf0890 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUUyOjE2NkIxQzoxMUYyQUE5OjE5MEE2NDA6Njk3MENBMUYiLCJ2aXNpdG9yX2lkIjoiODQ4NzUwMzI0NDQxNjgyOTk4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7fd339445ed9713ea6d2d10582e597648b795bc57caf726f3116283edd12e08a |
| 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/fluentpython/example-code-2e/pull/66/files |
| twitter:image | https://avatars.githubusercontent.com/u/178346048?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/178346048?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 721764876e433c894814212f8100f6610f1dde78a987acc2e385d8be8e170e9c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6ff3d08f4ee1c3f89ebedf4df8fc8fe851190294 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width