negative numbers are not equal...
fredrik at pythonware.com
Fri Aug 15 19:58:51 CEST 2008
> 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