<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>~ Ian Lee<br></div></div>
<br><div class="gmail_quote">On Tue, Mar 17, 2015 at 8:42 PM, Alexander Walters <span dir="ltr"><<a href="mailto:tritium-list@sdamon.com" target="_blank">tritium-list@sdamon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
What coding style would be used for such a tool? PEP-8? What about
a tool for those of us who believe that PEP-8 got a few things
wrong?<br>
<br>
What about for the tribal knowledge that pythonistas develop over
time that are not part of the standard? Would such a tool include
this?<br></div></blockquote><div><br></div><div>And perhaps more to the point, should PEP-8 (and if so how), evolve over time to incorporate newer ideas that the community has now moved towards accepting as the "more Pythonic way to do things" now with the benefit of additional hindsight. I didn't want to derail this conversation, so I spun off a separate thread to discuss: <a href="https://mail.python.org/pipermail/python-ideas/2015-March/032557.html">https://mail.python.org/pipermail/python-ideas/2015-March/032557.html</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
And what of third party tools that do the same thing? I have no
evidence to support this, but I have the feeling that when the
standard library includes something in a new space, third party work
in that space slows (json and sqlite come to mind).<br>
<br>
Good coding style really should not be something we ship in the
library, it should be something we teach.<br>
<br>
2¢<div><div class="h5"><br>
<br>
On Tue, Mar 17, 2015 at 7:17 PM, Nicholas Chammas <span dir="ltr"><<a href="mailto:nicholas.chammas@gmail.com" target="_blank">nicholas.chammas@gmail.com</a>></span> wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">First class means it's like a
language feature. Actually, in my case I am
using "first-class" and "included with the
language" synonymously. Not sure if that's
appropriate terminology, but that's what I mean.<br>
<div><br>
</div>
<div>To explain by rough analogy, Twisted is to
asyncio what autopep8 would be to a
first-class auto-styler. (I say "rough"
because I understand that Twisted is not
supposed to be replaced entirely by asyncio,
but I hope my point is clear.)</div>
<div><br>
</div>
<div>Nick</div>
</div>
<br>
<div class="gmail_quote">
<div>
<div>On Tue, Mar 17, 2015 at 9:58 PM Ethan
Furman <<a href="mailto:ethan@stoneleaf.us" target="_blank">ethan@stoneleaf.us</a>>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div>On 03/17/2015 06:54 PM, Nicholas
Chammas wrote:<br>
<br>
> I am not proposing putting |autopep8|
in the standard library. I am proposing
that an auto-styler be included with<br>
> Python as a first-class utility. The
emphasis here is on /included/ and
/first-class/.<br>
<br>
Perhaps you could explain what you mean by
a /first-class/ utility?<br>
<br>
--<br>
~Ethan~<br>
<br>
</div>
</div>
<span>
_______________________________________________<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" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a></span></blockquote>
</div>
<br>
_______________________________________________<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" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Python-ideas mailing list
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a></pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<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" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a><br></blockquote></div><br></div></div>