Author: Christian Tismer <tis...@stackless.com> Branch: win64-stage1 Changeset: r49844:13f1403a97a5 Date: 2011-11-27 00:14 +0100 http://bitbucket.org/pypy/pypy/changeset/13f1403a97a5/
Log: fix arg to is_valid_int in fakearenaaddress.__add__ diff --git a/pypy/rpython/lltypesystem/llarena.py b/pypy/rpython/lltypesystem/llarena.py --- a/pypy/rpython/lltypesystem/llarena.py +++ b/pypy/rpython/lltypesystem/llarena.py @@ -166,7 +166,7 @@ return '<arenaaddr %s + %d>' % (self.arena, self.offset) def __add__(self, other): - if is_valid_int(other): + if is_valid_int(other, force_type=False): position = self.offset + other elif isinstance(other, llmemory.AddressOffset): # this is really some Do What I Mean logic. There are two _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit