Skip to content
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-102778: update documentation of PyErr_PrintEx and traceback.print_last() regarding sys.last_exc #105190

Merged
merged 5 commits into from
Jun 2, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Jun 1, 2023

PyErr_PrintEx now populates also sys.last_exc, and the old variables are still populated by deprecated.


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

@iritkatriel iritkatriel changed the title gh-102778: update documentation of PyErr_PrintEx regarding sys.last_exc gh-102778: update documentation of PyErr_PrintEx and traceback.print_last() regarding sys.last_exc Jun 1, 2023
@iritkatriel iritkatriel requested a review from terryjreedy June 1, 2023 18:23
Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

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

Approved with change.

Doc/library/traceback.rst Show resolved Hide resolved
Doc/c-api/exceptions.rst Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@iritkatriel
Copy link
Member Author

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@terryjreedy: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from terryjreedy June 2, 2023 10:21
@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 2, 2023
…print_last() regarding sys.last_exc (pythonGH-105190)

(cherry picked from commit 0dafc78)

Co-authored-by: Irit Katriel <[email protected]>
@bedevere-bot
Copy link

GH-105246 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label Jun 2, 2023
iritkatriel added a commit that referenced this pull request Jun 2, 2023
….print_last() regarding sys.last_exc (GH-105190) (#105246)

gh-102778: update documentation of PyErr_PrintEx and traceback.print_last() regarding sys.last_exc (GH-105190)
(cherry picked from commit 0dafc78)

Co-authored-by: Irit Katriel <[email protected]>
@iritkatriel iritkatriel deleted the PyErr_Print-doc branch July 25, 2023 18:04
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 news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants