[pypy-commit] pypy emit-call-x86: A branch to refactor _emit_call() and fix it for call_release_gil().

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64309:ba771143d971 Date: 2013-05-19 11:31 +0200 http://bitbucket.org/pypy/pypy/changeset/ba771143d971/ Log:A branch to refactor _emit_call() and fix it for call_release_gil(). The issue is that it's not ok to do any

[pypy-commit] pypy emit-call-x86: In-progress.

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64310:575cd15c0384 Date: 2013-05-19 11:32 +0200 http://bitbucket.org/pypy/pypy/changeset/575cd15c0384/ Log:In-progress. diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy emit-call-x86: Fixes

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64311:01e5cd6f839f Date: 2013-05-19 11:37 +0200 http://bitbucket.org/pypy/pypy/changeset/01e5cd6f839f/ Log:Fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy default: change warning to error

2013-05-19 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r64312:af944c826862 Date: 2013-05-19 11:40 +0200 http://bitbucket.org/pypy/pypy/changeset/af944c826862/ Log:change warning to error diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py ---

[pypy-commit] pypy default: update calls to stacklet_switch

2013-05-19 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: Changeset: r64313:ffdda647471b Date: 2013-05-19 12:46 +0200 http://bitbucket.org/pypy/pypy/changeset/ffdda647471b/ Log:update calls to stacklet_switch diff --git a/rpython/translator/c/src/stacklet/tests.c

[pypy-commit] pypy remove-list-smm-2: Organize imports.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64314:97a0064d87d2 Date: 2013-05-18 13:40 +0200 http://bitbucket.org/pypy/pypy/changeset/97a0064d87d2/ Log:Organize imports. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy remove-list-smm-2: Add __all__ declaration.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64316:519a5386eae6 Date: 2013-05-18 13:54 +0200 http://bitbucket.org/pypy/pypy/changeset/519a5386eae6/ Log:Add __all__ declaration. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy remove-list-smm-2: Kill W_AbstractListObject.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64315:edb290673899 Date: 2013-05-18 13:44 +0200 http://bitbucket.org/pypy/pypy/changeset/edb290673899/ Log:Kill W_AbstractListObject. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy remove-list-smm-2: Inline and kill one-line function get_list_index().

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64318:fe09a3a46053 Date: 2013-05-18 14:04 +0200 http://bitbucket.org/pypy/pypy/changeset/fe09a3a46053/ Log:Inline and kill one-line function get_list_index(). diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy remove-list-smm-2: Move get_positive_index() into util.py.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64319:394ccea84eb4 Date: 2013-05-18 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/394ccea84eb4/ Log:Move get_positive_index() into util.py. diff --git a/pypy/objspace/std/bytearrayobject.py

[pypy-commit] pypy remove-list-smm-2: Inline and kill is_W_IntObject() and friends.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64321:726ade497623 Date: 2013-05-18 14:16 +0200 http://bitbucket.org/pypy/pypy/changeset/726ade497623/ Log:Inline and kill is_W_IntObject() and friends. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy remove-list-smm-2: Move in-function imports to the top of listobject.py.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64320:1e5c1c66fef7 Date: 2013-05-18 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/1e5c1c66fef7/ Log:Move in-function imports to the top of listobject.py. diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy remove-list-smm-2: PEP 8

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64322:44748b5adb12 Date: 2013-05-19 13:35 +0200 http://bitbucket.org/pypy/pypy/changeset/44748b5adb12/ Log:PEP 8 diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++

[pypy-commit] pypy emit-call-x86: Move load_result() into callbuilder too.

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64324:7dbd98504eff Date: 2013-05-19 14:09 +0200 http://bitbucket.org/pypy/pypy/changeset/7dbd98504eff/ Log:Move load_result() into callbuilder too. diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy default: Skip test_get_config_h_filename() when cpyext is not available.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r64325:0a007a299a9b Date: 2013-05-19 15:38 +0200 http://bitbucket.org/pypy/pypy/changeset/0a007a299a9b/ Log:Skip test_get_config_h_filename() when cpyext is not available. diff --git a/lib-python/2.7/test/test_sysconfig.py

