[pypy-commit] pypy dynamic-specialized-tuple: fix?

alex_gaynor noreply at buildbot.pypy.org
Tue Mar 13 19:50:40 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r53462:8c16809e939f
Date: 2012-03-13 11:50 -0700
http://bitbucket.org/pypy/pypy/changeset/8c16809e939f/

Log:	fix?

diff --git a/pypy/rlib/rerased_raw.py b/pypy/rlib/rerased_raw.py
--- a/pypy/rlib/rerased_raw.py
+++ b/pypy/rlib/rerased_raw.py
@@ -87,7 +87,7 @@
         return UntypedStorageRepr(rtyper)
 
     def method_getlength(self):
-        return annmodel.SomeInteger()
+        return annmodel.SomeInteger(nonneg=True)
 
     def method_getshape(self):
         return annmodel.SomeString(can_be_None=False)


More information about the pypy-commit mailing list