Title: bpo-30570: Use Py_EnterRecursiveCall() in issubclass() by sweeneyde · Pull Request #29048 · python/cpython · GitHub
Open Graph Title: bpo-30570: Use Py_EnterRecursiveCall() in issubclass() by sweeneyde · Pull Request #29048 · python/cpython
X Title: bpo-30570: Use Py_EnterRecursiveCall() in issubclass() by sweeneyde · Pull Request #29048 · python/cpython
Description: This is an alternative to GH-29017. This shouldn't affect performance too much because the recursion checks only occur once for each time a length>=2 __bases__ tuple is found (i.e. for multiple inheritance). Note that if we get stuck in the while (1) {...} loop, as long as the pathological __bases__ implementation is in Python, we can still interrupt with a KeyboardInterrupt. https://bugs.python.org/issue30570
Open Graph Description: This is an alternative to GH-29017. This shouldn't affect performance too much because the recursion checks only occur once for each time a length>=2 __bases__ tuple is found (i.e. for multi...
X Description: This is an alternative to GH-29017. This shouldn't affect performance too much because the recursion checks only occur once for each time a length>=2 __bases__ tuple is found (i.e. f...
Opengraph URL: https://github.com/python/cpython/pull/29048
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9d2b2836-14fa-cd19-585c-dbb8daf19dc5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA7E:2DA0AC:419805:57F71F:6A5592D3 |
| html-safe-nonce | f3ab0994303556e5472c2f30937d5e67706b942b664dc4bf670f61e84618b55a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTdFOjJEQTBBQzo0MTk4MDU6NTdGNzFGOjZBNTU5MkQzIiwidmlzaXRvcl9pZCI6IjU4MDM3NDUzNDU1ODM1NTExODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bd24cca7b7dbaa8b72f86e465a95c3bbe9f9a5ca802d973f49dfd3ddda9ccce0 |
| hovercard-subject-tag | pull_request:760973971 |
| 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/29048/files |
| twitter:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| og:image:alt | This is an alternative to GH-29017. This shouldn't affect performance too much because the recursion checks only occur once for each time a length>=2 __bases__ tuple is found (i.e. for multi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | aa21baa44893467b0b640d0300538f84ca8c475b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width