[pypy-commit] pypy py3.5: Implement PyObject_GetBuffer in RPython

2016-12-09 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r88990:3b7a9aafcab8 Date: 2016-12-10 03:06 + http://bitbucket.org/pypy/pypy/changeset/3b7a9aafcab8/ Log:Implement PyObject_GetBuffer in RPython diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +

[pypy-commit] pypy py3.5: Fix behaviour of PyObject_GetBuffer(, ...)

2016-12-09 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r88991:1c85b8127b59 Date: 2016-12-10 03:58 + http://bitbucket.org/pypy/pypy/changeset/1c85b8127b59/ Log:Fix behaviour of PyObject_GetBuffer(, ...) diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cp

[pypy-commit] pypy py3.5: Update C implementations of PyObject_GetBuffer/PyBuffer_Release to match CPython 3.5

2016-12-09 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r88989:5a3b35c71677 Date: 2016-12-09 19:22 + http://bitbucket.org/pypy/pypy/changeset/5a3b35c71677/ Log:Update C implementations of PyObject_GetBuffer/PyBuffer_Release to match CPython 3.5 diff --git a/pypy/module/cpyext/src/abstract.c

[pypy-commit] pypy strbuf-as-buffer: copy over test_c.py to _backend_test_c.py (of the strbuf-as-buffer branch)

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r88988:c78e1e9c9ed9 Date: 2016-12-09 17:04 +0100 http://bitbucket.org/pypy/pypy/changeset/c78e1e9c9ed9/ Log:copy over test_c.py to _backend_test_c.py (of the strbuf-as-buffer branch) diff --git a/pypy/module/_cffi_backend/f

[pypy-commit] cffi strbuf-as-buffer: do not allow unicode to directly be passed to from_buffer

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2833:d2c09e27ecde Date: 2016-12-09 16:24 +0100 http://bitbucket.org/cffi/cffi/changeset/d2c09e27ecde/ Log:do not allow unicode to directly be passed to from_buffer diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/t

[pypy-commit] cffi strbuf-as-buffer: allow from_buffer for buffer and memoryview even when they point to bytes/unicode

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2832:f92733f03d32 Date: 2016-12-09 16:22 +0100 http://bitbucket.org/cffi/cffi/changeset/f92733f03d32/ Log:allow from_buffer for buffer and memoryview even when they point to bytes/unicode diff --git a/c/_cffi_backend.c b/c

[pypy-commit] cffi strbuf-as-buffer: pypy now can get a raw address from a StringBuffer, modify test

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2831:a00f88374679 Date: 2016-12-09 15:52 +0100 http://bitbucket.org/cffi/cffi/changeset/a00f88374679/ Log:pypy now can get a raw address from a StringBuffer, modify test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++

[pypy-commit] pypy strbuf-as-buffer: fixed some more tests

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r88987:d9a749dfce80 Date: 2016-12-09 14:14 +0100 http://bitbucket.org/pypy/pypy/changeset/d9a749dfce80/ Log:fixed some more tests diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpython/rlib/buffer.py +++ b/rpyth

[pypy-commit] pypy better-PyDict_Next: draft version, wip

2016-12-09 Thread mattip
Author: Matti Picus Branch: better-PyDict_Next Changeset: r88984:68ef60b6a404 Date: 2016-12-05 22:52 +0200 http://bitbucket.org/pypy/pypy/changeset/68ef60b6a404/ Log:draft version, wip diff --git a/pypy/module/cpyext/dictobject.py b/pypy/module/cpyext/dictobject.py --- a/pypy/module/cpyext/d

[pypy-commit] pypy better-PyDict_Next: merge default into branch

2016-12-09 Thread mattip
Author: Matti Picus Branch: better-PyDict_Next Changeset: r88985:7c55b879f853 Date: 2016-12-08 20:16 +0200 http://bitbucket.org/pypy/pypy/changeset/7c55b879f853/ Log:merge default into branch diff too long, truncating to 2000 out of 5162 lines diff --git a/lib-python/2.7/distutils/sysconfig

[pypy-commit] pypy better-PyDict_Next: progress - not yet assigning the {g, s}etter. Then generalize to all w_dict value usage

2016-12-09 Thread mattip
Author: Matti Picus Branch: better-PyDict_Next Changeset: r88986:d8c3c1c7812f Date: 2016-12-09 14:26 +0200 http://bitbucket.org/pypy/pypy/changeset/d8c3c1c7812f/ Log:progress - not yet assigning the {g,s}etter. Then generalize to all w_dict value usage diff --git a/pypy/module/cpyext

[pypy-commit] pypy strbuf-as-buffer: update test, from_buffer(memoryview) is now allowed!

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r88983:a3362d15b0e7 Date: 2016-12-09 13:21 +0100 http://bitbucket.org/pypy/pypy/changeset/a3362d15b0e7/ Log:update test, from_buffer(memoryview) is now allowed! diff --git a/pypy/module/_cffi_backend/test/_backend_test_c.py b/pypy

[pypy-commit] cffi default: add warning

2016-12-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r2830:5462aebb2c5f Date: 2016-12-09 12:27 +0100 http://bitbucket.org/cffi/cffi/changeset/5462aebb2c5f/ Log:add warning diff --git a/doc/source/ref.rst b/doc/source/ref.rst --- a/doc/source/ref.rst +++ b/doc/source/ref.rst @@ -200,7 +200,7 @@ memory and

[pypy-commit] cffi default: Document 'FILE *'

2016-12-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r2829:c23ad11dc403 Date: 2016-12-09 12:24 +0100 http://bitbucket.org/cffi/cffi/changeset/c23ad11dc403/ Log:Document 'FILE *' diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst --- a/doc/source/cdef.rst +++ b/doc/source/cdef.rst @@ -183,9 +183,7 @@

[pypy-commit] pypy strbuf-as-buffer: a new approach to get the raw address to a string

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r88982:15b144ea1d4d Date: 2016-12-09 12:04 +0100 http://bitbucket.org/pypy/pypy/changeset/15b144ea1d4d/ Log:a new approach to get the raw address to a string diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpytho

[pypy-commit] extradoc extradoc: Add my abstract

2016-12-09 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5763:6aa8fac3ce95 Date: 2016-12-09 10:15 +0100 http://bitbucket.org/pypy/extradoc/changeset/6aa8fac3ce95/ Log:Add my abstract diff --git a/talk/swisspython2017/abstract.txt b/talk/swisspython2017/abstract.txt new file mode 100644 --- /dev/null

[pypy-commit] pypy py3.5: revert call to getarg_w (does not translate)

2016-12-09 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r88981:116106fe6bde Date: 2016-12-09 09:57 +0100 http://bitbucket.org/pypy/pypy/changeset/116106fe6bde/ Log:revert call to getarg_w (does not translate) diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket.py