negative numbers are not equal...

Fredrik Lundh fredrik at
Fri Aug 15 19:58:51 CEST 2008

castironpi wrote:

> This case actually misses handleC().  The solution is that the
> function that is returning '-10' cannot return -10, it has to return
> flagC.  This can cause difficulties in cases when you're doing
> operations on flags.  Worse, if flagC is nested somewhere, say
> moduleA.classB.flagC, you still have to work with that, not its value.

do you *ever* make any sense at all?


More information about the Python-list mailing list