[pypy-commit] pypy py3k-fix-strategies: utilize decodekey_str
pjenvey
noreply at buildbot.pypy.org
Fri Apr 25 23:17:43 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k-fix-strategies
Changeset: r70982:c9d410e044b3
Date: 2014-04-25 13:04 -0700
http://bitbucket.org/pypy/pypy/changeset/c9d410e044b3/
Log: utilize decodekey_str
diff --git a/pypy/objspace/std/kwargsdict.py b/pypy/objspace/std/kwargsdict.py
--- a/pypy/objspace/std/kwargsdict.py
+++ b/pypy/objspace/std/kwargsdict.py
@@ -151,7 +151,7 @@
storage = strategy.get_empty_storage()
d_new = strategy.unerase(storage)
for i in range(len(keys)):
- d_new[keys[i].decode('utf-8')] = values_w[i]
+ d_new[self.decodekey_str(keys[i])] = values_w[i]
w_dict.strategy = strategy
w_dict.dstorage = storage
More information about the pypy-commit
mailing list