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


Groups > comp.lang.python > #40711

Re: Unhelpful traceback

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'argument': 0.04; 'cpython': 0.05; 'csv': 0.16; 'iterates': 0.16; 'iteration.': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'module': 0.19; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'object,': 0.27; 'file': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'doing': 0.35; 'received:192.168.0': 0.35; 'message- id:@gmail.com': 0.36; "didn't": 0.36; 'subject:: ': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'think': 0.40; 'john': 0.60; 'further': 0.61; '9.1': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=0zSZUW/G+YJkXYgey5QaonZ8CtGm/J9sd+KCgAEzKYE=; b=Ez0DUciPq2NV6liI4iKCqO5ETChGQT0BTQ9Hv87/88UCioz8gWhGUCGputc5DO6Wvk veJZzglbx95ZEPeN8HxtMLsqKiNmAgYESBJLRkZlnQmNc3QTdzrxInW3rLctLS5be4n4 PaQ+k7uJ91eoAM46jy7eU0KrK1771nDWMhznlGEkfPyULkTWf6aKguyBNfw+IUXEmHe6 eg0x4cG+4vEZZUawVOSxuwBFeuyVe7DuZg9LWNWV8g+47faKc7J7a3gfe4ZXR7LRhUul rbfpSKWlqUkk0i3FHxIHmZjUc1R2iGGRjNx98DevBi9ZT+sQjLW73Qv13Bka9hF5gDw+ beHw==
X-Received by 10.50.213.41 with SMTP id np9mr13469841igc.79.1362639465202; Wed, 06 Mar 2013 22:57:45 -0800 (PST)
Date Thu, 07 Mar 2013 00:57:42 -0600
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Unhelpful traceback
References <kh9c95$t68$1@dont-email.me>
In-Reply-To <kh9c95$t68$1@dont-email.me>
X-Enigmail-Version 1.5.1
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2981.1362639469.2939.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362639469 news.xs4all.nl 6898 [2001:888:2000:d::a6]:54321
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40711

Show key headers only | View raw


On 2013.03.07 00:33, John Nagle wrote:
> This is wierd, becuase "for fields in reader" isn't directly
> doing a decode. That's further down somewhere, and the backtrace
> didn't tell me where.
Looking at the csv module docs,the reader object iterates over the
csvfile argument (which can be any iterator). I think that, in the case
of a file object, it's not decoded until iteration.
I've never used the csv module before though, so I could be wrong.

-- 
CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1

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


Thread

Unhelpful traceback John Nagle <nagle@animats.com> - 2013-03-06 22:33 -0800
  Re: Unhelpful traceback Andrew Berg <bahamutzero8825@gmail.com> - 2013-03-07 00:57 -0600
  Re: Unhelpful traceback Chris Rebert <clp2@rebertia.com> - 2013-03-06 23:04 -0800
  Re: Unhelpful traceback Dave Angel <davea@davea.name> - 2013-03-07 08:10 -0500
    Re: Unhelpful traceback John Nagle <nagle@animats.com> - 2013-03-07 10:42 -0800
      Re: Unhelpful traceback John Nagle <nagle@animats.com> - 2013-03-07 14:13 -0800
        Re: Unhelpful traceback Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-07 15:32 -0700
    Re: Unhelpful traceback John Nagle <nagle@animats.com> - 2013-03-07 13:23 -0800
      Re: Unhelpful traceback Dave Angel <davea@davea.name> - 2013-03-07 19:23 -0500

csiph-web