Title: Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__ · Issue #80229 · python/cpython · GitHub
Open Graph Title: Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__ · Issue #80229 · python/cpython
X Title: Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__ · Issue #80229 · python/cpython
Description: BPO 36048 Nosy @gvanrossum, @mdickinson, @vstinner, @serhiy-storchaka, @hroncok, @remilapeyre, @arhadthedev PRs #11952#13740 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current ...
Open Graph Description: BPO 36048 Nosy @gvanrossum, @mdickinson, @vstinner, @serhiy-storchaka, @hroncok, @remilapeyre, @arhadthedev PRs #11952#13740 Note: these values reflect the state of the issue at the time it was mig...
X Description: BPO 36048 Nosy @gvanrossum, @mdickinson, @vstinner, @serhiy-storchaka, @hroncok, @remilapeyre, @arhadthedev PRs #11952#13740 Note: these values reflect the state of the issue at the time it was mig...
Opengraph URL: https://github.com/python/cpython/issues/80229
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__","articleBody":"BPO | [36048](https://bugs.python.org/issue36048)\n--- | :---\nNosy | @gvanrossum, @mdickinson, @vstinner, @serhiy-storchaka, @hroncok, @remilapeyre, @arhadthedev\nPRs | \u003cli\u003epython/cpython#11952\u003c/li\u003e\u003cli\u003epython/cpython#13740\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 = \u003cDate 2019-02-25.16:13:58.711\u003e\ncreated_at = \u003cDate 2019-02-20.06:43:05.294\u003e\nlabels = ['interpreter-core', 'type-feature', '3.8']\ntitle = 'Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__'\nupdated_at = \u003cDate 2021-12-09.20:32:01.235\u003e\nuser = 'https://github.com/serhiy-storchaka'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-12-09.20:32:01.235\u003e\nactor = 'calin.culianu'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2019-02-25.16:13:58.711\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2019-02-20.06:43:05.294\u003e\ncreator = 'serhiy.storchaka'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 36048\nkeywords = ['patch']\nmessage_count = 20.0\nmessages = ['336041', '336050', '336069', '336071', '336107', '336127', '336534', '340944', '358943', '360080', '408054', '408077', '408087', '408095', '408098', '408146', '408150', '408153', '408156', '408159']\nnosy_count = 8.0\nnosy_names = ['gvanrossum', 'mark.dickinson', 'vstinner', 'serhiy.storchaka', 'hroncok', 'remi.lapeyre', 'arhadthedev', 'calin.culianu']\npr_nums = ['11952', '13740']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue36048'\nversions = ['Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2019-02-20T06:43:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/80229/cpython/issues/80229"}
| 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:bf97fd53-fc6c-d3be-3cc3-3dc6859e5ca4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE32:BAE90:155E89:1BDE32:6A4ED03F |
| html-safe-nonce | 4eec07df4a7d32d41a11600b747bd2f62c599ef394f13e6b72b5a1e8baf60df3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTMyOkJBRTkwOjE1NUU4OToxQkRFMzI6NkE0RUQwM0YiLCJ2aXNpdG9yX2lkIjoiMjQxODA1MTg2MTk4ODY5MjAzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 47ee7c75403c39dec69976ced68528c5a0246b6e18e8008fdfa07453f1f7a2c1 |
| hovercard-subject-tag | issue:1199006150 |
| 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/80229/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7334d96eb0daa93b5824fb47cc9a7a01cea09abd8f831230a66d5ffd4fb75e4d/python/cpython/issues/80229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7334d96eb0daa93b5824fb47cc9a7a01cea09abd8f831230a66d5ffd4fb75e4d/python/cpython/issues/80229 |
| og:image:alt | BPO 36048 Nosy @gvanrossum, @mdickinson, @vstinner, @serhiy-storchaka, @hroncok, @remilapeyre, @arhadthedev PRs #11952#13740 Note: these values reflect the state of the issue at the time it was mig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width