[pypy-commit] pypy default: expand test, fix translation

2017-05-29 Thread mattip
Author: Matti Picus Branch: Changeset: r91439:b17c6b5755f2 Date: 2017-05-30 09:44 +0300 http://bitbucket.org/pypy/pypy/changeset/b17c6b5755f2/ Log:expand test, fix translation diff --git a/pypy/module/cpyext/test/test_tupleobject.py b/pypy/module/cpyext/test/test_tupleobject.py --- a/pypy/

[pypy-commit] pypy default: check tuple, not contents

2017-05-29 Thread mattip
Author: Matti Picus Branch: Changeset: r91438:1049e523ffdb Date: 2017-05-30 01:48 +0300 http://bitbucket.org/pypy/pypy/changeset/1049e523ffdb/ Log:check tuple, not contents diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py --- a/pypy/module/cpyext/tupleobje

[pypy-commit] pypy default: tweak documentation

2017-05-29 Thread mattip
Author: Matti Picus Branch: Changeset: r91437:6cf91075579b Date: 2017-05-30 00:40 +0300 http://bitbucket.org/pypy/pypy/changeset/6cf91075579b/ Log:tweak documentation diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst --- a/pypy/doc/cpython_differences.rst +++

[pypy-commit] pypy default: test, add a failure path, and document differences in PyTuple_SetItem

2017-05-29 Thread mattip
Author: Matti Picus Branch: Changeset: r91436:3e565506d1ed Date: 2017-05-29 22:33 +0300 http://bitbucket.org/pypy/pypy/changeset/3e565506d1ed/ Log:test, add a failure path, and document differences in PyTuple_SetItem diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_d

[pypy-commit] cffi sirtom67/float_complex: fix

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2944:7731e4b006ca Date: 2017-05-29 20:40 +0200 http://bitbucket.org/cffi/cffi/changeset/7731e4b006ca/ Log:fix diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -95,7 +95,8 @@ class BasePrim

[pypy-commit] cffi sirtom67/float_complex: MSVC fixes

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2945:c60f27f65b7b Date: 2017-05-29 20:42 +0200 http://bitbucket.org/cffi/cffi/changeset/c60f27f65b7b/ Log:MSVC fixes diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -924,8 +924

[pypy-commit] cffi sirtom67/float_complex: More tweaks, more tests, try harder to avoid including

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2943:117488cc30fc Date: 2017-05-29 20:37 +0200 http://bitbucket.org/cffi/cffi/changeset/117488cc30fc/ Log:More tweaks, more tests, try harder to avoid including because it is not necessarily there diff --git a/c/_cffi_bac

[pypy-commit] cffi sirtom67/float_complex: Support parsing "float _Complex" and "double _Complex" inside parse_c_type

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2942:f6e7adb9a3b5 Date: 2017-05-29 19:52 +0200 http://bitbucket.org/cffi/cffi/changeset/f6e7adb9a3b5/ Log:Support parsing "float _Complex" and "double _Complex" inside parse_c_type diff --git a/c/parse_c_type.c b/c/parse_c

[pypy-commit] cffi sirtom67/float_complex: Revert the changes to vengine_cpy: better to say that the

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2941:de5953e587b8 Date: 2017-05-29 19:35 +0200 http://bitbucket.org/cffi/cffi/changeset/de5953e587b8/ Log:Revert the changes to vengine_cpy: better to say that the long- deprecated verify mode doesn't support complex diff

[pypy-commit] cffi sirtom67/float_complex: comment

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2940:ecf49f8b034c Date: 2017-05-29 19:31 +0200 http://bitbucket.org/cffi/cffi/changeset/ecf49f8b034c/ Log:comment diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -6725,6 +6725,

[pypy-commit] cffi sirtom67/float_complex: Tweaks

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2938:715175718364 Date: 2017-05-29 19:22 +0200 http://bitbucket.org/cffi/cffi/changeset/715175718364/ Log:Tweaks diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -901,7 +901,7 @

[pypy-commit] cffi sirtom67/float_complex: MSVC might not support _Complex (and the include ).

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2939:c7a53457ef79 Date: 2017-05-29 19:29 +0200 http://bitbucket.org/cffi/cffi/changeset/c7a53457ef79/ Log:MSVC might not support _Complex (and the include ). diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend

[pypy-commit] cffi sirtom67/float_complex: Test explicitly that if we try to call a function in ABI mode with a

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2937:f0f90cb166e5 Date: 2017-05-29 19:10 +0200 http://bitbucket.org/cffi/cffi/changeset/f0f90cb166e5/ Log:Test explicitly that if we try to call a function in ABI mode with a complex argument or return value, then we get a

[pypy-commit] cffi sirtom67/float_complex: Minor style clean-ups. Update the test to conform more closely to the

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2935:9a8456642302 Date: 2017-05-29 18:36 +0200 http://bitbucket.org/cffi/cffi/changeset/9a8456642302/ Log:Minor style clean-ups. Update the test to conform more closely to the newer version of test_float_types(). Add a few

[pypy-commit] cffi sirtom67/float_complex: hg merge default

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2934:5e5d1029dab9 Date: 2017-05-29 18:11 +0200 http://bitbucket.org/cffi/cffi/changeset/5e5d1029dab9/ Log:hg merge default diff --git a/cffi/_cffi_include.h b/cffi/_cffi_include.h --- a/cffi/_cffi_include.h +++ b/cffi/_cffi_includ

[pypy-commit] cffi sirtom67/float_complex: Fix test, fix all abort()

2017-05-29 Thread arigo
Author: Armin Rigo Branch: sirtom67/float_complex Changeset: r2936:ab6edb3987e7 Date: 2017-05-29 18:50 +0200 http://bitbucket.org/cffi/cffi/changeset/ab6edb3987e7/ Log:Fix test, fix all abort() diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c

[pypy-commit] cffi default: tweaks

2017-05-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r2933:93fa52b7eed3 Date: 2017-05-29 18:04 +0200 http://bitbucket.org/cffi/cffi/changeset/93fa52b7eed3/ Log:tweaks diff --git a/demo/xclient_build.py b/demo/xclient_build.py --- a/demo/xclient_build.py +++ b/demo/xclient_build.py @@ -22,4 +22,4 @@ """,

[pypy-commit] pypy default: Add checks on the length argument given to socket.getsockopt(), like CPython

2017-05-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r91435:b88087dc021a Date: 2017-05-29 10:27 +0200 http://bitbucket.org/pypy/pypy/changeset/b88087dc021a/ Log:Add checks on the length argument given to socket.getsockopt(), like CPython diff --git a/pypy/module/_socket/interp_socket.py b/pypy/mo