General question about Python design goals

Aahz aahz at pythoncraft.com
Mon Nov 28 00:01:49 EST 2005


In article <dmdsf0$eus$1 at online.de>,
Christoph Zwerschke  <cito at online.de> wrote:
>Aahz wrote:
>> Christoph deleted his own attribution:
>>>
>>>For instance, I just wanted to use the index() method on a tuple which 
>>>does not work. ...
>>
>> Because Guido believes that tuples should be primarily used as
>> lightweight replacements for C structs.  Therefore they have minimal
>> functionality.
>
>But the problem is that the tutorials and manuals give the impression 
>that the difference between lists and tuples is only mutablity versus 
>immutability. They don't talk about such considerations and honestly 
>speaking even now I know that it does seem more plausible for me.

Then feel free to submit patches for the docs.

PS: If you want further responses from me, please follow standard Usenet
quoting conventions (like those above).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair



More information about the Python-list mailing list