bpo-45711: Change exc_info related APIs to derive type and traceback from the exception instance by iritkatriel · Pull Request #29780 · python/cpython · GitHub

github.com

Tin mới

iritkatriel:45711-change-apis

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

awaiting core review

awaiting core review

bpo-45711: Change exc_info related APIs to derive type and traceback …

📜🤖 Added by blurb_it.

View reviewed changes

Learn more about hiding disruptive comments

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

Tweak news text Co-authored-by: Guido van Rossum <[email protected]>

remove p_ prefix from arg names in PyErr_SetExcInfo

type is None if value is None or NULL

tweak doc wording to add 'and can be NULL'

bpo-45711: Use traceback from exception instead of exc_info in reraise iritkatriel/cpython#32

Use traceback from exception instead of exc_info in reraise

View reviewed changes

Doc/reference/simple_stmts.rst

🔨 test-with-buildbots

🔨 test-with-buildbots

Merge remote-tracking branch 'upstream/main' into 45711-change-apis

View reviewed changes

Merge branch 'main' into bpo_44133

Merge branch 'main' into bpo_44133