This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients ethan.furman
Date 2021-12-17.01:13:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639703596.51.0.989960862505.issue46108@roundup.psfhosted.org>
In-reply-to
Content
from dataclasses import dataclass
from enum import Enum

@dataclass
class Foo:
    a: int = 0

class Entries(Foo, Enum):
    ENTRY1 = Foo(1)

repr(Entries.ENTRY1) != '<Entries.ENTRY1: Foo(a=1)>'
History
Date User Action Args
2021-12-17 01:13:16ethan.furmansetrecipients: + ethan.furman
2021-12-17 01:13:16ethan.furmansetmessageid: <1639703596.51.0.989960862505.issue46108@roundup.psfhosted.org>
2021-12-17 01:13:16ethan.furmanlinkissue46108 messages
2021-12-17 01:13:16ethan.furmancreate