In message <7e7a386f-d336-4186-822d- c6af0a581...@e38g2000vbe.googlegroups.com>, John Machin wrote:
> On Apr 9, 4:53 pm, Lawrence D'Oliveiro <l...@geek- > central.gen.new_zealand> wrote: > >> This is why conditional constructs should not accept any values other >> than True and False. > > An alternative viewpoint: This is what happens when one user doesn't > understand a long-standing idiom and/or doesn't read the manual. > That's all. It doesn't constitute evidence that such a restriction > would be generally beneficial. Fine if it only happened once. But it's a commonly-made mistake. At some point you have to conclude that not all those people are stupid, there really is something wrong with the design. -- http://mail.python.org/mailman/listinfo/python-list