[pypy-commit] buildbot default: add nightly runs of own tests on ARM

2013-10-09 Thread bivab
Author: David Schneider Branch: Changeset: r865:4024f825e023 Date: 2013-10-09 09:08 +0200 http://bitbucket.org/pypy/buildbot/changeset/4024f825e023/ Log:add nightly runs of own tests on ARM diff --git a/bot2/pypybuildbot/arm_master.py b/bot2/pypybuildbot/arm_master.py --- a/bot2/pypybuildbo

[pypy-commit] pypy default: be a little more stringent about checking negative numbers early

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67229:c214edb11c30 Date: 2013-10-09 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/c214edb11c30/ Log:be a little more stringent about checking negative numbers early diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py

[pypy-commit] pypy default: Merged in zyv/pypy (pull request #194)

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67231:798905aca6f1 Date: 2013-10-09 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/798905aca6f1/ Log:Merged in zyv/pypy (pull request #194) Fix segfaults when encoding is NULL in CPyExt Unicode functions diff --git a/pypy/module/

[pypy-commit] pypy default: Fix segfaults when encoding is NULL in CPyExt Unicode functions

2013-10-09 Thread zyv
Author: Yury V. Zaytsev Branch: Changeset: r67230:3085368d407a Date: 2013-10-09 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/3085368d407a/ Log:Fix segfaults when encoding is NULL in CPyExt Unicode functions Functions affected are PyUnicode_SetDefaultEncoding, PyUnico

[pypy-commit] pypy default: implement os.ctermid

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67232:425cfc2cbfb2 Date: 2013-10-09 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/425cfc2cbfb2/ Log:implement os.ctermid diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init__.py +++ b

[pypy-commit] pypy default: also support intlist[a:b:c] = rangelist (useful!)

2013-10-09 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r67234:b1f42572695e Date: 2013-10-09 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/b1f42572695e/ Log:also support intlist[a:b:c] = rangelist (useful!) diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/p

[pypy-commit] pypy default: support adding a range list to an int list to get an int list

2013-10-09 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r67233:e47f03fa8558 Date: 2013-10-09 12:14 +0200 http://bitbucket.org/pypy/pypy/changeset/e47f03fa8558/ Log:support adding a range list to an int list to get an int list diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobjec

[pypy-commit] pypy fast_cffi_list_init: shuffle things around and kill a bit of code duplication

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67239:0cdf4e71d831 Date: 2013-10-09 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/0cdf4e71d831/ Log:shuffle things around and kill a bit of code duplication diff --git a/rpython/rlib/rarray.py b/rpython/rlib/rarray.py --- a/

[pypy-commit] pypy fast_cffi_list_init: use the official way to resize the list

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67238:03367c66416e Date: 2013-10-09 15:20 +0200 http://bitbucket.org/pypy/pypy/changeset/03367c66416e/ Log:use the official way to resize the list diff --git a/rpython/rlib/rarray.py b/rpython/rlib/rarray.py --- a/rpython/rlib/rarr

[pypy-commit] pypy fast_cffi_list_init: add a function to memcpy the content of a raw array into an rpython list

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67237:2bbec1d6d9cc Date: 2013-10-09 15:14 +0200 http://bitbucket.org/pypy/pypy/changeset/2bbec1d6d9cc/ Log:add a function to memcpy the content of a raw array into an rpython list diff --git a/rpython/rlib/rarray.py b/rpyth

[pypy-commit] pypy fast_cffi_list_init: add a function to memcpy the content of an rpython list into a raw array

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67236:8a818cbdcdc0 Date: 2013-10-09 10:48 +0200 http://bitbucket.org/pypy/pypy/changeset/8a818cbdcdc0/ Log:add a function to memcpy the content of an rpython list into a raw array diff --git a/rpython/rlib/rarray.py b/rpyth

[pypy-commit] pypy fast_cffi_list_init: a branch where to add a fastpath for things like ffi.new('long[]', [1, 2, 3]), exploiting list strategies

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67235:32068d2c44b3 Date: 2013-10-08 18:39 +0200 http://bitbucket.org/pypy/pypy/changeset/32068d2c44b3/ Log:a branch where to add a fastpath for things like ffi.new('long[]', [1,2,3]), exploiting list strategies

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) whack whack whack until we make the first test pass

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67244:1e3bab885783 Date: 2013-10-09 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/1e3bab885783/ Log:(fijal, arigo) whack whack whack until we make the first test pass diff --git a/rpython/rtyper/lltypesystem/rdict.py

[pypy-commit] pypy default: unbreak the translation on top of pypy

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67242:054c72445b71 Date: 2013-10-09 15:02 +0200 http://bitbucket.org/pypy/pypy/changeset/054c72445b71/ Log:unbreak the translation on top of pypy diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) cover more cases

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67245:75f232eda0b4 Date: 2013-10-09 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/75f232eda0b4/ Log:(fijal, arigo) cover more cases diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict

[pypy-commit] pypy rdict-experiments-2: a branch to restart

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-2 Changeset: r67240:31b7c9223f79 Date: 2013-10-09 11:53 +0200 http://bitbucket.org/pypy/pypy/changeset/31b7c9223f79/ Log:a branch to restart ___ pypy-commit mailing list [email protected] ht

[pypy-commit] pypy default: merge

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67243:01608017108a Date: 2013-10-09 15:03 +0200 http://bitbucket.org/pypy/pypy/changeset/01608017108a/ Log:merge diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++ b/pypy/obj

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) Create a branch for reviving rdict experiments

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67241:df6c605a7c38 Date: 2013-10-09 11:54 +0200 http://bitbucket.org/pypy/pypy/changeset/df6c605a7c38/ Log:(fijal, arigo) Create a branch for reviving rdict experiments ___ pypy-com

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo)

