Feature or enhancement
Proposal:
Currently, the C API exports all build-in types as a static data export. This limits how alternative python implementations can implement static types.
I propose that we export a Py_GetBuildInTypeBorrowed function that works similar to the Py_GetConstantBorrowed function. And use these in the type check macro's when compiling for the limited api.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Feature or enhancement
Proposal:
Currently, the C API exports all build-in types as a static data export. This limits how alternative python implementations can implement static types.
I propose that we export a
Py_GetBuildInTypeBorrowedfunction that works similar to the Py_GetConstantBorrowed function. And use these in the type check macro's when compiling for the limited api.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response