Neal> Except, all the numeric types do, including int, float, and
    Neal> complex.  But not bool.  

The fact that bool is a subclass of int is more historic than necessary.  If
not for Python's long usage of 0 and 1 to be the canonical False and True, I
suspect that bool might have been implemented as a new standalone type.

Skip
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to