Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85468

Re: TypeError: list indices must be integers, not tuple

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.099
X-Spam-Evidence '*H*': 0.80; '*S*': 0.00; 'subject:not': 0.03; 'ah,': 0.16; 'downside': 0.16; 'fluent': 0.16; 'nominate': 0.16; 'tuple': 0.16; 'typo': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'subject:list': 0.30; 'run': 0.32; 'comment': 0.34; "i'd": 0.34; 'anywhere': 0.35; 'false': 0.36; 'doing': 0.36; "didn't": 0.36; 'being': 0.38; 'sometimes': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'course.': 0.60; 'dave': 0.60; 'took': 0.61; "you're": 0.61; 'show': 0.63; 'charset:windows-1252': 0.65; 'received:74.208': 0.68; 'said:': 0.68; '2015': 0.84; 'angel': 0.91
Date Tue, 10 Feb 2015 15:38:02 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: TypeError: list indices must be integers, not tuple
References <dcae1673-8fe1-4734-90ce-682b8d4e6063@googlegroups.com> <CAM8kh5sJ4Hiu08pn5xcLP1SQm2rpy+dvtUZWU9LGaYQfh4RdFQ@mail.gmail.com> <mbcqe1$7ik$1@ger.gmane.org> <54DA1573.1030804@davea.name> <CAPTjJmrvdUwGycjwF0ZQGtE04Vsk2pF81xHqJhTDy9VGcqiFHw@mail.gmail.com> <54DA28FF.5010001@davea.name> <CAPTjJmrrNRb7H9bhPTNi0dHAA+U=Zm9+NT9+aSG4Akvk05Yzwg@mail.gmail.com>
In-Reply-To <CAPTjJmrrNRb7H9bhPTNi0dHAA+U=Zm9+NT9+aSG4Akvk05Yzwg@mail.gmail.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:xUw7VxMVJ1Jg8e2RnSSp50tSoYAkROD4IQbfUhdxH/e F98/YV47MHzQIO9y/BY92eQ9t66U1uYRmWhb0V7SIeYDN/yBfv iIxZk8SExuxeRY9dDDTMQS5ji9YaBPG8XDuHJFW3Kzb6jCmFTO HwcDnv4qqzv/Ck3RICXLQTMH7VglzCxkpkMSz+bgx/T/fNwKD6 q7tpJq+TkJVOwKWiYyVd5T+cu+k29znFmCx8u5DC6S7/7zgADM PwvY1MBWhZm5InKPuZvY/MMYutCQmG7VqAyyVLewrtzNs6ra4N /zvfMC+qKT+LfrYc39LDAF+pPKK4WPq3jvAPqZQC9EnWADtH7S Z205+2vOCQVyds/dGmK8=
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18622.1423600695.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1423600696 news.xs4all.nl 2873 [2001:888:2000:d::a6]:47464
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85468

Show key headers only | View raw


On 02/10/2015 01:48 PM, Chris Angelico wrote:
> On Wed, Feb 11, 2015 at 2:51 AM, Dave Angel <davea@davea.name> wrote:
>> You're right of course. I didn't notice the meaning of one-tuple; I took
>> Mark's comment as if he had said:
>>
>> If you can show me a <rubout><rubout> one tuple anywhere ...
>
> Ah, yeah. I see the ambiguity. This is the downside of being so fluent
> in Typo - sometimes you run into false cognates :)
>
> ChrisA
>

If somebody were still doing py-quote-of-the-week, I'd nominate that 
sentence:

This is the downside of being so fluent
in Typo - sometimes you run into false cognates :)

-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

TypeError: list indices must be integers, not tuple james8booker@hotmail.com - 2015-02-09 15:52 -0800
  Re: TypeError: list indices must be integers, not tuple Ethan Furman <ethan@stoneleaf.us> - 2015-02-09 16:02 -0800
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-09 22:05 -0500
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-09 23:48 -0500
  Re: TypeError: list indices must be integers, not tuple Terry Reedy <tjreedy@udel.edu> - 2015-02-10 00:57 -0500
  Re: TypeError: list indices must be integers, not tuple Ryan Stuart <ryan.stuart.85@gmail.com> - 2015-02-10 00:05 +0000
  Re: TypeError: list indices must be integers, not tuple Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-10 11:35 +0000
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 09:28 -0500
  Re: TypeError: list indices must be integers, not tuple Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-10 14:32 +0000
  Re: TypeError: list indices must be integers, not tuple Chris Angelico <rosuav@gmail.com> - 2015-02-11 01:33 +1100
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 10:51 -0500
  Re: TypeError: list indices must be integers, not tuple Chris Angelico <rosuav@gmail.com> - 2015-02-11 05:48 +1100
  Re: TypeError: list indices must be integers, not tuple Dave Angel <davea@davea.name> - 2015-02-10 15:38 -0500

csiph-web