Title: Crash in substitution of nested TypeVar after TypeVarTuple · Issue #93345 · python/cpython · GitHub
Open Graph Title: Crash in substitution of nested TypeVar after TypeVarTuple · Issue #93345 · python/cpython
X Title: Crash in substitution of nested TypeVar after TypeVarTuple · Issue #93345 · python/cpython
Description: During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple. For example: >>> from typing import * >>> T = TypeVar('T') >>> Ts = TypeVarTuple('Ts') >>>...
Open Graph Description: During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple. For example: >>> from typing import * >>> T = Type...
X Description: During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple. For example: >>> from typing import * >...
Opengraph URL: https://github.com/python/cpython/issues/93345
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash in substitution of nested TypeVar after TypeVarTuple","articleBody":"During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple.\r\n\r\nFor example:\r\n```\r\n\u003e\u003e\u003e from typing import *\r\n\u003e\u003e\u003e T = TypeVar('T')\r\n\u003e\u003e\u003e Ts = TypeVarTuple('Ts')\r\n\u003e\u003e\u003e tuple[*Ts, list[T]][int, str, bool]\r\nSegmentation fault (core dumped)\r\n```","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2022-05-30T07:20:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/93345/cpython/issues/93345"}
| 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:fdbc609f-a384-1a76-8c20-05637a460019 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE08:220088:8DBD64:C5697F:696A7F98 |
| html-safe-nonce | ebf4bd85f9d9f30543fcc12b48770dd74a057932e8e91d4d905ca536764ab83f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTA4OjIyMDA4ODo4REJENjQ6QzU2OTdGOjY5NkE3Rjk4IiwidmlzaXRvcl9pZCI6IjgwNTY1MTU4Nzc2OTY4NjQxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e84a0aaa6f64581aaeb6bb741b46acb741ede44b3ec480ac6f5dabe2bdcf12b |
| hovercard-subject-tag | issue:1252305089 |
| 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/93345/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6aec359aa6b1095ac3ef727c3f7b3bf2e211b20f33f8a318bd5b532d4b7c6cab/python/cpython/issues/93345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6aec359aa6b1095ac3ef727c3f7b3bf2e211b20f33f8a318bd5b532d4b7c6cab/python/cpython/issues/93345 |
| og:image:alt | During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple. For example: >>> from typing import * >>> T = Type... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width