◐ Shell
clean mode source ↗

gh-91048: Chain some exceptions in _testexternalinspection.c by sergey-miryanov · Pull Request #132970 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@sergey-miryanov

@sergey-miryanov sergey-miryanov commented

Apr 25, 2025

edited

Loading

Copy link Copy Markdown

Contributor

  1. Added extra Py_UNREACHABLE calls on unsupported platforms
  2. Remove unused refcnt read
  3. Set result to 0 if fd closing failed
  4. Chain some exceptions to get more info if failed

@sergey-miryanov sergey-miryanov changed the title Chain some exceptions in _testexternalinspection.c gh-91048: Chain some exceptions in _testexternalinspection.c

Apr 25, 2025

@sergey-miryanov sergey-miryanov marked this pull request as ready for review

April 25, 2025 21:00

@sergey-miryanov

Copy link Copy Markdown

Contributor Author

@pablogsal Please take a look.

@pablogsal pablogsal left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

LGTM

This is a great improvement. Thanks a lot!

sergey-miryanov reacted with heart emoji

@pablogsal pablogsal merged commit bd2ed7c into python:main

May 2, 2025

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

Reviewers

@picnixz picnixz picnixz left review comments

@pablogsal pablogsal pablogsal approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@sergey-miryanov @picnixz @pablogsal @TomWax-01