[pypy-commit] pypy vecopt-merge-iterator-sharing: activated get/setarrayitem_gc if their descriptor uses primitive data (int/float)

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge-iterator-sharing Changeset: r79000:40eb3eef0bac Date: 2015-08-17 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/40eb3eef0bac/ Log:activated get/setarrayitem_gc if their descriptor uses primitive data (int/float) added test to ensure

[pypy-commit] pypy vecopt-merge: merged iterator sharing into the vecopt-merge

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79002:06ec92fa38c0 Date: 2015-08-17 10:30 +0200 http://bitbucket.org/pypy/pypy/changeset/06ec92fa38c0/ Log:merged iterator sharing into the vecopt-merge diff --git a/pypy/module/micronumpy/iterators.py b/pypy/module/micronumpy/iterat

[pypy-commit] pypy vecopt-merge-iterator-sharing: iterator sharing simplifications, removed the state list, indices for the iterator and moved the sharing logic in it's own function

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge-iterator-sharing Changeset: r79001:355ee4d5a425 Date: 2015-08-17 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/355ee4d5a425/ Log:iterator sharing simplifications, removed the state list, indices for the iterator and moved the sharin

[pypy-commit] pypy vecopt-merge-iterator-sharing: merged into vecopt-merge

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge-iterator-sharing Changeset: r79003:ee4fde461c8b Date: 2015-08-17 10:33 +0200 http://bitbucket.org/pypy/pypy/changeset/ee4fde461c8b/ Log:merged into vecopt-merge ___ pypy-commit mailing list pypy-commit@

[pypy-commit] pypy vecopt2: old version of vecopt2

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt2 Changeset: r79004:e9e3e4efdb25 Date: 2015-08-17 10:35 +0200 http://bitbucket.org/pypy/pypy/changeset/e9e3e4efdb25/ Log:old version of vecopt2 ___ pypy-commit mailing list [email protected] https://mail.

[pypy-commit] stmgc c8-faster-smallobj-sync: fix; but anyway seems to go nowhere

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1936:3dea513c6824 Date: 2015-08-17 10:51 +0200 http://bitbucket.org/pypy/stmgc/changeset/3dea513c6824/ Log:fix; but anyway seems to go nowhere Merging ranges in small_overflow_obj_ranges_add was basically the only

[pypy-commit] stmgc c8-faster-smallobj-sync: actually yes, quadratic is a problem :)

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1934:bbc6c59a805c Date: 2015-08-11 15:06 +0200 http://bitbucket.org/pypy/stmgc/changeset/bbc6c59a805c/ Log:actually yes, quadratic is a problem :) diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c

[pypy-commit] stmgc c8-faster-smallobj-sync: fix for wrong assumption

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1933:2f5c2406cf18 Date: 2015-08-11 14:51 +0200 http://bitbucket.org/pypy/stmgc/changeset/2f5c2406cf18/ Log:fix for wrong assumption diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -1821,12 +1

[pypy-commit] stmgc c8-faster-smallobj-sync: use separate list per size class of obj to increase probability of merges

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1935:9339deb15d43 Date: 2015-08-11 15:49 +0200 http://bitbucket.org/pypy/stmgc/changeset/9339deb15d43/ Log:use separate list per size class of obj to increase probability of merges diff --git a/c8/stm/core.c b/c8/stm/core

[pypy-commit] pypy vecopt-merge: added some comments to the state switching

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79005:299b91377f5f Date: 2015-08-17 10:40 +0200 http://bitbucket.org/pypy/pypy/changeset/299b91377f5f/ Log:added some comments to the state switching diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py --- a/p

[pypy-commit] pypy vecopt-merge: added iterator sharing to call1 (only one possibility which makes things easier)

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79006:a610dc93d3a2 Date: 2015-08-17 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/a610dc93d3a2/ Log:added iterator sharing to call1 (only one possibility which makes things easier) diff --git a/pypy/module/micronumpy/lo

