FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.8] bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183) by miss-islington · Pull Request #24185 · python/cpython · GitHub

Repository navigation

[3.8] bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183) - #24185

Merged
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-81f87bb-3.8
Jan 10, 2021
Merged

miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-81f87bb-3.8

Conversation

miss-islington commented Jan 10, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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.
(cherry picked from commit 81f87bb)

Co-authored-by: Terry Jan Reedy tjreedy@udel.edu

https://bugs.python.org/issue33065

…ythonGH-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.
(cherry picked from commit 81f87bb)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

Copy link
Copy Markdown
Contributor Author

@terryjreedy: Status check is done, and it's a success ✅ .

2 similar comments

Copy link
Copy Markdown
Contributor Author

@terryjreedy: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

@terryjreedy: Status check is done, and it's a success ✅ .

miss-islington merged commit 5ded7ef into python:3.8 Jan 10, 2021
miss-islington deleted the backport-81f87bb-3.8 branch January 10, 2021 07:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL