[pypy-commit] pypy vecopt: updated test for constant expansion (test_zjit),

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77203:b5b718bd459b Date: 2015-05-07 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/b5b718bd459b/ Log:updated test for constant expansion (test_zjit), added a test to test_vectorize.py that tests variable

[pypy-commit] cffi cffi-1.0: simplify

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1924:13879916deb2 Date: 2015-05-07 23:48 +0200 http://bitbucket.org/cffi/cffi/changeset/13879916deb2/ Log:simplify diff --git a/_cffi1/lib_obj.c b/_cffi1/lib_obj.c --- a/_cffi1/lib_obj.c +++ b/_cffi1/lib_obj.c @@ -113,24 +113,18

[pypy-commit] pypy cffi-1.0: Globals

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77191:fe991631ae9c Date: 2015-05-08 09:29 +0200 http://bitbucket.org/pypy/pypy/changeset/fe991631ae9c/ Log:Globals diff --git a/pypy/module/_cffi_backend/cglob.py b/pypy/module/_cffi_backend/cglob.py new file mode 100644 ---

[pypy-commit] cffi cffi-1.0: Silence warnings

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1927:389b3c07ffda Date: 2015-05-08 10:01 +0200 http://bitbucket.org/cffi/cffi/changeset/389b3c07ffda/ Log:Silence warnings diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++

[pypy-commit] pypy cffi-1.0: fix more tests

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77193:e2d47786698d Date: 2015-05-08 09:39 +0200 http://bitbucket.org/pypy/pypy/changeset/e2d47786698d/ Log:fix more tests diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: error cases of realize_global_int

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77197:5ee697bc06e1 Date: 2015-05-08 10:18 +0200 http://bitbucket.org/pypy/pypy/changeset/5ee697bc06e1/ Log:error cases of realize_global_int diff --git a/pypy/module/_cffi_backend/realize_c_type.py

[pypy-commit] pypy cffi-1.0: Needs to import _cffi_backend at app-level, otherwise the startup()

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77196:1f30bf3baf5a Date: 2015-05-08 10:15 +0200 http://bitbucket.org/pypy/pypy/changeset/1f30bf3baf5a/ Log:Needs to import _cffi_backend at app-level, otherwise the startup() method is not called diff --git

[pypy-commit] pypy cffi-1.0: Typenames

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77192:142f9ca18dcc Date: 2015-05-08 09:33 +0200 http://bitbucket.org/pypy/pypy/changeset/142f9ca18dcc/ Log:Typenames diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py ---

[pypy-commit] pypy cffi-1.0: non-integer constants

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77198:4180e31602c9 Date: 2015-05-08 10:24 +0200 http://bitbucket.org/pypy/pypy/changeset/4180e31602c9/ Log:non-integer constants diff --git a/pypy/module/_cffi_backend/lib_obj.py b/pypy/module/_cffi_backend/lib_obj.py ---

[pypy-commit] cffi cffi-1.0: Add another future proofing

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1925:a3db572c1621 Date: 2015-05-08 08:39 +0200 http://bitbucket.org/cffi/cffi/changeset/a3db572c1621/ Log:Add another future proofing diff --git a/_cffi1/parse_c_type.h b/_cffi1/parse_c_type.h --- a/_cffi1/parse_c_type.h +++

[pypy-commit] pypy cffi-1.0: repr, dir on Lib

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77199:a530bbeca295 Date: 2015-05-08 10:35 +0200 http://bitbucket.org/pypy/pypy/changeset/a530bbeca295/ Log:repr, dir on Lib diff --git a/pypy/module/_cffi_backend/lib_obj.py b/pypy/module/_cffi_backend/lib_obj.py ---

[pypy-commit] cffi cffi-1.0: Test repr(lib)

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1928:3f00fb18d21a Date: 2015-05-08 10:30 +0200 http://bitbucket.org/cffi/cffi/changeset/3f00fb18d21a/ Log:Test repr(lib) diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++

[pypy-commit] cffi cffi-1.0: Use a '_CFFI_' prefix in test names to avoid clashes

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1929:a44881948802 Date: 2015-05-08 10:36 +0200 http://bitbucket.org/cffi/cffi/changeset/a44881948802/ Log:Use a '_CFFI_' prefix in test names to avoid clashes diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py

