mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
GH-135379: Remove types from stack items in code generator. (GH-135384)
* Make casts explicit in the instruction definitions
This commit is contained in:
parent
49d72365cd
commit
c87b5b2cb6
13 changed files with 257 additions and 255 deletions
|
|
@ -0,0 +1,4 @@
|
|||
The cases generator no longer accepts type annotations on stack items.
|
||||
Conversions to non-default types are now done explictly in bytecodes.c and
|
||||
optimizer_bytecodes.c. This will simplify code generation for top-of-stack
|
||||
caching and other future features.
|
||||
Loading…
Add table
Add a link
Reference in a new issue