GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — gh-98250: Improve documentation about change to Enum.__format__ by mdboom · Pull Request #98261 · python/cpython Conversation
|
|
|
||
| * ``EnumMeta`` renamed to ``EnumType`` (``EnumMeta`` kept as alias). | ||
|
|
||
| * The output of ``Enum.__format__`` has changed to include both the enum name |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Might be worth adding explicitly that this affects enums included in f-strings, since that may not be obvious to a lot of readers.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hey, I missed seeing this before I submitted #98295 , but it turns out I noticed a similar issue, as the What's New was not entirely clear on that point, and had already made some enhancements in that regard. I went ahead and made some further improvements and expansions there to more comprehensively address #98250 and incorporate the intent of the changes here, alongside @JelleZijlstra 's suggestion and a number of additional fixes and clarifications. As that PR essentially rewrites that section and will thus conflict with this one, which I'm still not sure is quite right (as |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favor of the more comprehensive #98295. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.