Closed cyyever closed 8 months ago
Looks good, GHA pass, but I see you marked it as draft. Is there more you want to do here?
Looks good, GHA pass, but I see you marked it as draft. Is there more you want to do here?
I am checking more possible replacements of PyCode like this.
@rwgk Nothing to add, can review again?
Thank you @cyyever!
This PR replaces PyObject_GetAttrString with PyCode_GetVarnames which is found by a warning of casting ''_object'' to "PyCodeObject".
It also fixes an object leak which was found by code review.Suggested changelog entry: