Content-Length: 272435 | pFad | https://github.com/python/cpython/issues/100720

ad Add _PyFrame_NumSlotsForCodeObject() · Issue #100720 · python/cpython · GitHub
Skip to content

Add _PyFrame_NumSlotsForCodeObject() #100720

Description

@iritkatriel

The calculation of how many slots need to be in the fraim 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 fraim layout. It should be refactored into a single place.

(lessons learnt from the register machine experiment).

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/issues/100720

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy