[Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]

Guido van Rossum guido at python.org
Thu Apr 7 22:13:29 EDT 2016


You know full well that none of the things you brought up are up for discussion.

Honestly I don't care any more and I am going to mute this thread and
any others in the same vein.

On Thu, Apr 7, 2016 at 6:56 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> In the recent thread about changing the meaning of __invert__ on bools I was
> accused of an attempted hijack.
>
> Can anybody please enlighten me as to what, exactly, I did wrong?
>
> Original post follows:
>
>> I think the str() of a value, while possibly being the most
>> interesting piece of information (IntEnum, anyone?), is hardly the
>> most intrinsic.
>>
>> If we do make this change, besides needing a couple major versions to
>> make it happen, will anything else be different?
>>
>> - no longer subclass int?
>> - add an "unknown" value?
>>    - how will indexing work?
>>    - or any of the other operations?
>> - don't bother with any of the other mathematical operations?
>>    - counting True's is not the same as adding True's
>>
>> I'm not firmly opposed, I just don't see a major issue here -- I've
>> needed an Unknown value for more often that I've needed ~True to be
>> False.
>
> --
> ~Ethan~
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-ideas mailing list