Skip to content

types.MappingProxyType.__qualname__ isn't correct #106165

Closed as not planned
Closed as not planned
@jamesbraza

Description

@jamesbraza

Bug report

from types import MappingProxyType

# This assertion fails because the qualname is just 'mappingproxy'
assert MappingProxyType.__qualname__ == "types.MappingProxyType"

Your environment

  • CPython versions tested on: 3.10.9
  • Operating system and architecture: macOS Monterey version 12.6

Metadata

Metadata

Assignees

No one assigned

    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