[pypy-commit] pypy cffi-1.0: Tweaks

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77187:aee219ca72d9 Date: 2015-05-08 08:54 +0200 http://bitbucket.org/pypy/pypy/changeset/aee219ca72d9/ Log:Tweaks diff --git a/pypy/module/_cffi_backend/cffi1_module.py b/pypy/module/_cffi_backend/cffi1_module.py ---

[pypy-commit] pypy cffi-1.0: Now the tests start passing

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77188:f3185bf12230 Date: 2015-05-08 09:01 +0200 http://bitbucket.org/pypy/pypy/changeset/f3185bf12230/ Log:Now the tests start passing diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy default: oups in three files' typedef's acceptable_as_base_class

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r77189:1af6d6f8e1e1 Date: 2015-05-08 09:21 +0200 http://bitbucket.org/pypy/pypy/changeset/1af6d6f8e1e1/ Log:oups in three files' typedef's acceptable_as_base_class diff --git a/pypy/module/_cffi_backend/libraryobj.py

[pypy-commit] pypy default: Replace some acceptable_as_base_class=False with assert not

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r77190:879198358af4 Date: 2015-05-08 09:22 +0200 http://bitbucket.org/pypy/pypy/changeset/879198358af4/ Log:Replace some acceptable_as_base_class=False with assert not acceptable_as_base_class to make it clear that it defaults to

[pypy-commit] pypy cffi-1.0: in-progress

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77195:8ea3cb12052f Date: 2015-05-08 10:02 +0200 http://bitbucket.org/pypy/pypy/changeset/8ea3cb12052f/ Log:in-progress diff --git a/pypy/module/_cffi_backend/lib_obj.py b/pypy/module/_cffi_backend/lib_obj.py ---

[pypy-commit] pypy cffi-1.0: Writing to global vars

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77194:36252eaabebf Date: 2015-05-08 09:39 +0200 http://bitbucket.org/pypy/pypy/changeset/36252eaabebf/ Log:Writing to global vars diff --git a/pypy/module/_cffi_backend/cglob.py b/pypy/module/_cffi_backend/cglob.py ---

[pypy-commit] pypy cffi-1.0: use ClassAttr

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77201:567a6f1771b2 Date: 2015-05-08 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/567a6f1771b2/ Log:use ClassAttr diff --git a/pypy/module/_cffi_backend/__init__.py b/pypy/module/_cffi_backend/__init__.py ---

[pypy-commit] pypy cffi-1.0: new feature in TypeDefs: you can use ClassAttr(f) to make a class

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77200:8d4b19bf8439 Date: 2015-05-08 11:07 +0200 http://bitbucket.org/pypy/pypy/changeset/8d4b19bf8439/ Log:new feature in TypeDefs: you can use ClassAttr(f) to make a class attribute whose value is lazily initialized by

[pypy-commit] cffi cffi-1.0: Move test

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1926:d75bd4e50d36 Date: 2015-05-08 08:55 +0200 http://bitbucket.org/cffi/cffi/changeset/d75bd4e50d36/ Log:Move test diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.py +++

[pypy-commit] pypy vecopt: renamed zjit_test,

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77202:709297417af9 Date: 2015-05-07 16:44 +0200 http://bitbucket.org/pypy/pypy/changeset/709297417af9/ Log:renamed zjit_test, removed byte count and signed from vector box - descr in backend provides this added expand

