Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5017
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ethan@stoneleaf.us> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; '%s"': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:gator410.hostgator.com': 0.09; 'subject:Problem': 0.09; '~ethan~': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'furman': 0.16; 'received:72.11': 0.16; 'received:72.11.125': 0.16; 'received:72.11.125.166': 0.16; 'received:gateway13.websitewelcome.com': 0.16; 'subject:split': 0.16; 'appear': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'mon,': 0.22; '(and': 0.22; 'string': 0.29; 'subject:?': 0.29; 'probably': 0.30; 'cc:addr:python.org': 0.31; 'key.': 0.31; 'does': 0.31; 'created': 0.33; 'change': 0.34; 'that,': 0.35; 'print': 0.35; 'header:User-Agent:1': 0.35; 'wright': 0.35; 'getting': 0.36; 'subject:with': 0.37; 'run': 0.37; 'where': 0.39; 'how': 0.39; 'empty': 0.40; "it's": 0.40; 'header:Received:5': 0.40; '2011': 0.62; 'received:hostgator.com': 0.64; 'show': 0.67; 'received:websitewelcome.com': 0.71; 'received:69.56': 0.77; 'subject:Package': 0.84; 'received:69.56.160': 0.91; 'from.': 0.93 |
| Date | Mon, 09 May 2011 13:04:07 -0700 |
| From | Ethan Furman <ethan@stoneleaf.us> |
| User-Agent | Thunderbird 1.5.0.10 (Windows/20070221) |
| MIME-Version | 1.0 |
| To | James Wright <jamfwright@gmail.com> |
| Subject | Re: Inconsistency with split() - Script, OS, or Package Problem? |
| References | <BANLkTi=g2h_BxZDdTdLqyB3nZCukD+Dupw@mail.gmail.com> <4DC838CD.7030404@stoneleaf.us> <BANLkTimuEQMsjyPyW2XUzpQeU8chNPeyGg@mail.gmail.com> <4DC84223.3000502@stoneleaf.us> <BANLkTinCBHbQoJ89OGawt9r02VQvCTeSqw@mail.gmail.com> |
| In-Reply-To | <BANLkTinCBHbQoJ89OGawt9r02VQvCTeSqw@mail.gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - gator410.hostgator.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - stoneleaf.us |
| X-Source | |
| X-Source-Args | |
| X-Source-Dir | |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.1349.1304970753.9059.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1304970754 news.xs4all.nl 81475 [::ffff:82.94.164.166]:34024 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:5017 |
Show key headers only | View raw
James Wright wrote:
> On Mon, May 9, 2011 at 3:36 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
>> Change your print line to:
>>
>> print("D4[%s] = %s" % (report, each_value))
>>
>> After that, you'll have to track down how D4 is being created to see where
>> 'vsr' is coming from.
>
> It does not appear to show a key:
>
> D4[] = vsr
Huh -- probably the empty string ('') -- to verify that (and know for
sure -- always good when debugging! ;) change the both %s to %r and run
again; then you'll have to track down where D4 is being created to see
why it's getting that weird key.
~Ethan~
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Inconsistency with split() - Script, OS, or Package Problem? Ethan Furman <ethan@stoneleaf.us> - 2011-05-09 13:04 -0700
csiph-web