aboutsummaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-01-10 01:59:47 -0500
committerGitHub <noreply@github.com>2021-01-10 01:59:47 -0500
commit81f87bbf9f65702062021a78abd9b8f82c98a414 (patch)
tree5f0289ff5b48515f408ea94919ea9b9842acb588 /Misc
parentbpo-24464: Fix sqlite3.enable_shared_cache() deprecation wrapper (GH-24170) (diff)
downloadcpython-81f87bbf9f65702062021a78abd9b8f82c98a414.tar.gz
cpython-81f87bbf9f65702062021a78abd9b8f82c98a414.tar.bz2
cpython-81f87bbf9f65702062021a78abd9b8f82c98a414.zip
bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)
If __repr__ uses instance attributes, as normal, and one steps through the __init__ method, debugger may try to get repr before the instance attributes exist. reprlib.repr handles the error.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst b/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst
new file mode 100644
index 00000000000..87948f3cd1b
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst
@@ -0,0 +1 @@
+Fix problem debugging user classes with __repr__ method.