[pypy-commit] pypy vecopt-merge: moved post/pre unpacking from vectorize.py into schedule.py, this removes unnecessary object allocations for each scheduling step, makes things more readable

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79007:318a57aaddb8 Date: 2015-08-17 11:18 +0200 http://bitbucket.org/pypy/pypy/changeset/318a57aaddb8/ Log:moved post/pre unpacking from vectorize.py into schedule.py, this removes unnecessary object allocations for each schedu

[pypy-commit] pypy vecopt-merge-opt: closing, work was continued in vecopt-merge

2015-08-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge-opt Changeset: r79008:b414e83c5a5f Date: 2015-08-17 11:19 +0200 http://bitbucket.org/pypy/pypy/changeset/b414e83c5a5f/ Log:closing, work was continued in vecopt-merge ___ pypy-commit mailing list pypy-c

[pypy-commit] pypy default: Raise struct.error instead of OverflowError if someone passes a larger-than-machine-size integer to struct.pack().

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r79009:06d07916e1be Date: 2015-08-17 02:22 +0200 http://bitbucket.org/pypy/pypy/changeset/06d07916e1be/ Log:Raise struct.error instead of OverflowError if someone passes a larger-than-machine-size integer to struct.pack(). diff --git a/pypy/mo

[pypy-commit] pypy py3k: hg merge default

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r79010:81d2a303c872 Date: 2015-08-17 02:41 +0200 http://bitbucket.org/pypy/pypy/changeset/81d2a303c872/ Log:hg merge default diff too long, truncating to 2000 out of 5812 lines diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite

[pypy-commit] pypy py3.3: hg merge py3k

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79015:7454e904e49c Date: 2015-08-17 03:02 +0200 http://bitbucket.org/pypy/pypy/changeset/7454e904e49c/ Log:hg merge py3k diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py

[pypy-commit] pypy py3k: Fix merge.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r79012:aea1e4e8b77f Date: 2015-08-17 02:50 +0200 http://bitbucket.org/pypy/pypy/changeset/aea1e4e8b77f/ Log:Fix merge. diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py +++

[pypy-commit] pypy py3k: Fix merge.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r79014:3703d41b2c96 Date: 2015-08-17 03:02 +0200 http://bitbucket.org/pypy/pypy/changeset/3703d41b2c96/ Log:Fix merge. diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py +++

[pypy-commit] pypy py3.3: hg merge py3k

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79011:58654aa3cd80 Date: 2015-08-17 02:41 +0200 http://bitbucket.org/pypy/pypy/changeset/58654aa3cd80/ Log:hg merge py3k diff too long, truncating to 2000 out of 5812 lines diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.p

[pypy-commit] pypy py3.3: Change time.sleep() to raise ValueError for negative sleep lengths.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79016:72ed98241f4d Date: 2015-08-17 14:14 +0200 http://bitbucket.org/pypy/pypy/changeset/72ed98241f4d/ Log:Change time.sleep() to raise ValueError for negative sleep lengths. diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp

[pypy-commit] pypy py3.3: hg merge py3k

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79013:11baca0eafcf Date: 2015-08-17 02:50 +0200 http://bitbucket.org/pypy/pypy/changeset/11baca0eafcf/ Log:hg merge py3k diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py

[pypy-commit] pypy py3.3: Let time.clock_* raise correct subclasses of OSError.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79017:8294dfc3733a Date: 2015-08-17 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/8294dfc3733a/ Log:Let time.clock_* raise correct subclasses of OSError. diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py --- a

[pypy-commit] pypy py3.3: Call gc.collect() after each test and after having opened many files in CPython's test_bz2.py.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79018:abb67a3131df Date: 2015-08-17 15:06 +0200 http://bitbucket.org/pypy/pypy/changeset/abb67a3131df/ Log:Call gc.collect() after each test and after having opened many files in CPython's test_bz2.py. diff --git a/lib-python/3/test/test

