[Python-ideas] Enums
Sven Marnach
sven at marnach.net
Thu Jul 28 22:28:38 CEST 2011
Barry Warsaw schrieb am Do, 28. Jul 2011, um 13:27:47 -0400:
> Except possibly for ancient modules, does anybody still actually use the
> int-iness of bools explicitly?
There definitely are applications of using bools as ints. Alex
Martelli strongly supports this point of view in this post:
http://stackoverflow.com/questions/3174392/is-it-pythonic-to-use-bools-as-ints/3175293#3175293
-- Sven
More information about the Python-ideas
mailing list