Skip to content

[doc] Update example in traceback doc #96600

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

Merged
merged 3 commits into from
Sep 5, 2022
Merged

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Sep 5, 2022

This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health.

Automerge-Triggered-By: GH:iritkatriel

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't feel it's too bad, but there's no harm in changing it. I asked my wife for a second opinion and she said we should change it because the current wording isn't funny anyway.

Somewhat relatedly the example also says "exc_type below is ignored on 3.5 and later". 3.4 is long gone so I don't think we need that text any more. We should also make it simply do traceback_print_exception(exc_value) instead of the old 3-argument version.

@iritkatriel iritkatriel changed the title reword example in traceback doc [doc] Update example in traceback doc Sep 5, 2022
@miss-islington
Copy link
Contributor

Status check is done, and it's a failure ❌.

@miss-islington miss-islington merged commit c4999f2 into python:main Sep 5, 2022
@miss-islington
Copy link
Contributor

Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @iritkatriel, I had trouble checking out the 3.11 backport branch.
Please backport using cherry_picker on command line.
cherry_picker c4999f261fb0cb28ef713b48ef2e81ca5a3eb1e1 3.11

@miss-islington miss-islington self-assigned this Sep 5, 2022
@miss-islington
Copy link
Contributor

Sorry, @iritkatriel, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker c4999f261fb0cb28ef713b48ef2e81ca5a3eb1e1 3.10

iritkatriel added a commit to iritkatriel/cpython that referenced this pull request Sep 5, 2022
This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health.

Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit c4999f2)

Co-authored-by: Irit Katriel <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Sep 5, 2022
@bedevere-bot
Copy link

GH-96603 is a backport of this pull request to the 3.11 branch.

iritkatriel added a commit that referenced this pull request Sep 5, 2022
This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health.

Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit c4999f2)
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 5, 2022
@bedevere-bot
Copy link

GH-96605 is a backport of this pull request to the 3.10 branch.

iritkatriel added a commit that referenced this pull request Sep 5, 2022
This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health.

Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit c4999f2)

Co-authored-by: Irit Katriel <[email protected]>
iritkatriel added a commit that referenced this pull request Sep 7, 2022
This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health.

Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit c4999f2)
@iritkatriel iritkatriel deleted the life branch September 29, 2022 10:11
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 skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants