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

Steven D'Aprano steve at pearwood.info
Sat Apr 9 11:47:42 EDT 2016


On Fri, Apr 08, 2016 at 06:50:17PM -0400, Franklin? Lee wrote:

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

https://www.python.org/dev/peps/pep-0285/

and see my comments to Stephen Turnbull send a few minutes ago.



-- 
Steve


More information about the Python-ideas mailing list