Title: TypeAliasType objects have no `__qualname__` · Issue #139817 · python/cpython · GitHub
Open Graph Title: TypeAliasType objects have no `__qualname__` · Issue #139817 · python/cpython
X Title: TypeAliasType objects have no `__qualname__` · Issue #139817 · python/cpython
Description: 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 teste...
Open Graph Description: 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, CPy...
X Description: 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, CPy...
Opengraph URL: https://github.com/python/cpython/issues/139817
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeAliasType objects have no `__qualname__`","articleBody":"# Bug report\n\n### Bug description:\n\nThis means that introspection is worse for type statements declared e.g. within class bodies.\n\nA\n\ncc @JelleZijlstra \n\n### CPython versions tested on:\n\n3.12, 3.13, 3.14, 3.15, CPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-139919\n* gh-140177\n* gh-140197\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/AA-Turner","@type":"Person","name":"AA-Turner"},"datePublished":"2025-10-09T02:14:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/139817/cpython/issues/139817"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cabf48c8-4c39-aa8e-3751-99aa25d5143e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86FA:23903E:F5ED2B:153E3EB:6A53B7C4 |
| html-safe-nonce | 969c60f78bf849272634f76bff9ae3afba5579af9efec4441b4db6eac78c2764 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkZBOjIzOTAzRTpGNUVEMkI6MTUzRTNFQjo2QTUzQjdDNCIsInZpc2l0b3JfaWQiOiI2MDEwNTA3MDA4MjQzMTIwMDY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 67d1e5431ff035908beacc4175f69aceb82b8c37e0ea2ed245dbcad7468ed716 |
| hovercard-subject-tag | issue:3497395255 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/139817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ac4248d3d06cc00b925cd9ac0d1d7a5d645a208013b598c9770acffb76f7c98/python/cpython/issues/139817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ac4248d3d06cc00b925cd9ac0d1d7a5d645a208013b598c9770acffb76f7c98/python/cpython/issues/139817 |
| og:image:alt | 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, CPy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AA-Turner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width