On 12/23/23 09:51, Chris Angelico wrote:
On Sat, 23 Dec 2023 at 07:13, DL Neil via Python-ideas
<python-ideas@python.org> wrote:
On 12/23/23 02:09, Eric V. Smith via Python-ideas wrote:
On 12/21/2023 4:38 PM, Steve Jorgensen wrote:
I am finding that it would be useful to be able to define a dataclass that is
an abstract base class and define some of its field as abstract.
As I am typing this, I realize that I could presumably write some code to
implement what I'm asking for. Maybe it is a good enough idea to make part of
the standard API in any case though? I'm thinking that a field would be made
abstract by passing `abstract=True` as an argument to `dataclasses.field()`.
You're better off discussing this on discuss.python.org as this mailing
list is basically dead.
It can't be dead - you're here!
Eh! He says he's not dead!
"I think therefore..."?
You'll be telling me next, that this is a virtual-communication!
--
Regards =dn
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/46C6UZM7VURDYMJXU5EGZ6473QLG73O3/
Code of Conduct: http://python.org/psf/codeofconduct/