[pypy-commit] extradoc extradoc: minor fixes

2011-11-02 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r3958:6dbe2306c60f Date: 2011-11-02 08:24 +0100 http://bitbucket.org/pypy/extradoc/changeset/6dbe2306c60f/ Log:minor fixes diff --git a/talk/iwtc11/benchmarks/iter/generator.py b/talk/iwtc11/benchmarks/iter/generator.py --- a/talk/iwtc11/benchm

[pypy-commit] pypy default: On Windows, the renamed binary file must end with ".exe".

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48654:f1e31eaa1fa3 Date: 2011-11-02 11:48 +0100 http://bitbucket.org/pypy/pypy/changeset/f1e31eaa1fa3/ Log:On Windows, the renamed binary file must end with ".exe". diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py --- a/pypy/too

[pypy-commit] pypy default: Windows fix.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48655:a6d3047f241c Date: 2011-11-02 13:54 +0100 http://bitbucket.org/pypy/pypy/changeset/a6d3047f241c/ Log:Windows fix. diff --git a/pypy/module/bz2/test/test_large.py b/pypy/module/bz2/test/test_large.py --- a/pypy/module/bz2/test/test_large.py +++ b

[pypy-commit] pypy default: Skip if we on't have curses.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48656:24570e79aebc Date: 2011-11-02 14:01 +0100 http://bitbucket.org/pypy/pypy/changeset/24570e79aebc/ Log:Skip if we on't have curses. diff --git a/pypy/module/_minimal_curses/__init__.py b/pypy/module/_minimal_curses/__init__.py --- a/pypy/module/_m

[pypy-commit] pypy default: Accept py.test.skip()'s exception as also meaning "skip this package" here.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48657:8ed4c87f1e89 Date: 2011-11-02 14:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8ed4c87f1e89/ Log:Accept py.test.skip()'s exception as also meaning "skip this package" here. diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyopti

[pypy-commit] benchmarks default: Essential fix.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r153:2bd97aedb97e Date: 2011-11-02 15:51 +0100 http://bitbucket.org/pypy/benchmarks/changeset/2bd97aedb97e/ Log:Essential fix. diff --git a/own/json_bench.py b/own/json_bench.py --- a/own/json_bench.py +++ b/own/json_bench.py @@ -26,7 +26,7 @@ impo

[pypy-commit] pypy default: Try never to crash when inspect.getsource() fails.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48659:0dedcb956aa5 Date: 2011-11-02 15:57 +0100 http://bitbucket.org/pypy/pypy/changeset/0dedcb956aa5/ Log:Try never to crash when inspect.getsource() fails. diff --git a/pypy/tool/sourcetools.py b/pypy/tool/sourcetools.py --- a/pypy/tool/sourcetools.p

[pypy-commit] pypy default: remove some C-isms

2011-11-02 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r48660:2ac3b6128b0f Date: 2011-11-02 16:07 +0100 http://bitbucket.org/pypy/pypy/changeset/2ac3b6128b0f/ Log:remove some C-isms diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbigint.py @@ -92

[pypy-commit] pypy list-strategies: Create 2 versions of GeneratorIterator.unpack_into, one which takes a W_ListObject and one which takes an RPython list. This is to allow unwrapped lists to be built

2011-11-02 Thread alex_gaynor
Author: Alex Gaynor Branch: list-strategies Changeset: r48661:10e8201adabd Date: 2011-11-02 11:13 -0400 http://bitbucket.org/pypy/pypy/changeset/10e8201adabd/ Log:Create 2 versions of GeneratorIterator.unpack_into, one which takes a W_ListObject and one which takes an RPython list. Th

[pypy-commit] pypy default: merge heads

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48663:df3d6ccd5f93 Date: 2011-11-02 17:00 +0100 http://bitbucket.org/pypy/pypy/changeset/df3d6ccd5f93/ Log:merge heads diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbigint.py @@ -921,7 +921,7 @@