2013-10-09 Thread arigo
Author: Armin Rigo Branch: rdict-experiments-3 Changeset: r67247:8ca34c1e8968 Date: 2013-10-09 16:10 +0200 http://bitbucket.org/pypy/pypy/changeset/8ca34c1e8968/ Log:(fijal, arigo) Copy the logic diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.

[pypy-commit] pypy incremental-gc: Another TODO item

2013-10-09 Thread arigo
Author: Armin Rigo Branch: incremental-gc Changeset: r67246:78791c8fb3a3 Date: 2013-10-09 09:07 +0200 http://bitbucket.org/pypy/pypy/changeset/78791c8fb3a3/ Log:Another TODO item diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -17,3 +17,8 @@ * REDO card marking, starting with "card_page

[pypy-commit] pypy rdict-experiments-3: (arigo, fijal around) in-progress

2013-10-09 Thread arigo
Author: Armin Rigo Branch: rdict-experiments-3 Changeset: r67248:0017edf4d84c Date: 2013-10-09 16:52 +0200 http://bitbucket.org/pypy/pypy/changeset/0017edf4d84c/ Log:(arigo, fijal around) in-progress diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py --

[pypy-commit] pypy fast_cffi_list_init: implement the fast-path for intstrategy and long[] only

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67250:a8d55ebf78ea Date: 2013-10-09 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/a8d55ebf78ea/ Log:implement the fast-path for intstrategy and long[] only diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_

[pypy-commit] pypy fast_cffi_list_init: implement the fast-path also for double[] and floatstrategy

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67251:e3f5920e0686 Date: 2013-10-09 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/e3f5920e0686/ Log:implement the fast-path also for double[] and floatstrategy diff --git a/pypy/module/_cffi_backend/ctypeptr.py b/pypy/modul

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo)

2013-10-09 Thread arigo
Author: Armin Rigo Branch: rdict-experiments-3 Changeset: r67252:5d7877739b59 Date: 2013-10-09 18:36 +0200 http://bitbucket.org/pypy/pypy/changeset/5d7877739b59/ Log:(fijal, arigo) Argh. Progress, probably, but keeping all the invariants with two differently over-allocated li

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) simple fixes to make iteration work

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67253:876473158bd8 Date: 2013-10-09 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/876473158bd8/ Log:(fijal, arigo) simple fixes to make iteration work diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) remove the mess from popitem that stored stuff in a global

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67254:c6c3940285e7 Date: 2013-10-09 18:53 +0200 http://bitbucket.org/pypy/pypy/changeset/c6c3940285e7/ Log:(fijal, arigo) remove the mess from popitem that stored stuff in a global structure. diff --git a/rpython/rtyp

[pypy-commit] pypy rdict-experiments-3: (arigo) add some more paranoia

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67255:775d6e5f7190 Date: 2013-10-09 19:12 +0200 http://bitbucket.org/pypy/pypy/changeset/775d6e5f7190/ Log:(arigo) add some more paranoia diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.

[pypy-commit] pypy default: some tests for error messages

2013-10-09 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67256:d91e484f733e Date: 2013-10-09 19:17 +0200 http://bitbucket.org/pypy/pypy/changeset/d91e484f733e/ Log:some tests for error messages diff --git a/rpython/annotator/test/test_annrpython.py b/rpython/annotator/test/test_annrpython.py --- a/r

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo) RPythonification

2013-10-09 Thread arigo
Author: Armin Rigo Branch: rdict-experiments-3 Changeset: r67257:2a1d6345670e Date: 2013-10-09 19:21 +0200 http://bitbucket.org/pypy/pypy/changeset/2a1d6345670e/ Log:(fijal, arigo) RPythonification diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py ---

[pypy-commit] pypy rdict-experiments-3: (fijal, arigo)

2013-10-09 Thread arigo
Author: Armin Rigo Branch: rdict-experiments-3 Changeset: r67258:f0f77aef2ee3 Date: 2013-10-09 19:26 +0200 http://bitbucket.org/pypy/pypy/changeset/f0f77aef2ee3/ Log:(fijal, arigo) More RPythonification diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py

[pypy-commit] pypy fast_cffi_list_init: bah, forgot to hg add this file

