Skip to content

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Jul 17, 2024

Add tool to check for unmarked escaping calls.
Output looks like:

Unmarked escaping function '_Py_Instrument' at .../bytecodes.c:159
Unmarked escaping function '_Py_Instrument' at .../bytecodes.c:194
Unmarked escaping function '_Py_call_instrumentation' at .../bytecodes.c:204
Unmarked escaping function '_PyFrame_GetStackPointer' at .../bytecodes.c:206
Unmarked escaping function '_PyEval_FormatExcCheckArg' at .../bytecodes.c:223
...

Currently there are about 250 escaping calls in bytecodes.c
We will eventually turn this on in CI, once we've marked all the escaping calls.

@markshannon markshannon closed this Aug 6, 2024
@markshannon markshannon deleted the check-for-escapes branch August 6, 2024 10:16
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.

1 participant