Skip to content

TypeAliasType.__module__ can segfault #104879

Description

@JelleZijlstra
>>> ns = {}
>>> exec("type A = int", ns, ns)
>>> ns["A"].__module__
zsh: segmentation fault  ./python.exe

I will propose a fix.

Linked PRs

Activity

  1. added a commit that references this issue on May 24, 2023
  2. added a commit that references this issue on May 24, 2023
  3. added a commit that references this issue on May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.12only security fixes3.13only security fixestopic-typingtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions