Title: `typing` tests: `test_overload_on_compiled_functions()` may not work on alternative Python implementations · Issue #98713 · python/cpython · GitHub
Open Graph Title: `typing` tests: `test_overload_on_compiled_functions()` may not work on alternative Python implementations · Issue #98713 · python/cpython
X Title: `typing` tests: `test_overload_on_compiled_functions()` may not work on alternative Python implementations · Issue #98713 · python/cpython
Description: Bug report A few weeks ago, the typing_extensions backport library received a bug report that test_overload_on_compiled_functions(), a recently added test, failed when run on PyPy: python/typing_extensions#83. This is due to the fact tha...
Open Graph Description: Bug report A few weeks ago, the typing_extensions backport library received a bug report that test_overload_on_compiled_functions(), a recently added test, failed when run on PyPy: python/typing_ex...
X Description: Bug report A few weeks ago, the typing_extensions backport library received a bug report that test_overload_on_compiled_functions(), a recently added test, failed when run on PyPy: python/typing_ex...
Opengraph URL: https://github.com/python/cpython/issues/98713
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`typing` tests: `test_overload_on_compiled_functions()` may not work on alternative Python implementations","articleBody":"# Bug report\r\n\r\nA few weeks ago, the `typing_extensions` backport library received a bug report that `test_overload_on_compiled_functions()`, a recently added test, failed when run on PyPy: https://github.com/python/typing_extensions/issues/83. This is due to the fact that `builtins.sum()` and `builtins.print()` are not compiled functions on PyPy.\r\n\r\nThe same test exists in the CPython test suite (the test was ported over to `typing_extensions` in https://github.com/python/typing_extensions/pull/73 after being added to the CPython test suite in #96479): https://github.com/python/cpython/blob/de6981680bcf6496e5996a853b2eaa700ed59b2c/Lib/test/test_typing.py#L4638-L4650.\r\n\r\nI think the test should probably be marked with the `@test.support.cpython_only` decorator in the CPython test suite.\r\n\r\n(Cc. @sobolevn, who added the test.)","author":{"url":"https://github.com/AlexWaygood","@type":"Person","name":"AlexWaygood"},"datePublished":"2022-10-26T11:42:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/98713/cpython/issues/98713"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4673007d-8e60-aae1-59b9-044126e5eccd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C052:2DD042:26B3CE:3283E9:696B3A76 |
| html-safe-nonce | 03ba997d14c62e3e33ccc58e5e115fe0805d4ba29ab394bad30292907c31ad08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDUyOjJERDA0MjoyNkIzQ0U6MzI4M0U5OjY5NkIzQTc2IiwidmlzaXRvcl9pZCI6Ijc5NDczMTk5MTYxOTg4MzY4NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ae3088cf1af7ca041a6458e25c2ad5852318f1cf1f114d65b8324a93f8e3c61 |
| hovercard-subject-tag | issue:1423884763 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/98713/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b607b9518d746e888d133d929160dfa23aeaf1790ee4287beca6ea8488920a8/python/cpython/issues/98713 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b607b9518d746e888d133d929160dfa23aeaf1790ee4287beca6ea8488920a8/python/cpython/issues/98713 |
| og:image:alt | Bug report A few weeks ago, the typing_extensions backport library received a bug report that test_overload_on_compiled_functions(), a recently added test, failed when run on PyPy: python/typing_ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width