summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-01-06 02:15:27 (GMT)
committerGitHub <noreply@github.com>2023-01-06 02:15:27 (GMT)
commitebe8d2340733a36fd7555e1c75bb103d9ef465ec (patch)
treec5ef7d62c8c3da2626ee050468c0c977810acb6d /Misc
parentf5fa2c1e7f158fbc2ac4ad936e39fbe6253ae354 (diff)
downloadcpython-ebe8d2340733a36fd7555e1c75bb103d9ef465ec.zip
cpython-ebe8d2340733a36fd7555e1c75bb103d9ef465ec.tar.gz
cpython-ebe8d2340733a36fd7555e1c75bb103d9ef465ec.tar.bz2
[3.10] gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756) (GH-100785)
Avoid RecursionError on recursive dataclass field repr (cherry picked from commit 0a7936a38f0bab1619ee9fe257880a51c9d839d5) Automerge-Triggered-By: GH:ericvsmith
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-01-04-22-10-31.gh-issue-90104.yZk5EX.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-01-04-22-10-31.gh-issue-90104.yZk5EX.rst b/Misc/NEWS.d/next/Library/2023-01-04-22-10-31.gh-issue-90104.yZk5EX.rst
new file mode 100644
index 0000000..6695c92
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-01-04-22-10-31.gh-issue-90104.yZk5EX.rst
@@ -0,0 +1 @@
+Avoid RecursionError on ``repr`` if a dataclass field definition has a cyclic reference.