A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20180205/c8b6b968/attachment.html below:

<div dir="ltr">Yes, that's what I meant -- "afterwards" meaning after the @dataclass decorator is applied.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 5, 2018 at 11:09 AM, Kirill Balunov <span dir="ltr"><<a href="mailto:kirillbalunov@gmail.com" target="_blank">kirillbalunov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><br><div class="gmail_quote">2018-02-05 20:47 GMT+03:00 Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">If there's going to be an API for it, it should be in the class, not something that mutates the class afterwards.</div><div class="gmail_extra"><span class="m_-5509077403622580756gmail-HOEnZb"><font color="#888888">
</font></span></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I apologize and don't want to make unnecessary noise. But the already selected design with decorator @dataclass implies that it will mutate theƂ freshly created class (which in its turn already limits some possibilities), or I've missed something? If you meant that everything should be defined in one place, then I basically understand your desire as the least of two evils.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">With kind regards,</div><div class="gmail_extra">-gdg</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div></div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4