Title: Better communicate that `IOError` and `WindowsError` are just aliases of `OSError` now · Issue #110497 · python/cpython · GitHub
Open Graph Title: Better communicate that `IOError` and `WindowsError` are just aliases of `OSError` now · Issue #110497 · python/cpython
X Title: Better communicate that `IOError` and `WindowsError` are just aliases of `OSError` now · Issue #110497 · python/cpython
Description: Bug report While working on some Windows-related typeshed PRs, I've noticed that some places in docs are very clear about this change. For example: .. versionchanged:: 3.3 :exc:`IOError` used to be raised; it is now an alias of :exc:`OSE...
Open Graph Description: Bug report While working on some Windows-related typeshed PRs, I've noticed that some places in docs are very clear about this change. For example: .. versionchanged:: 3.3 :exc:`IOError` used to be...
X Description: Bug report While working on some Windows-related typeshed PRs, I've noticed that some places in docs are very clear about this change. For example: .. versionchanged:: 3.3 :exc:`IOError` used t...
Opengraph URL: https://github.com/python/cpython/issues/110497
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better communicate that `IOError` and `WindowsError` are just aliases of `OSError` now","articleBody":"# Bug report\n\nWhile working on some Windows-related typeshed PRs, I've noticed that some places in docs are very clear about this change. For example:\n\n```rst\n.. versionchanged:: 3.3\n :exc:`IOError` used to be raised; it is now an alias of :exc:`OSError`.\n```\n\nIt is clear that `OSError` is the same as `IOError` now.\n\nBut, there are several places where it is not clear. Example:\n\nhttps://github.com/python/cpython/blob/92ca90b7629c070ebc3b08e6f03db0bb552634e3/Doc/library/gettext.rst#L165-L170\n\nIt might be confusing: people might think that right now `OSError` and `IOError` are different. \nLet's add notes about explicit alias to several places that miss it.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110498\n* gh-110545\n* gh-110546\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2023-10-07T06:30:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/110497/cpython/issues/110497"}
| 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:905853a5-de0b-391a-e9ba-5e947b0daab9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D92A:23348E:36FD52:4A59CD:696AA705 |
| html-safe-nonce | 6fa206525886e683fc82ad83c7731ed394e4f21906df7b99cf882cc1f79da93e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTJBOjIzMzQ4RTozNkZENTI6NEE1OUNEOjY5NkFBNzA1IiwidmlzaXRvcl9pZCI6IjM4MjkzODQzMjU5NjIwNDkyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 974e9bfd32a9b16ca8bd1b304220ecc0dce4f9589ef5be4c15690f3f256b8ac5 |
| hovercard-subject-tag | issue:1931218154 |
| 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/110497/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fe6feb46bbbda4cb8b17dfe6ee28332208b88912a797eabc0be1f82da895953/python/cpython/issues/110497 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fe6feb46bbbda4cb8b17dfe6ee28332208b88912a797eabc0be1f82da895953/python/cpython/issues/110497 |
| og:image:alt | Bug report While working on some Windows-related typeshed PRs, I've noticed that some places in docs are very clear about this change. For example: .. versionchanged:: 3.3 :exc:`IOError` used to be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width