There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes. It would be nice if the compiler didn't need to know how to do this.
cc @JelleZijlstra who implemented PEP695
pythongh-123881: Add additional test coverage for PEP 695 edge cases
gh-123881: Add additional test coverage for PEP 695 edge cases (#123886)
pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…
[3.12] gh-123881: Add additional test coverage for PEP 695 edge cases (…
gh-123881: make compiler add the .generic_base base class without con…
[3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (…
Activity
sobolevn commented on Sep 9, 2024
cc @JelleZijlstra who implemented PEP695
pythongh-123881: Add additional test coverage for PEP 695 edge cases
gh-123881: Add additional test coverage for PEP 695 edge cases (#123886)
pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…
pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…
pythongh-123881: Add additional test coverage for PEP 695 edge cases (p…
[3.12] gh-123881: Add additional test coverage for PEP 695 edge cases (…
gh-123881: make compiler add the .generic_base base class without con…
[3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (…