mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-148208: Fix recursion depth leak in PyObject_Print (GH-148209)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix recursion depth leak in :c:func:`PyObject_Print`
|
||||
@@ -688,6 +688,8 @@ PyObject_Print(PyObject *op, FILE *fp, int flags)
|
||||
ret = -1;
|
||||
}
|
||||
}
|
||||
|
||||
_Py_LeaveRecursiveCall();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user