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 — TypeAliasType.__module__ can segfault · Issue #104879 · python/cpython

TypeAliasType.__module__ can segfault #104879

New issue
Copy link
New issue
Copy link
Closed
Closed
TypeAliasType.__module__ can segfault#104879
Copy link
Assignees
JelleZijlstra
Labels
3.12only security fixesonly security fixes3.13only security fixesonly security fixestopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@JelleZijlstra
JelleZijlstra
opened on May 24, 2023
Issue body actions
>>> ns = {}
>>> exec("type A = int", ns, ns)
>>> ns["A"].__module__
zsh: segmentation fault  ./python.exe

I will propose a fix.

Linked PRs

  • gh-104879: Fix TypeAliasType.__module__ in exec() #104881
  • [3.12] gh-104879: Fix TypeAliasType.__module__ in exec() (GH-104881) #104890
Reacted by Alex Waygood

Activity

  1. JelleZijlstra
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    topic-typing
    3.12only security fixesonly security fixes
    3.13only security fixesonly security fixes
    on May 24, 2023
  2. JelleZijlstra
    self-assigned this
    on May 24, 2023
  3. JelleZijlstra
    added a commit that references this issue on May 24, 2023

    gh-104879: Fix TypeAliasType.__module__ in exec() (#104881)

    fe77a99
  4. miss-islington
    added a commit that references this issue on May 24, 2023

    pythongh-104879: Fix TypeAliasType.__module__ in exec() (pythonGH-104881

    79b6101
  5. JelleZijlstra
    added a commit that references this issue on May 24, 2023

    [3.12] gh-104879: Fix TypeAliasType.__module__ in exec() (GH-104881) (#…

    b670214
  6. AlexWaygood
    closed this as completedon May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @JelleZijlstra
    JelleZijlstra

Labels

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

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.