[pypy-commit] pypy vecopt: unpack/pack operations (vector[x]-scalar, scalar-vector[y])

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77204:0ae5b544bbcb Date: 2015-05-08 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/0ae5b544bbcb/ Log:unpack/pack operations (vector[x]-scalar, scalar-vector[y]) updated the test_zjit test suite (skip all non

[pypy-commit] pypy cffi-1.0: More test fixing

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77206:684bf839ac1b Date: 2015-05-08 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/684bf839ac1b/ Log:More test fixing diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: fix test

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77205:2d4dbe8a974f Date: 2015-05-08 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/2d4dbe8a974f/ Log:fix test diff --git a/pypy/module/_cffi_backend/test/test_parse_c_type.py

[pypy-commit] cffi cffi-1.0: Test for f9eca71a085b

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1931:8bcd1c0658a4 Date: 2015-05-08 11:38 +0200 http://bitbucket.org/cffi/cffi/changeset/8bcd1c0658a4/ Log:Test for f9eca71a085b diff --git a/_cffi1/test_ffi_obj.py b/_cffi1/test_ffi_obj.py --- a/_cffi1/test_ffi_obj.py +++

[pypy-commit] cffi cffi-1.0: Add keyword arguments to a few ffi methods

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1930:f9eca71a085b Date: 2015-05-08 11:36 +0200 http://bitbucket.org/cffi/cffi/changeset/f9eca71a085b/ Log:Add keyword arguments to a few ffi methods diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++

[pypy-commit] pypy cffi-1.0: Grumble, figured out that the reason we get sometimes unexpected objects

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77211:8d28e47f70b9 Date: 2015-05-08 15:57 +0200 http://bitbucket.org/pypy/pypy/changeset/8d28e47f70b9/ Log:Grumble, figured out that the reason we get sometimes unexpected objects staying alive is that there is a cycle

[pypy-commit] pypy numpy-fixes: add failing test, support call2; in ufuncs call __array_wrap__ after __array_finalize__

2015-05-08 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpy-fixes Changeset: r77218:c82e8c164d0b Date: 2015-05-08 17:31 +0300 http://bitbucket.org/pypy/pypy/changeset/c82e8c164d0b/ Log:add failing test, support call2; in ufuncs call __array_wrap__ after __array_finalize__ diff --git

[pypy-commit] pypy numpy-fixes: fix the hack to fix tests

2015-05-08 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpy-fixes Changeset: r77220:a8c81a72dd3b Date: 2015-05-08 18:19 +0300 http://bitbucket.org/pypy/pypy/changeset/a8c81a72dd3b/ Log:fix the hack to fix tests diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py ---

[pypy-commit] pypy numpy-fixes: mark places where __array_wrap__ should be called

2015-05-08 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpy-fixes Changeset: r77217:dd76a85778e6 Date: 2015-05-08 14:06 +0300 http://bitbucket.org/pypy/pypy/changeset/dd76a85778e6/ Log:mark places where __array_wrap__ should be called diff --git a/pypy/module/micronumpy/ndarray.py

[pypy-commit] pypy cffi-1.0: more progress

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77210:bb885a67145f Date: 2015-05-08 15:42 +0200 http://bitbucket.org/pypy/pypy/changeset/bb885a67145f/ Log:more progress diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py ---

[pypy-commit] pypy cffi-1.0: Enums

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77212:59b2f83ef5fd Date: 2015-05-08 16:16 +0200 http://bitbucket.org/pypy/pypy/changeset/59b2f83ef5fd/ Log:Enums diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py ---

[pypy-commit] pypy cffi-1.0: ffi.offsetof(), and improve JITting of ffi.addressof()

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77209:8319d5c0a983 Date: 2015-05-08 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/8319d5c0a983/ Log:ffi.offsetof(), and improve JITting of ffi.addressof() diff --git a/pypy/module/_cffi_backend/ffi_obj.py

[pypy-commit] pypy cffi-1.0: fix more tests

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77216:df63c959460c Date: 2015-05-08 16:56 +0200 http://bitbucket.org/pypy/pypy/changeset/df63c959460c/ Log:fix more tests diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: Pff, this fixes a leak

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77213:4b09aa7b0267 Date: 2015-05-08 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/4b09aa7b0267/ Log:Pff, this fixes a leak diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: fix test_module_name_in_package

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77215:f8008542fa0b Date: 2015-05-08 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/f8008542fa0b/ Log:fix test_module_name_in_package diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: unnamed structs

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77214:689c6f14c522 Date: 2015-05-08 16:26 +0200 http://bitbucket.org/pypy/pypy/changeset/689c6f14c522/ Log:unnamed structs diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py

[pypy-commit] pypy numpy-fixes: fix for flatiter

2015-05-08 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpy-fixes Changeset: r77219:e0b708050960 Date: 2015-05-08 17:45 +0300 http://bitbucket.org/pypy/pypy/changeset/e0b708050960/ Log:fix for flatiter diff --git a/pypy/module/micronumpy/flatiter.py b/pypy/module/micronumpy/flatiter.py ---

[pypy-commit] pypy cells-local-stack: remove unused methods

2015-05-08 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: cells-local-stack Changeset: r77230:1c5a12a2b501 Date: 2015-05-08 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/1c5a12a2b501/ Log:remove unused methods diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py ---

[pypy-commit] pypy cells-local-stack: fix virtualizable declaration

2015-05-08 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: cells-local-stack Changeset: r77231:949773852cc3 Date: 2015-05-08 18:46 +0200 http://bitbucket.org/pypy/pypy/changeset/949773852cc3/ Log:fix virtualizable declaration diff --git a/pypy/module/pypyjit/interp_jit.py

[pypy-commit] pypy cells-local-stack: fix asserts about the stack depth

2015-05-08 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: cells-local-stack Changeset: r77229:e95331850baf Date: 2015-05-08 18:42 +0200 http://bitbucket.org/pypy/pypy/changeset/e95331850baf/ Log:fix asserts about the stack depth diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py

[pypy-commit] pypy cffi-1.0: Remaining include tests

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77224:f84ac6b1d5ee Date: 2015-05-08 17:55 +0200 http://bitbucket.org/pypy/pypy/changeset/f84ac6b1d5ee/ Log:Remaining include tests diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] cffi cffi-1.0: comment

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1932:60410fd493a2 Date: 2015-05-08 18:03 +0200 http://bitbucket.org/cffi/cffi/changeset/60410fd493a2/ Log:comment diff --git a/_cffi1/realize_c_type.c b/_cffi1/realize_c_type.c --- a/_cffi1/realize_c_type.c +++

[pypy-commit] cffi cffi-1.0: Add a passing test

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1933:2e36923f3024 Date: 2015-05-08 18:03 +0200 http://bitbucket.org/cffi/cffi/changeset/2e36923f3024/ Log:Add a passing test diff --git a/_cffi1/test_ffi_obj.py b/_cffi1/test_ffi_obj.py --- a/_cffi1/test_ffi_obj.py +++

[pypy-commit] pypy cffi-1.0: Test and fix

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77226:4b5f9b10219f Date: 2015-05-08 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/4b5f9b10219f/ Log:Test and fix diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py ---

[pypy-commit] pypy cffi-1.0: Translation fixes (yay test_ztranslation)

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77227:84657c90a123 Date: 2015-05-08 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/84657c90a123/ Log:Translation fixes (yay test_ztranslation) diff --git a/pypy/module/_cffi_backend/ffi_obj.py

[pypy-commit] pypy cells-local-stack: cells field is no longer needed

2015-05-08 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: cells-local-stack Changeset: r77228:8f473b742931 Date: 2015-05-08 18:27 +0200 http://bitbucket.org/pypy/pypy/changeset/8f473b742931/ Log:cells field is no longer needed diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py

[pypy-commit] pypy cffi-1.0: Next test

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77223:f259e960f2a7 Date: 2015-05-08 17:51 +0200 http://bitbucket.org/pypy/pypy/changeset/f259e960f2a7/ Log:Next test diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py ---

[pypy-commit] pypy cffi-1.0: next include test passing

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77222:1814131f1188 Date: 2015-05-08 17:36 +0200 http://bitbucket.org/pypy/pypy/changeset/1814131f1188/ Log:next include test passing diff --git a/pypy/module/_cffi_backend/cffi1_module.py

[pypy-commit] pypy cffi-1.0: Prepare tests for ffi.include()

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77221:d0666049f462 Date: 2015-05-08 17:22 +0200 http://bitbucket.org/pypy/pypy/changeset/d0666049f462/ Log:Prepare tests for ffi.include() diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py

[pypy-commit] pypy cffi-1.0: NonConstant is not actually needed here (rffi.cast() is enough) and

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77233:31adb4a02ab8 Date: 2015-05-08 19:05 +0200 http://bitbucket.org/pypy/pypy/changeset/31adb4a02ab8/ Log:NonConstant is not actually needed here (rffi.cast() is enough) and it fails the non-translated tests... diff

[pypy-commit] pypy cffi-1.0: JIT fixes

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77232:b878318b35ce Date: 2015-05-08 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/b878318b35ce/ Log:JIT fixes diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py ---

[pypy-commit] pypy cells-local-stack: merge default

2015-05-08 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: cells-local-stack Changeset: r77225:f983d4b8a743 Date: 2015-05-08 18:00 +0200 http://bitbucket.org/pypy/pypy/changeset/f983d4b8a743/ Log:merge default diff too long, truncating to 2000 out of 60166 lines diff --git a/.gitignore b/.gitignore

[pypy-commit] cffi cffi-1.0: unicode_literals detection

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1935:13678138d79e Date: 2015-05-08 20:35 +0200 http://bitbucket.org/cffi/cffi/changeset/13678138d79e/ Log:unicode_literals detection diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -479,7 +479,9 @@

[pypy-commit] cffi cffi-1.0: Improve the test for unicode_literals. Now it fails

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1936:fb159344a9d0 Date: 2015-05-08 20:36 +0200 http://bitbucket.org/cffi/cffi/changeset/fb159344a9d0/ Log:Improve the test for unicode_literals. Now it fails diff --git a/_cffi1/test_unicode_literals.py

[pypy-commit] cffi cffi-1.0: Accept unicode literals for type specifications too

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1937:8e9329205207 Date: 2015-05-08 20:48 +0200 http://bitbucket.org/cffi/cffi/changeset/8e9329205207/ Log:Accept unicode literals for type specifications too diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c ---

[pypy-commit] cffi cffi-1.0: add a doc to-do

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1938:8bb4a702b17d Date: 2015-05-08 21:07 +0200 http://bitbucket.org/cffi/cffi/changeset/8bb4a702b17d/ Log:add a doc to-do diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,6 +1,8 @@ -* write docs! +* write docs! also,

[pypy-commit] cffi cffi-1.0: 'cffi_modules' can be unicodes on 2.7 with unicode_literals

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r1934:d4a2e140968a Date: 2015-05-08 20:33 +0200 http://bitbucket.org/cffi/cffi/changeset/d4a2e140968a/ Log:'cffi_modules' can be unicodes on 2.7 with unicode_literals diff --git a/_cffi1/setuptools_ext.py

[pypy-commit] pypy cffi-1.0: @elidable needs a bit of care: it cannot be used on functions that

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77234:b67dbf9a0ed8 Date: 2015-05-08 20:24 +0200 http://bitbucket.org/pypy/pypy/changeset/b67dbf9a0ed8/ Log:@elidable needs a bit of care: it cannot be used on functions that indirectly cause external function calls or GIL

[pypy-commit] pypy cffi-1.0: Accept unicode literals in type declarations

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77235:e3cd5b3b4c2f Date: 2015-05-08 21:24 +0200 http://bitbucket.org/pypy/pypy/changeset/e3cd5b3b4c2f/ Log:Accept unicode literals in type declarations diff --git a/pypy/module/_cffi_backend/ffi_obj.py

[pypy-commit] pypy cffi-1.0: The struct names should not include the struct part here.

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77238:77e07116b953 Date: 2015-05-08 22:24 +0200 http://bitbucket.org/pypy/pypy/changeset/77e07116b953/ Log:The struct names should not include the struct part here. diff --git a/pypy/module/_cffi_backend/parse_c_type.py

[pypy-commit] pypy fix-result-types: move some stuff

2015-05-08 Thread rlamy
Author: Ronan Lamy ronan.l...@gmail.com Branch: fix-result-types Changeset: r77236:f1bdad98b4a8 Date: 2015-05-08 20:56 +0100 http://bitbucket.org/pypy/pypy/changeset/f1bdad98b4a8/ Log:move some stuff diff --git a/pypy/module/micronumpy/arrayops.py b/pypy/module/micronumpy/arrayops.py ---

[pypy-commit] pypy cffi-1.0: More dont_look_inside to avoid confusing the JIT

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77237:551a9e744bfa Date: 2015-05-08 21:26 +0200 http://bitbucket.org/pypy/pypy/changeset/551a9e744bfa/ Log:More dont_look_inside to avoid confusing the JIT diff --git a/pypy/module/_cffi_backend/ffi_obj.py

[pypy-commit] pypy cffi-1.0: in-progress

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77208:2d29bf282988 Date: 2015-05-08 15:04 +0200 http://bitbucket.org/pypy/pypy/changeset/2d29bf282988/ Log:in-progress diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py ---

[pypy-commit] pypy cffi-1.0: opaque structs

2015-05-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cffi-1.0 Changeset: r77207:7dc03f1911ef Date: 2015-05-08 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/7dc03f1911ef/ Log:opaque structs diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py