[pypy-commit] pypy default: Fix lib-python.2.7.test.test_builtin. See comments.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r58967:4e277b9928b6 Date: 2012-11-16 22:50 +0100 http://bitbucket.org/pypy/pypy/changeset/4e277b9928b6/ Log:Fix lib-python.2.7.test.test_builtin. See comments. diff --git a/pypy/module/__builtin__/app_functional.py b/pypy/module/__builtin__/app_functio

[pypy-commit] pypy autoreds: close again this branch

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58965:747ce903a879 Date: 2012-11-16 22:11 +0100 http://bitbucket.org/pypy/pypy/changeset/747ce903a879/ Log:close again this branch ___ pypy-commit mailing list pypy-commit@python.org http://mail.pyt

[pypy-commit] pypy default: merge again the autoreds branch, which now uses an approach which seems to work for the upcoming space.iteriterable

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r58966:29f51cb83169 Date: 2012-11-16 22:48 +0100 http://bitbucket.org/pypy/pypy/changeset/29f51cb83169/ Log:merge again the autoreds branch, which now uses an approach which seems to work for the upcoming space.iteriterable diff --git a/pypy/j

[pypy-commit] pypy autoreds: don't rely on threshold but explicitly set _always_inline_

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58964:263d3356e0d1 Date: 2012-11-16 22:07 +0100 http://bitbucket.org/pypy/pypy/changeset/263d3356e0d1/ Log:don't rely on threshold but explicitly set _always_inline_ diff --git a/pypy/jit/metainterp/test/test_warmspot.py b/pypy/jit/metainter

[pypy-commit] pypy py3k: A small gc_collect() after "del", and all tests pass... almost!

2012-11-16 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58963:a34815706e10 Date: 2012-11-16 21:37 +0100 http://bitbucket.org/pypy/pypy/changeset/a34815706e10/ Log:A small gc_collect() after "del", and all tests pass... almost! diff --git a/lib-python/3.2/test/test_concurrent_futures.py b/lib-

[pypy-commit] pypy default: Simplify a bit.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r58962:fc1c36af8f9e Date: 2012-11-16 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/fc1c36af8f9e/ Log:Simplify a bit. diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/pypy/objs

[pypy-commit] pypy default: Be more subtle in set.difference_update: for "big_set -= small_set",

2012-11-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r58961:1813d473c76d Date: 2012-11-16 20:05 +0100 http://bitbucket.org/pypy/pypy/changeset/1813d473c76d/ Log:Be more subtle in set.difference_update: for "big_set -= small_set", we should not make a copy of the big_set, but just remove all items

[pypy-commit] pypy py3k: Disable StringDictStrategy again, and write a test.

2012-11-16 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58960:b7c3de09ed3b Date: 2012-11-16 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/b7c3de09ed3b/ Log:Disable StringDictStrategy again, and write a test. diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmult

[pypy-commit] pypy remove-globals-in-jit: Yay! test_zrpy_gc passes.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58959:71db8445fbb3 Date: 2012-11-16 17:41 +0100 http://bitbucket.org/pypy/pypy/changeset/71db8445fbb3/ Log:Yay! test_zrpy_gc passes. diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py --- a/pypy/jit

[pypy-commit] pypy autoreds: add a test case which previously crashed with the first @inline_in_portal strategy

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58958:1b0cf91daf6e Date: 2012-11-16 17:17 +0100 http://bitbucket.org/pypy/pypy/changeset/1b0cf91daf6e/ Log:add a test case which previously crashed with the first @inline_in_portal strategy diff --git a/pypy/jit/metainterp/test/test_w

[pypy-commit] pypy autoreds: add support for calling the @jitdriver.inline()d function multiple times

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58957:9db0af7d3894 Date: 2012-11-16 17:09 +0100 http://bitbucket.org/pypy/pypy/changeset/9db0af7d3894/ Log:add support for calling the @jitdriver.inline()d function multiple times diff --git a/pypy/jit/metainterp/test/test_warmspot.py

[pypy-commit] pypy autoreds: implement @jitdriver.inline() and test that it's correctly recognized by warmspot

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58956:010486362e23 Date: 2012-11-16 16:46 +0100 http://bitbucket.org/pypy/pypy/changeset/010486362e23/ Log:implement @jitdriver.inline() and test that it's correctly recognized by warmspot diff --git a/pypy/jit/metainterp/test/test_wa

