Re: KeyWeight and KeyBag

2010-01-21 Thread David Brunton
Thanks, Darren - It doesn't make a lot of sense to me, either. Maybe how I should have asked: "Why does FatRat evaluate to False when negative if it is a value of a KeyWeight?" Does that make more sense? Quite possibly I'm just reading S32/Containers wrongly. -db. On Jan 21, 2010 4:04 PM, "Da

Re: KeyWeight and KeyBag

2010-01-21 Thread Darren Duncan
David Brunton wrote: I notice that C returns False and deletes the key for a key whose value goes to zero or less than zero, issuing a warning in the latter case. Is it the case that C always evaluates to False in Boolean context when negative? Please restate your question. I don't think it m

KeyWeight and KeyBag

2010-01-20 Thread David Brunton
I notice that C returns False and deletes the key for a key whose value goes to zero or less than zero, issuing a warning in the latter case. Is it the case that C always evaluates to False in Boolean context when negative?