True == 1 weirdness

Marko Rauhamaa marko at pacujo.net
Wed Sep 16 13:42:05 EDT 2015


Steven D'Aprano <steve at pearwood.info>:

> 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.


Marko



More information about the Python-list mailing list