Skip to content

TypeAliasType objects have no __qualname__ #139817

@AA-Turner

Description

@AA-Turner

Bug report

Bug description:

This means that introspection is worse for type statements declared e.g. within class bodies.

A

cc @JelleZijlstra

CPython versions tested on:

3.12, 3.13, 3.14, 3.15, CPython main branch

Operating systems tested on:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions