[pypy-commit] pypy default: add runner tests for cast_int_to_float and cast_float_to_int

2013-06-05 Thread bivab
Author: David Schneider Branch: Changeset: r64787:ca5c756f0e50 Date: 2013-06-05 03:10 -0500 http://bitbucket.org/pypy/pypy/changeset/ca5c756f0e50/ Log:add runner tests for cast_int_to_float and cast_float_to_int diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/tes

[pypy-commit] pypy default: Document merged branch

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64788:5e587e197d4f Date: 2013-06-05 11:49 +0200 http://bitbucket.org/pypy/pypy/changeset/5e587e197d4f/ Log:Document merged branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whats

[pypy-commit] pypy default: Fix various tests failing because of e953dfbc7f0a.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64789:d0ffe15789d8 Date: 2013-06-05 12:38 +0200 http://bitbucket.org/pypy/pypy/changeset/d0ffe15789d8/ Log:Fix various tests failing because of e953dfbc7f0a. diff --git a/lib-python/2.7/opcode.py b/lib-python/2.7/opcode.py --- a/lib-python/2.7/opcode.p

[pypy-commit] pypy fastjson: add support for parsing float values

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64792:535479329816 Date: 2013-06-05 14:14 +0200 http://bitbucket.org/pypy/pypy/changeset/535479329816/ Log:add support for parsing float values diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --

[pypy-commit] pypy fastjson: add parsing of integers

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64791:65996c45a142 Date: 2013-06-05 12:32 +0200 http://bitbucket.org/pypy/pypy/changeset/65996c45a142/ Log:add parsing of integers diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/modu

[pypy-commit] pypy fastjson: add a fast path for decoding ascii-only, it gives ~10% speedup on certain benchmarks

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64790:73de5d85c1b3 Date: 2013-06-05 11:32 +0200 http://bitbucket.org/pypy/pypy/changeset/73de5d85c1b3/ Log:add a fast path for decoding ascii-only, it gives ~10% speedup on certain benchmarks diff --git a/pypy/module/_fastjson/interp_

[pypy-commit] pypy default: Partial revert of 661d7f7624dc: don't let the JIT look inside rbigint.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64793:236f4d2c1567 Date: 2013-06-05 13:35 +0200 http://bitbucket.org/pypy/pypy/changeset/236f4d2c1567/ Log:Partial revert of 661d7f7624dc: don't let the JIT look inside rbigint. It causes issues. Instead, fix the test more directly by ad

[pypy-commit] pypy default: More @jit.elidable. The new test in test_misc is still not passing.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64794:e4d4c3e4eafa Date: 2013-06-05 14:57 +0200 http://bitbucket.org/pypy/pypy/changeset/e4d4c3e4eafa/ Log:More @jit.elidable. The new test in test_misc is still not passing. diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypy

[pypy-commit] pypy default: A test and fix for jit.look_inside.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64795:6ee99f717da5 Date: 2013-06-05 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/6ee99f717da5/ Log:A test and fix for jit.look_inside. diff --git a/rpython/jit/codewriter/policy.py b/rpython/jit/codewriter/policy.py --- a/rpython/jit/codewriter

[pypy-commit] pypy fastjson: rpython fixes

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64796:6b66c9b61731 Date: 2013-06-05 15:05 +0200 http://bitbucket.org/pypy/pypy/changeset/6b66c9b61731/ Log:rpython fixes diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/module/_fastjs

[pypy-commit] stmgc default: in-progress

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64:87d10f56bb42 Date: 2013-06-05 12:53 +0200 http://bitbucket.org/pypy/stmgc/changeset/87d10f56bb42/ Log:in-progress diff --git a/.hgignore b/.hgignore new file mode 100644 --- /dev/null +++ b/.hgignore @@ -0,0 +1,3 @@ +syntax: glob +*.pyc +*~ diff --g

[pypy-commit] stmgc default: in-progress

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r65:7526350df472 Date: 2013-06-05 15:57 +0200 http://bitbucket.org/pypy/stmgc/changeset/7526350df472/ Log:in-progress diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -286,27 +286,33 @@ #endif } -static gcptr LocalizeProtected(struct tx

[pypy-commit] pypy default: Fix the test.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r64797:cb46a58acf67 Date: 2013-06-05 16:06 +0200 http://bitbucket.org/pypy/pypy/changeset/cb46a58acf67/ Log:Fix the test. diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypyjit/test_pypy_c/test_misc.py --- a/pypy/module/pypyjit

[pypy-commit] stmgc default: Add a passing test

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r66:48bc3f6660a8 Date: 2013-06-05 16:43 +0200 http://bitbucket.org/pypy/stmgc/changeset/48bc3f6660a8/ Log:Add a passing test diff --git a/c3/test/test_et.py b/c3/test/test_et.py --- a/c3/test/test_et.py +++ b/c3/test/test_et.py @@ -84,3 +84,24 @@ a

[pypy-commit] pypy fastjson: add two tests and the corresponding fixes

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64800:ca39af17b48f Date: 2013-06-05 15:56 +0200 http://bitbucket.org/pypy/pypy/changeset/ca39af17b48f/ Log:add two tests and the corresponding fixes diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.

[pypy-commit] pypy fastjson: add a passing test:

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64798:649d62298da1 Date: 2013-06-05 15:37 +0200 http://bitbucket.org/pypy/pypy/changeset/649d62298da1/ Log:add a passing test: diff --git a/pypy/module/_fastjson/test/test__fastjson.py b/pypy/module/_fastjson/test/test__fastjson.py --- a/pyp

[pypy-commit] pypy fastjson: raise the appropriate applevel exception if we get an invalid utf8

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64801:86bc837fcae3 Date: 2013-06-05 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/86bc837fcae3/ Log:raise the appropriate applevel exception if we get an invalid utf8 diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/

[pypy-commit] pypy fastjson: decoding arrays

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64799:0fce473a480a Date: 2013-06-05 15:53 +0200 http://bitbucket.org/pypy/pypy/changeset/0fce473a480a/ Log:decoding arrays diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/module/_fast

[pypy-commit] pypy fastjson: parsing of null, true and false

2013-06-05 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r64802:5e34f815e7f7 Date: 2013-06-05 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/5e34f815e7f7/ Log:parsing of null, true and false diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/p

[pypy-commit] stmgc default: public->private

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r68:2f624ecb97a7 Date: 2013-06-05 16:55 +0200 http://bitbucket.org/pypy/stmgc/changeset/2f624ecb97a7/ Log:public->private diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -317,29 +317,32 @@ static gcptr LocalizePublic(struct tx_descripto

[pypy-commit] stmgc default: Next test

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r67:baa39610ff9b Date: 2013-06-05 16:47 +0200 http://bitbucket.org/pypy/stmgc/changeset/baa39610ff9b/ Log:Next test diff --git a/c3/doc-objects.txt b/c3/doc-objects.txt --- a/c3/doc-objects.txt +++ b/c3/doc-objects.txt @@ -50,7 +50,7 @@ - original obj

[pypy-commit] stmgc default: This test passes, but probably only because it's simple enough.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r69:a31993e9805a Date: 2013-06-05 16:59 +0200 http://bitbucket.org/pypy/stmgc/changeset/a31993e9805a/ Log:This test passes, but probably only because it's simple enough. diff --git a/c3/test/test_et.py b/c3/test/test_et.py --- a/c3/test/test_et.py +++ b

[pypy-commit] stmgc default: Fixes

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r70:5c86454b6e59 Date: 2013-06-05 17:44 +0200 http://bitbucket.org/pypy/stmgc/changeset/5c86454b6e59/ Log:Fixes diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -716,15 +716,6 @@ #endif L->h_revision = new_revision; - if (is_

[pypy-commit] stmgc default: Read barrier on public objects

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r72:b9dfe1e2b66e Date: 2013-06-05 18:22 +0200 http://bitbucket.org/pypy/stmgc/changeset/b9dfe1e2b66e/ Log:Read barrier on public objects diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -65,78 +65,6 @@ /**

