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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:91355258-f5f5-fdaf-49b8-e9de6d9b1d26 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 94CA:95B65:EA5F98:14067B3:6969F631 |
| html-safe-nonce | 274821fa6c25ab6e4786632b545edf4c85f151f9dcd9c2bf920d95a1b9f068dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NENBOjk1QjY1OkVBNUY5ODoxNDA2N0IzOjY5NjlGNjMxIiwidmlzaXRvcl9pZCI6IjM3MTU5MTU2NzUxNjMyOTMyMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c6dca664188d736034e55c9bbdbf9e99febdf86b546e9a037f7bb6499a5f09ee |
| hovercard-subject-tag | pull_request:481719547 |
| 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/22145/checks |
| 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 | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width