[pypy-commit] stmgc use-gcc: avoid synchronizing operation in smallmalloc fastpath

2015-08-17 Thread Raemi
Author: Remi Meier Branch: use-gcc Changeset: r1937:f3b1d74a2633 Date: 2015-08-17 15:35 +0200 http://bitbucket.org/pypy/stmgc/changeset/f3b1d74a2633/ Log:avoid synchronizing operation in smallmalloc fastpath Probably doesn't matter much, but change the accounting of allocated

[pypy-commit] stmgc c8-faster-smallobj-sync: reuse smallobj pages only after they are half-empty again

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1940:01da8e5d803d Date: 2015-08-17 16:59 +0200 http://bitbucket.org/pypy/stmgc/changeset/01da8e5d803d/ Log:reuse smallobj pages only after they are half-empty again Again trying to improve the range-merging chance - again

[pypy-commit] stmgc use-gcc: renaming for clarity

2015-08-17 Thread Raemi
Author: Remi Meier Branch: use-gcc Changeset: r1938:8a3e95080098 Date: 2015-08-17 16:24 +0200 http://bitbucket.org/pypy/stmgc/changeset/8a3e95080098/ Log:renaming for clarity diff --git a/c8/stm/smallmalloc.c b/c8/stm/smallmalloc.c --- a/c8/stm/smallmalloc.c +++ b/c8/stm/smallmalloc.c @@ -8,

[pypy-commit] stmgc c8-faster-smallobj-sync: Merge with use-gcc

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1939:916134a837e9 Date: 2015-08-17 16:25 +0200 http://bitbucket.org/pypy/stmgc/changeset/916134a837e9/ Log:Merge with use-gcc diff --git a/c8/stm/pages.c b/c8/stm/pages.c --- a/c8/stm/pages.c +++ b/c8/stm/pages.c @@ -28,7 +28,7 @

[pypy-commit] stmgc c8-faster-smallobj-sync: also try to merge fragments in the normal _synchronize_fragment

2015-08-17 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1941:9bf05d9105aa Date: 2015-08-17 17:44 +0200 http://bitbucket.org/pypy/stmgc/changeset/9bf05d9105aa/ Log:also try to merge fragments in the normal _synchronize_fragment Actually, PyPy shows much higher ratio of successf

[pypy-commit] stmgc use-gcc: fix tests for f3b1d74a2633

2015-08-17 Thread Raemi
Author: Remi Meier Branch: use-gcc Changeset: r1942:25e30d665282 Date: 2015-08-17 17:53 +0200 http://bitbucket.org/pypy/stmgc/changeset/25e30d665282/ Log:fix tests for f3b1d74a2633 diff --git a/c8/test/test_gcpage.py b/c8/test/test_gcpage.py --- a/c8/test/test_gcpage.py +++ b/c8/test/test_gc

