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 should have a __module__ · Issue #104549 · python/cpython

TypeAliasType should have a __module__ #104549

New issue
Copy link
New issue
Copy link
Closed
Closed
TypeAliasType should have a __module__#104549
Copy link
Assignees
JelleZijlstra
Labels
topic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@JelleZijlstra
JelleZijlstra
opened on May 16, 2023
Issue body actions

Currently the __module__ attribute of TypeAliasType instances (created through type X = ...) is always "typing". Let's set it to the actual module.

Linked PRs

  • gh-104549: Set __module__ on TypeAliasType #104550
Reacted by Alex Waygood and sunmy2019

Activity

  1. JelleZijlstra
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    topic-typing
    on May 16, 2023
  2. JelleZijlstra
    self-assigned this
    on May 16, 2023
  3. JelleZijlstra
    added a commit that references this issue on May 16, 2023

    pythongh-104549: Set __module__ on TypeAliasType

    98cc5fa
  4. JelleZijlstra
    closed this as completedon May 18, 2023
  5. JelleZijlstra
    added a commit that references this issue on May 18, 2023

    gh-104549: Set __module__ on TypeAliasType (#104550)

    b9dce3a
  6. carljm
    added a commit that references this issue on May 18, 2023

    Merge branch 'main' into nestedcomps

    54095f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @JelleZijlstra
    JelleZijlstra

Labels

topic-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.