Skip to content

GH-126910: Make _Py_get_machine_stack_pointer return the stack pointer#147945

Open
markshannon wants to merge 2 commits intopython:mainfrom
markshannon:fix-get-stack-pointer
Open

GH-126910: Make _Py_get_machine_stack_pointer return the stack pointer#147945
markshannon wants to merge 2 commits intopython:mainfrom
markshannon:fix-get-stack-pointer

Conversation

@markshannon
Copy link
Copy Markdown
Member

@markshannon markshannon commented Mar 31, 2026

(or close to it), but not the frame pointer.

  • Make _Py_ReachedRecursionLimit inline again
  • Remove _Py_MakeRecCheck relacing its use with _Py_ReachedRecursionLimit
  • Move the check for C stack swtiching into _Py_CheckRecursiveCall

… to it), not the frame pointer

* Make ``_Py_ReachedRecursionLimit`` inline again
* Remove ``_Py_MakeRecCheck`` relacing its use with ``_Py_ReachedRecursionLimit``
* Move stack swtiching check into ``_Py_CheckRecursiveCall``
@Fidget-Spinner
Copy link
Copy Markdown
Member

Can you bump a file to trigger JIT CI to run so we can see if this breaks anything? Mainly the verifier will catch if anything is wrong.

@markshannon markshannon changed the title Make _Py_get_machine_stack_pointer return the stack pointer GH-126910: Make _Py_get_machine_stack_pointer return the stack pointer Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants