[Python-Dev] vox populii illiterati (original) (raw)
Samuele Pedroni pedronis@bluewin.ch
Sun, 9 Feb 2003 17:54:24 +0100
- Previous message: [Python-Dev] vox populii illiterati
- Next message: [Python-Dev] vox populii illiterati
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Neal Norwitz" <neal@metaslash.com>
One thing to note, many people are saying you can currently do:
cond and truevalue or falsevalue However, many have gotten it wrong, either by reversing the true/false value or by using something in the truevalue which may be false (sometimes even constants). pychecker tries to find this condition (when truevalue is a false constant), but it does a poor job of determining the idiom IIRC.
that's why the real one (if any) should be spelled
cond and! true_val or! false_val
<.5 wink>.
Sorry I couldn't resist.
- Previous message: [Python-Dev] vox populii illiterati
- Next message: [Python-Dev] vox populii illiterati
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]