[pypy-commit] pypy default: Clean up: min() is now RPython.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48662:6cb0e75f39f9 Date: 2011-11-02 17:00 +0100 http://bitbucket.org/pypy/pypy/changeset/6cb0e75f39f9/ Log:Clean up: min() is now RPython. diff --git a/pypy/objspace/std/tupleobject.py b/pypy/objspace/std/tupleobject.py --- a/pypy/objspace/std/tupleobj

[pypy-commit] pypy default: Do the imports only if the config option is set.

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48664:d2cbfaf3d3a1 Date: 2011-11-02 17:04 +0100 http://bitbucket.org/pypy/pypy/changeset/d2cbfaf3d3a1/ Log:Do the imports only if the config option is set. diff --git a/pypy/objspace/std/tupletype.py b/pypy/objspace/std/tupletype.py --- a/pypy/objspace

[pypy-commit] pypy default: Move these imports to a place where they will only be triggered

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48665:3c3328236908 Date: 2011-11-02 17:18 +0100 http://bitbucket.org/pypy/pypy/changeset/3c3328236908/ Log:Move these imports to a place where they will only be triggered if we are configured to use them. diff --git a/pypy/objspace/std/model.py

[pypy-commit] pypy default: Found the cause of the failure of test_nongc_attached_to_gc in

2011-11-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r48666:548c842da8b9 Date: 2011-11-02 17:49 +0100 http://bitbucket.org/pypy/pypy/changeset/548c842da8b9/ Log:Found the cause of the failure of test_nongc_attached_to_gc in test_newgc: we forgot to add the surviving objects from young_objec

[pypy-commit] pypy list-strategies: implement a fast path for list.pop() (without arguments)

2011-11-02 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r48667:caa63b86e8cf Date: 2011-11-02 18:19 +0100 http://bitbucket.org/pypy/pypy/changeset/caa63b86e8cf/ Log:implement a fast path for list.pop() (without arguments) diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std

[pypy-commit] pypy list-strategies: don't encode exact offsets

2011-11-02 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r48668:1159092f9ab4 Date: 2011-11-02 18:25 +0100 http://bitbucket.org/pypy/pypy/changeset/1159092f9ab4/ Log:don't encode exact offsets diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py b/pypy/module/pypyjit/test_pypy_c/t

[pypy-commit] pypy default: failing test

2011-11-02 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48669:a6f23c0ae3e6 Date: 2011-11-02 18:49 +0100 http://bitbucket.org/pypy/pypy/changeset/a6f23c0ae3e6/ Log:failing test diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py --

[pypy-commit] pypy ppc-jit-backend: Use rlwinm for PPC32 zero-extend

2011-11-02 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r48672:21ca802d37d8 Date: 2011-11-02 14:00 -0400 http://bitbucket.org/pypy/pypy/changeset/21ca802d37d8/ Log:Use rlwinm for PPC32 zero-extend diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembl

[pypy-commit] pypy list-strategies: When using a string list-strategy have the same behavior on str.join with one element lists.

2011-11-02 Thread alex_gaynor
Author: Alex Gaynor Branch: list-strategies Changeset: r48673:b387640aa6ba Date: 2011-11-02 14:12 -0400 http://bitbucket.org/pypy/pypy/changeset/b387640aa6ba/ Log:When using a string list-strategy have the same behavior on str.join with one element lists. diff --git a/pypy/objspace/s

[pypy-commit] pypy list-strategies: don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized

2011-11-02 Thread alex_gaynor
Author: Alex Gaynor Branch: list-strategies Changeset: r48674:30af37ca7941 Date: 2011-11-02 17:14 -0400 http://bitbucket.org/pypy/pypy/changeset/30af37ca7941/ Log:don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're

[pypy-commit] pypy default: don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized

2011-11-02 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48675:3150cc438a42 Date: 2011-11-02 17:14 -0400 http://bitbucket.org/pypy/pypy/changeset/3150cc438a42/ Log:don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized di

[pypy-commit] pypy numpy-multidim: fixes for translation

2011-11-02 Thread mattip
Author: mattip Branch: numpy-multidim Changeset: r48676:2b3481fe7090 Date: 2011-11-03 00:31 +0200 http://bitbucket.org/pypy/pypy/changeset/2b3481fe7090/ Log:fixes for translation diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/mod