Title: gh-100519: simplification to `eff_request_host` in cookiejar.py by glyph · Pull Request #99588 · python/cpython · GitHub
Open Graph Title: gh-100519: simplification to `eff_request_host` in cookiejar.py by glyph · Pull Request #99588 · python/cpython
X Title: gh-100519: simplification to `eff_request_host` in cookiejar.py by glyph · Pull Request #99588 · python/cpython
Description: IPV4_RE includes a ., and the .find(".") == -1 included here is already testing to make sure there's no dot, so this part of the expression is tautological. Instead use more modern in syntax to make it clear what the check is doing here This change is trivial so I did not open an issue. I filed #31004 for this same change, and a bot linked linked me to some CLA instructions which tell me a bot will present me with a button in the comment. So I assume the workflow has changed and I'll get a CLA bot request on this new PR. Issue: gh-100519
Open Graph Description: IPV4_RE includes a ., and the .find(".") == -1 included here is already testing to make sure there's no dot, so this part of the expression is tautological. Instead use more modern in...
X Description: IPV4_RE includes a ., and the .find(".") == -1 included here is already testing to make sure there's no dot, so this part of the expression is tautological. Instead use mo...
Opengraph URL: https://github.com/python/cpython/pull/99588
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:85d59c3a-053f-fd6a-a4f7-edb127c91ec0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8BE0:1AFF8E:145E67:1A5225:69691C7A |
| html-safe-nonce | cb57d2cfb62e205d474b6bc107e874fdfd754ec510fa5d6cda1e8e51636b4d02 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkUwOjFBRkY4RToxNDVFNjc6MUE1MjI1OjY5NjkxQzdBIiwidmlzaXRvcl9pZCI6IjgwNzgxNzU1OTgzNzA1NjEyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f2ce6e2e44074f105c99148db12f6a5440d72cdf5b5501f4927103efe1ab62ec |
| hovercard-subject-tag | pull_request:1128344575 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/99588/checks |
| twitter:image | https://avatars.githubusercontent.com/u/716529?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/716529?s=400&v=4 |
| og:image:alt | IPV4_RE includes a ., and the .find(".") == -1 included here is already testing to make sure there's no dot, so this part of the expression is tautological. Instead use more modern in... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd206f7ed6207863172be4a783826e86bd2375c3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width