[pypy-commit] stmgc default: add build and release versions of demo_random to tests

2013-07-01 Thread Raemi
Author: Remi Meier Branch: Changeset: r337:d197afc97b0e Date: 2013-07-02 07:53 +0200 http://bitbucket.org/pypy/stmgc/changeset/d197afc97b0e/ Log:add build and release versions of demo_random to tests diff --git a/c4/test/test_zdemo_random.py b/c4/test/test_zdemo_random.py --- a/c4/test/test

[pypy-commit] pypy numpypy-segfault: document branch

2013-07-01 Thread mattip
Author: Matti Picus Branch: numpypy-segfault Changeset: r65161:5e52e47a4a8d Date: 2013-07-02 07:51 +0300 http://bitbucket.org/pypy/pypy/changeset/5e52e47a4a8d/ Log:document branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy

[pypy-commit] pypy default: merge numpypy-segfault fixing segfault while iterating over empty ndarrays

2013-07-01 Thread mattip
Author: Matti Picus Branch: Changeset: r65163:49b114578eb7 Date: 2013-07-02 07:54 +0300 http://bitbucket.org/pypy/pypy/changeset/49b114578eb7/ Log:merge numpypy-segfault fixing segfault while iterating over empty ndarrays diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-h

[pypy-commit] pypy numpypy-segfault: close to-be-merged branch

2013-07-01 Thread mattip
Author: Matti Picus Branch: numpypy-segfault Changeset: r65162:a038818305e0 Date: 2013-07-02 07:51 +0300 http://bitbucket.org/pypy/pypy/changeset/a038818305e0/ Log:close to-be-merged branch ___ pypy-commit mailing list pypy-commit@python.org http:/

[pypy-commit] pypy default: whitespace

2013-07-01 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r65159:2ee41b828b47 Date: 2013-07-01 16:32 -0700 http://bitbucket.org/pypy/pypy/changeset/2ee41b828b47/ Log:whitespace diff --git a/pypy/objspace/std/test/test_identityset.py b/pypy/objspace/std/test/test_identityset.py --- a/pypy/objspace/std/test/

[pypy-commit] pypy py3k: merge default

2013-07-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r65160:98718a061cac Date: 2013-07-01 16:34 -0700 http://bitbucket.org/pypy/pypy/changeset/98718a061cac/ Log:merge default diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py --- a/lib_pypy/greenlet.py +++ b/lib_pypy/greenlet.py @@ -132,7 +13

[pypy-commit] pypy default: py3k compat

2013-07-01 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r65158:7a85cc22a4c9 Date: 2013-07-01 16:28 -0700 http://bitbucket.org/pypy/pypy/changeset/7a85cc22a4c9/ Log:py3k compat diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py --- a/lib_pypy/greenlet.py +++ b/lib_pypy/greenlet.py @@ -132,7 +132,8 @@

[pypy-commit] pypy py3k: we don't actually utf8 encode here, so lighten the expectation to a ValueError

2013-07-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r65157:ce22f20c0ada Date: 2013-07-01 16:18 -0700 http://bitbucket.org/pypy/pypy/changeset/ce22f20c0ada/ Log:we don't actually utf8 encode here, so lighten the expectation to a ValueError diff --git a/pypy/objspace/std/test/test_floatobjec

[pypy-commit] pypy py3k: Fix tests: in the py3k branch, we parse unicode strings

2013-07-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r65156:18f3a937ce30 Date: 2013-07-01 23:38 +0200 http://bitbucket.org/pypy/pypy/changeset/18f3a937ce30/ Log:Fix tests: in the py3k branch, we parse unicode strings and 'L' suffix is not allowed. diff --git a/rpython/rlib/test/test_

[pypy-commit] pypy numpypy-segfault: test, fix creating empty axis iterator

2013-07-01 Thread mattip
Author: Matti Picus Branch: numpypy-segfault Changeset: r65155:df376dab84d2 Date: 2013-07-02 00:00 +0300 http://bitbucket.org/pypy/pypy/changeset/df376dab84d2/ Log:test, fix creating empty axis iterator diff --git a/pypy/module/micronumpy/iter.py b/pypy/module/micronumpy/iter.py --- a/pypy/m

