[pypy-commit] pypy cffi-1.0: fix

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77268:d1f1ad6449ed Date: 2015-05-09 23:36 +0200 http://bitbucket.org/pypy/pypy/changeset/d1f1ad6449ed/ Log:fix diff --git a/pypy/module/_cffi_backend/structwrapper.py b/pypy/module/_cffi_backend/structwrapper.py --- a/pypy/module/_cffi_backend

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77267:f1a756ab424b Date: 2015-05-09 23:25 +0200 http://bitbucket.org/pypy/pypy/changeset/f1a756ab424b/ Log:Translation fix diff --git a/pypy/module/_cffi_backend/structwrapper.py b/pypy/module/_cffi_backend/structwrapper.py --- a/pypy/module/_

[pypy-commit] pypy cffi-1.0: A large amount of efforts in a refactoring for two extra lines of test

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77266:29f15f64bf2f Date: 2015-05-09 23:22 +0200 http://bitbucket.org/pypy/pypy/changeset/29f15f64bf2f/ Log:A large amount of efforts in a refactoring for two extra lines of test diff --git a/pypy/module/_cffi_backend/realize_c_type.py

[pypy-commit] pypy numpy-fixes: merge default into branch

2015-05-09 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r77265:bd891c231bf7 Date: 2015-05-09 23:26 +0300 http://bitbucket.org/pypy/pypy/changeset/bd891c231bf7/ Log:merge default into branch diff too long, truncating to 2000 out of 2015 lines diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.p

[pypy-commit] pypy numpy-fixes: fix, own tests now pass

2015-05-09 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r77264:9e300bd03430 Date: 2015-05-09 23:26 +0300 http://bitbucket.org/pypy/pypy/changeset/9e300bd03430/ Log:fix, own tests now pass diff --git a/pypy/module/micronumpy/ufuncs.py b/pypy/module/micronumpy/ufuncs.py --- a/pypy/module/micronumpy/ufun

[pypy-commit] pypy numpy-fixes: cleanup and call __array_wrap__ where needed, also add missing subtype compatability on reduce()

2015-05-09 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r77263:ca9c0847ff2c Date: 2015-05-09 23:08 +0300 http://bitbucket.org/pypy/pypy/changeset/ca9c0847ff2c/ Log:cleanup and call __array_wrap__ where needed, also add missing subtype compatability on reduce() diff --git a/pypy/module/micronum

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1955:41515ae36671 Date: 2015-05-09 22:14 +0200 http://bitbucket.org/cffi/cffi/changeset/41515ae36671/ Log:add test diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_recompiler.p

[pypy-commit] pypy cffi-1.0: Improve the error message when dependent modules cannot be loaded

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77262:ca7234416c2b Date: 2015-05-09 22:05 +0200 http://bitbucket.org/pypy/pypy/changeset/ca7234416c2b/ Log:Improve the error message when dependent modules cannot be loaded diff --git a/pypy/module/_cffi_backend/lib_obj.py b/pypy/module/_cffi_

[pypy-commit] cffi cffi-1.0: Improve the error message when dependent modules cannot be loaded

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1954:4fff37404e97 Date: 2015-05-09 21:59 +0200 http://bitbucket.org/cffi/cffi/changeset/4fff37404e97/ Log:Improve the error message when dependent modules cannot be loaded diff --git a/_cffi1/cffi1_module.c b/_cffi1/cffi1_module.c --- a/_cffi1/

[pypy-commit] pypy cffi-1.0: @edliable fix: can't call _new_function_type() from an elidable function

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77261:b9b34c957683 Date: 2015-05-09 20:41 +0200 http://bitbucket.org/pypy/pypy/changeset/b9b34c957683/ Log:@edliable fix: can't call _new_function_type() from an elidable function diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pyp

[pypy-commit] pypy cffi-1.0: Forgot to add '...'

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77260:64e57ef4ab86 Date: 2015-05-09 20:38 +0200 http://bitbucket.org/pypy/pypy/changeset/64e57ef4ab86/ Log:Forgot to add '...' diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py --- a/pypy/mo

