[pypy-commit] pypy default: hg merge cffi-char16-char32

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r91518:6a4af0b6b51c Date: 2017-06-05 08:24 +0200 http://bitbucket.org/pypy/pypy/changeset/6a4af0b6b51c/ Log:hg merge cffi-char16-char32 Support the char16_t and char32_t types in cffi. This means reintroducing some surrogate handling in

[pypy-commit] pypy cffi-char16-char32: ready to merge

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91517:0f1cd402bb00 Date: 2017-06-05 08:23 +0200 http://bitbucket.org/pypy/pypy/changeset/0f1cd402bb00/ Log:ready to merge diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy

[pypy-commit] pypy cffi-char16-char32: import cffi/e7063ce4bdf8

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91516:35878bce885d Date: 2017-06-04 23:43 +0200 http://bitbucket.org/pypy/pypy/changeset/35878bce885d/ Log:import cffi/e7063ce4bdf8 diff --git a/pypy/module/test_lib_pypy/cffi_tests/cffi1/test_recompiler.py b/pypy/module/test_lib_pyp

[pypy-commit] cffi default: including fails on some systems with C++

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2976:e7063ce4bdf8 Date: 2017-06-04 23:43 +0200 http://bitbucket.org/cffi/cffi/changeset/e7063ce4bdf8/ Log:including fails on some systems with C++ diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py --- a/testing/cffi1/tes

