True == 1 weirdness

Emile van Sebille emile at
Wed Sep 16 20:46:45 CEST 2015

On 9/16/2015 10:42 AM, Marko Rauhamaa wrote:
> 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.

dunder methods are there for consenting adults -- I don't consider it a 


More information about the Python-list mailing list