[pypy-commit] pypy py3k: use identifier_w also here

antocuni noreply at buildbot.pypy.org
Fri Aug 31 10:23:15 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r57047:c97894e67515
Date: 2012-08-31 10:21 +0200
http://bitbucket.org/pypy/pypy/changeset/c97894e67515/

Log:	use identifier_w also here

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -951,7 +951,7 @@
                     break
                 w_value = self.popvalue()
                 w_key = self.popvalue()
-                key = self.space.unicode_w(w_key)
+                key = self.space.identifier_w(w_key)
                 keywords[n_keywords] = key
                 keywords_w[n_keywords] = w_value
         else:


More information about the pypy-commit mailing list