Author: Stephan <step...@stzal.com> Branch: Changeset: r287:c777cf5b9f0f Date: 2012-08-25 20:18 +0200 http://bitbucket.org/pypy/lang-js/changeset/c777cf5b9f0f/
Log: use int for Array.reverse middle diff --git a/js/builtins_array.py b/js/builtins_array.py --- a/js/builtins_array.py +++ b/js/builtins_array.py @@ -128,7 +128,7 @@ length = o.get(u'length').ToUInt32() import math - middle = math.floor(length/2) + middle = int(math.floor(length / 2)) lower = 0 while lower != middle: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit