[Python-Dev] Concerns about method overriding and subclassing with dataclasses (original) (raw)
Ivan Levkivskyi levkivskyi at gmail.com
Wed Jan 3 12:31:54 EST 2018
- Previous message (by thread): [Python-Dev] Concerns about method overriding and subclassing with dataclasses
- Next message (by thread): [Python-Dev] Concerns about method overriding and subclassing with dataclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I like the Guido's proposal, i.e.
if '__repr__' not in cls.__dict__:
... # generate the method
etc. I didn't find an issue to track this. Maybe we should open one?
-- Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180103/af858c07/attachment.html>
- Previous message (by thread): [Python-Dev] Concerns about method overriding and subclassing with dataclasses
- Next message (by thread): [Python-Dev] Concerns about method overriding and subclassing with dataclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]