[pypy-commit] pypy numpy-dtype-alt: Back to this version, JIT doesn't like it, I think it might be an issue with casting on llgraph.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46345:c7ecc17ad217 Date: 2011-08-06 20:02 -0700 http://bitbucket.org/pypy/pypy/changeset/c7ecc17ad217/ Log:Back to this version, JIT doesn't like it, I think it might be an issue with casting on llgraph. diff --git a/pypy/module

[pypy-commit] pypy numpy-dtype-alt: fix.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46344:8759305fb24d Date: 2011-08-06 19:23 -0700 http://bitbucket.org/pypy/pypy/changeset/8759305fb24d/ Log:fix. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a/pypy/module/micronumpy/i

[pypy-commit] pypy numpy-dtype: trying to satisfy the annotator. disabled some functions to simplify debugging temporarily.

2011-08-06 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46343:9fe913a49303 Date: 2011-08-06 19:01 -0600 http://bitbucket.org/pypy/pypy/changeset/9fe913a49303/ Log:trying to satisfy the annotator. disabled some functions to simplify debugging temporarily. diff --git a/pypy/module/micronum

[pypy-commit] pypy numpy-dtype-alt: This seems a little cleaner, still doesn't work though.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46342:39be8884254b Date: 2011-08-06 17:58 -0700 http://bitbucket.org/pypy/pypy/changeset/39be8884254b/ Log:This seems a little cleaner, still doesn't work though. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micron

[pypy-commit] pypy numpy-dtype-alt: Started implementing dtypes, currently fails due to some mess with casting to and from VOIDP.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46341:23225085fd60 Date: 2011-08-06 17:29 -0700 http://bitbucket.org/pypy/pypy/changeset/23225085fd60/ Log:Started implementing dtypes, currently fails due to some mess with casting to and from VOIDP. diff --git a/pypy/module/mi

[pypy-commit] pypy numpy-dtype-alt: A branch to try an alternate approach to dtypes.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46340:28c7a6518287 Date: 2011-08-06 15:58 -0700 http://bitbucket.org/pypy/pypy/changeset/28c7a6518287/ Log:A branch to try an alternate approach to dtypes. ___ pypy-commit mailing list pypy-co

[pypy-commit] pypy kill-single-impl-multimethods: setdefault's value argument is optional.

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: kill-single-impl-multimethods Changeset: r46339:c1a1ef97c910 Date: 2011-08-06 15:56 -0700 http://bitbucket.org/pypy/pypy/changeset/c1a1ef97c910/ Log:setdefault's value argument is optional. diff --git a/pypy/objspace/std/dicttype.py b/pypy/objspace/std/dicttype.py

[pypy-commit] pypy kill-single-impl-multimethods: random fixes for the tests (no idea why this matters)

2011-08-06 Thread alex_gaynor
Author: Alex Gaynor Branch: kill-single-impl-multimethods Changeset: r46338:9adbac47e509 Date: 2011-08-06 15:52 -0700 http://bitbucket.org/pypy/pypy/changeset/9adbac47e509/ Log:random fixes for the tests (no idea why this matters) diff --git a/pypy/objspace/std/fake.py b/pypy/objspace/std/fa

[pypy-commit] pypy default: After some more thought (sorry), re-enable the backed-out

2011-08-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r46336:1b8248f32938 Date: 2011-08-06 21:45 +0200 http://bitbucket.org/pypy/pypy/changeset/1b8248f32938/ Log:After some more thought (sorry), re-enable the backed-out change fc9ced8e380f and mark the test I added with an XXX. I would be fine

[pypy-commit] pypy default: Sorry, I understood now the issue in

2011-08-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r46335:608901d5d7c6 Date: 2011-08-06 21:31 +0200 http://bitbucket.org/pypy/pypy/changeset/608901d5d7c6/ Log:Sorry, I understood now the issue in test_unerased_pointers_in_short_preamble (it fails in test_loop_unroll). This test fails too,

[pypy-commit] pypy default: Add a test similar to test_unerased_pointers_in_short_preamble,

2011-08-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r46334:3ad1fe3d9b69 Date: 2011-08-06 21:00 +0200 http://bitbucket.org/pypy/pypy/changeset/3ad1fe3d9b69/ Log:Add a test similar to test_unerased_pointers_in_short_preamble, but using only regular pointers. Note that neither test appears to be

[pypy-commit] pypy default: Backout fc9ced8e380f: this is wrong, because the problem is not

2011-08-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r46333:06ce07a37b87 Date: 2011-08-06 20:53 +0200 http://bitbucket.org/pypy/pypy/changeset/06ce07a37b87/ Log:Backout fc9ced8e380f: this is wrong, because the problem is not really about opaque pointers. We can have the same problem with re

