[pypy-commit] pypy numpy-dtype-refactor: translation fix

alex_gaynor noreply at buildbot.pypy.org
Wed Nov 16 20:42:35 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: numpy-dtype-refactor
Changeset: r49480:d30c5c155528
Date: 2011-11-16 14:42 -0500
http://bitbucket.org/pypy/pypy/changeset/d30c5c155528/

Log:	translation fix

diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -176,7 +176,7 @@
 
     def str_format(self, box):
         value = self.unbox(box)
-        return str(value)
+        return str(self.for_computation(value))
 
     def for_computation(self, v):
         return widen(v)


More information about the pypy-commit mailing list