Author: Armin Rigo <[email protected]>
Branch: rdict-experiments-3
Changeset: r67295:2d1aff779d33
Date: 2013-10-10 16:31 +0200
http://bitbucket.org/pypy/pypy/changeset/2d1aff779d33/

Log:    Fix

diff --git a/rpython/rtyper/lltypesystem/rdict.py 
b/rpython/rtyper/lltypesystem/rdict.py
--- a/rpython/rtyper/lltypesystem/rdict.py
+++ b/rpython/rtyper/lltypesystem/rdict.py
@@ -207,7 +207,9 @@
             assert not self.force_non_null # XXX kill the flag
             kwd = {}
             if self.custom_eq_hash:
-                kwd['get_custom_eq_hash'] = self.custom_eq_hash
+                self.r_rdict_eqfn, self.r_rdict_hashfn = (
+                    self._custom_eq_hash_repr())
+                kwd['get_custom_eq_hash'] = self._custom_eq_hash_repr
             else:
                 kwd['ll_hash_function'] = self.key_repr.get_ll_hash_function()
                 kwd['ll_eq_function'] = self.key_repr.get_ll_eq_function()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to