On Feb 6, 2008 5:21 PM, Aahz <[EMAIL PROTECTED]> wrote: > On Wed, Feb 06, 2008, Guido van Rossum wrote: > > On Feb 6, 2008 2:58 PM, Fred Drake <[EMAIL PROTECTED]> wrote: > >> > >> I'd be happy seeing these methods added to tuple; there's no reason > >> that they would only be useful on mutable sequences. > > > > Sounds like this is the consensus. Go for it, Raymond! > > Far be it from me to act the grinch (and I honestly don't care), but I'm > curious what caused you to change your mind at this point. You have > argued against this for years: > > http://www.python.org/search/hypermail/python-1992/0285.html > > More recently, your argument has revolved around the fact that you don't > want tuples used as a "poor man's list" -- they are intended to be used > for heterogeneous data. (Assuming I'm rephrasing you correctly.) > > (My purpose in poking you is to get better at channeling you rather than > because this particular decision has much significance.)
Well, I guess I changed my mind when I made tuple a virtual subclass of Sequence. That meant basically accepting it is *also* usable as an immutable sequence. It is accepting what everybody has been saying for a long time. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com