<div dir="ltr"><div>(Not Stephen either).</div><div><br></div>I've been using attrs for some time now, but only superficially. I'm not sure yet if I want to make it mandatory for my team or not.<div><br></div><div>My biggest issues so far are:</div><div><br></div><div>- how to truly leverage it with a declarative ORM? (SQLAlchemy in my case, the workaround being to only use a subset of attrs' functionalities, at the expense of additional complexity).</div><div><br></div><div>- how to make it interop with type annotations? (Which is also an issue for SQLAlchemy, AFAIK, at this point).</div><div><br></div><div>I won't be in Pycon (but I will be at PyParis next month, obviously, since I'm organising it ;). Hynek will be there, from what I see so obviously if a PEP or some fresh ideas emerge from the discussions there, I'll be more than happy.</div><div><br></div><div>Have a nice Pycon.</div><div><br></div><div>  S.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 16, 2017 at 11:04 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:gvanrossum@gmail.com" target="_blank">gvanrossum@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"><div><div>Stephen,<br><br></div>What features of attrs specifically solve your use cases?<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">--Guido<br></font></span></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, May 16, 2017 at 12:18 PM, Stephan Houben <span dir="ltr"><<a href="mailto:stephanh42@gmail.com" target="_blank">stephanh42@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Thanks to this thread I learned about the "attrs" library. I am a<br>
heavy namedtuple (ab)user but I think<br>
I will be using attrs going forward.<br>
<br>
If something like attrs would made it in the standard library it would<br>
be awesome.<br>
<br>
Thanks,<br>
<br>
Stephan<br>
<div class="m_-6140861472898586307HOEnZb"><div class="m_-6140861472898586307h5"><br>
2017-05-16 20:08 GMT+02:00 Brett Cannon <<a href="mailto:brett@python.org" target="_blank">brett@python.org</a>>:<br>
> Maybe we can bring this up as a lightning talk at the language summit to see<br>
> who in the room has the appropriate background knowledge? And obviously<br>
> someone can talk to Hynek to see if he wants to provide input based on<br>
> community feedback for attrs and lessons learned.<br>
><br>
> On Tue, 16 May 2017 at 08:11 Guido van Rossum <<a href="mailto:gvanrossum@gmail.com" target="_blank">gvanrossum@gmail.com</a>> wrote:<br>
>><br>
>> Maybe Lukasz is interested?<br>
>><br>
>> On May 16, 2017 8:00 AM, "Chris Angelico" <<a href="mailto:rosuav@gmail.com" target="_blank">rosuav@gmail.com</a>> wrote:<br>
>>><br>
>>> On Wed, May 17, 2017 at 12:53 AM, Guido van Rossum <<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>><br>
>>> wrote:<br>
>>> > I could also try this myself in my spare time at PyCon (surprisingly, I<br>
>>> > have<br>
>>> > some!). It sounds kind of interesting. However I've never used the<br>
>>> > 'attrs'<br>
>>> > package...<br>
>>><br>
>>> Me neither, so I'm not really an ideal person to head this up. Is<br>
>>> there anyone who (a) knows what is and isn't Pythonic, (b) has used<br>
>>> 'attrs', and (c) has spare time? It's not an easy trifecta but we can<br>
>>> hope!<br>
>>><br>
>>> ChrisA<br>
>>> ______________________________<wbr>_________________<br>
>>> Python-ideas mailing list<br>
>>> <a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
>>> <a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
>>> Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Python-ideas mailing list<br>
>> <a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
>> <a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
>> Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Python-ideas mailing list<br>
> <a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
> Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div class="m_-6140861472898586307gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</span></div>
<br>______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Stefane Fermigier - <a href="http://fermigier.com/" target="_blank">http://fermigier.com/</a> - <a href="http://twitter.com/sfermigier" target="_blank">http://twitter.com/sfermigier</a> - <a href="http://linkedin.com/in/sfermigier" target="_blank">http://linkedin.com/in/sfermigier</a><br>Founder & CEO, Abilian - Enterprise Social Software - <a href="http://www.abilian.com/" target="_blank">http://www.abilian.com/</a><br>Chairman, Free&OSS Group / Systematic Cluster - <a href="http://www.gt-logiciel-libre.org/" target="_blank">http://www.gt-logiciel-libre.org/</a><br>Co-Chairman, National Council for Free & Open Source Software (CNLL) - <a href="http://cnll.fr/" target="_blank">http://cnll.fr/</a><div>Founder & Organiser, PyData Paris - <a href="http://pydata.fr/" target="_blank">http://pydata.fr/</a><br></div><div>---</div><div><div>“You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.” <span style="font-size:12.8px">— R. Buckminster Fuller</span></div></div><div><br><br></div></div></div></div></div></div></div></div>
</div>