[pypy-commit] pypy default: Make test_libload_None() independent from cpyext.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r64326:4f71319354fa Date: 2013-05-19 16:00 +0200 http://bitbucket.org/pypy/pypy/changeset/4f71319354fa/ Log:Make test_libload_None() independent from cpyext. diff --git a/pypy/module/_rawffi/test/test__rawffi.py

[pypy-commit] pypy default: Fix test_pickle().

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r64327:91ab382c7062 Date: 2013-05-19 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/91ab382c7062/ Log:Fix test_pickle(). diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/module/micronumpy/test/test_dtypes.py ---

[pypy-commit] pypy emit-call-x86: in-progress

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64328:fb8653a29037 Date: 2013-05-19 17:04 +0200 http://bitbucket.org/pypy/pypy/changeset/fb8653a29037/ Log:in-progress diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py

[pypy-commit] pypy emit-call-x86: A first version of the code specifically for call_release_gil on x86-64.

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64329:5b914c5dd93e Date: 2013-05-19 17:43 +0200 http://bitbucket.org/pypy/pypy/changeset/5b914c5dd93e/ Log:A first version of the code specifically for call_release_gil on x86-64. diff --git

[pypy-commit] pypy remove-list-smm-2: __mul__ and __rmul__ do the same.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64330:f9da31e273e3 Date: 2013-05-19 17:12 +0200 http://bitbucket.org/pypy/pypy/changeset/f9da31e273e3/ Log:__mul__ and __rmul__ do the same. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy remove-list-smm-2: No need to return space.w_None.

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64331:042f9a29ef0b Date: 2013-05-19 17:35 +0200 http://bitbucket.org/pypy/pypy/changeset/042f9a29ef0b/ Log:No need to return space.w_None. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy emit-call-x86: Attempt to fix issues with a call_release_gil with a non-immediate

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64332:4508172468aa Date: 2013-05-19 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/4508172468aa/ Log:Attempt to fix issues with a call_release_gil with a non-immediate function. Add some other optimizations.

[pypy-commit] pypy emit-call-x86: fixes

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64333:6f8665556925 Date: 2013-05-19 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/6f8665556925/ Log:fixes diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy emit-call-x86: Fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64335:b721a7cda30a Date: 2013-05-19 18:36 +0200 http://bitbucket.org/pypy/pypy/changeset/b721a7cda30a/ Log:Fix diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy emit-call-x86: Improve

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64334:429b32de05ed Date: 2013-05-19 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/429b32de05ed/ Log:Improve diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy emit-call-x86: Preliminary version of a test checking the various result types

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64337:9da176ff588f Date: 2013-05-19 19:39 +0200 http://bitbucket.org/pypy/pypy/changeset/9da176ff588f/ Log:Preliminary version of a test checking the various result types diff --git a/rpython/jit/backend/test/runner_test.py

[pypy-commit] pypy emit-call-x86: Tweaks

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64336:67f739475067 Date: 2013-05-19 19:39 +0200 http://bitbucket.org/pypy/pypy/changeset/67f739475067/ Log:Tweaks diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy emit-call-x86: fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64338:5d96085a18f3 Date: 2013-05-19 19:43 +0200 http://bitbucket.org/pypy/pypy/changeset/5d96085a18f3/ Log:fix diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py ---

[pypy-commit] pypy emit-call-x86: fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64339:75c58f0cd85b Date: 2013-05-19 19:46 +0200 http://bitbucket.org/pypy/pypy/changeset/75c58f0cd85b/ Log:fix diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py ---

[pypy-commit] pypy emit-call-x86: fixes

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64340:757e2f4aedcf Date: 2013-05-19 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/757e2f4aedcf/ Log:fixes diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py ---

[pypy-commit] pypy emit-call-x86: Add a test about call_release_gil and all kinds of combinations thereof

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64341:11308c51c9a5 Date: 2013-05-19 20:37 +0200 http://bitbucket.org/pypy/pypy/changeset/11308c51c9a5/ Log:Add a test about call_release_gil and all kinds of combinations thereof diff --git

