Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-34443: return __qualname__ in enum __repr__#8989

Closed
danishprakash wants to merge 3 commits into
python:masterpython/cpython:masterfrom
danishprakash:fix-issue-34443danishprakash/cpython:fix-issue-34443Copy head branch name to clipboard
Closed

bpo-34443: return __qualname__ in enum __repr__#8989
danishprakash wants to merge 3 commits into
python:masterpython/cpython:masterfrom
danishprakash:fix-issue-34443danishprakash/cpython:fix-issue-34443Copy head branch name to clipboard

Conversation

@danishprakash

@danishprakash danishprakash commented Aug 29, 2018

Copy link
Copy Markdown
Contributor

[WIP] repr of a class should return qualname and
not name especially in nested classes

https://bugs.python.org/issue34443

@ethanfurman ethanfurman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making some modifications to how module and qualname are stored (will have have those commits in shortly, I hope). After those land, just need to update all the test_enum repr() tests.

@danishprakash

Copy link
Copy Markdown
Contributor Author

@ethanfurman is there another PR in parallel to this? Anyway, waiting on it.

@willingc

Copy link
Copy Markdown
Contributor

@danishprakash @ethanfurman I'm triaging open PRs. It looks like the next steps here are:

  • status update: verify or update test_enum repr() tests
  • Rerun tests in this PR

@ethanfurman

Copy link
Copy Markdown
Member

Thanks for the bump, @willingc. I have actually decided not to make this change. @danishprakash, thank you for your efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.