➜

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 eric.smith
Recipients GBeauregard, eric.smith
Date 2021-10-09.20:40:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
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: <[email protected]>
2021-10-09 20:40:31eric.smithlinkissue45384 messages
2021-10-09 20:40:31eric.smithcreate