Replace Fetch/Restore etc by the new exception APIs #102192
Copy link
Copy link
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
PyErr_Fetch/Restore etc are now legacy APIs, in some places we can replace them by more efficient alternatives.
Linked PRs
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (in Python/) #102193
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (in Modules/) #102196
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (in Objects/) #102218
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in tkinter module #102319
- gh-102192: remove redundant exception fields from ssl module socket #102466
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in sub interpreters module #102472
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in types #102477
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102619
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102631
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102743
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102760
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102769
- gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives #102816
- gh-102192: deprecate _PyErr_ChainExceptions #102935
- gh-102192: use PyErr_SetHandledException instead of the legacy PyErr_SetExcInfo #103157
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Activity
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…
Merge branch 'main' into inlinecomp2
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…
pythongh-102192: remove redundant excption fields from ssl module socket
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
Merge branch 'main' into nodeaddict
Merge branch 'main' into inlinecomp2
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…
25 remaining items
pythongh-102192: use PyErr_SetHandledException instead of the legacy …
gh-102192: use PyErr_SetHandledException instead of the legacy PyErr_…
gh-102192: deprecate _PyErr_ChainExceptions (#102935)
pythongh-102192: use PyErr_SetHandledException instead of the legacy …
pythongh-102192: deprecate _PyErr_ChainExceptions (python#102935)
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: remove redundant exception fields from ssl module so…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…
pythongh-102192: use PyErr_SetHandledException instead of the legacy …
pythongh-102192: deprecate _PyErr_ChainExceptions (python#102935)
pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…