Author: Carl Friedrich Bolz <[email protected]>
Branch: value-profiling
Changeset: r78900:3b5a634dfc67
Date: 2015-08-11 16:40 +0200
http://bitbucket.org/pypy/pypy/changeset/3b5a634dfc67/
Log: (cfbolz, arigo): grumble grumble
diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -297,7 +297,7 @@
self.back = back
self._size_estimate = self.length() * NUM_DIGITS_POW2
self.ever_mutated = False
- self.init_valueprof('%s.%s' % (back.terminator.w_cls.name,
selector[0]))
+ self.init_valueprof('%s.%s' % (back.terminator.w_cls.name if
back.terminator.w_cls else '???', selector[0]))
# ____________________________________________________________
# methods for ValueProf mixin
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit