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 — Segfault compiling a class that binds `__classdict__` and contains a generic class · Issue #161849 · python/cpython Open Open Copy link DescriptionCrash reportWhat happened?class C: __classdict__ = 1 class D[T]: pass A release build of main segfaults while compiling this (in With an annotated function in place of the generic class the compiler raises class C: __classdict__ = 1 def f(x: int): pass
3.14 behaves like main. On 3.13 the first example segfaults too; the second one compiles there, but gh-149805 fixed the bare annotation I have a small change to CPython versions tested on:3.13, 3.14, CPython main branch Operating systems tested on:macOS Output from running 'python -VV' on the command line:Python 3.16.0a2+dev (heads/main:35e2c5a, Nov 12 2026, 05:12:02) [Clang 21.0.0 (clang-2100.1.1.101)] ActivityMetadataMetadataAssigneesLabelsNo labels 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. |