Title: gh-79888: support __index__ and __float__ in time functions by jdemeyer · Pull Request #11636 · python/cpython · GitHub
Open Graph Title: gh-79888: support __index__ and __float__ in time functions by jdemeyer · Pull Request #11636 · python/cpython
X Title: gh-79888: support __index__ and __float__ in time functions by jdemeyer · Pull Request #11636 · python/cpython
Description: https://bugs.python.org/issue35707 Note that there is substantial code duplication in my patch, but that is only because the existing code already had substantial duplication. It would be possible to fix that, at the expense of a slightly more complicated (and therefore probably slightly slower) implementation. Issue: gh-79888
Open Graph Description: https://bugs.python.org/issue35707 Note that there is substantial code duplication in my patch, but that is only because the existing code already had substantial duplication. It would be possible...
X Description: https://bugs.python.org/issue35707 Note that there is substantial code duplication in my patch, but that is only because the existing code already had substantial duplication. It would be possible...
Opengraph URL: https://github.com/python/cpython/pull/11636
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0252d299-6cd5-5eb2-fda6-1f9553efb383 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9656:35EA72:1247425:1917C15:6A4DE0C6 |
| html-safe-nonce | 066fe567e74775baa5080a28bbc11206d6ceb98c2e878ee1ff0582abf927fe5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjU2OjM1RUE3MjoxMjQ3NDI1OjE5MTdDMTU6NkE0REUwQzYiLCJ2aXNpdG9yX2lkIjoiMjExNzgzOTI5NTg4MDIyNDk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e9e2c4148190a7a824fd8eaef9feccf2d241ce0e68c4a01ff5fb40b59c000105 |
| hovercard-subject-tag | pull_request:246298740 |
| 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/11636/files |
| twitter:image | https://avatars.githubusercontent.com/u/3625785?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3625785?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue35707 Note that there is substantial code duplication in my patch, but that is only because the existing code already had substantial duplication. It would be possible... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width