Title: bpo-20092. Use __index__ in constructors of int, float and complex. by serhiy-storchaka · Pull Request #13108 · python/cpython · GitHub
Open Graph Title: bpo-20092. Use __index__ in constructors of int, float and complex. by serhiy-storchaka · Pull Request #13108 · python/cpython
X Title: bpo-20092. Use __index__ in constructors of int, float and complex. by serhiy-storchaka · Pull Request #13108 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Constructors of int, float and complex will now fall back to __index__ if corresponding special methods __int__, __float__ and __complex__ are not defined. https://bugs.python.org/issue20092
X Description: Constructors of int, float and complex will now fall back to __index__ if corresponding special methods __int__, __float__ and __complex__ are not defined. https://bugs.python.org/issue20092
Opengraph URL: https://github.com/python/cpython/pull/13108
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:6c26e74c-a648-1d2d-6a2e-6aa8cfec1940 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EC04:102A8A:2F1B0E:41BFB4:6A4FC189 |
| html-safe-nonce | 9b743b96014a7e65e64978fee7c0ad5aeed7a7c08ad9ed5f3691863993d6e9db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzA0OjEwMkE4QToyRjFCMEU6NDFCRkI0OjZBNEZDMTg5IiwidmlzaXRvcl9pZCI6IjU0NDk5MTQ3MTI2OTQxNzgxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3366793999e7941c3d06a7f3e84ce212c6d520e821c80ac17d724245b8dd0037 |
| hovercard-subject-tag | pull_request:276209638 |
| 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/13108/checks |
| twitter:image | https://opengraph.githubassets.com/3d37fd6feafecee9f487f90574152611a0f836b78dada99fdbd9ed9940b572e1/python/cpython/pull/13108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d37fd6feafecee9f487f90574152611a0f836b78dada99fdbd9ed9940b572e1/python/cpython/pull/13108 |
| og:image:alt | Constructors of int, float and complex will now fall back to __index__ if corresponding special methods __int__, __float__ and __complex__ are not defined. https://bugs.python.org/issue20092 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d8f8209b188a80e19a6957836ab9229715797be5db1a04163963c674ccc33f6 |
| 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 | ea848e83cf3bf3613dd7b13d52965a684fd23ec5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width