Title: Raise exceptions, don't throw · Issue #60918 · python/cpython · GitHub
Open Graph Title: Raise exceptions, don't throw · Issue #60918 · python/cpython
X Title: Raise exceptions, don't throw · Issue #60918 · python/cpython
Description: BPO 16714 Nosy @birkenfeld, @asvetlov, @cjerdonek, @serhiy-storchaka Files raise-3.3.patch: Patch for 3.3+raise-3.2.patch: Patch for 3.2raise-2.7.patch: Patch for 2.7raise-2.7_2.patchraise-3.3_2.patchraise-3.2_2.patchthrow_away.patch: Re...
Open Graph Description: BPO 16714 Nosy @birkenfeld, @asvetlov, @cjerdonek, @serhiy-storchaka Files raise-3.3.patch: Patch for 3.3+raise-3.2.patch: Patch for 3.2raise-2.7.patch: Patch for 2.7raise-2.7_2.patchraise-3.3_2.pa...
X Description: BPO 16714 Nosy @birkenfeld, @asvetlov, @cjerdonek, @serhiy-storchaka Files raise-3.3.patch: Patch for 3.3+raise-3.2.patch: Patch for 3.2raise-2.7.patch: Patch for 2.7raise-2.7_2.patchraise-3.3_2.pa...
Opengraph URL: https://github.com/python/cpython/issues/60918
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raise exceptions, don't throw","articleBody":"BPO | [16714](https://bugs.python.org/issue16714)\n--- | :---\nNosy | @birkenfeld, @asvetlov, @cjerdonek, @serhiy-storchaka\nFiles | \u003cli>[raise-3.3.patch](https://bugs.python.org/file28347/raise-3.3.patch \"Uploaded as text/plain at 2012-12-18.18:11:09 by @serhiy-storchaka\"): Patch for 3.3+\u003c/li>\u003cli>[raise-3.2.patch](https://bugs.python.org/file28348/raise-3.2.patch \"Uploaded as text/plain at 2012-12-18.18:12:12 by @serhiy-storchaka\"): Patch for 3.2\u003c/li>\u003cli>[raise-2.7.patch](https://bugs.python.org/file28349/raise-2.7.patch \"Uploaded as text/plain at 2012-12-18.18:13:10 by @serhiy-storchaka\"): Patch for 2.7\u003c/li>\u003cli>[raise-2.7_2.patch](https://bugs.python.org/file28350/raise-2.7_2.patch \"Uploaded as text/plain at 2012-12-18.19:02:42 by @serhiy-storchaka\")\u003c/li>\u003cli>[raise-3.3_2.patch](https://bugs.python.org/file28351/raise-3.3_2.patch \"Uploaded as text/plain at 2012-12-18.19:02:42 by @serhiy-storchaka\")\u003c/li>\u003cli>[raise-3.2_2.patch](https://bugs.python.org/file28352/raise-3.2_2.patch \"Uploaded as text/plain at 2012-12-18.19:02:42 by @serhiy-storchaka\")\u003c/li>\u003cli>[throw_away.patch](https://bugs.python.org/file28360/throw_away.patch \"Uploaded as text/plain at 2012-12-19.16:17:55 by @serhiy-storchaka\"): Revert 'raise' to 'throw'. Patch for 2.7\u003c/li>\u003cli>[threw2raised.patch](https://bugs.python.org/file28361/threw2raised.patch \"Uploaded as text/plain at 2012-12-19.16:17:56 by @serhiy-storchaka\"): Replace 'threw' to 'raised'. Patch for 3.3 and 3.4\u003c/li>\u003cli>[threw2raised-3.2.patch](https://bugs.python.org/file28362/threw2raised-3.2.patch \"Uploaded as text/plain at 2012-12-19.16:17:58 by @serhiy-storchaka\"): Replace 'threw' to 'raised'. Patch for 2.7 and 3.2\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2012-12-18.19:28:42.780>\ncreated_at = \u003cDate 2012-12-18.18:11:28.917>\nlabels = ['type-feature', 'docs']\ntitle = \"Raise exceptions, don't throw\"\nupdated_at = \u003cDate 2012-12-19.20:56:38.455>\nuser = 'https://github.com/serhiy-storchaka'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-12-19.20:56:38.455>\nactor = 'asvetlov'\nassignee = 'docs@python'\nclosed = True\nclosed_date = \u003cDate 2012-12-18.19:28:42.780>\ncloser = 'asvetlov'\ncomponents = ['Documentation']\ncreation = \u003cDate 2012-12-18.18:11:28.917>\ncreator = 'serhiy.storchaka'\ndependencies = []\nfiles = ['28347', '28348', '28349', '28350', '28351', '28352', '28360', '28361', '28362']\nhgrepos = []\nissue_num = 16714\nkeywords = ['patch']\nmessage_count = 9.0\nmessages = ['177698', '177699', '177700', '177701', '177702', '177755', '177779', '177780', '177781']\nnosy_count = 6.0\nnosy_names = ['georg.brandl', 'asvetlov', 'chris.jerdonek', 'docs@python', 'python-dev', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue16714'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2012-12-18T18:11:29Z","url":"https://github.com/python/cpython/issues/60918"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:2ef4221c-0d42-44df-4bf3-844cb0bac23c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C41A:842EC:32857F2:435C931:6B01F74A |
| html-safe-nonce | 8476053242b35b92db419ad4ea07b135e801464670e269067e540b5a8a28895a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDFBOjg0MkVDOjMyODU3RjI6NDM1QzkzMTo2QjAxRjc0QSIsInZpc2l0b3JfaWQiOiI0OTk0NDY4MDM5ODExNTI4NTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 653f3e36c81d77205fad38e6eb20e80d17cbdc1b5b2dd3d635100adf2cdd31bf |
| hovercard-subject-tag | issue:1198891944 |
| 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/60918/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9dbd21b78113fd0ccdab3e8f695817084e664886a2688b0b4bb9f44c2ce1f6e/python/cpython/issues/60918 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9dbd21b78113fd0ccdab3e8f695817084e664886a2688b0b4bb9f44c2ce1f6e/python/cpython/issues/60918 |
| og:image:alt | BPO 16714 Nosy @birkenfeld, @asvetlov, @cjerdonek, @serhiy-storchaka Files raise-3.3.patch: Patch for 3.3+raise-3.2.patch: Patch for 3.2raise-2.7.patch: Patch for 2.7raise-2.7_2.patchraise-3.3_2.pa... |
| 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 | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width