[pypy-svn] r77539 - pypy/branch/fast-forward/pypy/objspace
afa at codespeak.net
afa at codespeak.net
Fri Oct 1 18:38:41 CEST 2010
Author: afa
Date: Fri Oct 1 18:38:39 2010
New Revision: 77539
Modified:
pypy/branch/fast-forward/pypy/objspace/descroperation.py
Log:
Kill a XXX fixed by the last change
Modified: pypy/branch/fast-forward/pypy/objspace/descroperation.py
==============================================================================
--- pypy/branch/fast-forward/pypy/objspace/descroperation.py (original)
+++ pypy/branch/fast-forward/pypy/objspace/descroperation.py Fri Oct 1 18:38:39 2010
@@ -396,8 +396,6 @@
typename = space.type(w_obj).getname(space, '?')
raise operationerrfmt(space.w_TypeError,
"'%s' objects are unhashable", typename)
- # XXX CPython has a special case for types with "__hash__ = None"
- # to produce a nicer error message, namely "unhashable type: 'X'".
w_result = space.get_and_call_function(w_hash, w_obj)
w_resulttype = space.type(w_result)
if space.is_w(w_resulttype, space.w_int):
More information about the Pypy-commit
mailing list