summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSrinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <srinivasreddy@users.noreply.github.com>2018-10-19 16:54:50 (GMT)
committerEric V. Smith <ericvsmith@users.noreply.github.com>2018-10-19 16:54:50 (GMT)
commitdd13c88b5371e13fc16b84e2f9b8715d917de269 (patch)
tree3475ff0a6de876f3119334cd8ca4068773eabe57 /Misc
parent55f8249d65af3f1b83df81fa46f6fc6e452ed944 (diff)
downloadcpython-dd13c88b5371e13fc16b84e2f9b8715d917de269.zip
cpython-dd13c88b5371e13fc16b84e2f9b8715d917de269.tar.gz
cpython-dd13c88b5371e13fc16b84e2f9b8715d917de269.tar.bz2
bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916)
The reprlib code was copied here instead of importing reprlib. I'm not sure if we really need to avoid the import, but since I expect dataclasses to be more common that reprlib, it seems wise. Plus, the code is small.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-17-02-15-23.bpo-33947.SRuq3T.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-17-02-15-23.bpo-33947.SRuq3T.rst b/Misc/NEWS.d/next/Library/2018-10-17-02-15-23.bpo-33947.SRuq3T.rst
new file mode 100644
index 0000000..bf08bac
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-17-02-15-23.bpo-33947.SRuq3T.rst
@@ -0,0 +1 @@
+dataclasses now handle recursive reprs without raising RecursionError.