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


Groups > comp.lang.python > #5017 > unrolled thread

Re: Inconsistency with split() - Script, OS, or Package Problem?

Started byEthan Furman <ethan@stoneleaf.us>
First post2011-05-09 13:04 -0700
Last post2011-05-09 13:04 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Inconsistency with split() - Script, OS, or Package Problem? Ethan Furman <ethan@stoneleaf.us> - 2011-05-09 13:04 -0700

#5017 — Re: Inconsistency with split() - Script, OS, or Package Problem?

FromEthan Furman <ethan@stoneleaf.us>
Date2011-05-09 13:04 -0700
SubjectRe: Inconsistency with split() - Script, OS, or Package Problem?
Message-ID<mailman.1349.1304970753.9059.python-list@python.org>
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~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web