gh-101578: Amend PyErr_{Set,Get}RaisedException docs by erlend-aasland · Pull Request #101962 · python/cpython (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation26 Commits6 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

erlend-aasland

@erlend-aasland

@erlend-aasland

erlend-aasland

CAM-Gerlach

Choose a reason for hiding this comment

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

Thanks @erlend-aasland ; this is a substantial improvement to the previous docs.

Perhaps its worth fixing the other couple remaining similar docs defects also introduced in PR #101607 , namely in the descriptions of the newly documented functions PyException_GetArgs and PyException_SetArgs (that could use a similar (if much simpler) treatment as here), and the deprecation notices added to PyErr_Fetch, PyErr_Restore and PyErr_NormalizeException not being added to, and particularly duplicating, the .. deprecated directive.

@erlend-aasland

@erlend-aasland

Thanks @erlend-aasland ; this is a substantial improvement to the previous docs.

Thanks, and thanks for the review!

Perhaps its worth fixing the other couple remaining similar docs defects also introduced in PR #101607 , namely in the descriptions of the newly documented functions PyException_GetArgs and PyException_SetArgs (that could use a similar (if much simpler) treatment as here), and the deprecation notices added to PyErr_Fetch, PyErr_Restore and PyErr_NormalizeException not being added to, and particularly duplicating, the .. deprecated directive.

Definitely; perhaps as a follow-up PR?

@CAM-Gerlach

Definitely; perhaps as a follow-up PR?

Yeah certainly could be; up to you, of course

CAM-Gerlach

Choose a reason for hiding this comment

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

A couple followup suggestions

@erlend-aasland

@erlend-aasland

@erlend-aasland

CAM-Gerlach

Choose a reason for hiding this comment

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

@erlend-aasland

iritkatriel

iritkatriel

@erlend-aasland @CAM-Gerlach

Co-authored-by: C.A.M. Gerlach CAM.Gerlach@Gerlach.CAM

@erlend-aasland

Thanks for the reviews, Irit and CAM; highly appreciated. I'll create a follow-up PR Any Time Soon™.

erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request

Feb 19, 2023

@erlend-aasland

jaraco pushed a commit to jaraco/cpython that referenced this pull request

Feb 20, 2023

…1962)

Co-authored-by: C.A.M. Gerlach CAM.Gerlach@Gerlach.CAM

carljm added a commit to carljm/cpython that referenced this pull request

Feb 20, 2023

@carljm

carljm added a commit to carljm/cpython that referenced this pull request

Feb 22, 2023

@carljm