[pypy-commit] pypy default: signatures: better check on return types (but still incomplete)

2012-12-18 Thread Greg Price
Author: Greg Price Branch: Changeset: r59503:8b134bcb2276 Date: 2012-12-18 23:36 -0800 http://bitbucket.org/pypy/pypy/changeset/8b134bcb2276/ Log:signatures: better check on return types (but still incomplete) The xfail test demonstrates a known limitation of this error check. diff

[pypy-commit] pypy default: signatures: basestring type

2012-12-18 Thread Greg Price
Author: Greg Price Branch: Changeset: r59500:40580ceecbc9 Date: 2012-12-12 21:19 -0500 http://bitbucket.org/pypy/pypy/changeset/40580ceecbc9/ Log:signatures: basestring type diff --git a/pypy/rlib/test/test_signature.py b/pypy/rlib/test/test_signature.py --- a/pypy/rlib/test/test_signature.

[pypy-commit] pypy default: malloc: small cleanups

2012-12-18 Thread Greg Price
Author: Greg Price Branch: Changeset: r59499:dc8ddeca10f7 Date: 2012-12-12 21:18 -0500 http://bitbucket.org/pypy/pypy/changeset/dc8ddeca10f7/ Log:malloc: small cleanups Some logic and an error message hadn't kept up with changes over the years. diff --git a/pypy/rpython/llt

[pypy-commit] pypy default: signature: support pointer types

2012-12-18 Thread Greg Price
Author: Greg Price Branch: Changeset: r59502:f53b6d32b69b Date: 2012-12-12 22:32 -0800 http://bitbucket.org/pypy/pypy/changeset/f53b6d32b69b/ Log:signature: support pointer types diff --git a/pypy/rlib/test/test_signature.py b/pypy/rlib/test/test_signature.py --- a/pypy/rlib/test/test_signa

[pypy-commit] pypy default: cut dependency annotation.model -> unaryop, binaryop

2012-12-18 Thread Greg Price
Author: Greg Price Branch: Changeset: r59501:4134223a7aa3 Date: 2012-12-12 21:33 -0800 http://bitbucket.org/pypy/pypy/changeset/4134223a7aa3/ Log:cut dependency annotation.model -> unaryop, binaryop This makes annotation.model very lean on dependencies, which keeps rlib.type

[pypy-commit] pypy default: redundant

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r59498:b03871503962 Date: 2012-12-18 21:46 -0800 http://bitbucket.org/pypy/pypy/changeset/b03871503962/ Log:redundant diff --git a/pypy/rlib/test/test_signature.py b/pypy/rlib/test/test_signature.py --- a/pypy/rlib/test/test_signature.py +++ b/pypy/r

[pypy-commit] pypy py3k: minor cleanup

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59497:2a9a87c621be Date: 2012-12-18 15:44 -0800 http://bitbucket.org/pypy/pypy/changeset/2a9a87c621be/ Log:minor cleanup diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++ b/pypy/inter

[pypy-commit] pypy py3k: use fixedview here

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59496:1f72131c8e9a Date: 2012-12-18 15:38 -0800 http://bitbucket.org/pypy/pypy/changeset/1f72131c8e9a/ Log:use fixedview here diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py --- a/pypy/objspace/std/longtype.py +++ b/py

[pypy-commit] pypy py3k: skip frozen module/imp.init_builtin/objspace.lonepycfiles=False tests

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59495:8a8a1251d15d Date: 2012-12-18 15:36 -0800 http://bitbucket.org/pypy/pypy/changeset/8a8a1251d15d/ Log:skip frozen module/imp.init_builtin/objspace.lonepycfiles=False tests diff --git a/lib-python/3.2/importlib/test/builtin/test_load

[pypy-commit] pypy default: invoke java in headless mode so it's less annoying on osx

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r59493:65e4bc530dff Date: 2012-12-18 12:20 -0800 http://bitbucket.org/pypy/pypy/changeset/65e4bc530dff/ Log:invoke java in headless mode so it's less annoying on osx diff --git a/pypy/translator/jvm/genjvm.py b/pypy/translator/jvm/genjvm.py --- a/pyp

[pypy-commit] pypy default: apply the TestOOtype skips to jvm/cli explicitly

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r59491:0ec73a18d8cc Date: 2012-12-18 12:20 -0800 http://bitbucket.org/pypy/pypy/changeset/0ec73a18d8cc/ Log:apply the TestOOtype skips to jvm/cli explicitly string_to_float seems to work whereas parts_to_float doesn't diff --git a/pypy/rpytho

[pypy-commit] pypy default: whitespace, arrange imports

2012-12-18 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r59492:bf51177968a3 Date: 2012-12-18 12:20 -0800 http://bitbucket.org/pypy/pypy/changeset/bf51177968a3/ Log:whitespace, arrange imports diff --git a/pypy/translator/jvm/genjvm.py b/pypy/translator/jvm/genjvm.py --- a/pypy/translator/jvm/genjvm.py +++

[pypy-commit] pypy virtual-raw-mallocs: force the raw buffer if we detect an invalid write

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59489:27446ea92191 Date: 2012-12-18 18:21 +0100 http://bitbucket.org/pypy/pypy/changeset/27446ea92191/ Log:force the raw buffer if we detect an invalid write diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgra

[pypy-commit] pypy virtual-raw-mallocs: one more overlapping case to detect

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59488:da06934804f0 Date: 2012-12-18 18:01 +0100 http://bitbucket.org/pypy/pypy/changeset/da06934804f0/ Log:one more overlapping case to detect diff --git a/pypy/jit/metainterp/optimizeopt/rawbuffer.py b/pypy/jit/metainterp/optimiz

[pypy-commit] pypy virtual-raw-mallocs: force the raw buffer if we detect an invalid read

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59490:ada61857757d Date: 2012-12-18 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/ada61857757d/ Log:force the raw buffer if we detect an invalid read diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/p

[pypy-commit] pypy virtual-raw-mallocs: improve the test

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59487:3bae30bc4313 Date: 2012-12-18 17:45 +0100 http://bitbucket.org/pypy/pypy/changeset/3bae30bc4313/ Log:improve the test diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/pypy/jit/metainterp/optimizeopt/te

[pypy-commit] pypy virtual-raw-mallocs: implement forcing of the virtual raw memory

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59486:e41f06344f19 Date: 2012-12-18 17:05 +0100 http://bitbucket.org/pypy/pypy/changeset/e41f06344f19/ Log:implement forcing of the virtual raw memory diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/pypy/ji

[pypy-commit] pypy virtual-raw-mallocs: keeping track of the lengths of writes is not enough: we want to make sure

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59484:db54acd6790e Date: 2012-12-18 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/db54acd6790e/ Log:keeping track of the lengths of writes is not enough: we want to make sure that also the descrs are the same, in case

[pypy-commit] pypy virtual-raw-mallocs: use the new RawBuffer to implement the virtual raw memory

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59485:b0cb6a45a10a Date: 2012-12-18 16:11 +0100 http://bitbucket.org/pypy/pypy/changeset/b0cb6a45a10a/ Log:use the new RawBuffer to implement the virtual raw memory diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backen

[pypy-commit] pypy virtual-raw-mallocs: implement a "raw virtual buffer": the idea is that we can write values to the

2012-12-18 Thread antocuni
Author: Antonio Cuni Branch: virtual-raw-mallocs Changeset: r59483:ef4527d0eb9f Date: 2012-12-18 13:35 +0100 http://bitbucket.org/pypy/pypy/changeset/ef4527d0eb9f/ Log:implement a "raw virtual buffer": the idea is that we can write values to the buffer at arbitrary positions in the bu