[pypy-commit] pypy emit-call-x86: Improve testing: any access to ebp between the GIL release and require will give nonsense results

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64342:81c1063efbe4 Date: 2013-05-19 20:42 +0200 http://bitbucket.org/pypy/pypy/changeset/81c1063efbe4/ Log:Improve testing: any access to ebp between the GIL release and require will give nonsense results diff --git

[pypy-commit] pypy emit-call-x86: fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64343:272efc3772c8 Date: 2013-05-19 20:46 +0200 http://bitbucket.org/pypy/pypy/changeset/272efc3772c8/ Log:fix diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy emit-call-x86: fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64344:6e03d53e6d6f Date: 2013-05-19 20:57 +0200 http://bitbucket.org/pypy/pypy/changeset/6e03d53e6d6f/ Log:fix diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy emit-call-x86: Improve the test

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64345:ac2bd751b3c4 Date: 2013-05-19 21:02 +0200 http://bitbucket.org/pypy/pypy/changeset/ac2bd751b3c4/ Log:Improve the test diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py ---

[pypy-commit] pypy emit-call-x86: done, seems to work

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64346:eae2a91c2dd3 Date: 2013-05-19 21:15 +0200 http://bitbucket.org/pypy/pypy/changeset/eae2a91c2dd3/ Log:done, seems to work diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py

[pypy-commit] pypy emit-call-x86: just skip this test on top of the llgraph backend

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64347:ae2989f5a6bc Date: 2013-05-19 22:01 +0200 http://bitbucket.org/pypy/pypy/changeset/ae2989f5a6bc/ Log:just skip this test on top of the llgraph backend diff --git a/rpython/jit/backend/llgraph/test/test_llgraph.py

[pypy-commit] pypy emit-call-x86: fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64349:8f33f01f56c5 Date: 2013-05-19 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/8f33f01f56c5/ Log:fix diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy emit-call-x86: Introduce and use emit_no_collect().

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64348:5bf566262645 Date: 2013-05-19 22:08 +0200 http://bitbucket.org/pypy/pypy/changeset/5bf566262645/ Log:Introduce and use emit_no_collect(). diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy emit-call-x86: translation fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64353:6b712fc72723 Date: 2013-05-19 22:20 +0200 http://bitbucket.org/pypy/pypy/changeset/6b712fc72723/ Log:translation fix diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy default: skip when _testcapi ImportErrors (like the other cpyext skips) which is less

2013-05-19 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r64350:2b05ce699b09 Date: 2013-05-19 13:17 -0700 http://bitbucket.org/pypy/pypy/changeset/2b05ce699b09/ Log:skip when _testcapi ImportErrors (like the other cpyext skips) which is less pypy-specific diff --git

[pypy-commit] pypy py3k: merge default

2013-05-19 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: py3k Changeset: r64351:5cfb4173e757 Date: 2013-05-19 13:18 -0700 http://bitbucket.org/pypy/pypy/changeset/5cfb4173e757/ Log:merge default diff --git a/lib-python/2.7/test/test_sysconfig.py b/lib-python/2.7/test/test_sysconfig.py ---

[pypy-commit] pypy py3k: reapply 2b05ce699b09 from default

2013-05-19 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: py3k Changeset: r64352:bb0df4cbd219 Date: 2013-05-19 13:19 -0700 http://bitbucket.org/pypy/pypy/changeset/bb0df4cbd219/ Log:reapply 2b05ce699b09 from default diff --git a/lib-python/3/test/test_sysconfig.py

[pypy-commit] pypy emit-call-x86: translation fix

2013-05-19 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: emit-call-x86 Changeset: r64354:e9deb3c80b86 Date: 2013-05-19 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/e9deb3c80b86/ Log:translation fix diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy remove-list-smm-2: hg merge default

2013-05-19 Thread Manuel Jacob
Author: Manuel Jacob Branch: remove-list-smm-2 Changeset: r64355:eaf13558acc7 Date: 2013-05-20 01:45 +0200 http://bitbucket.org/pypy/pypy/changeset/eaf13558acc7/ Log:hg merge default diff --git a/lib-python/2.7/test/test_sysconfig.py b/lib-python/2.7/test/test_sysconfig.py ---