[pypy-commit] pypy default: Move to C the _write_header() code: it was not guaranteed (but only very

2015-08-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r79020:71fc12ecb018 Date: 2015-08-17 18:15 +0200 http://bitbucket.org/pypy/pypy/changeset/71fc12ecb018/ Log:Move to C the _write_header() code: it was not guaranteed (but only very likely) to occur as the first write. Moreover, this is easier

[pypy-commit] pypy default: Rename files and functions to split some parts from RPython

2015-08-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r79019:bbcfcccf2f68 Date: 2015-08-17 16:59 +0200 http://bitbucket.org/pypy/pypy/changeset/bbcfcccf2f68/ Log:Rename files and functions to split some parts from RPython diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py --- a/rpyt

[pypy-commit] pypy default: Thread support

2015-08-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r79021:3c7aa1d4efa6 Date: 2015-08-17 18:38 +0200 http://bitbucket.org/pypy/pypy/changeset/3c7aa1d4efa6/ Log:Thread support diff --git a/rpython/rlib/rvmprof/src/vmprof_main.h b/rpython/rlib/rvmprof/src/vmprof_main.h --- a/rpython/rlib/rvmprof/src/vmpro

[pypy-commit] pypy default: Translation fix

2015-08-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r79022:559b4a0a9100 Date: 2015-08-17 18:19 +0100 http://bitbucket.org/pypy/pypy/changeset/559b4a0a9100/ Log:Translation fix diff --git a/rpython/jit/backend/llsupport/src/codemap.c b/rpython/jit/backend/llsupport/src/codemap.c --- a/rpython/jit/backend

[pypy-commit] pypy py3.3: Re-add this Py_INCREF, which was removed in this branch for some reason.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79023:68c0a4532d83 Date: 2015-08-17 19:52 +0200 http://bitbucket.org/pypy/pypy/changeset/68c0a4532d83/ Log:Re-add this Py_INCREF, which was removed in this branch for some reason. diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testc

[pypy-commit] pypy py3.3: Back out changeset 68c0a4532d83. The _testcapimodule.c was actually copied from CPython.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79024:769da83a3ec7 Date: 2015-08-17 20:05 +0200 http://bitbucket.org/pypy/pypy/changeset/769da83a3ec7/ Log:Back out changeset 68c0a4532d83. The _testcapimodule.c was actually copied from CPython. diff --git a/lib_pypy/_testcapimodule.c b

[pypy-commit] pypy optresult-unroll: fix the short preamble deal, not 100% just yet, but getting there

2015-08-17 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r79025:a6e577ab0c1a Date: 2015-08-17 22:00 +0200 http://bitbucket.org/pypy/pypy/changeset/a6e577ab0c1a/ Log:fix the short preamble deal, not 100% just yet, but getting there diff --git a/rpython/jit/metainterp/compile.py b/rpyth

[pypy-commit] buildbot default: whoops

2015-08-17 Thread mattip
Author: mattip Branch: Changeset: r956:d3f3f5d7e18f Date: 2015-08-17 23:56 +0300 http://bitbucket.org/pypy/buildbot/changeset/d3f3f5d7e18f/ Log:whoops diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py --- a/bot2/pypybuildbot/builds.py +++ b/bot2/pypybuildbot/builds.py @

[pypy-commit] buildbot default: directly setting step_status is deprecated, use api available for many years now

2015-08-17 Thread mattip
Author: mattip Branch: Changeset: r957:3edf8f86e63f Date: 2015-08-18 00:16 +0300 http://bitbucket.org/pypy/buildbot/changeset/3edf8f86e63f/ Log:directly setting step_status is deprecated, use api available for many years now diff --git a/bot2/pypybuildbot/test/test_builds.py b/bot2

[pypy-commit] pypy py3.3: Extract timespec-to-seconds conversion.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79026:ab86ae37dd28 Date: 2015-08-18 00:50 +0200 http://bitbucket.org/pypy/pypy/changeset/ab86ae37dd28/ Log:Extract timespec-to-seconds conversion. diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py --- a/pypy/module/t

[pypy-commit] pypy py3.3: Implement time.process_time(). Windows support untested.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79028:3cb76c96dbc1 Date: 2015-08-18 02:03 +0200 http://bitbucket.org/pypy/pypy/changeset/3cb76c96dbc1/ Log:Implement time.process_time(). Windows support untested. diff --git a/pypy/module/time/__init__.py b/pypy/module/time/__init__.py --- a/py

[pypy-commit] pypy py3.3: Check for availability of clock_gettime() instead of assuming it exists on posix systems.

2015-08-17 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r79027:0c1306f0e901 Date: 2015-08-18 01:01 +0200 http://bitbucket.org/pypy/pypy/changeset/0c1306f0e901/ Log:Check for availability of clock_gettime() instead of assuming it exists on posix systems. diff --git a/pypy/module/time/interp_tim