Skip to content

Regression in MemoryError displaying (_PyErr_Display fallback to C impl of print_exception) #110912

Description

@chgnrdv

Bug report

Bug description:

After e733136:

>>> raise MemoryError()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
object address  : 0x7fd3b6037540
object refcount : 3
object type     : 0x556d6e04cf40
object type name: MemoryError
object repr     : MemoryError()
lost sys.stderr

cc @pablogsal

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

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

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions