[pypy-commit] pypy unicode-utf8-py3: return bo (byteorder) from helpers

2018-08-30 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95046:509a8b3b1a70 Date: 2018-08-29 14:56 +0200 http://bitbucket.org/pypy/pypy/changeset/509a8b3b1a70/ Log:return bo (byteorder) from helpers diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicodehelper.py ---

[pypy-commit] pypy unicode-utf8-py3: change exception type

2018-08-30 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95047:6105ef49d9ca Date: 2018-08-30 15:14 +0200 http://bitbucket.org/pypy/pypy/changeset/6105ef49d9ca/ Log:change exception type diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py ---

[pypy-commit] pypy unicode-utf8-py3: unicode -> str, str_w -> text_w

2018-08-30 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95045:4d6b95166120 Date: 2018-08-29 14:55 +0200 http://bitbucket.org/pypy/pypy/changeset/4d6b95166120/ Log:unicode -> str, str_w -> text_w diff --git a/pypy/module/__pypy__/test/test_builders.py

[pypy-commit] pypy default: update to cffi/960ab54c2eb4

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r95044:6df19fd2b6df Date: 2018-08-30 13:51 +0200 http://bitbucket.org/pypy/pypy/changeset/6df19fd2b6df/ Log:update to cffi/960ab54c2eb4 diff --git a/pypy/module/_cffi_backend/ctypearray.py b/pypy/module/_cffi_backend/ctypearray.py ---

[pypy-commit] cffi default: oops, don't do that if 'ct' is a CT_POINTER

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r3154:960ab54c2eb4 Date: 2018-08-30 13:38 +0200 http://bitbucket.org/cffi/cffi/changeset/960ab54c2eb4/ Log:oops, don't do that if 'ct' is a CT_POINTER diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@

[pypy-commit] pypy default: Test and fix: can get a segfault instead of an IndexError "too many initializers"

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r95041:beeebc0b35f3 Date: 2018-08-30 12:17 +0200 http://bitbucket.org/pypy/pypy/changeset/beeebc0b35f3/ Log:Test and fix: can get a segfault instead of an IndexError "too many initializers" diff --git a/pypy/module/_cffi_backend/ctypeobj.py

[pypy-commit] pypy default: more tests, trying to cover all paths

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r95042:60409e95c501 Date: 2018-08-30 12:23 +0200 http://bitbucket.org/pypy/pypy/changeset/60409e95c501/ Log:more tests, trying to cover all paths diff --git a/pypy/module/_cffi_backend/test/test_fastpath.py

[pypy-commit] pypy default: update to cffi/1443130c25e1

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r95043:feb6754915bc Date: 2018-08-30 12:26 +0200 http://bitbucket.org/pypy/pypy/changeset/feb6754915bc/ Log:update to cffi/1443130c25e1 diff --git a/lib_pypy/cffi/_cffi_include.h b/lib_pypy/cffi/_cffi_include.h --- a/lib_pypy/cffi/_cffi_include.h +++

[pypy-commit] cffi default: Issue #379

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r3151:abb60e05d3bf Date: 2018-08-30 11:36 +0200 http://bitbucket.org/cffi/cffi/changeset/abb60e05d3bf/ Log:Issue #379 Accept ``ffi.new("int[4]", p)`` if p is itself another cdata ``int[4]``. diff --git a/c/_cffi_backend.c

[pypy-commit] cffi default: document abb60e05d3bf

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r3152:caee0949f993 Date: 2018-08-30 11:38 +0200 http://bitbucket.org/cffi/cffi/changeset/caee0949f993/ Log:document abb60e05d3bf diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst --- a/doc/source/whatsnew.rst +++ b/doc/source/whatsnew.rst

[pypy-commit] cffi default: Use memcpy here

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r3153:1443130c25e1 Date: 2018-08-30 11:53 +0200 http://bitbucket.org/cffi/cffi/changeset/1443130c25e1/ Log:Use memcpy here diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -1475,7 +1475,7 @@