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 — Deprecate TracebackException.exc_type · Issue #112332 · python/cpython

Deprecate TracebackException.exc_type  #112332

New issue
Copy link
New issue
Copy link
Closed
#112333
Closed
Deprecate TracebackException.exc_type #112332
#112333
Copy link
Assignees
iritkatriel

Description

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

TracebackException is supposed to be a printable snapshot of an exception. It is intended to be lightweight (release references to frames, etc) and easily serialised.

Since the exc_type field is causing issues for subinterpreters, I suggest we deprecate it and replace it with a snapshot of the type.

Until removed, we can have an arg to optionally not save it (which can be used by subinterpreters).

Linked PRs

  • gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. #112333

Activity

  1. iritkatriel
    self-assigned this
    on Nov 23, 2023
  2. iritkatriel
    added a commit that references this issue on Nov 23, 2023

    pythongh-112332: save snapshot of exc_type in TracebackException. Add…

    aad7828
  3. iritkatriel
    closed this as completedin #112333on Nov 28, 2023
  4. iritkatriel
    added a commit that references this issue on Nov 28, 2023

    gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. (#…

    2c68011
  5. aisk
    added a commit that references this issue on Feb 11, 2024

    pythongh-112332: Deprecate TracebackException.exc_type, add exc_type_…

    4289b72
  6. Glyphack
    added a commit that references this issue on Sep 2, 2024

    pythongh-112332: Deprecate TracebackException.exc_type, add exc_type_…

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

Metadata

Metadata

Assignees

  • @iritkatriel
    iritkatriel

Labels

No labels
No labels

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.