WebSafe 3.7github.com
|
|
🏠
Skip to content

Removing recursion limit C API without a deprecation period #288

@encukou

Description

@encukou

Dear SC,
I request permission to remove the following C API in 3.14 without a deprecation period:

  • Py_C_RECURSION_LIMIT
  • PyThreadState.c_recursion_remaining

Both were added in 3.13, are undocumented, and don't make sense in 3.14 due to changes in the stack overflow detection machinery. (On current main they contain dummy values.)

The C API WG unanimously voted to recommend removing them without deprecation. See the vote issue for some more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions