- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
having a self-referential tuple, which is possible from C code. Nor did
object's tp_str consider that a type's tp_str could do something that could
lead to an inifinite recursion. Py_ReprEnter() and Py_EnterRecursiveCall(),
respectively, fixed the issues. (Backport of r58288 from trunk to 2.5.)
diff --git a/Misc/NEWS b/Misc/NEWS
index aeee3f8..b9ce278 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@
Core and builtins
-----------------
+- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
+ having a self-referential tuple, which is possible from C code. Nor did
+ object's tp_str consider that a type's tp_str could do something that could
+ lead to an inifinite recursion. Py_ReprEnter() and Py_EnterRecursiveCall(),
+ respectively, fixed the issues. (Backport of r58288 from trunk.)
+
- Patch #1442: properly report exceptions when the PYTHONSTARTUP file
cannot be executed.