<div dir="auto">I still think it should overrides anything that's just inherited but nothing that's defined in the class being decorated.</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 29, 2017 5:43 PM, "Nathaniel Smith" <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 29, 2017 at 12:30 PM, Ethan Furman <<a href="mailto:ethan@stoneleaf.us">ethan@stoneleaf.us</a>> wrote:<br>
> Good point.  So auto-generate a new __repr__ if:<br>
><br>
> - one is not provided, and<br>
> - existing __repr__ is either:<br>
>   - object.__repr__, or<br>
>   - a previous dataclass __repr__<br>
><br>
> And if the auto default doesn't work for one's use-case, use the keyword<br>
> parameter to specify what you want.<br>
<br>
What does attrs do here?<br>
<br>
-n<br>
<br>
--<br>
Nathaniel J. Smith -- <a href="https://vorpus.org" rel="noreferrer" target="_blank">https://vorpus.org</a><br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
</blockquote></div></div>