A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-April/134109.html below:

[Python-Dev] List vs Tuple / Homogeneous vs Heterogeneous

[Python-Dev] List vs Tuple / Homogeneous vs Heterogeneous / Mutable vs Immutable [Python-Dev] List vs Tuple / Homogeneous vs Heterogeneous / Mutable vs ImmutableBrett Cannon bcannon at gmail.com
Thu Apr 17 20:49:21 CEST 2014
On Thu Apr 17 2014 at 2:43:35 PM, Leandro Pereira de Lima e Silva <
leandropls at cpti.cetuc.puc-rio.br> wrote:

> Hello there!
>
> 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:
> 1. https://mail.python.org/pipermail/python-dev/2003-March/033962.html
> 2. https://mail.python.org/pipermail/python-dev/2003-March/034029.html
>
> 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?
>

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140417/c70d4a86/attachment.html>
More information about the Python-Dev mailing list

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