Title: gh-84978: expose __float__ dunder method as as_float by skirpichev · Pull Request #110460 · python/cpython · GitHub
Open Graph Title: gh-84978: expose __float__ dunder method as as_float by skirpichev · Pull Request #110460 · python/cpython
X Title: gh-84978: expose __float__ dunder method as as_float by skirpichev · Pull Request #110460 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This is a lightweight alternative for #26827 (an alternate constructor could be more discoverable option). Similar functions could be added for __complex__() and __int__() methods. But, probably,...
X Description: This is a lightweight alternative for #26827 (an alternate constructor could be more discoverable option). Similar functions could be added for __complex__() and __int__() methods. But, probably,...
Opengraph URL: https://github.com/python/cpython/pull/110460
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:248d65cc-d77f-6953-6255-7882fddcee68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9934:D9FFD:33EC7C9:4A561A2:6A4FC7B4 |
| html-safe-nonce | a62f121eca1705c120b3455b6ab544eb3e62f2ec5d6cd75e841fafb19b1c41af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTM0OkQ5RkZEOjMzRUM3Qzk6NEE1NjFBMjo2QTRGQzdCNCIsInZpc2l0b3JfaWQiOiI3NjYwOTc0NTc1NDM4NTE0MTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 431a3964aff219f7b941977b8c80ba90a535e8238d83d8172b88dd1124173a00 |
| hovercard-subject-tag | pull_request:1544848573 |
| 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/110460/commits |
| twitter:image | https://opengraph.githubassets.com/5c564867fbd139df80591fc0791455807d353194c868719baef532cf122c9a2a/python/cpython/pull/110460 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c564867fbd139df80591fc0791455807d353194c868719baef532cf122c9a2a/python/cpython/pull/110460 |
| og:image:alt | This is a lightweight alternative for #26827 (an alternate constructor could be more discoverable option). Similar functions could be added for __complex__() and __int__() methods. But, probably,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skirpichev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60b2ae4c725f51e2dac275d0ac5e9233e5967a61cdfaebd732f63da67ff1b71c |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06fb64e1cb36b9a7a2e3f0e6c14af40ef9f439d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width