[pypy-commit] pypy cffi-char16-char32: Copy failing test from the CPython cffi test suite; fix it (for 16-bit

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91515:35d3643b476a Date: 2017-06-04 23:38 +0200 http://bitbucket.org/pypy/pypy/changeset/35d3643b476a/ Log:Copy failing test from the CPython cffi test suite; fix it (for 16-bit unicode chars) diff --git a/pypy/module/_cffi_ba

[pypy-commit] pypy release-pypy3.5-5.x: pypy3 manpage

2017-06-04 Thread stefanor
Author: Stefano Rivera Branch: release-pypy3.5-5.x Changeset: r91513:ed6022df8666 Date: 2017-06-04 23:05 +0300 http://bitbucket.org/pypy/pypy/changeset/ed6022df8666/ Log:pypy3 manpage (grafted from e00caafaf849ac80d2aeb16b3fc6803f6526719c) diff --git a/pypy/doc/conf.py b/pypy/doc/con

[pypy-commit] pypy release-pypy3.5-5.x: Expose SOABI in sysconfig in pypy3 too

2017-06-04 Thread stefanor
Author: Stefano Rivera Branch: release-pypy3.5-5.x Changeset: r91514:81df83380eea Date: 2017-06-04 23:05 +0300 http://bitbucket.org/pypy/pypy/changeset/81df83380eea/ Log:Expose SOABI in sysconfig in pypy3 too (grafted from 228f8b4206aea43feb6621ed1df7db94d0507ebf) diff --git a/lib_py

[pypy-commit] pypy default: Backport 5de3a64179bafcd440b32849b1129ed1fea47b85 from CPython.

2017-06-04 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r91512:71f3e458447f Date: 2017-06-04 15:45 -0400 http://bitbucket.org/pypy/pypy/changeset/71f3e458447f/ Log:Backport 5de3a64179bafcd440b32849b1129ed1fea47b85 from CPython. This will speed up usage of the warning module considerably diff --git

[pypy-commit] pypy cffi-char16-char32: import cffi/5f90dcd1ce55

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91511:c7b24a4c9b2d Date: 2017-06-04 16:20 +0200 http://bitbucket.org/pypy/pypy/changeset/c7b24a4c9b2d/ Log:import cffi/5f90dcd1ce55 diff --git a/lib_pypy/cffi/_cffi_include.h b/lib_pypy/cffi/_cffi_include.h --- a/lib_pypy/cffi/_cffi_i

[pypy-commit] cffi default: Didn't figure out how to cleanly define charN_t inside _cffi_include.h.

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2975:5f90dcd1ce55 Date: 2017-06-04 16:18 +0200 http://bitbucket.org/cffi/cffi/changeset/5f90dcd1ce55/ Log:Didn't figure out how to cleanly define charN_t inside _cffi_include.h. So for now, don't. diff --git a/cffi/_cffi_include.h b/cffi/_cffi_

[pypy-commit] cffi default: Another missing Py_DECREF

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2974:19e44e15058a Date: 2017-06-04 15:37 +0200 http://bitbucket.org/cffi/cffi/changeset/19e44e15058a/ Log:Another missing Py_DECREF diff --git a/c/realize_c_type.c b/c/realize_c_type.c --- a/c/realize_c_type.c +++ b/c/realize_c_type.c @@ -269,8 +269,11

[pypy-commit] cffi default: Figured out a memory leak in an error case

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2973:6e1b6c8e1d79 Date: 2017-06-04 15:06 +0200 http://bitbucket.org/cffi/cffi/changeset/6e1b6c8e1d79/ Log:Figured out a memory leak in an error case 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 py3.5: hg merge default

2017-06-04 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r91510:2bc0ce15d8d0 Date: 2017-06-04 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/2bc0ce15d8d0/ Log:hg merge default diff --git a/pypy/doc/release-v5.8.0.rst b/pypy/doc/release-v5.8.0.rst --- a/pypy/doc/release-v5.8.0.rst +++ b/pypy/doc/r

[pypy-commit] pypy cffi-char16-char32: Detect and complain about unicode "characters" that are greater than

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91509:649a8f742c90 Date: 2017-06-04 14:25 +0200 http://bitbucket.org/pypy/pypy/changeset/649a8f742c90/ Log:Detect and complain about unicode "characters" that are greater than 0x10 when attempting to convert to a pair of su

[pypy-commit] cffi default: Detect and complain when trying to convert a char32_t to unicode if

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2972:0300a91f7fb4 Date: 2017-06-04 14:24 +0200 http://bitbucket.org/cffi/cffi/changeset/0300a91f7fb4/ Log:Detect and complain when trying to convert a char32_t to unicode if the unicode uses 16-bit chars and the original char32_t is out of

[pypy-commit] cffi default: extra test

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r2971:a5114b7d3887 Date: 2017-06-04 13:28 +0200 http://bitbucket.org/cffi/cffi/changeset/a5114b7d3887/ Log:extra test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -2265,6 +2265,11 @@ py.test.raises(TypeError, newp,

[pypy-commit] pypy cffi-char16-char32: Bump the internal version max

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91508:113befadf44a Date: 2017-06-04 12:33 +0200 http://bitbucket.org/pypy/pypy/changeset/113befadf44a/ Log:Bump the internal version max diff --git a/pypy/module/_cffi_backend/cffi1_module.py b/pypy/module/_cffi_backend/cffi1_module.

[pypy-commit] pypy cffi-char16-char32: import cffi/6c465c147687

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91507:b061a2e969ec Date: 2017-06-04 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/b061a2e969ec/ Log:import cffi/6c465c147687 diff --git a/lib_pypy/cffi/_cffi_include.h b/lib_pypy/cffi/_cffi_include.h --- a/lib_pypy/cffi/_cffi_i

[pypy-commit] pypy default: Fix test on 32-bit

2017-06-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r91506:e2ba7d32b791 Date: 2017-06-04 10:27 +0200 http://bitbucket.org/pypy/pypy/changeset/e2ba7d32b791/ Log:Fix test on 32-bit diff --git a/rpython/jit/backend/x86/test/test_runner.py b/rpython/jit/backend/x86/test/test_runner.py --- a/rpython/jit/back

[pypy-commit] pypy cffi-char16-char32: Translation fixes

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91505:abfa8aff51d7 Date: 2017-06-04 10:06 +0200 http://bitbucket.org/pypy/pypy/changeset/abfa8aff51d7/ Log:Translation fixes diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/modu

[pypy-commit] pypy cffi-char16-char32: in-progress

2017-06-04 Thread arigo
Author: Armin Rigo Branch: cffi-char16-char32 Changeset: r91504:8bc39f008ba8 Date: 2017-06-04 09:58 +0200 http://bitbucket.org/pypy/pypy/changeset/8bc39f008ba8/ Log:in-progress diff --git a/pypy/module/_cffi_backend/ctypearray.py b/pypy/module/_cffi_backend/ctypearray.py --- a/pypy/module/_