Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-40513: Per-interpreter recursion_limit #19929

Merged
merged 1 commit into from
May 5, 2020
Merged

bpo-40513: Per-interpreter recursion_limit #19929

merged 1 commit into from
May 5, 2020

Commits on May 5, 2020

  1. bpo-40513: Per-interpreter recursion_limit

    Move recursion_limit member from _PyRuntimeState.ceval to
    PyInterpreterState.ceval.
    
    * Py_SetRecursionLimit() now only sets _Py_CheckRecursionLimit
      of ceval.c if the current Python thread is part of the main
      interpreter.
    * Inline _Py_MakeEndRecCheck() into _Py_LeaveRecursiveCall().
    * Convert _Py_RecursionLimitLowerWaterMark() macro into a static
      inline function.
    vstinner committed May 5, 2020
    Configuration menu
    Copy the full SHA
    a0637b9 View commit details
    Browse the repository at this point in the history