Title: Avoid raising OverflowError if possible · Issue #74019 · python/cpython · GitHub
Open Graph Title: Avoid raising OverflowError if possible · Issue #74019 · python/cpython
X Title: Avoid raising OverflowError if possible · Issue #74019 · python/cpython
Description: BPO 29833 Nosy @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn Dependencies bpo-28876: bool of large range raises OverflowErrorbpo-29816: Get rid of C limitation for shift count in right shiftbpo-29819: Avoid...
Open Graph Description: BPO 29833 Nosy @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn Dependencies bpo-28876: bool of large range raises OverflowErrorbpo-29816: Get rid of C limitation for sh...
X Description: BPO 29833 Nosy @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn Dependencies bpo-28876: bool of large range raises OverflowErrorbpo-29816: Get rid of C limitation for sh...
Opengraph URL: https://github.com/python/cpython/issues/74019
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Avoid raising OverflowError if possible","articleBody":"BPO | [29833](https://bugs.python.org/issue29833)\r\n--- | :---\r\nNosy | @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn\r\nDependencies | \u003cli\u003ebpo-28876: bool of large range raises OverflowError\u003c/li\u003e\u003cli\u003ebpo-29816: Get rid of C limitation for shift count in right shift\u003c/li\u003e\u003cli\u003ebpo-29819: Avoid raising OverflowError in truncate() if possible\u003c/li\u003e\u003cli\u003ebpo-29834: Raise ValueError rather of OverflowError in PyLong_AsUnsignedLong()\u003c/li\u003e\u003cli\u003ebpo-29839: Avoid raising OverflowError in len() when __len__() returns negative large value\u003c/li\u003e\u003cli\u003ebpo-32582: chr raises OverflowError\u003c/li\u003e\r\n\r\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\r\n\r\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\r\n\r\nGitHub fields:\r\n```python\r\nassignee = None\r\nclosed_at = None\r\ncreated_at = \u003cDate 2017-03-17.08:31:01.766\u003e\r\nlabels = ['interpreter-core', 'type-feature', '3.7']\r\ntitle = 'Avoid raising OverflowError if possible'\r\nupdated_at = \u003cDate 2018-01-20.19:11:20.564\u003e\r\nuser = 'https://github.com/serhiy-storchaka'\r\n```\r\n\r\nbugs.python.org fields:\r\n```python\r\nactivity = \u003cDate 2018-01-20.19:11:20.564\u003e\r\nactor = 'serhiy.storchaka'\r\nassignee = 'none'\r\nclosed = False\r\nclosed_date = None\r\ncloser = None\r\ncomponents = ['Interpreter Core']\r\ncreation = \u003cDate 2017-03-17.08:31:01.766\u003e\r\ncreator = 'serhiy.storchaka'\r\ndependencies = ['28876', '29816', '29819', '29834', '29839', '32582']\r\nfiles = []\r\nhgrepos = []\r\nissue_num = 29833\r\nkeywords = []\r\nmessage_count = 5.0\r\nmessages = ['289747', '289795', '289821', '289826', '289835']\r\nnosy_count = 6.0\r\nnosy_names = ['gvanrossum', 'rhettinger', 'mark.dickinson', 'vstinner', 'serhiy.storchaka', 'Oren Milman']\r\npr_nums = []\r\npriority = 'normal'\r\nresolution = None\r\nstage = None\r\nstatus = 'open'\r\nsuperseder = None\r\ntype = 'enhancement'\r\nurl = 'https://bugs.python.org/issue29833'\r\nversions = ['Python 3.7']\r\n```\r\n\r\n\u003c/p\u003e\u003c/details\u003e\r\n\r\n- [x] https://github.com/python/cpython/issues/73062\r\n- [x] https://github.com/python/cpython/issues/73062\r\n- [x] https://github.com/python/cpython/issues/74002\r\n- [ ] https://github.com/python/cpython/issues/74005\r\n- [ ] https://github.com/python/cpython/issues/74020\r\n- [x] https://github.com/python/cpython/issues/74025\r\n- [x] https://github.com/python/cpython/issues/76763","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2017-03-17T08:31:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/74019/cpython/issues/74019"}
| 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:83d027d7-fdbf-f30a-0130-c921e0cb5b78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C72C:311995:166D8C5:1D1B6C0:696B2551 |
| html-safe-nonce | fe78729f15f1b34580209493081fd42fcf44b8acf2f4b2ec595e91a054857b86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzJDOjMxMTk5NToxNjZEOEM1OjFEMUI2QzA6Njk2QjI1NTEiLCJ2aXNpdG9yX2lkIjoiODc2MTM4MDY4MTY3ODUyOTg3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4eb7bb76eab49e94b481dda91793acc3a3b1bab9a152a529ef949d8f2e3add77 |
| hovercard-subject-tag | issue:1198970196 |
| 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/74019/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1a91a3e1315cbc9874b8fb311f42ea8d67a3470167536f1aa8733057a706dca/python/cpython/issues/74019 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1a91a3e1315cbc9874b8fb311f42ea8d67a3470167536f1aa8733057a706dca/python/cpython/issues/74019 |
| og:image:alt | BPO 29833 Nosy @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn Dependencies bpo-28876: bool of large range raises OverflowErrorbpo-29816: Get rid of C limitation for sh... |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width