True == 1 weirdness

Marko Rauhamaa marko at
Wed Sep 16 19:42:05 CEST 2015

Steven D'Aprano <steve at>:

> The main reason for supporting arbitrary chained operators is that
> they could be overloaded and have some meaning that makes sense:

Operator overloading is yet another unfortunate language feature.


More information about the Python-list mailing list