Title: type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not · Issue #64291 · python/cpython · GitHub
Open Graph Title: type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not · Issue #64291 · python/cpython
X Title: type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not · Issue #64291 · python/cpython
Description: BPO 20092 Nosy @terryjreedy, @mdickinson, @benjaminp, @tpn, @bitdancer, @serhiy-storchaka, @MojoVampire PRs #13108#13106 Files test_index_not_int.py Note: these values reflect the state of the issue at the time it was migrated and might ...
Open Graph Description: BPO 20092 Nosy @terryjreedy, @mdickinson, @benjaminp, @tpn, @bitdancer, @serhiy-storchaka, @MojoVampire PRs #13108#13106 Files test_index_not_int.py Note: these values reflect the state of the issu...
X Description: BPO 20092 Nosy @terryjreedy, @mdickinson, @benjaminp, @tpn, @bitdancer, @serhiy-storchaka, @MojoVampire PRs #13108#13106 Files test_index_not_int.py Note: these values reflect the state of the issu...
Opengraph URL: https://github.com/python/cpython/issues/64291
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not","articleBody":"BPO | [20092](https://bugs.python.org/issue20092)\n--- | :---\nNosy | @terryjreedy, @mdickinson, @benjaminp, @tpn, @bitdancer, @serhiy-storchaka, @MojoVampire\nPRs | \u003cli\u003epython/cpython#13108\u003c/li\u003e\u003cli\u003epython/cpython#13106\u003c/li\u003e\nFiles | \u003cli\u003e[test_index_not_int.py](https://bugs.python.org/file35734/test_index_not_int.py \"Uploaded as text/plain at 2014-06-22.20:50:11 by amitava.b\")\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-12-28.19:56:32.757\u003e\nlabels = ['interpreter-core', 'type-feature', '3.8']\ntitle = 'type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not'\nupdated_at = \u003cDate 2021-11-19.13:14:29.675\u003e\nuser = 'https://github.com/ethanfurman'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-11-19.13:14:29.675\u003e\nactor = 'patrick.yang.1248'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2013-12-28.19:56:32.757\u003e\ncreator = 'ethan.furman'\ndependencies = []\nfiles = ['35734']\nhgrepos = []\nissue_num = 20092\nkeywords = ['patch']\nmessage_count = 21.0\nmessages = ['207048', '207050', '207051', '207065', '207068', '207072', '207075', '207084', '207085', '207263', '221310', '221339', '221453', '221459', '221474', '221510', '313287', '341509', '344206', '344234', '406580']\nnosy_count = 10.0\nnosy_names = ['terry.reedy', 'mark.dickinson', 'benjamin.peterson', 'trent', 'Arfrever', 'r.david.murray', 'serhiy.storchaka', 'josh.r', 'amitava.b', 'patrick.yang.1248']\npr_nums = ['13108', '13106']\npriority = 'low'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue20092'\nversions = ['Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ethanfurman","@type":"Person","name":"ethanfurman"},"datePublished":"2013-12-28T19:56:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/64291/cpython/issues/64291"}
| 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:6bdf66cb-4573-b40c-0ac2-f7be51a5fc4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB7C:20853D:79A7C82:AA3B624:6A4FECFB |
| html-safe-nonce | 1a724c093c6d3f10ba868854e3cd31db000f28fc08abc8e995768399bbc66499 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjdDOjIwODUzRDo3OUE3QzgyOkFBM0I2MjQ6NkE0RkVDRkIiLCJ2aXNpdG9yX2lkIjoiNjc3NjMzNDk5NDYzNTc0NjU1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad57ac950a8cbccc2d757dc1f7288b61b90f4e26c48cc916667514ad94caf94f |
| hovercard-subject-tag | issue:1198911772 |
| 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/64291/issue_layout |
| twitter:image | https://opengraph.githubassets.com/67df9bbb486b442056d9a38a93136cf7c6232b607a110b57dca8e58659f282e9/python/cpython/issues/64291 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67df9bbb486b442056d9a38a93136cf7c6232b607a110b57dca8e58659f282e9/python/cpython/issues/64291 |
| og:image:alt | BPO 20092 Nosy @terryjreedy, @mdickinson, @benjaminp, @tpn, @bitdancer, @serhiy-storchaka, @MojoVampire PRs #13108#13106 Files test_index_not_int.py Note: these values reflect the state of the issu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ethanfurman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | f7e270be010aa4de2871991025fbb97f3afe2bcb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width