diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2021-01-10 01:59:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 01:59:47 -0500 |
commit | 81f87bbf9f65702062021a78abd9b8f82c98a414 (patch) | |
tree | 5f0289ff5b48515f408ea94919ea9b9842acb588 /Misc | |
parent | bpo-24464: Fix sqlite3.enable_shared_cache() deprecation wrapper (GH-24170) (diff) | |
download | cpython-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.rst | 1 |
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. |