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: Change enum __repr__s and __str__s to use the fully qualified name#9011

Closed
orlnub123 wants to merge 3 commits into
python:masterpython/cpython:masterfrom
orlnub123:enum-reprorlnub123/cpython:enum-reprCopy head branch name to clipboard
Closed

bpo-34443: Change enum __repr__s and __str__s to use the fully qualified name#9011
orlnub123 wants to merge 3 commits into
python:masterpython/cpython:masterfrom
orlnub123:enum-reprorlnub123/cpython:enum-reprCopy head branch name to clipboard

Conversation

@orlnub123

@orlnub123 orlnub123 commented Aug 30, 2018

Copy link
Copy Markdown
Contributor

The reason I've also changed the __str__s is to keep consistency with the __repr__s. The datetime module also follows this practice.

https://bugs.python.org/issue34443

@orlnub123

Copy link
Copy Markdown
Contributor Author

I'll fix the tests tomorrow.

@danishprakash

Copy link
Copy Markdown
Contributor

@orlnub123 not sure why you would create a separate PR for the same issue.

#8989

@orlnub123

Copy link
Copy Markdown
Contributor Author

@prakashdanish I thought I'd create another one because it's doing something different.

@orlnub123

Copy link
Copy Markdown
Contributor Author

It looks like I got confused about the datetime thing. Now I'm questioning whether this is a good change or not.

@orlnub123 orlnub123 closed this Aug 31, 2018
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.

4 participants

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