-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Better communicate that IOError
and WindowsError
are just aliases of OSError
now
#110497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Oct 7, 2023
nanjekyejoannah
pushed a commit
that referenced
this issue
Oct 9, 2023
Closing because PR is merged. |
This was referenced Oct 9, 2023
Merged
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 9, 2023
… in docs (pythonGH-110498) (cherry picked from commit 5e7edac) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 9, 2023
… in docs (pythonGH-110498) (cherry picked from commit 5e7edac) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
nanjekyejoannah
pushed a commit
that referenced
this issue
Oct 9, 2023
nanjekyejoannah
pushed a commit
that referenced
this issue
Oct 9, 2023
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
It is clear that
OSError
is the same asIOError
now.But, there are several places where it is not clear. Example:
cpython/Doc/library/gettext.rst
Lines 165 to 170 in 92ca90b
It might be confusing: people might think that right now
OSError
andIOError
are different.Let's add notes about explicit alias to several places that miss it.
Linked PRs
OSError
being an alias toIOError
in docs #110498OSError
being an alias toIOError
in docs (GH-110498) #110545OSError
being an alias toIOError
in docs (GH-110498) #110546The text was updated successfully, but these errors were encountered: