FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Docs: Document `PyExceptionClass_Name` · Pull Request #135697 · python/cpython · GitHub

Repository navigation

Docs: Document PyExceptionClass_Name - #135697

Merged
ZeroIntensity merged 4 commits into
mainfrom
unknown repository
Jun 20, 2025
Merged

ZeroIntensity merged 4 commits into
mainfrom
unknown repository

Conversation

ghost commented Jun 19, 2025 •
edited by ZeroIntensity
Loading

Copy link
Copy Markdown

PyExceptionClass_Name is an undocumented function in the limited API.


📚 Documentation preview 📚: https://cpython-previews--135697.org.readthedocs.build/en/135697/c-api/exceptions.html#c.PyExceptionClass_Check

`PyExceptionClass_Name` is an undocumented function in the limited API.

ZeroIntensity 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Would you mind also documenting PyExceptionClass_Check?

ghost requested a review from ZeroIntensity June 19, 2025 05:33

Copy link
Copy Markdown
Member

Updating branch to fix CI.

Comment thread Doc/c-api/exceptions.rst Outdated
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

ZeroIntensity 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks, LGTM.

ZeroIntensity merged commit 59963e8 into python:main Jun 20, 2025
github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 20, 2025

Copy link
Copy Markdown

Thanks @koyuki7w for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 20, 2025
…5697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
(cherry picked from commit 59963e8)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>

bedevere-app Bot commented Jun 20, 2025

Copy link
Copy Markdown

GH-135757 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 20, 2025
…5697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
(cherry picked from commit 59963e8)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 20, 2025

bedevere-app Bot commented Jun 20, 2025

Copy link
Copy Markdown

GH-135758 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jun 20, 2025
ZeroIntensity pushed a commit that referenced this pull request Jun 20, 2025
…35697) (GH-135758)

Docs: Document `PyExceptionClass` functions in the C API (GH-135697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
(cherry picked from commit 59963e8)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
ZeroIntensity pushed a commit that referenced this pull request Jun 20, 2025
…35697) (GH-135757)

Docs: Document `PyExceptionClass` functions in the C API (GH-135697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
(cherry picked from commit 59963e8)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot aarch64 Fedora Stable Refleaks 3.13 (tier-2) has failed when building commit c6e26ef.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1512/builds/713) and take a look at the build logs.
  4. Check if the failure is related to this commit (c6e26ef) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1512/builds/713

Failed tests:

  • test_perf_profiler

Failed subtests:

  • test_python_calls_appear_in_the_stack_if_perf_activated - test.test_perf_profiler.TestPerfProfilerWithDwarf.test_python_calls_appear_in_the_stack_if_perf_activated

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.13.cstratak-fedora-stable-aarch64.refleak/build/Lib/test/test_perf_profiler.py", line 367, in test_python_calls_appear_in_the_stack_if_perf_activated
    self.assertEqual(stderr, "")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
AssertionError: 'Warning:\nProcessed 710 events and lost 1[34 chars]\n\n' != ''
- Warning:
- Processed 710 events and lost 1 chunks!
- 
- Check IO/CPU overload!
- 


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.13.cstratak-fedora-stable-aarch64.refleak/build/Lib/test/test_perf_profiler.py", line 367, in test_python_calls_appear_in_the_stack_if_perf_activated
    self.assertEqual(stderr, "")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
AssertionError: 'Warning:\nProcessed 676 events and lost 1[34 chars]\n\n' != ''
- Warning:
- Processed 676 events and lost 1 chunks!
- 
- Check IO/CPU overload!
- 

Copy link
Copy Markdown
Member

That's definitely unrelated.

ghost deleted the patch-1 branch June 20, 2025 23:26
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…5697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…5697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…5697)

* Docs: Document `PyExceptionClass_Name`

`PyExceptionClass_Name` is an undocumented function in the limited API.

* Document `PyExceptionClass_Check`
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL