]> granicus.if.org Git - python/commit
bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Dec 2017 20:12:11 +0000 (22:12 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Dec 2017 20:12:11 +0000 (22:12 +0200)
commit1fb72d2ad243c965d4432b4e93884064001a2607
tree00296a976e5e386a94c0bb6f8ed535b1c30621f5
parenteea3cc1ef0dec0af193eedb4c1164263fbdfd8cc
bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570)

instead of crashing due to a stack overflow.

This perhaps will fix similar problems in other extension types.
Lib/test/list_tests.py
Lib/test/mapping_tests.py
Lib/test/test_dict.py
Misc/NEWS.d/next/Core and Builtins/2017-11-26-14-36-30.bpo-32137.Stj5nL.rst [new file with mode: 0644]
Objects/listobject.c
Objects/object.c
Objects/tupleobject.c