[pypy-commit] pypy cffi-1.0: Fixes

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77259:ac4814a8286b Date: 2015-05-09 19:34 +0200 http://bitbucket.org/pypy/pypy/changeset/ac4814a8286b/ Log:Fixes diff --git a/pypy/module/_cffi_backend/cffi1_module.py b/pypy/module/_cffi_backend/cffi1_module.py --- a/pypy/module/_cffi_backend

[pypy-commit] pypy cffi-1.0: import cffi/c/test_c.py

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77258:64804bccb61e Date: 2015-05-09 19:23 +0200 http://bitbucket.org/pypy/pypy/changeset/64804bccb61e/ Log:import cffi/c/test_c.py diff --git a/pypy/module/_cffi_backend/test/_backend_test_c.py b/pypy/module/_cffi_backend/test/_backend_test_c.

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1953:0f486a9832f8 Date: 2015-05-09 19:22 +0200 http://bitbucket.org/cffi/cffi/changeset/0f486a9832f8/ Log:Fix test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -1071,9 +1071,13 @@ complete_struct_or_union(B

[pypy-commit] pypy cffi-1.0: Struct/union returns

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77257:52bdca9bbc5c Date: 2015-05-09 19:04 +0200 http://bitbucket.org/pypy/pypy/changeset/52bdca9bbc5c/ Log:Struct/union returns diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py --- a/pypy/m

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77256:6c7eb0e3b230 Date: 2015-05-09 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/6c7eb0e3b230/ Log:Test and fix fix fix in progress diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py --- a/pypy

[pypy-commit] cffi cffi-1.0: one more test

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1950:eb914dc3b789 Date: 2015-05-09 18:02 +0200 http://bitbucket.org/cffi/cffi/changeset/eb914dc3b789/ Log:one more test diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_recompi

[pypy-commit] cffi cffi-1.0: Fix tests

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1952:89045df4c441 Date: 2015-05-09 19:16 +0200 http://bitbucket.org/cffi/cffi/changeset/89045df4c441/ Log:Fix tests diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py --- a/_cffi1/test_verify1.py +++ b/_cffi1/test_verify1.py @@ -1037,

[pypy-commit] cffi cffi-1.0: Return structs via a hidden pointer argument

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1951:0f4f79d96d65 Date: 2015-05-09 19:11 +0200 http://bitbucket.org/cffi/cffi/changeset/0f4f79d96d65/ Log:Return structs via a hidden pointer argument diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cf

[pypy-commit] cffi cffi-1.0: improve the test

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1949:0bfc754c21f9 Date: 2015-05-09 16:55 +0200 http://bitbucket.org/cffi/cffi/changeset/0bfc754c21f9/ Log:improve the test diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_reco

[pypy-commit] pypy fix-result-types: hg merge default

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: fix-result-types Changeset: r77255:50cf56895737 Date: 2015-05-09 18:16 +0100 http://bitbucket.org/pypy/pypy/changeset/50cf56895737/ Log:hg merge default diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py --- a/lib_pypy/_functools.py +++ b/lib_pypy/_functo

[pypy-commit] pypy default: document merged branch

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r77254:b476a9c0f8a0 Date: 2015-05-09 18:14 +0100 http://bitbucket.org/pypy/pypy/changeset/b476a9c0f8a0/ Log:document merged branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whats

[pypy-commit] pypy fix-result-types: Use find_result_type() instead of find_binop_result_dtype() in a few places

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: fix-result-types Changeset: r77253:69a8e230abbe Date: 2015-05-09 18:11 +0100 http://bitbucket.org/pypy/pypy/changeset/69a8e230abbe/ Log:Use find_result_type() instead of find_binop_result_dtype() in a few places diff --git a/pypy/module/micronumpy/arrayops.

[pypy-commit] pypy can_cast: Close branch can_cast

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: can_cast Changeset: r77251:ab124ed5fc07 Date: 2015-05-09 18:05 +0100 http://bitbucket.org/pypy/pypy/changeset/ab124ed5fc07/ Log:Close branch can_cast ___ pypy-commit mailing list pypy-commit@python.org https://mail.python

