GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace Fetch/Restore etc by the new exception APIs · Issue #102192 · python/cpython

Replace Fetch/Restore etc by the new exception APIs #102192

New issue
Copy link
New issue
Copy link
Closed
Closed
Replace Fetch/Restore etc by the new exception APIs#102192
Copy link
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

@iritkatriel
iritkatriel
opened on Feb 23, 2023
Issue body actions

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

Activity

Next
  1. iritkatriel
    added
    type-featureA feature request or enhancementA feature request or enhancement
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Feb 23, 2023
  2. iritkatriel
    added 4 commits that reference this issue on Feb 24, 2023

    gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…

    2db23d1

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    06c073a

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    e68fa8b

    gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…

    4c87537
  3. carljm
    added a commit that references this issue on Feb 28, 2023

    Merge branch 'main' into inlinecomp2

    73dc0ed
  4. iritkatriel
    added 5 commits that reference this issue on Mar 1, 2023

    gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…

    f91846b

    pythongh-102192: remove redundant excption fields from ssl module socket

    ca602df

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    b26b84c

    gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…

    f105fe4

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    d4ea7f3
  5. carljm
    added 2 commits that reference this issue on Mar 6, 2023

    Merge branch 'main' into nodeaddict

    33dda2a

    Merge branch 'main' into inlinecomp2

    ecb313c
  6. iritkatriel
    added a commit that references this issue on Mar 8, 2023

    gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternat…

    11a2c6c
  7. 25 remaining items

  8. iritkatriel
    added a commit that references this issue on Mar 31, 2023

    pythongh-102192: use PyErr_SetHandledException instead of the legacy …

    6c77b12
  9. kumaraditya303
    added a commit that references this issue on Apr 1, 2023

    gh-102192: use PyErr_SetHandledException instead of the legacy PyErr_…

    848bdbe
  10. iritkatriel
    added a commit that references this issue on Apr 1, 2023

    gh-102192: deprecate _PyErr_ChainExceptions (#102935)

    06249ec
  11. iritkatriel
    closed this as completedon Apr 3, 2023
  12. gaogaotiantian
    added 2 commits that reference this issue on Apr 8, 2023

    pythongh-102192: use PyErr_SetHandledException instead of the legacy …

    07e8300

    pythongh-102192: deprecate _PyErr_ChainExceptions (python#102935)

    ab883c3
  13. warsaw
    added 8 commits that reference this issue on Apr 11, 2023

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    0b02f03

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    5c12dcb

    pythongh-102192: remove redundant exception fields from ssl module so…

    4eba33f

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    74f076e

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    e8188bd

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

    e0741ba

    pythongh-102192: use PyErr_SetHandledException instead of the legacy …

    756ba73

    pythongh-102192: deprecate _PyErr_ChainExceptions (python#102935)

    57a254d
  14. JelleZijlstra
    added a commit that references this issue on Sep 10, 2024

    pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient al…

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

Metadata

Metadata

Assignees

No one assigned

    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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.