Title: gh-136162: Document `encodings` by StanFromIreland · Pull Request #136164 · python/cpython · GitHub
Open Graph Title: gh-136162: Document `encodings` by StanFromIreland · Pull Request #136164 · python/cpython
X Title: gh-136162: Document `encodings` by StanFromIreland · Pull Request #136164 · python/cpython
Description: search_function has possibly the longest single if statement in the entirety of CPython... we should add a note that these functions should normally not be used directly I added a .. note::, but switching to a .. warning:: seems like a good idea. I am split on documenting win32_code_page_search_function, but I have a patch ready. To me it seems as more of a helper function, which could be made private. Issue: gh-136162 📚 Documentation preview 📚: https://cpython-previews--136164.org.readthedocs.build/en/136164/library/codecs.html#module-encodings
Open Graph Description: search_function has possibly the longest single if statement in the entirety of CPython... we should add a note that these functions should normally not be used directly I added a .. note::, but ...
X Description: search_function has possibly the longest single if statement in the entirety of CPython... we should add a note that these functions should normally not be used directly I added a .. note::, but ...
Opengraph URL: https://github.com/python/cpython/pull/136164
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d31a28b7-19a6-393a-2463-8fecff9b8dd2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BB26:1E4FEF:1B4005A:235210C:696B36EA |
| html-safe-nonce | ef4f74f36269a62c750f627d2e4380abd0548fca15f381805036d421e0641d58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjI2OjFFNEZFRjoxQjQwMDVBOjIzNTIxMEM6Njk2QjM2RUEiLCJ2aXNpdG9yX2lkIjoiNTU3Mjc0NjQxNzk1Mjk5NTA1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b9f74538ea29f763c3b3f18b8ee3fd415b3e1fdb4ffdfa03c55f28962d2cadf9 |
| hovercard-subject-tag | pull_request:2631621618 |
| 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/136164/checks |
| twitter:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| og:image:alt | search_function has possibly the longest single if statement in the entirety of CPython... we should add a note that these functions should normally not be used directly I added a .. note::, but ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width