[pypy-commit] pypy default: Merged in can_cast (pull request #324)

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r77252:1d544df18b18 Date: 2015-05-09 18:05 +0100 http://bitbucket.org/pypy/pypy/changeset/1d544df18b18/ Log:Merged in can_cast (pull request #324) Implement np.can_cast, np.min_scalar_type and missing dtype comparison operations. diff -

[pypy-commit] pypy fix-result-types: Start reimplementing np.result_type() to make it compatible with cnumpy

2015-05-09 Thread rlamy
Author: Ronan Lamy Branch: fix-result-types Changeset: r77250:6a670ec95449 Date: 2015-05-09 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/6a670ec95449/ Log:Start reimplementing np.result_type() to make it compatible with cnumpy and create find_result_type() as an equivalent of

[pypy-commit] cffi cffi-1.0: Typo (thanks lazka)

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1948:9093dc33174f Date: 2015-05-09 16:27 +0200 http://bitbucket.org/cffi/cffi/changeset/9093dc33174f/ Log:Typo (thanks lazka) diff --git a/_cffi1/cffi1_module.c b/_cffi1/cffi1_module.c --- a/_cffi1/cffi1_module.c +++ b/_cffi1/cffi1_module.c @@

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1947:6306348762c1 Date: 2015-05-09 16:07 +0200 http://bitbucket.org/cffi/cffi/changeset/6306348762c1/ Log:Test and fix diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_recompil

[pypy-commit] cffi cffi-1.0: The ``cffi_modules = ["module:ffi"]`` can now also name a global

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1946:13a728b641ba Date: 2015-05-09 14:28 +0200 http://bitbucket.org/cffi/cffi/changeset/13a728b641ba/ Log:The ``cffi_modules = ["module:ffi"]`` can now also name a global function instead of an FFI object; the function is then called wit

[pypy-commit] pypy cffi-1.0: ffi.getwinerror() (untested yet)

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77249:027e05646c62 Date: 2015-05-09 13:22 +0200 http://bitbucket.org/pypy/pypy/changeset/027e05646c62/ Log:ffi.getwinerror() (untested yet) diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py --- a/pypy/mod

[pypy-commit] pypy cffi-1.0: ffi.gc()

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77248:38f5a771c73d Date: 2015-05-09 13:18 +0200 http://bitbucket.org/pypy/pypy/changeset/38f5a771c73d/ Log:ffi.gc() diff --git a/pypy/module/_cffi_backend/cgc.py b/pypy/module/_cffi_backend/cgc.py new file mode 100644 --- /dev/null +++ b/pypy/m

[pypy-commit] pypy cffi-1.0: ffi.buffer()

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77245:9766055c7144 Date: 2015-05-09 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/9766055c7144/ Log:ffi.buffer() diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py --- a/pypy/module/_cffi_backend/ff

[pypy-commit] pypy cffi-1.0: ffi.CData, ffi.CType

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77247:f03348b8 Date: 2015-05-09 12:49 +0200 http://bitbucket.org/pypy/pypy/changeset/f03348b8/ Log:ffi.CData, ffi.CType diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py --- a/pypy/module/_cffi_ba

[pypy-commit] pypy cffi-1.0: OP_BITFIELD

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77244:69505a9f7b2b Date: 2015-05-09 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/69505a9f7b2b/ Log:OP_BITFIELD diff --git a/pypy/module/_cffi_backend/realize_c_type.py b/pypy/module/_cffi_backend/realize_c_type.py --- a/pypy/module/_cf

[pypy-commit] pypy cffi-1.0: ffi.from_buffer()

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77246:2ce86180028c Date: 2015-05-09 12:46 +0200 http://bitbucket.org/pypy/pypy/changeset/2ce86180028c/ Log:ffi.from_buffer() diff --git a/pypy/module/_cffi_backend/ffi_obj.py b/pypy/module/_cffi_backend/ffi_obj.py --- a/pypy/module/_cffi_backe

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

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1943:947d257ae0fb Date: 2015-05-09 12:14 +0200 http://bitbucket.org/cffi/cffi/changeset/947d257ae0fb/ Log:Passing test diff --git a/_cffi1/test_ffi_obj.py b/_cffi1/test_ffi_obj.py --- a/_cffi1/test_ffi_obj.py +++ b/_cffi1/test_ffi_obj.py @@ -15

[pypy-commit] pypy cffi-1.0: Test for keyword arguments

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77243:cc3d2d500695 Date: 2015-05-09 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/cc3d2d500695/ Log:Test for keyword arguments diff --git a/pypy/module/_cffi_backend/test/test_ffi_obj.py b/pypy/module/_cffi_backend/test/test_ffi_obj.py

[pypy-commit] cffi cffi-1.0: Failed at manually sorting ;-)

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1944:484ac390540b Date: 2015-05-09 12:17 +0200 http://bitbucket.org/cffi/cffi/changeset/484ac390540b/ Log:Failed at manually sorting ;-) diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++ b/_cffi1/ffi_obj.c @@ -775,9 +7

