<div dir="ltr">No, I don't think it belongs in the style guide. It is not about code formatting or naming, it is about data structure design and API design.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Thu, Apr 17, 2014 at 12:49 PM, Leandro Pereira de Lima e Silva <span dir="ltr"><<a href="mailto:leandropls@cpti.cetuc.puc-rio.br" target="_blank">leandropls@cpti.cetuc.puc-rio.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir="ltr">This looks like an issue to be addressed at PEP-8 since it looks like a styling issue.</p>
<p dir="ltr">I haven't seen any other recommendations there on how to use a certain data structure, though.</p>
<p dir="ltr">Cheers, Leandro</p>
<div class="gmail_quote">Em 17/04/2014 16:24, "Guido van Rossum" <<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>> escreveu:<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">It's definitely something that should be put in some documentation, probably at the point when people have learned enough to be designing their own programs where this issue comes up -- before they're wizards but well after they have learned the semantic differences between lists and tuples.<br>




</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 11:49 AM, Brett Cannon <span dir="ltr"><<a href="mailto:bcannon@gmail.com" target="_blank">bcannon@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><div><br><br><div>On Thu Apr 17 2014 at 2:43:35 PM, Leandro Pereira de Lima e Silva <<a href="mailto:leandropls@cpti.cetuc.puc-rio.br" target="_blank">leandropls@cpti.cetuc.puc-rio.br</a>> wrote:</div>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello there!<div><br></div><div>I've stumbled upon this discussion on python-dev about what the choice between using a list or a tuple is all about in 2003:</div><div style="font-family:arial,sans-serif;font-size:13px">







1. <a href="https://mail.python.org/pipermail/python-dev/2003-March/033962.html" target="_blank">https://mail.python.org/pipermail/python-dev/2003-March/033962.html</a></div><div style="font-family:arial,sans-serif;font-size:13px">







2. <a href="https://mail.python.org/pipermail/python-dev/2003-March/034029.html" target="_blank">https://mail.python.org/pipermail/python-dev/2003-March/034029.html</a></div><div><br></div><div>There's a vague comment about it on python documentation but afaik there the discussion hasn't made into any PEPs. Is there an understanding about it?</div>





</div></blockquote><div><br></div></div></div><div>Think of tuples like a struct in C, lists like an array. That's just out of Guido's head so I don't think we have ever bothered to write it down somewhere as an important distinction of the initial design that should be emphasized. </div>





<br>_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" target="_blank">https://mail.python.org/mailman/options/python-dev/guido%40python.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)
</div>
</blockquote></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)
</div>