2013-10-09 Thread antocuni
Author: Antonio Cuni Branch: fast_cffi_list_init Changeset: r67259:4337806d2cd5 Date: 2013-10-09 21:56 +0200 http://bitbucket.org/pypy/pypy/changeset/4337806d2cd5/ Log:bah, forgot to hg add this file diff --git a/pypy/module/_cffi_backend/test/test_extra.py b/pypy/module/_cffi_backend/test/

[pypy-commit] pypy ndarray-sort: fix tests for -A

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67261:c710232971f1 Date: 2013-10-08 00:21 +0300 http://bitbucket.org/pypy/pypy/changeset/c710232971f1/ Log:fix tests for -A diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/modu

[pypy-commit] pypy ndarray-sort: add tests from numpy, fix possible segfault

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67260:307fed969929 Date: 2013-10-07 23:38 +0300 http://bitbucket.org/pypy/pypy/changeset/307fed969929/ Log:add tests from numpy, fix possible segfault diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test

[pypy-commit] pypy ndarray-sort: add a test

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67262:3e3e77f4cc44 Date: 2013-10-08 20:05 +0300 http://bitbucket.org/pypy/pypy/changeset/3e3e77f4cc44/ Log:add a test diff --git a/pypy/module/micronumpy/test/test_sorting.py b/pypy/module/micronumpy/test/test_sorting.py --- a/pypy/module

[pypy-commit] pypy ndarray-sort: fix sorting nan for complex

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67264:bde7f67cd9db Date: 2013-10-09 22:58 +0300 http://bitbucket.org/pypy/pypy/changeset/bde7f67cd9db/ Log:fix sorting nan for complex diff --git a/pypy/module/micronumpy/arrayimpl/sort.py b/pypy/module/micronumpy/arrayimpl/sort.py --- a/

[pypy-commit] pypy ndarray-sort: some tests pass, raise for non-native byte order

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67263:83de01401b30 Date: 2013-10-09 20:24 +0300 http://bitbucket.org/pypy/pypy/changeset/83de01401b30/ Log:some tests pass, raise for non-native byte order diff --git a/pypy/module/micronumpy/arrayimpl/concrete.py b/pypy/module/micronumpy

[pypy-commit] pypy cpyext-best_base: cleanup

2013-10-09 Thread mattip
Author: Matti Picus Branch: cpyext-best_base Changeset: r67267:e409b611cf6d Date: 2013-10-10 01:05 +0300 http://bitbucket.org/pypy/pypy/changeset/e409b611cf6d/ Log:cleanup diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py --- a/pypy/module/cpyext/typeobject.py

[pypy-commit] pypy cpyext-best_base: add test, fix best_base (amaury)

2013-10-09 Thread mattip
Author: Matti Picus Branch: cpyext-best_base Changeset: r67266:00e1a7288bbb Date: 2013-10-10 01:03 +0300 http://bitbucket.org/pypy/pypy/changeset/00e1a7288bbb/ Log:add test, fix best_base (amaury) diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py -

[pypy-commit] pypy ndarray-sort: fix default axis off-by-one

2013-10-09 Thread mattip
Author: Matti Picus Branch: ndarray-sort Changeset: r67265:656eded4a6ba Date: 2013-10-09 23:13 +0300 http://bitbucket.org/pypy/pypy/changeset/656eded4a6ba/ Log:fix default axis off-by-one diff --git a/pypy/module/micronumpy/arrayimpl/sort.py b/pypy/module/micronumpy/arrayimpl/sort.py --- a/

[pypy-commit] pypy default: adapt get_include() to function after installing numpy to site-packages

2013-10-09 Thread mattip
Author: Matti Picus Branch: Changeset: r67269:e37ed16ca2e0 Date: 2013-10-10 01:44 +0300 http://bitbucket.org/pypy/pypy/changeset/e37ed16ca2e0/ Log:adapt get_include() to function after installing numpy to site- packages diff --git a/lib_pypy/numpypy/__init__.py b/lib_pypy/numpypy/__

[pypy-commit] pypy default: pull out a special case for py3k which returns complex in this case

2013-10-09 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r67270:09045c74ae0c Date: 2013-10-09 16:10 -0700 http://bitbucket.org/pypy/pypy/changeset/09045c74ae0c/ Log:pull out a special case for py3k which returns complex in this case diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobj

[pypy-commit] pypy py3k: reapply py3k's behavior

2013-10-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r67272:1a9a32b0a81d Date: 2013-10-09 16:21 -0700 http://bitbucket.org/pypy/pypy/changeset/1a9a32b0a81d/ Log:reapply py3k's behavior diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py --- a/pypy/objspace/std/floatobje

[pypy-commit] pypy default: whitespace

2013-10-09 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r67273:bafa606b36e1 Date: 2013-10-09 16:28 -0700 http://bitbucket.org/pypy/pypy/changeset/bafa606b36e1/ Log:whitespace diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py --- a/pypy/objspace/std/floatobject.py +++ b/pypy/