Title: PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie) · Issue #61776 · python/cpython · GitHub
Open Graph Title: PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie) · Issue #61776 · python/cpython
X Title: PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie) · Issue #61776 · python/cpython
Description: BPO 17576 Nosy @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob PRs #13740 Files issue17576.patchissue17576_v2.patchissue17576_v3.patchissue17...
Open Graph Description: BPO 17576 Nosy @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob PRs #13740 Files issue17576.patchissue...
X Description: BPO 17576 Nosy @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob PRs #13740 Files issue17576.patchissue...
Opengraph URL: https://github.com/python/cpython/issues/61776
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)","articleBody":"BPO | [17576](https://bugs.python.org/issue17576)\n--- | :---\nNosy | @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob\nPRs | \u003cli\u003epython/cpython#13740\u003c/li\u003e\nFiles | \u003cli\u003e[issue17576.patch](https://bugs.python.org/file31147/issue17576.patch \"Uploaded as text/plain at 2013-08-04.08:56:14 by @mdickinson\")\u003c/li\u003e\u003cli\u003e[issue17576_v2.patch](https://bugs.python.org/file31149/issue17576_v2.patch \"Uploaded as text/plain at 2013-08-04.10:07:25 by @mdickinson\")\u003c/li\u003e\u003cli\u003e[issue17576_v3.patch](https://bugs.python.org/file33077/issue17576_v3.patch \"Uploaded as text/plain at 2013-12-10.11:47:29 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[issue17576_v4.patch](https://bugs.python.org/file33093/issue17576_v4.patch \"Uploaded as text/plain at 2013-12-11.20:02:11 by @serhiy-storchaka\")\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/ethanfurman'\nclosed_at = None\ncreated_at = \u003cDate 2013-03-29.22:25:11.167\u003e\nlabels = ['interpreter-core', 'type-bug', '3.9', '3.10']\ntitle = 'PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)'\nupdated_at = \u003cDate 2021-08-31.15:42:26.900\u003e\nuser = 'https://github.com/warsaw'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-08-31.15:42:26.900\u003e\nactor = 'vstinner'\nassignee = 'ethan.furman'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2013-03-29.22:25:11.167\u003e\ncreator = 'barry'\ndependencies = []\nfiles = ['31147', '31149', '33077', '33093']\nhgrepos = []\nissue_num = 17576\nkeywords = ['patch']\nmessage_count = 54.0\nmessages = ['185522', '185523', '185530', '185531', '185532', '188791', '188810', '194335', '194337', '194347', '195713', '195747', '195759', '195764', '195772', '195824', '200171', '200229', '205733', '205735', '205793', '205802', '205856', '205862', '205870', '205889', '205890', '205896', '205916', '205919', '205921', '206199', '207293', '236493', '236502', '236526', '236528', '236880', '336045', '344266', '344275', '344308', '344384', '344386', '344406', '344681', '349562', '370171', '370177', '370190', '381639', '400674', '400707', '400747']\nnosy_count = 14.0\nnosy_names = ['barry', 'brett.cannon', 'rhettinger', 'mark.dickinson', 'ncoghlan', 'vstinner', 'Arfrever', 'alex', 'docs@python', 'ethan.furman', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'mjacob']\npr_nums = ['13740']\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue17576'\nversions = ['Python 3.9', 'Python 3.10']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/warsaw","@type":"Person","name":"warsaw"},"datePublished":"2013-03-29T22:25:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":55},"url":"https://github.com/61776/cpython/issues/61776"}
| 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:8d007dce-7c22-b98f-5b12-635685305f10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8FC:1E70:17A26C2:2070D51:6A4EFABB |
| html-safe-nonce | a3faf84bb152556567b28c517cb72d4b0038be82978a53d419b7d8eafd65d45d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEZDOjFFNzA6MTdBMjZDMjoyMDcwRDUxOjZBNEVGQUJCIiwidmlzaXRvcl9pZCI6Ijc0MDU0NjA2NjE2OTI0NjM4MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f5ee23e8584c15214d9cf2dd8fd2554058affda6adf6677b14d68ec18daeb8b |
| hovercard-subject-tag | issue:1198898627 |
| 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/61776/issue_layout |
| twitter:image | https://opengraph.githubassets.com/93cbb31ab62e1f4d82fc2d3f4933a520781643fc76f9d2cfdf5a2da851d936c6/python/cpython/issues/61776 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/93cbb31ab62e1f4d82fc2d3f4933a520781643fc76f9d2cfdf5a2da851d936c6/python/cpython/issues/61776 |
| og:image:alt | BPO 17576 Nosy @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob PRs #13740 Files issue17576.patchissue... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | warsaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width