[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


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>



More information about the Python-Dev mailing list