You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The calculation of how many slots need to be in the frame of a given code object is repeated in a number of places in the codebase, which makes it error prone to try and change the frame layout. It should be refactored into a single place.
(lessons learnt from the register machine experiment).
Activity
pythongh-100720: refactor calculation of number of frame slots for a …
[-]Add _PyCode_GetNumFrameSlots()[/-][+]Add _PyFrame_NumSlotsForCodeObject()[/+]gh-100720: refactor calculation of number of frame slots for a code o…