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 — `Enum.__str__` change could be improved in What's New · Issue #98250 · python/cpython Closed Labels 3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory Description#30582 (in 3.11) introduced a change to This could be a breaking change in some cases. As an example in real world code, the Azure CLI uses enums for the acceptable values of command-line flags, and then uses For example, this enum is used to define a "compute model": And then it's used here to construct arguments for a subprocess: The changelog entry for this change just says: This is unlikely to be easily findable for users running into this change, since
Does this make sense? Are there other cases I'm missing? Happy to file a PR, but thought I would get some discussion first. Reacted by Jelle Zijlstra Activity
MetadataMetadataAssigneesLabels3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |