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/2002-January/019666.html below:

[Python-Dev] Tuples vs. lists

[Python-Dev] Tuples vs. lists [Python-Dev] Tuples vs. listsGuido van Rossum guido@python.org
Thu, 24 Jan 2002 12:01:51 -0500
> Hrm.  Even when it's something that's supposed to be immutable?  I'm
> asking because I'm currently using a tuple for the digit list in my BCD
> module, and I'd like a clearer explanation of why you think that it
> should be a list (assuming you do).
> 
> From my viewpoint, the BCD digit string should be handled like a string;
> I'm only using a tuple for efficiency of storing numbers instead of
> characters.

Can't you trust your users not to change it?

--Guido van Rossum (home page: http://www.python.org/~guido/)



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