[pypy-commit] pypy jitypes2: make sure that pointer types can be compared by identity

2011-06-01 Thread antocuni
Author: Antonio Cuni Branch: jitypes2 Changeset: r44616:3b67787ff314 Date: 2011-06-01 12:27 +0200 http://bitbucket.org/pypy/pypy/changeset/3b67787ff314/ Log:make sure that pointer types can be compared by identity diff --git a/pypy/module/_ffi/interp_ffi.py b/pypy/module/_ffi/interp_ffi.py -

[pypy-commit] pypy default: (gontran) Patch 734: bz2 seek rewinds unnecessarily.

2011-06-01 Thread Armin Rigo
Author: Armin Rigo Branch: Changeset: r44617:1dc4d44ed272 Date: 2011-06-01 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/1dc4d44ed272/ Log:(gontran) Patch 734: bz2 seek rewinds unnecessarily. Change to make sure that the variable 'read' in a long long. diff --git a/pypy/modu

[pypy-commit] pypy default: Translation fixes.

2011-06-01 Thread Armin Rigo
Author: Armin Rigo Branch: Changeset: r44618:52a2ea0c085c Date: 2011-06-01 11:08 + http://bitbucket.org/pypy/pypy/changeset/52a2ea0c085c/ Log:Translation fixes. diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/module/bz2/interp_bz2.py +++ b/pypy/modu

[pypy-commit] pypy default: merge heads

2011-06-01 Thread Armin Rigo
Author: Armin Rigo Branch: Changeset: r44619:2b5a9ceaa1b2 Date: 2011-06-01 11:08 + http://bitbucket.org/pypy/pypy/changeset/2b5a9ceaa1b2/ Log:merge heads diff --git a/pypy/annotation/model.py b/pypy/annotation/model.py --- a/pypy/annotation/model.py +++ b/pypy/annotation/model.py @@ -32

[pypy-commit] pypy jitypes2: fix the failing test, by checking that we can actually cast the pointer also for primitive types (and switch to the slow path in case we cannot)

2011-06-01 Thread antocuni
Author: Antonio Cuni Branch: jitypes2 Changeset: r44620:af450a431526 Date: 2011-06-01 14:15 +0200 http://bitbucket.org/pypy/pypy/changeset/af450a431526/ Log:fix the failing test, by checking that we can actually cast the pointer also for primitive types (and switch to the slow path in

[pypy-commit] pypy jitypes2: now pointer types are cached, so we can simply check by identity

2011-06-01 Thread antocuni
Author: Antonio Cuni Branch: jitypes2 Changeset: r44621:4d19742e3132 Date: 2011-06-01 14:18 +0200 http://bitbucket.org/pypy/pypy/changeset/4d19742e3132/ Log:now pointer types are cached, so we can simply check by identity diff --git a/lib_pypy/_ctypes/pointer.py b/lib_pypy/_ctypes/pointer.py

[pypy-commit] pypy jit-applevel-hook: fix annrpython for late annotations. A bit unclear to me how to test

2011-06-01 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44622:059d7b72c76d Date: 2011-06-01 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/059d7b72c76d/ Log:fix annrpython for late annotations. A bit unclear to me how to test this particular change :-/ diff --git a/pyp

[pypy-commit] pypy jit-applevel-hook: A fix for what happens if you raise the exception in jithook

2011-06-01 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44623:b5d05e0590a6 Date: 2011-06-01 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/b5d05e0590a6/ Log:A fix for what happens if you raise the exception in jithook diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/modu

[pypy-commit] pypy jit-applevel-hook: close about-to-be-merged-branch

2011-06-01 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44624:03d33f73b2ed Date: 2011-06-01 16:50 +0200 http://bitbucket.org/pypy/pypy/changeset/03d33f73b2ed/ Log:close about-to-be-merged-branch ___ pypy-commit mailing list pypy-commit@pyt

[pypy-commit] pypy default: merge jit-applevel-hook. This branch provides a hook, used like that:

2011-06-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r44625:2a5057b89b75 Date: 2011-06-01 16:52 +0200 http://bitbucket.org/pypy/pypy/changeset/2a5057b89b75/ Log:merge jit-applevel-hook. This branch provides a hook, used like that: import pypyjit pypyjit.set_compile_hook(a_callable)

[pypy-commit] pypy default: I think this comment should go away.

2011-06-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r44626:5768e88f1313 Date: 2011-06-01 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/5768e88f1313/ Log:I think this comment should go away. diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py --- a/pypy/jit/metainte

[pypy-commit] pypy default: (arigo, bivab) add a resoperation for testing called force_spill, that forces a variable to be spilled. It is used to the generate different call patterns with variables t

2011-06-01 Thread bivab
Author: David Schneider Branch: Changeset: r44627:a2b1a5150db3 Date: 2011-06-01 17:46 +0200 http://bitbucket.org/pypy/pypy/changeset/a2b1a5150db3/ Log:(arigo, bivab) add a resoperation for testing called force_spill, that forces a variable to be spilled. It is used to the generate

[pypy-commit] pypy default: (arigo prompted by fijal)

2011-06-01 Thread Armin Rigo
Author: Armin Rigo Branch: Changeset: r44628:ddf426bd739d Date: 2011-06-01 18:42 +0200 http://bitbucket.org/pypy/pypy/changeset/ddf426bd739d/ Log:(arigo prompted by fijal) Change find_repetition_end() to always inline the first check. Helps a lot in examples like the one in

[pypy-commit] pypy default: why do (int/float).conjugate() have no tests?

2011-06-01 Thread gutworth
Author: Benjamin Peterson Branch: Changeset: r44629:73323f28c8e8 Date: 2011-06-01 20:11 -0500 http://bitbucket.org/pypy/pypy/changeset/73323f28c8e8/ Log:why do (int/float).conjugate() have no tests? diff --git a/pypy/objspace/std/test/test_floatobject.py b/pypy/objspace/std/test/test_float

[pypy-commit] pypy default: tests that old space.pos() implementation of conjugate() would have failed

2011-06-01 Thread gutworth
Author: Benjamin Peterson Branch: Changeset: r44630:a740b2b9315a Date: 2011-06-01 20:14 -0500 http://bitbucket.org/pypy/pypy/changeset/a740b2b9315a/ Log:tests that old space.pos() implementation of conjugate() would have failed diff --git a/pypy/objspace/std/test/test_floatobject.py

[pypy-commit] pypy reflex-support: make benchmarking easier

2011-06-01 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r44631:3ab12d3cad84 Date: 2011-05-31 16:01 -0700 http://bitbucket.org/pypy/pypy/changeset/3ab12d3cad84/ Log:make benchmarking easier diff --git a/pypy/module/cppyy/test/bench1.cxx b/pypy/module/cppyy/test/bench1.cxx --- a/pypy/module/c

[pypy-commit] pypy reflex-support: first steps towards STL support

2011-06-01 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r44632:c241b111c812 Date: 2011-06-01 22:14 -0700 http://bitbucket.org/pypy/pypy/changeset/c241b111c812/ Log:first steps towards STL support diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -16,6 +16,11 @@ ^pypy/mod