Repository navigation
Commit 123dece
Raise RuntimeError for a non-type zero-argument super class cell (#9524)
Match CPython's exception class when the __class__ closure cell contains
something other than a type. Preserve the existing diagnostic and all
other super argument handling.
Validated threaded VM check and strict Clippy, a lean CLI build, an
external deterministic int/None class-cell probe with restoration, and
two unchanged canonical super error tests. Full workspace/C-API and
free-threading suites and a CPython 3.15 differential run were not run.
Assisted-by: OpenAI Codex:model version not exposed
Co-authored-by: Codex <[email protected]>1 parent cc51913 commit 123dece
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments