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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9a16ad24-529d-a6f6-592c-2518e20aaed2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8DC8:13AD7A:1BA485:23F649:6A503AD3 |
| html-safe-nonce | 4579634483481cb47c385cf8146f308106bc1cb30f46674718ed9c5d7be1544a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REM4OjEzQUQ3QToxQkE0ODU6MjNGNjQ5OjZBNTAzQUQzIiwidmlzaXRvcl9pZCI6IjY4MDc2ODY1MTIxMzk4NDQzMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 451f4fd064d047db5bd9a1aff8ed2c237a5cdb930bd96d19d3f05bfb57a01cba |
| hovercard-subject-tag | pull_request:1544848573 |
| 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/110460/checks |
| 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 | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width