[pypy-commit] pypy numpypy-segfault: do not iter over empty arrays

2013-07-01 Thread mattip
Author: Matti Picus Branch: numpypy-segfault Changeset: r65154:863f80543401 Date: 2013-07-01 17:44 +0300 http://bitbucket.org/pypy/pypy/changeset/863f80543401/ Log:do not iter over empty arrays diff --git a/pypy/module/micronumpy/interp_arrayops.py b/pypy/module/micronumpy/interp_arrayops.p

[pypy-commit] pypy numpypy-segfault: a test that segfaults

2013-07-01 Thread mattip
Author: Matti Picus Branch: numpypy-segfault Changeset: r65153:f669a32fe79d Date: 2013-06-30 22:56 +0300 http://bitbucket.org/pypy/pypy/changeset/f669a32fe79d/ Log:a test that segfaults diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py

[pypy-commit] pypy py3k: 2to3

2013-07-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r65152:6be53cd7a876 Date: 2013-07-01 11:30 -0700 http://bitbucket.org/pypy/pypy/changeset/6be53cd7a876/ Log:2to3 diff --git a/lib_pypy/grp.py b/lib_pypy/grp.py --- a/lib_pypy/grp.py +++ b/lib_pypy/grp.py @@ -25,8 +25,7 @@ ('gr_mem', POIN

[pypy-commit] pypy default: document the branch

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r65151:a4b1d73be06f Date: 2013-07-01 19:55 +0200 http://bitbucket.org/pypy/pypy/changeset/a4b1d73be06f/ Log:document the branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/

[pypy-commit] pypy default: merge inline-identityhash - it gives a measurable speedup (~25%) on

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r65149:f75c60186757 Date: 2013-07-01 19:52 +0200 http://bitbucket.org/pypy/pypy/changeset/f75c60186757/ Log:merge inline-identityhash - it gives a measurable speedup (~25%) on microbenchmarks, like set comparison. Seems to have no real

[pypy-commit] pypy inline-identityhash: close to-be-merged branch

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: inline-identityhash Changeset: r65148:0c75c6e3b735 Date: 2013-07-01 19:47 +0200 http://bitbucket.org/pypy/pypy/changeset/0c75c6e3b735/ Log:close to-be-merged branch ___ pypy-commit mailing list pypy-commit@python.

[pypy-commit] pypy default: merge

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r65150:ecacece76689 Date: 2013-07-01 19:53 +0200 http://bitbucket.org/pypy/pypy/changeset/ecacece76689/ Log:merge diff --git a/pypy/doc/how-to-contribute.rst b/pypy/doc/how-to-contribute.rst --- a/pypy/doc/how-to-contribute.rst +++ b/pypy/doc/ho

[pypy-commit] pypy inline-identityhash: always inline that guy

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: inline-identityhash Changeset: r65147:e5c447a98e83 Date: 2013-07-01 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/e5c447a98e83/ Log:always inline that guy diff --git a/rpython/memory/gc/minimark.py b/rpython/memory/gc/minimark.py --- a/rpython/memory

[pypy-commit] pypy default: Merged in untitaker/pypy (pull request #158)

2013-07-01 Thread arigo
Author: arigo Branch: Changeset: r65146:4023fff525c0 Date: 2013-07-01 17:41 +0200 http://bitbucket.org/pypy/pypy/changeset/4023fff525c0/ Log:Merged in untitaker/pypy (pull request #158) Fix link in documentation diff --git a/pypy/doc/how-to-contribute.rst b/pypy/doc/how-to-contribu

[pypy-commit] pypy default: Fix link in documentation

2013-07-01 Thread untitaker
Author: Markus Unterwaditzer Branch: Changeset: r65145:ccc1d50f9af9 Date: 2013-07-01 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/ccc1d50f9af9/ Log:Fix link in documentation diff --git a/pypy/doc/how-to-contribute.rst b/pypy/doc/how-to-contribute.rst --- a/pypy/doc/how-to-contribute

[pypy-commit] pypy inline-identityhash: A branch to experiment with inlining identityhash

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: inline-identityhash Changeset: r65144:bbf95dc4677f Date: 2013-07-01 17:34 +0200 http://bitbucket.org/pypy/pypy/changeset/bbf95dc4677f/ Log:A branch to experiment with inlining identityhash diff --git a/rpython/memory/gc/minimark.py b/rpython/memory/gc/minim

[pypy-commit] pypy stmgc-c4: Fix start_new_thread with stm.

2013-07-01 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65142:f0f5f39180fd Date: 2013-07-01 17:13 +0200 http://bitbucket.org/pypy/pypy/changeset/f0f5f39180fd/ Log:Fix start_new_thread with stm. diff --git a/rpython/memory/gc/stmgc.py b/rpython/memory/gc/stmgc.py --- a/rpython/memory/gc/stmgc.py +++

[pypy-commit] pypy stmgc-c4: Call invoke_around_extcall() automatically with stm.

2013-07-01 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65143:e68bd4bac940 Date: 2013-07-01 17:20 +0200 http://bitbucket.org/pypy/pypy/changeset/e68bd4bac940/ Log:Call invoke_around_extcall() automatically with stm. diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py --- a/rpython/rlib/rstm.py

[pypy-commit] pypy default: add -fPIC flag

2013-07-01 Thread bivab
Author: David Schneider Branch: Changeset: r65141:2c5be52130b3 Date: 2013-07-01 17:17 +0200 http://bitbucket.org/pypy/pypy/changeset/2c5be52130b3/ Log:add -fPIC flag diff --git a/rpython/translator/platform/arm.py b/rpython/translator/platform/arm.py --- a/rpython/translator/platform/arm.p

[pypy-commit] stmgc default: stm_enter_callback_call(), for possibly-recursive invocations

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r336:637f6c9d19f7 Date: 2013-07-01 16:17 +0200 http://bitbucket.org/pypy/stmgc/changeset/637f6c9d19f7/ Log:stm_enter_callback_call(), for possibly-recursive invocations diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -1538,15 +1538,14 @@

[pypy-commit] pypy default: Merged in andrewsmedina/numpypy/ndarray-ptp (pull request #157)

2013-07-01 Thread rguillebert
Author: Romain Guillebert Branch: Changeset: r65140:1968b8b5d429 Date: 2013-07-01 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/1968b8b5d429/ Log:Merged in andrewsmedina/numpypy/ndarray-ptp (pull request #157) implemented ndarray put diff --git a/pypy/module/micronumpy/__ini

[pypy-commit] pypy ndarray-ptp: refactored put and added more tests.

2013-07-01 Thread andrewsmedina
Author: Andrews Medina Branch: ndarray-ptp Changeset: r65139:935fc2578913 Date: 2013-06-28 00:54 -0300 http://bitbucket.org/pypy/pypy/changeset/935fc2578913/ Log:refactored put and added more tests. diff --git a/pypy/module/micronumpy/interp_arrayops.py b/pypy/module/micronumpy/interp_array

[pypy-commit] pypy ndarray-ptp: implemented put and array.put

2013-07-01 Thread andrewsmedina
Author: Andrews Medina Branch: ndarray-ptp Changeset: r65138:a73ce1bfeeab Date: 2013-06-27 00:06 -0300 http://bitbucket.org/pypy/pypy/changeset/a73ce1bfeeab/ Log:implemented put and array.put diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/mod

[pypy-commit] pypy stmgc-c4: Enough to have test_targetdemo compile (but not run yet).

2013-07-01 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65137:aef695dc9da1 Date: 2013-07-01 15:35 +0200 http://bitbucket.org/pypy/pypy/changeset/aef695dc9da1/ Log:Enough to have test_targetdemo compile (but not run yet). diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py --- a/rpython/rlib/rst

[pypy-commit] pypy default: a fast path for set equality (note that if len(s1) == len(s2), then s1.issubset(s2) -> s1 == s2)

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r65136:588a9d71f1d6 Date: 2013-07-01 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/588a9d71f1d6/ Log:a fast path for set equality (note that if len(s1) == len(s2), then s1.issubset(s2) -> s1 == s2) diff --git a/pypy/objspace/std/s

[pypy-commit] pypy stmgc-c4: import stmgc/bf56c12295c8

2013-07-01 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65135:12aa03d05cb3 Date: 2013-07-01 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/12aa03d05cb3/ Log:import stmgc/bf56c12295c8 diff --git a/rpython/translator/stm/src_stm/et.c b/rpython/translator/stm/src_stm/et.c --- a/rpython/translato

[pypy-commit] stmgc default: Fix: we must explicitly keep the property that L->h_revision==R that

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r335:bf56c12295c8 Date: 2013-07-01 15:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/bf56c12295c8/ Log:Fix: we must explicitly keep the property that L->h_revision==R that some pairs in public_to_private have got. diff --git a/c4/gcpage.c b/

[pypy-commit] stmgc default: in-progress

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r334:345ed0d7dc64 Date: 2013-07-01 15:02 +0200 http://bitbucket.org/pypy/stmgc/changeset/345ed0d7dc64/ Log:in-progress diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpage.c +++ b/c4/gcpage.c @@ -293,6 +293,20 @@ } } +static void visit_keep(gc

[pypy-commit] stmgc default: in-progress

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r333:e58e43f88445 Date: 2013-07-01 14:44 +0200 http://bitbucket.org/pypy/stmgc/changeset/e58e43f88445/ Log:in-progress diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -764,20 +764,24 @@ long long elapsed_time; /* acquire the lock,

[pypy-commit] stmgc default: More fixes

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r332:874251ce1920 Date: 2013-07-01 13:04 +0200 http://bitbucket.org/pypy/stmgc/changeset/874251ce1920/ Log:More fixes diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpage.c +++ b/c4/gcpage.c @@ -219,21 +219,14 @@ return; restart: -if

[pypy-commit] stmgc default: Fix(?) the logic, I believe, and remove the recursion; but demo_random

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r331:452c22b17f3e Date: 2013-07-01 12:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/452c22b17f3e/ Log:Fix(?) the logic, I believe, and remove the recursion; but demo_random crashes. To investigate. diff --git a/c4/gcpage.c b/c4/gcpage.c ---

[pypy-commit] stmgc default: merge heads

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r330:bf175ef919bf Date: 2013-07-01 12:38 +0200 http://bitbucket.org/pypy/stmgc/changeset/bf175ef919bf/ Log:merge heads diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@ -60,6 +60,7 @@ int num_roots_ou

[pypy-commit] stmgc default: Avoids doing this (I fixed the nursery to always really be null-allocated)

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r329:5b45c01aa560 Date: 2013-07-01 12:29 +0200 http://bitbucket.org/pypy/stmgc/changeset/5b45c01aa560/ Log:Avoids doing this (I fixed the nursery to always really be null- allocated) diff --git a/c4/nursery.c b/c4/nursery.c --- a/c4/nursery.c ++

[pypy-commit] stmgc default: add atomic transactions in demo_random

2013-07-01 Thread Raemi
Author: Remi Meier Branch: Changeset: r328:6eac0903bcb9 Date: 2013-07-01 12:32 +0200 http://bitbucket.org/pypy/stmgc/changeset/6eac0903bcb9/ Log:add atomic transactions in demo_random diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@ -60,6 +60

[pypy-commit] stmgc default: Add asserts

2013-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r327:07c9a1daeba2 Date: 2013-07-01 11:47 +0200 http://bitbucket.org/pypy/stmgc/changeset/07c9a1daeba2/ Log:Add asserts diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpage.c +++ b/c4/gcpage.c @@ -269,6 +269,7 @@ else { assert(obj->h_tid

[pypy-commit] stmgc default: fix uninitialized shadowstack problem during major collection

2013-07-01 Thread Raemi
Author: Remi Meier Branch: Changeset: r326:18b8edd35778 Date: 2013-07-01 11:18 +0200 http://bitbucket.org/pypy/stmgc/changeset/18b8edd35778/ Log:fix uninitialized shadowstack problem during major collection diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -1504,7 +1504,6 @@

[pypy-commit] pypy default: Some set speedups

2013-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r65134:8a241c817172 Date: 2013-07-01 09:14 +0200 http://bitbucket.org/pypy/pypy/changeset/8a241c817172/ Log:Some set speedups diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b