GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GenericAlias crashes when an argument gains __typing_subst__ after parameters are cached · Issue #155752 · python/cpython Closed Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-typingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionCrash reportWhat happened?
If an argument gains a In a debug build, this triggers a failed C assertion. In a release build, the -1 is used as an array index and can crash the process. class Parameter: pass first = Parameter() first.__typing_subst__ = lambda value: value late = Parameter() alias = dict[first, late] alias.__parameters__ late.__typing_subst__ = lambda value: value alias[0,] CPython versions tested on:3.15, 3.14, 3.13, 3.12, 3.11 Operating systems tested on:macOS, Linux Output from running 'python -VV' on the command line:Python 3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)] Linked PRs
Activity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-typingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump ProjectsMilestoneRelationshipsDevelopmentIssue 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. |