Skip to content

GH-89455: Add missing attributes (added in 3.11) to traceback module docs#105044

Merged
iritkatriel merged 13 commits intopython:mainfrom
Jackenmen:patch-1
May 29, 2023
Merged

GH-89455: Add missing attributes (added in 3.11) to traceback module docs#105044
iritkatriel merged 13 commits intopython:mainfrom
Jackenmen:patch-1

Conversation

@Jackenmen
Copy link
Contributor

@Jackenmen Jackenmen commented May 28, 2023

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 and max_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 :(
image


📚 Documentation preview 📚: https://cpython-previews--105044.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants