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

Franklin? Lee leewangzhong+python at gmail.com
Fri Apr 8 18:50:17 EDT 2016


On Apr 8, 2016 3:09 AM, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:
>
> Ethan Furman wrote:
>>
>> Can anybody please enlighten me as to what, exactly, I did wrong?
>
>
> I think Guido was objecting to talk about things such as
> making bool no longer subclass int, which is not only
> going a long way beyond the original proposal, but is
> almost certainly never going to happen, so any discussion
> of it could be seen as wasting people's time.

While reading the thread, I was honestly wondering about whether it was
Pythonic to have bool be a subclass of int. (It's definitely convenient.)
So that, at least, might be a justified "Should we also...".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160408/dc3ca649/attachment.html>


More information about the Python-ideas mailing list