| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:531ca5d5-3f49-8da5-6c92-dce6423708ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C12E:59847:119422:17B5FF:6B001E42 |
| html-safe-nonce | 5068906dc87c8243dfc823948e93344f5f77b368ad99e7e49979cd93792fad66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTJFOjU5ODQ3OjExOTQyMjoxN0I1RkY6NkIwMDFFNDIiLCJ2aXNpdG9yX2lkIjoiMzMwNjY1ODYyNjc4NDk5MjgzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad0beb7e516906e079f9dd7e5462c2f5322a5d05cfdf50997d5107402a1fde51 |
| hovercard-subject-tag | pull_request:295234197 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/3108/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a5af701791f341edf4d8835a1e029593c1e5dd52e415e5b08d014aac34520d64/python/typeshed/pull/3108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5af701791f341edf4d8835a1e029593c1e5dd52e415e5b08d014aac34520d64/python/typeshed/pull/3108 |
| og:image:alt | This should make e.g. this work: (See comment #3108 (comment)).
from decimal import Decimal
from numbers import Real
x: Real = 1.2
x = Decimal('1.2')
if isinstance(x, Real):
# Not dead... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bluetech |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/3108#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F3108 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F3108 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/3108 |
| Reload | https://github.com/python/typeshed/pull/3108 |
| Reload | https://github.com/python/typeshed/pull/3108 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| https://github.com/python/typeshed |
| bluetech | https://github.com/bluetech |
| python:master | https://github.com/python/typeshed/tree/master |
| bluetech:builtins-numbers | https://github.com/bluetech/typeshed/tree/builtins-numbers |
| Conversation | https://github.com/python/typeshed/pull/3108 |
| Commits3 (3) | https://github.com/python/typeshed/pull/3108/commits |
| Checks | https://github.com/python/typeshed/pull/3108/checks |
| Files changed | https://github.com/python/typeshed/pull/3108/files |
| builtins: preparation for having the number types derive from the numbers ABCs | https://github.com/python/typeshed/pull/3108#top |
| bluetech | https://github.com/bluetech |
| python:master | https://github.com/python/typeshed/tree/master |
| bluetech:builtins-numbers | https://github.com/bluetech/typeshed/tree/builtins-numbers |
|
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#issue-465130248 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| #3108 (comment) | https://github.com/python/typeshed/pull/3108#issuecomment-509158766 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| bluetech | https://github.com/bluetech |
| July 8, 2019 12:34 | https://github.com/python/typeshed/pull/3108#commits-pushed-d7ee5eb |
|
| https://github.com/bluetech |
| builtins: int.__pow__ can take a modulo argument | https://github.com/python/typeshed/pull/3108/commits/d7ee5eb41c7e7384dc6602985af05c0d5ba3d5d5 |
| d7ee5eb | https://github.com/python/typeshed/pull/3108/commits/d7ee5eb41c7e7384dc6602985af05c0d5ba3d5d5 |
| https://docs.python.org/3/reference/datamodel.html#object.__pow__ | https://docs.python.org/3/reference/datamodel.html#object.__pow__ |
| https://docs.python.org/3/library/functions.html#pow | https://docs.python.org/3/library/functions.html#pow |
|
| https://github.com/bluetech |
| builtins: add __ceil__, __floor__, __trunc__ to int and float on Python3 | https://github.com/python/typeshed/pull/3108/commits/3dd650922e3fda13347ca46418a4663132c4bea7 |
| 3dd6509 | https://github.com/python/typeshed/pull/3108/commits/3dd650922e3fda13347ca46418a4663132c4bea7 |
| https://docs.python.org/3/reference/datamodel.html#object.__round__ | https://docs.python.org/3/reference/datamodel.html#object.__round__ |
|
| https://github.com/bluetech |
| builtins,numbers: harmonize float.__round__ and Real.__round__ | https://github.com/python/typeshed/pull/3108/commits/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| 919609d | https://github.com/python/typeshed/pull/3108/commits/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| https://docs.python.org/3/reference/datamodel.html#object.__round__ | https://docs.python.org/3/reference/datamodel.html#object.__round__ |
| https://docs.python.org/3/library/functions.html#round | https://docs.python.org/3/library/functions.html#round |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| force-pushed | https://github.com/python/typeshed/compare/cb4e876e08a0368c087826e63e71eed805a396b1..eec07e0039af8001d88a22a7b06a487dbb4ad03f |
| cb4e876 | https://github.com/python/typeshed/commit/cb4e876e08a0368c087826e63e71eed805a396b1 |
| eec07e0 | https://github.com/python/typeshed/commit/eec07e0039af8001d88a22a7b06a487dbb4ad03f |
|
Compare
| https://github.com/python/typeshed/compare/cb4e876e08a0368c087826e63e71eed805a396b1..eec07e0039af8001d88a22a7b06a487dbb4ad03f |
| July 8, 2019 09:36 | https://github.com/python/typeshed/pull/3108#event-2465521826 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#issuecomment-509155068 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#issuecomment-509156892 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#issuecomment-509158766 |
| @srittau | https://github.com/srittau |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| force-pushed | https://github.com/python/typeshed/compare/eec07e0039af8001d88a22a7b06a487dbb4ad03f..919609d21bacb0d6b322b68b23c40cf1c9855995 |
| eec07e0 | https://github.com/python/typeshed/commit/eec07e0039af8001d88a22a7b06a487dbb4ad03f |
| 919609d | https://github.com/python/typeshed/commit/919609d21bacb0d6b322b68b23c40cf1c9855995 |
|
Compare
| https://github.com/python/typeshed/compare/eec07e0039af8001d88a22a7b06a487dbb4ad03f..919609d21bacb0d6b322b68b23c40cf1c9855995 |
| July 8, 2019 09:50 | https://github.com/python/typeshed/pull/3108#event-2465561479 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#event-2465563047 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#issuecomment-509159696 |
| @srittau | https://github.com/srittau |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Jul 8, 2019
| https://github.com/python/typeshed/pull/3108#pullrequestreview-258803193 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| stdlib/2/__builtin__.pyi | https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30 |
| srittau | https://github.com/srittau |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r301014545 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| bluetech | https://github.com/bluetech |
| Jul 8, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r301036179 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| The numbers.Real doc | https://docs.python.org/3/library/numbers.html#numbers.Real |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Aug 10, 2019
| https://github.com/python/typeshed/pull/3108#pullrequestreview-273438316 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| stdlib/2and3/numbers.pyi | https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995#diff-ce3de2a32fc000d722fd0ae654251516d1c13b58e31da83586c69dcfa3515d77 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Aug 10, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r312714217 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| bluetech | https://github.com/bluetech |
| Aug 12, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r313043221 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Aug 10, 2019
| https://github.com/python/typeshed/pull/3108#pullrequestreview-273438321 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| stdlib/2/__builtin__.pyi | https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Aug 10, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r312714222 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| bluetech | https://github.com/bluetech |
| Aug 12, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r313039940 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Aug 12, 2019 | https://github.com/python/typeshed/pull/3108#discussion_r313045938 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Aug 12, 2019
| https://github.com/python/typeshed/pull/3108#ref-issue-222335201 |
|
int is not a Number?
python/mypy#3186
| https://github.com/python/mypy/issues/3186 |
|
builtins: int.__pow__ can take a modulo argument
#3192
| https://github.com/python/typeshed/pull/3192 |
|
builtins,numbers: harmonize float.__round__ and Real.__round__
#3193
| https://github.com/python/typeshed/pull/3193 |
|
builtins: add __trunc__ to int and float
#3194
| https://github.com/python/typeshed/pull/3194 |
|
__ceil__, __floor__ and numbers.Real
#3195
| https://github.com/python/typeshed/issues/3195 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Aug 17, 2019 | https://github.com/python/typeshed/pull/3108#issuecomment-522223485 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| https://github.com/bluetech |
| bluetech | https://github.com/bluetech |
| Aug 17, 2019 | https://github.com/python/typeshed/pull/3108#event-2563889965 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F3108 |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995 |
|
| https://github.com/srittau |
|
srittau
| https://github.com/srittau |
|
| https://github.com/python/typeshed/pull/3108/files/919609d21bacb0d6b322b68b23c40cf1c9855995 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
| Please reload this page | https://github.com/python/typeshed/pull/3108 |
|
| https://github.com/bluetech |
|
| https://github.com/srittau |
|
| https://github.com/JelleZijlstra |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |