[Python-Dev] bool does not want to be subclassed?

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Feb 16 19:20:49 EST 2004


François Pinard:

> tuples are hashable, lists are not;

Actually that would be "tuples are hashable if all their
elements are hashable".

It's still very clear, though! I like this idea.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Python-Dev mailing list