mirror of https://github.com/python/cpython
5c161cb832
gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735)
Fix PyEval_GetLocals() to avoid SystemError ("bad argument to
internal function"). Don't redefine the 'ret' variable in the if
block.
Add an unit test on PyEval_GetLocals().
(cherry picked from commit
|
||
---|---|---|
.. | ||
2024-08-06-14-23-11.gh-issue-122728.l-fQ-v.rst |