Repository navigation
bpo-40066: [Enum] update str() and format() output #30582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
88b2a25
convert tests to PEP-663
ethanfurman 22e8e2f
wip
ethanfurman 881a694
wip
ethanfurman 6cdaa91
wip
ethanfurman 3a17995
wip
ethanfurman 6ff602a
wip
ethanfurman 65a0e31
wip
ethanfurman 06f0dc8
wip
ethanfurman 13c4b92
update __doc__
ethanfurman 7072a3f
fix role
ethanfurman 56647c5
support different display bases for unnamed flag values
ethanfurman ab4598c
undo PEP 663 library changes
ethanfurman 7b6b17b
adjust internal whitespace in error messages
ethanfurman bb0c67e
test new doc strings
ethanfurman 837c211
fix "cannoct extend" error; remove dead code
ethanfurman d36aeda
minor fixes
ethanfurman cff9b90
fix ssl docs
ethanfurman 2036918
use standard IntEnum and IntFlag
ethanfurman 94e1c64
update test_unicode
ethanfurman 7f99e84
reset PlistFormat to pre-PEP663
ethanfurman f83f59d
fix docs
ethanfurman 6d54605
doc updates
ethanfurman 515698e
update docs
ethanfurman 2831f99
skip failing doctest because doctest is dumb
ethanfurman 03c1cfc
fix doctest test
ethanfurman de6ffde
another try
ethanfurman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update __doc__
- Loading branch information
commit 13c4b9262b2fd2a47cc25e51f7bed66460585a93
There are no files selected for viewing
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
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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2022-01-13-11-41-24.bpo-40066.1QuVli.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| ``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in type for their | ||
| ``str()`` and ``format()`` output. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.