Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: 
Changeset: r96025:37a9de9e88b0
Date: 2019-02-16 14:52 +0100
http://bitbucket.org/pypy/pypy/changeset/37a9de9e88b0/

Log:    this should make unicode_eq actually use a direct_call!

diff --git a/pypy/objspace/std/dictmultiobject.py 
b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -1219,6 +1219,7 @@
         return unwrapped
 
     def unwrap(self, wrapped):
+        assert type(wrapped) is self.space.UnicodeObjectCls
         return wrapped
 
     def is_correct_type(self, w_obj):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to