Add support for PyFrame_SetLineNumber & PyCode_HasFreeVars
In Pyston C API, there have new added PyFrame_SetLineNumber and PyCode_HasFreeVars two APIs. Add these two inlined C functions for CPython. PyFrame_SetLineNumber is for get frame line number. PyCode_HasFreeVars is for check whether PyCodeObject has freevars. [ @kirr: reworked patch for better structure ] /reviewed-on !1
Showing
Please register or sign in to comment