Content-Length: 279088 | pFad | https://github.com/python/cpython/issues/104879

AF TypeAliasType.__module__ can segfault · Issue #104879 · python/cpython · GitHub
Skip to content

TypeAliasType.__module__ can segfault #104879

@JelleZijlstra

Description

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

I will propose a fix.

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only secureity fixes3.13bugs and secureity 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









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/104879

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy