Skip to content

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel 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/

@iritkatrieliritkatriel changed the title gh-102778: update documentation of PyErr_PrintEx regarding sys.last_excgh-102778: update documentation of PyErr_PrintEx and traceback.print_last() regarding sys.last_excJun 1, 2023
Copy link
Member

@terryjreedyterryjreedy 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.

@bedevere-bot
Copy link

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

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@iritkatriel
Copy link
MemberAuthor

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.

@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 <1055913+iritkatriel@users.noreply.github.com>
@bedevere-bot
Copy link

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

@bedevere-botbedevere-bot removed the needs backport to 3.12 only 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 <1055913+iritkatriel@users.noreply.github.com>
@iritkatrieliritkatriel deleted the PyErr_Print-doc branch July 25, 2023 18:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@iritkatriel@bedevere-bot@miss-islington@terryjreedy