[pypy-commit] pypy stacklet: Fix.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46332:7fb864c163a5 Date: 2011-08-06 20:22 +0200 http://bitbucket.org/pypy/pypy/changeset/7fb864c163a5/ Log:Fix. diff --git a/pypy/translator/c/src/stacklet/stacklet.c b/pypy/translator/c/src/stacklet/stacklet.c --- a/pypy/translator/c/src/stac

[pypy-commit] pypy stacklet: Improve the tests. They fail. Stacklet bug. Argh. :-(

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46331:45a9786afee3 Date: 2011-08-06 19:54 +0200 http://bitbucket.org/pypy/pypy/changeset/45a9786afee3/ Log:Improve the tests. They fail. Stacklet bug. Argh. :-( diff --git a/pypy/translator/c/src/stacklet/Makefile b/pypy/translator/c/src/stack

[pypy-commit] pypy stacklet: Bah, I think that this can be turned into a tail call, bad.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46330:7094a412515f Date: 2011-08-06 18:53 +0200 http://bitbucket.org/pypy/pypy/changeset/7094a412515f/ Log:Bah, I think that this can be turned into a tail call, bad. diff --git a/pypy/rlib/_stacklet_asmgcc.py b/pypy/rlib/_stacklet_asmgcc.py --

[pypy-commit] pypy stacklet: Improve testing

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46329:00b8af12cc72 Date: 2011-08-06 18:26 +0200 http://bitbucket.org/pypy/pypy/changeset/00b8af12cc72/ Log:Improve testing diff --git a/pypy/rlib/test/test_rstacklet.py b/pypy/rlib/test/test_rstacklet.py --- a/pypy/rlib/test/test_rstacklet.py +

[pypy-commit] pypy stacklet: Clean up: pass the 'config' object instead of the 'gcrootfinder'.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46328:83ac79bf9a0e Date: 2011-08-06 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/83ac79bf9a0e/ Log:Clean up: pass the 'config' object instead of the 'gcrootfinder'. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_s

[pypy-commit] pypy stacklet: Move some of the logic to _stacklet_asmgcc.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46327:9b20671292c6 Date: 2011-08-06 17:55 +0200 http://bitbucket.org/pypy/pypy/changeset/9b20671292c6/ Log:Move some of the logic to _stacklet_asmgcc. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stackle

[pypy-commit] pypy stacklet: Kill some more references to stackless.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46326:06cbca2ceaeb Date: 2011-08-06 17:35 +0200 http://bitbucket.org/pypy/pypy/changeset/06cbca2ceaeb/ Log:Kill some more references to stackless. diff --git a/pypy/doc/config/objspace.usemodules._stackless.txt b/pypy/doc/config/objspace.usemo

[pypy-commit] pypy stacklet: Fix.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46325:abbb95518912 Date: 2011-08-06 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/abbb95518912/ Log:Fix. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stacklet.py --- a/pypy/module/_stacklet/interp

[pypy-commit] pypy stacklet: Fix.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46324:774af80dfc9b Date: 2011-08-06 16:26 +0200 http://bitbucket.org/pypy/pypy/changeset/774af80dfc9b/ Log:Fix. diff --git a/pypy/rlib/_stacklet_asmgcc.py b/pypy/rlib/_stacklet_asmgcc.py --- a/pypy/rlib/_stacklet_asmgcc.py +++ b/pypy/rlib/_stac

[pypy-commit] pypy stacklet: - kill the references to the stackless option

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46323:2fa405969a86 Date: 2011-08-06 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/2fa405969a86/ Log:- kill the references to the stackless option - in-progress: asmgcc support for stacklets (not working correctly so far)

[pypy-commit] pypy stacklet: hg merge custom-trace

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46322:964323574b31 Date: 2011-08-06 14:15 +0200 http://bitbucket.org/pypy/pypy/changeset/964323574b31/ Log:hg merge custom-trace diff --git a/pypy/rpython/lltypesystem/lltype.py b/pypy/rpython/lltypesystem/lltype.py --- a/pypy/rpython/lltypesy

[pypy-commit] pypy stacklet: Import stacklets into the main repository.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46321:61945d36b794 Date: 2011-08-06 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/61945d36b794/ Log:Import stacklets into the main repository. diff --git a/pypy/rlib/rstacklet.py b/pypy/rlib/rstacklet.py --- a/pypy/rlib/rstacklet.py +++

[pypy-commit] pypy stacklet: Oups.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46320:84d9ff026cc0 Date: 2011-08-06 13:04 +0200 http://bitbucket.org/pypy/pypy/changeset/84d9ff026cc0/ Log:Oups. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stacklet.py --- a/pypy/module/_stacklet/inter

[pypy-commit] pypy jit-short_from_state: dont allow ops generated by value.make_guards() from ending up in optimizer.pure_operations

2011-08-06 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r46319:8a90da458db4 Date: 2011-08-06 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/8a90da458db4/ Log:dont allow ops generated by value.make_guards() from ending up in optimizer.pure_operations diff --git a/pypy/jit/met

[pypy-commit] pypy jit-short_from_state: debuging

2011-08-06 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r46318:391907aa38ba Date: 2011-08-05 18:36 +0200 http://bitbucket.org/pypy/pypy/changeset/391907aa38ba/ Log:debuging diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py --- a/pypy/jit/m

[pypy-commit] pypy stacklet: Save and restore the topframe from the executioncontext.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46317:f67665a962f6 Date: 2011-08-06 12:50 +0200 http://bitbucket.org/pypy/pypy/changeset/f67665a962f6/ Log:Save and restore the topframe from the executioncontext. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/i

[pypy-commit] pypy stacklet: Add this test from rlib/test/test_rstacklet. It fails, showing

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46316:7ce3b3a09870 Date: 2011-08-06 12:32 +0200 http://bitbucket.org/pypy/pypy/changeset/7ce3b3a09870/ Log:Add this test from rlib/test/test_rstacklet. It fails, showing an issue with saving/restoring the executioncontext's state. diff

[pypy-commit] pypy stacklet: Add a __del__ method. Hard to test.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46315:b609083d748a Date: 2011-08-06 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/b609083d748a/ Log:Add a __del__ method. Hard to test. diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stacklet.py ---

[pypy-commit] pypy stacklet: Switch().

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46314:3dfb6772812d Date: 2011-08-06 11:42 +0200 http://bitbucket.org/pypy/pypy/changeset/3dfb6772812d/ Log:Switch(). diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stacklet.py --- a/pypy/module/_stacklet/i

[pypy-commit] pypy stacklet: Test for the app-level type of Stacklet.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46313:15d4c6413555 Date: 2011-08-06 11:39 +0200 http://bitbucket.org/pypy/pypy/changeset/15d4c6413555/ Log:Test for the app-level type of Stacklet. diff --git a/pypy/module/_stacklet/test/test_stacklet.py b/pypy/module/_stacklet/test/test_stac

[pypy-commit] pypy stacklet: Test passing arguments to callbacks.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46312:b419cfdedc8d Date: 2011-08-06 11:37 +0200 http://bitbucket.org/pypy/pypy/changeset/b419cfdedc8d/ Log:Test passing arguments to callbacks. diff --git a/pypy/module/_stacklet/test/test_stacklet.py b/pypy/module/_stacklet/test/test_stacklet

[pypy-commit] pypy stacklet: Another similar test.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46311:434032bc1daf Date: 2011-08-06 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/434032bc1daf/ Log:Another similar test. diff --git a/pypy/module/_stacklet/test/test_stacklet.py b/pypy/module/_stacklet/test/test_stacklet.py --- a/pypy/

[pypy-commit] pypy stacklet: Propagate exceptions to the main stacklet.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46310:19a78ea517f4 Date: 2011-08-06 11:34 +0200 http://bitbucket.org/pypy/pypy/changeset/19a78ea517f4/ Log:Propagate exceptions to the main stacklet. diff --git a/pypy/module/_stacklet/__init__.py b/pypy/module/_stacklet/__init__.py --- a/pypy

[pypy-commit] pypy stacklet: Starting on the new _stacklet module...

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46309:8d3f74f9011b Date: 2011-08-06 11:15 +0200 http://bitbucket.org/pypy/pypy/changeset/8d3f74f9011b/ Log:Starting on the new _stacklet module... diff --git a/pypy/module/_stacklet/__init__.py b/pypy/module/_stacklet/__init__.py new file mode

pypy-commit@python.org

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46308:0fcce6fcc501 Date: 2011-08-06 10:02 +0200 http://bitbucket.org/pypy/pypy/changeset/0fcce6fcc501/ Log:Get rid of really old code: the 'gc_x_*' operations in the Mark&Sweep GC, and the 'can_collect' argument to malloc_fixedsize()

[pypy-commit] pypy stacklet: Switch the RPython API to use real COpaquePtrs instead of just Signeds.

2011-08-06 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46306:32b3ac02d4ab Date: 2011-08-05 19:54 +0200 http://bitbucket.org/pypy/pypy/changeset/32b3ac02d4ab/ Log:Switch the RPython API to use real COpaquePtrs instead of just Signeds. diff --git a/pypy/rlib/rstacklet.py b/pypy/rlib/rstacklet