[pypy-commit] stmgc default: Starting on the read barrier.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r71:27f0605ccd79 Date: 2013-06-05 18:08 +0200 http://bitbucket.org/pypy/stmgc/changeset/27f0605ccd79/ Log:Starting on the read barrier. diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -137,10 +137,9 @@ #endif } +#if 0 static inline gc

[pypy-commit] pypy numpypy-nditer: Make the test less specific

2013-06-05 Thread rguillebert
Author: Romain Guillebert Branch: numpypy-nditer Changeset: r64803:1be2efa62157 Date: 2013-06-05 18:29 +0200 http://bitbucket.org/pypy/pypy/changeset/1be2efa62157/ Log:Make the test less specific diff --git a/pypy/module/micronumpy/test/test_nditer.py b/pypy/module/micronumpy/test/test_ndit

[pypy-commit] stmgc default: Next test.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r73:e3da2bafef96 Date: 2013-06-05 18:44 +0200 http://bitbucket.org/pypy/stmgc/changeset/e3da2bafef96/ Log:Next test. diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -129,6 +129,18 @@ } } + if (P->h_tid & GCFLAG

[pypy-commit] stmgc default: Add some more debugging prints

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r74:3a3dfae01632 Date: 2013-06-05 18:48 +0200 http://bitbucket.org/pypy/stmgc/changeset/3a3dfae01632/ Log:Add some more debugging prints diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -85,9 +85,10 @@ } #endif -gcptr stm_DirectReadBarr

[pypy-commit] stmgc default: Introduce "handles" as written down in doc-objects.txt

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r75:d8c52869d637 Date: 2013-06-05 20:48 +0200 http://bitbucket.org/pypy/stmgc/changeset/d8c52869d637/ Log:Introduce "handles" as written down in doc-objects.txt diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -296,6 +296,7 @@ static gcp

[pypy-commit] stmgc default: Read barriers through handle objects.

2013-06-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r76:69fa4d0304c6 Date: 2013-06-05 21:03 +0200 http://bitbucket.org/pypy/stmgc/changeset/69fa4d0304c6/ Log:Read barriers through handle objects. diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -89,22 +89,18 @@ { struct tx_descriptor *d

[pypy-commit] pypy py3k: merge default

2013-06-05 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r64804:54af5b1ed1de Date: 2013-06-05 11:49 -0700 http://bitbucket.org/pypy/pypy/changeset/54af5b1ed1de/ Log:merge default diff --git a/lib-python/2.7/opcode.py b/lib-python/2.7/opcode.py --- a/lib-python/2.7/opcode.py +++ b/lib-python/2.7/opcode.

[pypy-commit] pypy default: have recursive Cache build failures trigger a more specific RuntimeError

2013-06-05 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r64807:e258a99e3784 Date: 2013-06-05 14:46 -0700 http://bitbucket.org/pypy/pypy/changeset/e258a99e3784/ Log:have recursive Cache build failures trigger a more specific RuntimeError diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/i

[pypy-commit] pypy py3k: fix

2013-06-05 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r64805:88ea391ffde6 Date: 2013-06-05 12:00 -0700 http://bitbucket.org/pypy/pypy/changeset/88ea391ffde6/ Log:fix diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py +++ b/pypy/interpreter/app

[pypy-commit] pypy py3k: apply stdlib changes from e953dfbc7f0a

2013-06-05 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r64806:739db6f6edc0 Date: 2013-06-05 14:44 -0700 http://bitbucket.org/pypy/pypy/changeset/739db6f6edc0/ Log:apply stdlib changes from e953dfbc7f0a diff --git a/lib-python/3/opcode.py b/lib-python/3/opcode.py --- a/lib-python/3/opcode.py +++ b/lib

[pypy-commit] pypy py3k: (amaury) oops, don't double wrap

2013-06-05 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r64808:162c471d831c Date: 2013-06-05 14:48 -0700 http://bitbucket.org/pypy/pypy/changeset/162c471d831c/ Log:(amaury) oops, don't double wrap diff --git a/pypy/interpreter/pyparser/error.py b/pypy/interpreter/pyparser/error.py --- a/pypy/interpre