Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-119786: move a few more details on exception handling from devguide to InternalDocs#124989

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

Already on GitHub?Sign in to your account

Merged
iritkatriel merged 1 commit intopython:mainfromiritkatriel:doc-exceptions
Oct 4, 2024

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel commentedOct 4, 2024
edited by bedevere-appbot
Loading

We don't need to explain in the internals doc what exception chaining is, just where it is implemented.

@AA-TurnerAA-Turner added the docsDocumentation in the Doc dir labelOct 4, 2024
@iritkatrieliritkatriel merged commit8bcf118 intopython:mainOct 4, 2024
[Exception chaining](https://docs.python.org/dev/tutorial/errors.html#exception-chaining)
refers to setting the``__context__`` and``__cause__`` fields of an exception as it is
being raised. The``__context__`` field is set by``_PyErr_SetObject()`` in
:cpy-file:`Python/errors.c` (which is ultimately called by all``PyErr_Set*()`` functions).
Copy link
Member

Choose a reason for hiding this comment

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

(cpy-file is a Sphinx role; but this is now merged so you can change it next time)

iritkatriel reacted with thumbs up emoji
Copy link
Member

@AA-TurnerAA-TurnerOct 4, 2024
edited
Loading

Choose a reason for hiding this comment

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

Oh oops, I missed that -- PR in a moment. [#124990]

A

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

Reviewers

@AA-TurnerAA-TurnerAA-Turner approved these changes

@picnixzpicnixzpicnixz left review comments

Assignees

No one assigned

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@iritkatriel@AA-Turner@picnixz

[8]ページ先頭

©2009-2025 Movatter.jp