Message 403553 - Python tracker

Message403553

Author eric.smith
Recipients GBeauregard, eric.smith
Date 2021-10-09.20:40:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633812031.89.0.134446967081.issue45384@roundup.psfhosted.org>
In-reply-to
Content
I was waiting for someone smarter than me to chime in on one of the discussions.

I wouldn't worry about whether it's a bug or feature, at this point. Assuming buy-in from type checkers, I'd probably call it a bug, but I can be reasoned with.

One thing I don't understand is what you mean by:

"""
There is at least one edge case that would need to be handled where someone might want to explicitly mark a dataclass field Final, which could be allowed as a field:
a: Final[int] = dataclasses.field(init=False, default=10)
"""

I assume we'd want to treat it like a ClassVar, whatever that does. What's your thought? Are you saying ClassVar works incorrectly in this instance.
History
Date User Action Args
2021-10-09 20:40:31eric.smithsetrecipients: + eric.smith, GBeauregard
2021-10-09 20:40:31eric.smithsetmessageid: <1633812031.89.0.134446967081.issue45384@roundup.psfhosted.org>
2021-10-09 20:40:31eric.smithlinkissue45384 messages
2021-10-09 20:40:31eric.smithcreate