commit | 81f87bbf9f65702062021a78abd9b8f82c98a414 | [log] [tgz] |
---|---|---|
author | Terry Jan Reedy <tjreedy@udel.edu> | Sun Jan 10 01:59:47 2021 -0500 |
committer | GitHub <noreply@github.com> | Sun Jan 10 01:59:47 2021 -0500 |
tree | 5f0289ff5b48515f408ea94919ea9b9842acb588 | |
parent | d16f6176abdecbb7ab231dc78beccfaa095beff6 [diff] |
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.