[pypy-commit] pypy autoreds: factor out the logic for how to create an rpython wrapper from enforceargs, and put it in sourcetools

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58955:86c2c43b20bb Date: 2012-11-16 16:22 +0100 http://bitbucket.org/pypy/pypy/changeset/86c2c43b20bb/ Log:factor out the logic for how to create an rpython wrapper from enforceargs, and put it in sourcetools diff --git a/pypy/rlib/ob

[pypy-commit] pypy autoreds: completely change the strategy for inlining jit_merge_points in the

2012-11-16 Thread antocuni
Author: Antonio Cuni Branch: autoreds Changeset: r58954:c953de9d810f Date: 2012-11-16 15:41 +0100 http://bitbucket.org/pypy/pypy/changeset/c953de9d810f/ Log:completely change the strategy for inlining jit_merge_points in the caller. The old one did not work in complex cases involving

[pypy-commit] pypy default: Correct this "assert": it can really fail, e.g. when trying to open

2012-11-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r58953:f9fc91bb6193 Date: 2012-11-16 17:01 +0100 http://bitbucket.org/pypy/pypy/changeset/f9fc91bb6193/ Log:Correct this "assert": it can really fail, e.g. when trying to open /dev/null. diff --git a/pypy/rlib/rzipfile.py b/pypy/rlib/rzipfile.py

[pypy-commit] pypy default: merged upstream

2012-11-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58952:bea486d065e8 Date: 2012-11-16 07:50 -0800 http://bitbucket.org/pypy/pypy/changeset/bea486d065e8/ Log:merged upstream diff --git a/pypy/jit/backend/arm/codebuilder.py b/pypy/jit/backend/arm/codebuilder.py --- a/pypy/jit/backend/arm/codebuilder.p

[pypy-commit] pypy default: a test for the last commit

2012-11-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58951:4405d9cc37a7 Date: 2012-11-16 07:49 -0800 http://bitbucket.org/pypy/pypy/changeset/4405d9cc37a7/ Log:a test for the last commit diff --git a/pypy/jit/metainterp/test/test_heapcache.py b/pypy/jit/metainterp/test/test_heapcache.py --- a/pypy/jit/

[pypy-commit] pypy default: merge heads

2012-11-16 Thread bivab
Author: David Schneider Branch: Changeset: r58950:015887981ee0 Date: 2012-11-16 16:47 +0100 http://bitbucket.org/pypy/pypy/changeset/015887981ee0/ Log:merge heads diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py --- a/pypy/jit/metainterp/heapcache.py +++ b/py

[pypy-commit] pypy default: implement cast_float_to_singlefloat and cast_singlefloat_to_float

2012-11-16 Thread bivab
Author: David Schneider Branch: Changeset: r58949:8a4942788484 Date: 2012-11-16 16:44 +0100 http://bitbucket.org/pypy/pypy/changeset/8a4942788484/ Log:implement cast_float_to_singlefloat and cast_singlefloat_to_float diff --git a/pypy/jit/backend/arm/codebuilder.py b/pypy/jit/backend/arm/c

[pypy-commit] pypy default: enable single_floats on ARM and import some test from the x86 backen

2012-11-16 Thread bivab
Author: David Schneider Branch: Changeset: r58948:8949f1c730a0 Date: 2012-11-16 16:39 +0100 http://bitbucket.org/pypy/pypy/changeset/8949f1c730a0/ Log:enable single_floats on ARM and import some test from the x86 backen diff --git a/pypy/jit/backend/arm/runner.py b/pypy/jit/backend/arm/runn

[pypy-commit] pypy remove-globals-in-jit: Fix translation. Or at least, test_zrpy_gc.py's test_compile_boehm passes.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58947:cd409b41177f Date: 2012-11-16 16:38 +0100 http://bitbucket.org/pypy/pypy/changeset/cd409b41177f/ Log:Fix translation. Or at least, test_zrpy_gc.py's test_compile_boehm passes. diff --git a/pypy/jit/backend/llsupport/l

[pypy-commit] pypy default: merged upstream

2012-11-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58946:681d573f6b40 Date: 2012-11-16 07:12 -0800 http://bitbucket.org/pypy/pypy/changeset/681d573f6b40/ Log:merged upstream diff --git a/pypy/jit/backend/arm/test/test_regalloc.py b/pypy/jit/backend/arm/test/test_regalloc.py --- a/pypy/jit/backend/arm

