
22 Dec
2003
22 Dec
'03
2:10 p.m.
On Mon, 2003-12-22 at 16:04, Guido van Rossum wrote:
object.__hash__()
135328576
object.__hash__(42)
Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: expected 0 arguments, got 1
Would it be better if object.__hash__() raised a NotImplementedError?
-Barry