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 works in python 3.10 breaks in 3.11 · Issue #104271 · python/cpython Closed Labels 3.11only security fixesonly security fixes3.12only security fixesonly security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportI have this (simplified) code from enum import Enum, auto, unique @unique class TokenType(Enum): # // Single-character tokens. LEFT_PAREN = '(' # // Literals. IDENTIFIER = auto() STRING = auto() NUMBER = auto() # // Keywords. AND = 'and' WHILE = 'while' EOF = auto() I tested this (I developed it) using python 3.10.8. My friend ran it in 3.11.3 and it breaks like this: We can work around the problem using a Linked PRsActivity
MetadataMetadataAssigneesLabels3.11only security fixesonly security fixes3.12only security fixesonly security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error 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. |