[pypy-commit] pypy default: INSTANCE_PTR_{EQ, NE} also do not escape their arguments in the JIT

2012-11-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58945:e72d4f5b720e Date: 2012-11-16 07:11 -0800 http://bitbucket.org/pypy/pypy/changeset/e72d4f5b720e/ Log:INSTANCE_PTR_{EQ,NE} also do not escape their arguments in the JIT diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache

[pypy-commit] extradoc extradoc: merge

2012-11-16 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4920:82a0c82fdcf9 Date: 2012-11-16 15:52 +0100 http://bitbucket.org/pypy/extradoc/changeset/82a0c82fdcf9/ Log:merge diff too long, truncating to 2000 out of 21927 lines diff --git a/blog/draft/arm-status-update.rst b/blog/draft/arm-sta

[pypy-commit] extradoc extradoc: move stuff around

2012-11-16 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4918:6638dbe09bbf Date: 2012-11-16 09:14 +0100 http://bitbucket.org/pypy/extradoc/changeset/6638dbe09bbf/ Log:move stuff around diff --git a/talk/rupy2012/pyconza2012/Makefile b/talk/rupy2012/talk/Makefile rename from talk/rupy2012/pyco

[pypy-commit] extradoc extradoc: update

2012-11-16 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4917:105959eee8a4 Date: 2012-11-16 09:12 +0100 http://bitbucket.org/pypy/extradoc/changeset/105959eee8a4/ Log:update diff --git a/talk/rupy2012/pyconza2012/author.latex b/talk/rupy2012/pyconza2012/author.latex --- a/talk/rupy2012/pycon

[pypy-commit] extradoc extradoc: talk as it went

2012-11-16 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4919:5f0930786eaa Date: 2012-11-16 15:51 +0100 http://bitbucket.org/pypy/extradoc/changeset/5f0930786eaa/ Log:talk as it went diff --git a/talk/rupy2012/talk/examples/interpreter.py b/talk/rupy2012/talk/examples/interpreter.py --- a/ta

[pypy-commit] extradoc extradoc: copy pyconza talk

2012-11-16 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4916:a4d78abe3720 Date: 2012-11-16 09:11 +0100 http://bitbucket.org/pypy/extradoc/changeset/a4d78abe3720/ Log:copy pyconza talk diff --git a/talk/pyconza2012/Makefile b/talk/rupy2012/pyconza2012/Makefile copy from talk/pyconza2012/Makef

[pypy-commit] pypy remove-globals-in-jit: Fix test

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58944:bd64126612f1 Date: 2012-11-16 11:04 +0100 http://bitbucket.org/pypy/pypy/changeset/bd64126612f1/ Log:Fix test diff --git a/pypy/jit/backend/x86/test/test_regalloc.py b/pypy/jit/backend/x86/test/test_regalloc.py --- a/pypy/ji

[pypy-commit] pypy remove-globals-in-jit: Fix test

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58943:8bf69942440f Date: 2012-11-16 10:34 +0100 http://bitbucket.org/pypy/pypy/changeset/8bf69942440f/ Log:Fix test diff --git a/pypy/jit/backend/test/calling_convention_test.py b/pypy/jit/backend/test/calling_convention_test.py -

[pypy-commit] pypy remove-globals-in-jit: Fix test

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58942:120ed4c57a6e Date: 2012-11-16 10:30 +0100 http://bitbucket.org/pypy/pypy/changeset/120ed4c57a6e/ Log:Fix test diff --git a/pypy/jit/backend/x86/test/test_assembler.py b/pypy/jit/backend/x86/test/test_assembler.py --- a/pypy/

[pypy-commit] pypy remove-globals-in-jit: Fix test.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58940:0ec90b3a3815 Date: 2012-11-16 10:06 +0100 http://bitbucket.org/pypy/pypy/changeset/0ec90b3a3815/ Log:Fix test. diff --git a/pypy/jit/backend/x86/test/test_runner.py b/pypy/jit/backend/x86/test/test_runner.py --- a/pypy/jit/b

[pypy-commit] pypy remove-globals-in-jit: More work on exceptions. Propagate MemoryError.

2012-11-16 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r58939:eec649fe33e0 Date: 2012-11-16 10:02 +0100 http://bitbucket.org/pypy/pypy/changeset/eec649fe33e0/ Log:More work on exceptions. Propagate MemoryError. diff --git a/pypy/jit/backend/llsupport/llmodel.py b/pypy/jit/backend/llsup