Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
A user/maintainer of a popular library documented their use case for accessing fields in the code object. In 3.11 the fields in C are gone but still available as properties in Python. Accessing these properties can be made faster by exposing their functions in the C API. The current option isPyObject_GetAttrString(code, "attr") which is much slower.
A similar issue is#92154.
I am marking this as a release blocker@pablogsal as it would be mucho bueno if we could get this before rc1.