Title: Pure Python operator.index doesn't match the C version. · Issue #62912 · python/cpython · GitHub
Open Graph Title: Pure Python operator.index doesn't match the C version. · Issue #62912 · python/cpython
X Title: Pure Python operator.index doesn't match the C version. · Issue #62912 · python/cpython
Description: BPO 18712 Nosy @arigo, @mdickinson, @ericsnowcurrently, @zware, @serhiy-storchaka, @corona10, @iritkatriel Dependencies bpo-17576: PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie) Files operator_index.patchx.p...
Open Graph Description: BPO 18712 Nosy @arigo, @mdickinson, @ericsnowcurrently, @zware, @serhiy-storchaka, @corona10, @iritkatriel Dependencies bpo-17576: PyNumber_Index() is not int-subclass friendly (or operator.index()...
X Description: BPO 18712 Nosy @arigo, @mdickinson, @ericsnowcurrently, @zware, @serhiy-storchaka, @corona10, @iritkatriel Dependencies bpo-17576: PyNumber_Index() is not int-subclass friendly (or operator.index()...
Opengraph URL: https://github.com/python/cpython/issues/62912
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pure Python operator.index doesn't match the C version.","articleBody":"BPO | [18712](https://bugs.python.org/issue18712)\n--- | :---\nNosy | @arigo, @mdickinson, @ericsnowcurrently, @zware, @serhiy-storchaka, @corona10, @iritkatriel\nDependencies | \u003cli\u003ebpo-17576: PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)\u003c/li\u003e\nFiles | \u003cli\u003e[operator_index.patch](https://bugs.python.org/file31273/operator_index.patch \"Uploaded as text/plain at 2013-08-13.09:58:05 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[x.py](https://bugs.python.org/file31334/x.py \"Uploaded as text/plain at 2013-08-17.07:55:01 by @arigo\")\u003c/li\u003e\u003cli\u003e[operator_index_2.patch](https://bugs.python.org/file31335/operator_index_2.patch \"Uploaded as text/plain at 2013-08-17.08:29:29 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[y.py](https://bugs.python.org/file31336/y.py \"Uploaded as text/plain at 2013-08-17.10:33:54 by @arigo\")\u003c/li\u003e\u003cli\u003e[operator_index_3.patch](https://bugs.python.org/file31344/operator_index_3.patch \"Uploaded as text/plain at 2013-08-17.19:22:04 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[operator_index_4.patch](https://bugs.python.org/file31353/operator_index_4.patch \"Uploaded as text/plain at 2013-08-18.07:31:58 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 = None\nclosed_at = None\ncreated_at = \u003cDate 2013-08-12.14:09:38.011\u003e\nlabels = ['extension-modules', 'type-bug', '3.11']\ntitle = \"Pure Python operator.index doesn't match the C version.\"\nupdated_at = \u003cDate 2021-10-02.15:33:51.696\u003e\nuser = 'https://github.com/mdickinson'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-10-02.15:33:51.696\u003e\nactor = 'corona10'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Extension Modules']\ncreation = \u003cDate 2013-08-12.14:09:38.011\u003e\ncreator = 'mark.dickinson'\ndependencies = ['17576']\nfiles = ['31273', '31334', '31335', '31336', '31344', '31353']\nhgrepos = []\nissue_num = 18712\nkeywords = ['patch']\nmessage_count = 21.0\nmessages = ['194966', '195000', '195006', '195064', '195451', '195454', '195457', '195458', '195474', '195476', '195489', '195490', '195510', '195513', '195545', '195546', '195547', '195548', '195549', '195665', '401603']\nnosy_count = 7.0\nnosy_names = ['arigo', 'mark.dickinson', 'eric.snow', 'zach.ware', 'serhiy.storchaka', 'corona10', 'iritkatriel']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue18712'\nversions = ['Python 3.11']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-148023\n* gh-148025\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mdickinson","@type":"Person","name":"mdickinson"},"datePublished":"2013-08-12T14:09:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/62912/cpython/issues/62912"}
| 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:c0eed9cb-81af-bf14-359d-d7cb438b13c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9ECA:CD446:3DC4B23:55FABFA:6A4F5AF9 |
| html-safe-nonce | 79dcd0c36cab479b4b4b10b5b879aa7186a3e811fba2dcc5f53844394243f9d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUNBOkNENDQ2OjNEQzRCMjM6NTVGQUJGQTo2QTRGNUFGOSIsInZpc2l0b3JfaWQiOiIxOTk4NjA5MTQ3MTg5ODkwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62c4fa5a0becdfe3a5f01bfa0ec08941f49268f40ad2b871fb5c25c37f2f02f7 |
| hovercard-subject-tag | issue:1198903776 |
| 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/62912/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e44d97ea91397739fbccbb17386fb1c593fe97abcbd7de47ecb03a8c11eb3946/python/cpython/issues/62912 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e44d97ea91397739fbccbb17386fb1c593fe97abcbd7de47ecb03a8c11eb3946/python/cpython/issues/62912 |
| og:image:alt | BPO 18712 Nosy @arigo, @mdickinson, @ericsnowcurrently, @zware, @serhiy-storchaka, @corona10, @iritkatriel Dependencies bpo-17576: PyNumber_Index() is not int-subclass friendly (or operator.index()... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdickinson |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width