At one point it was still used like that but it was a bit of a mess So we've killed its usage so everything works sanely around W_LongObject, then we'll need to introduce either it back without the accompanying mess, or more likely introduce a W_LongObject variant as a replacement. We already have a 'SmallLong' variant but it's a larger longlong, (SmallerLong?).
-- Philip Jenvey On Apr 5, 2013, at 2:08 AM, Maciej Fijalkowski wrote: > why is W_IntObject not used in py3k? it should just have a different typedef > > On Fri, Apr 5, 2013 at 3:10 AM, pjenvey <[email protected]> wrote: >> Author: Philip Jenvey <[email protected]> >> Branch: py3k >> Changeset: r63038:b0b275ecce2a >> Date: 2013-04-04 18:08 -0700 >> http://bitbucket.org/pypy/pypy/changeset/b0b275ecce2a/ >> >> Log: disable interp level W_IntObject tests >> >> diff --git a/pypy/objspace/std/test/test_intobject.py >> b/pypy/objspace/std/test/test_intobject.py >> --- a/pypy/objspace/std/test/test_intobject.py >> +++ b/pypy/objspace/std/test/test_intobject.py >> @@ -5,8 +5,10 @@ >> from rpython.rlib.rarithmetic import r_uint, is_valid_int >> from rpython.rlib.rbigint import rbigint >> >> +class TestW_IntObject: >> >> -class TestW_IntObject: >> + def setup_class(cls): >> + py.test.skip("W_IntObject was replaced w/ W_LongObject in py3k") >> >> def _longshiftresult(self, x): >> """ calculate an overflowing shift """ >> _______________________________________________ >> pypy-commit mailing list >> [email protected] >> http://mail.python.org/mailman/listinfo/pypy-commit > _______________________________________________ > pypy-dev mailing list > [email protected] > http://mail.python.org/mailman/listinfo/pypy-dev _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
