Title: Restore isinstance and issubclass speed in 2.6 · Issue #46786 · python/cpython · GitHub
Open Graph Title: Restore isinstance and issubclass speed in 2.6 · Issue #46786 · python/cpython
X Title: Restore isinstance and issubclass speed in 2.6 · Issue #46786 · python/cpython
Description: BPO 2534 Nosy @warsaw, @theller, @rhettinger, @facundobatista, @gpshead, @pitrou, @devdanzin, @benjaminp, @djc PRs #18345 Dependencies bpo-2542: PyErr_ExceptionMatches must not fail Files type_instancecheck.difftype_instancecheck-2.diff:...
Open Graph Description: BPO 2534 Nosy @warsaw, @theller, @rhettinger, @facundobatista, @gpshead, @pitrou, @devdanzin, @benjaminp, @djc PRs #18345 Dependencies bpo-2542: PyErr_ExceptionMatches must not fail Files type_inst...
X Description: BPO 2534 Nosy @warsaw, @theller, @rhettinger, @facundobatista, @gpshead, @pitrou, @devdanzin, @benjaminp, @djc PRs #18345 Dependencies bpo-2542: PyErr_ExceptionMatches must not fail Files type_inst...
Opengraph URL: https://github.com/python/cpython/issues/46786
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restore isinstance and issubclass speed in 2.6","articleBody":"BPO | [2534](https://bugs.python.org/issue2534)\n--- | :---\nNosy | @warsaw, @theller, @rhettinger, @facundobatista, @gpshead, @pitrou, @devdanzin, @benjaminp, @djc\nPRs | \u003cli\u003epython/cpython#18345\u003c/li\u003e\nDependencies | \u003cli\u003ebpo-2542: PyErr_ExceptionMatches must not fail\u003c/li\u003e\nFiles | \u003cli\u003e[type_instancecheck.diff](https://bugs.python.org/file9924/type_instancecheck.diff \"Uploaded as text/plain at 2008-04-02.09:47:45 by @theller\")\u003c/li\u003e\u003cli\u003e[type_instancecheck-2.diff](https://bugs.python.org/file9927/type_instancecheck-2.diff \"Uploaded as text/plain at 2008-04-02.18:47:15 by @theller\"): Cleaner patch, same functionality\u003c/li\u003e\u003cli\u003e[isinstance3k.patch](https://bugs.python.org/file11256/isinstance3k.patch \"Uploaded as text/plain at 2008-08-25.21:11:23 by @pitrou\")\u003c/li\u003e\u003cli\u003e[isinstance3k-2.patch](https://bugs.python.org/file11257/isinstance3k-2.patch \"Uploaded as text/plain at 2008-08-25.21:42:50 by @pitrou\")\u003c/li\u003e\u003cli\u003e[isinstance26-2.patch](https://bugs.python.org/file11261/isinstance26-2.patch \"Uploaded as text/plain at 2008-08-26.11:27:22 by @pitrou\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/pitrou'\nclosed_at = \u003cDate 2008-08-26.22:42:41.300\u003e\ncreated_at = \u003cDate 2008-04-02.09:47:47.244\u003e\nlabels = ['release-blocker', 'performance']\ntitle = 'Restore isinstance and issubclass speed in 2.6'\nupdated_at = \u003cDate 2020-02-04.09:42:29.110\u003e\nuser = 'https://github.com/theller'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-02-04.09:42:29.110\u003e\nactor = 'vstinner'\nassignee = 'pitrou'\nclosed = True\nclosed_date = \u003cDate 2008-08-26.22:42:41.300\u003e\ncloser = 'pitrou'\ncomponents = []\ncreation = \u003cDate 2008-04-02.09:47:47.244\u003e\ncreator = 'theller'\ndependencies = ['2542']\nfiles = ['9924', '9927', '11256', '11257', '11261']\nhgrepos = []\nissue_num = 2534\nkeywords = ['patch', 'needs review']\nmessage_count = 16.0\nmessages = ['64842', '64859', '64869', '64870', '64875', '64895', '69617', '70358', '71937', '71951', '71957', '71960', '71975', '71980', '71981', '72001']\nnosy_count = 9.0\nnosy_names = ['barry', 'theller', 'rhettinger', 'facundobatista', 'gregory.p.smith', 'pitrou', 'ajaksu2', 'benjamin.peterson', 'djc']\npr_nums = ['18345']\npriority = 'release blocker'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue2534'\nversions = ['Python 2.6', 'Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/theller","@type":"Person","name":"theller"},"datePublished":"2008-04-02T09:47:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/46786/cpython/issues/46786"}
| 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:e18aa4c5-11cd-c21e-4b13-7b3b9728067a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BB4:2804AF:4B6B8B:6708D7:6A524D77 |
| html-safe-nonce | 8d576d805b4657088a86279b854836bd3286d7e68e78cd33f258c747d0a86ffe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkI0OjI4MDRBRjo0QjZCOEI6NjcwOEQ3OjZBNTI0RDc3IiwidmlzaXRvcl9pZCI6IjU4NTAzMjY1MTIxNzYzNTI2MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 534db5dcc0109235054f4a326903002de22d84d3f1e8feff632babbf7336eb85 |
| hovercard-subject-tag | issue:1198830479 |
| 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/46786/issue_layout |
| twitter:image | https://opengraph.githubassets.com/07af3981f2b2b759e479f15e11a1bfde7cba15fb9542c714da16426706515b6a/python/cpython/issues/46786 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/07af3981f2b2b759e479f15e11a1bfde7cba15fb9542c714da16426706515b6a/python/cpython/issues/46786 |
| og:image:alt | BPO 2534 Nosy @warsaw, @theller, @rhettinger, @facundobatista, @gpshead, @pitrou, @devdanzin, @benjaminp, @djc PRs #18345 Dependencies bpo-2542: PyErr_ExceptionMatches must not fail Files type_inst... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theller |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width