Title: bpo-1635741 - port unicodedata to multi-phase init by koubaa · Pull Request #22145 · python/cpython · GitHub
Open Graph Title: bpo-1635741 - port unicodedata to multi-phase init by koubaa · Pull Request #22145 · python/cpython
X Title: bpo-1635741 - port unicodedata to multi-phase init by koubaa · Pull Request #22145 · python/cpython
Description: Second attempt, this time I'm slightly less ignorant about CPython core and argument clinic. "Every problem in software engineering can be solved by adding a layer of indirection". I hope this is true about porting unicodedata to multi-phase init. The challenge with this module is that the methods are shared between the module, class and in some cases a capsule API. Each of those cases will have its own way to get the module state (which is optional in the case of the capsule API). I created internal functions like unicodedata_UCD_normalize_internal which is passed in the module state. The class methods pass it in by getting it from the defining class, the module methods get it their own way. https://bugs.python.org/issue1635741
Open Graph Description: Second attempt, this time I'm slightly less ignorant about CPython core and argument clinic. "Every problem in software engineering can be solved by adding a layer of indirection". I...
X Description: Second attempt, this time I'm slightly less ignorant about CPython core and argument clinic. "Every problem in software engineering can be solved by adding a layer of indirection&a...
Opengraph URL: https://github.com/python/cpython/pull/22145
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:56085f91-7502-ae88-6b59-963e78947947 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E772:9124A:11ADCD0:16FF285:696B0F90 |
| html-safe-nonce | 6ea488a67b5794721755917cc6cd431f337fe3d7f08f497750fef6da085ac79a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzcyOjkxMjRBOjExQURDRDA6MTZGRjI4NTo2OTZCMEY5MCIsInZpc2l0b3JfaWQiOiI0MDU4MDI1NjM4NjU0MzE2NDMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a209505dd57ba7b1e58d0df9c5f3385b46fdc9eabd05f457513ddab0554f0981 |
| hovercard-subject-tag | pull_request:481719547 |
| 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/python/cpython/pull/22145/files |
| twitter:image | https://avatars.githubusercontent.com/u/11414628?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11414628?s=400&v=4 |
| og:image:alt | Second attempt, this time I'm slightly less ignorant about CPython core and argument clinic. "Every problem in software engineering can be solved by adding a layer of indirection". I... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| 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