-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
GH-89455: Add missing attributes (added in 3.11) to traceback module docs #105044
Conversation
We do create issues for documentation changes as well (unless trivial, as in typo). |
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Misc/NEWS.d/next/Documentation/2023-05-28-21-00-05.gh-issue-89455.j4cg7J.rst
Outdated
Show resolved
Hide resolved
Subinterpreters got hit by property-based tests, gonna retrigger the run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a few more minor suggestions.
Misc/NEWS.d/next/Documentation/2023-05-28-21-01-00.gh-issue-89455.qAKRrA.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Thanks @Jackenmen for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-105066 is a backport of this pull request to the 3.12 branch. |
GH-105067 is a backport of this pull request to the 3.11 branch. |
…odule docs (pythonGH-105044) (cherry picked from commit 39f6a04) Co-authored-by: Jakub Kuczys <me@jacken.men>
…odule docs (pythonGH-105044) (cherry picked from commit 39f6a04) Co-authored-by: Jakub Kuczys <me@jacken.men>
It seems that
exceptions
have been missed when the exception groups were added in 3.11.There are also two new parameters to
TracebackException(...)
-max_group_depth
andmax_group_width
. I have only added the documentation for the parameters, not the attributes as modifying the latter wouldn't propagate the value to chained/grouped TracebackExceptions but I can add them if you wish.I reused the issue number of the original issue that added these parameters/attributes.
I'm sorry for accidentally pinging so many people on #105043, GitHub doesn't warn you about the possibility of pinging people when changing the base :(
📚 Documentation preview 📚: https://cpython-previews--105044.org.readthedocs.build/