[pypy-commit] cffi cffi-1.0: A few more small tests

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1945:2ea81fd4c7a9 Date: 2015-05-09 12:50 +0200 http://bitbucket.org/cffi/cffi/changeset/2ea81fd4c7a9/ Log:A few more small tests diff --git a/_cffi1/test_ffi_obj.py b/_cffi1/test_ffi_obj.py --- a/_cffi1/test_ffi_obj.py +++ b/_cffi1/test_ffi_obj

[pypy-commit] cffi cffi-1.0: Skip this test on pypy

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1941:c23ad33cda76 Date: 2015-05-09 09:59 + http://bitbucket.org/cffi/cffi/changeset/c23ad33cda76/ Log:Skip this test on pypy diff --git a/_cffi1/test_cffi_binary.py b/_cffi1/test_cffi_binary.py --- a/_cffi1/test_cffi_binary.py +++ b/_cffi1/

[pypy-commit] cffi cffi-1.0: Add TODO

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1939:de344798cb9b Date: 2015-05-09 12:00 +0200 http://bitbucket.org/cffi/cffi/changeset/de344798cb9b/ Log:Add TODO diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -4,6 +4,8 @@ setup.py, which was needed with verify() but is just confusion

[pypy-commit] cffi cffi-1.0: merge heads

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1942:23a206da071b Date: 2015-05-09 12:01 +0200 http://bitbucket.org/cffi/cffi/changeset/23a206da071b/ Log:merge heads diff --git a/_cffi1/test_cffi_binary.py b/_cffi1/test_cffi_binary.py --- a/_cffi1/test_cffi_binary.py +++ b/_cffi1/test_cffi_b

[pypy-commit] cffi cffi-1.0: Python 3.2 support

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1940:63b86a814e12 Date: 2015-05-09 12:00 +0200 http://bitbucket.org/cffi/cffi/changeset/63b86a814e12/ Log:Python 3.2 support diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_re

[pypy-commit] pypy cffi-1.0: Update cffi.egg-info to the 1.1 version, which allows "entry_points.txt"

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77242:2ef57c1cb5f2 Date: 2015-05-09 09:13 + http://bitbucket.org/pypy/pypy/changeset/2ef57c1cb5f2/ Log:Update cffi.egg-info to the 1.1 version, which allows "entry_points.txt" diff --git a/lib_pypy/_cffi1/_cffi_include.h b/lib_pypy/

[pypy-commit] pypy cffi-1.0: Import cffi 1.0.0 (revision 8bb4a702b17d)

2015-05-09 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r77241:a365f60463e9 Date: 2015-05-09 08:59 + http://bitbucket.org/pypy/pypy/changeset/a365f60463e9/ Log:Import cffi 1.0.0 (revision 8bb4a702b17d) diff too long, truncating to 2000 out of 7137 lines diff --git a/lib_pypy/_cffi1/__init__.py b

[pypy-commit] pypy cells-local-stack: fix translation

2015-05-09 Thread cfbolz
Author: Carl Friedrich Bolz Branch: cells-local-stack Changeset: r77240:1aa9b69ad874 Date: 2015-05-09 10:03 +0200 http://bitbucket.org/pypy/pypy/changeset/1aa9b69ad874/ Log:fix translation diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pypy/interpreter/pyframe.p

[pypy-commit] pypy default: Issue #2043 fix

2015-05-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r77239:0c9627141b68 Date: 2015-05-09 10:01 +0200 http://bitbucket.org/pypy/pypy/changeset/0c9627141b68/ Log:Issue #2043 fix Also fixes an issue with partial(..., self=...) diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py --- a/lib_p