[pypy-commit] pypy default: Move TestBoehmTranslated into test_rawrefcount_boehm.py, where it

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89326:57ce16a5cccf Date: 2017-01-03 08:24 +0100 http://bitbucket.org/pypy/pypy/changeset/57ce16a5cccf/ Log:Move TestBoehmTranslated into test_rawrefcount_boehm.py, where it belongs, to be properly skipped by setup_module() if needed diff --git

[pypy-commit] pypy default: Next attempt at 7a93d726ec2a

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89325:9104ca035a56 Date: 2017-01-03 08:19 +0100 http://bitbucket.org/pypy/pypy/changeset/9104ca035a56/ Log:Next attempt at 7a93d726ec2a diff --git a/rpython/rlib/test/test_rawrefcount_boehm.py b/rpython/rlib/test/test_rawrefcount_boehm.py --- a/rpytho

[pypy-commit] pypy py3.5: delete outdated and wrong test

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89323:d99c5e19b571 Date: 2017-01-02 23:51 +0200 http://bitbucket.org/pypy/pypy/changeset/d99c5e19b571/ Log:delete outdated and wrong test diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --

[pypy-commit] pypy py3.5: merge heads

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89324:08682b9332c7 Date: 2017-01-02 23:55 +0200 http://bitbucket.org/pypy/pypy/changeset/08682b9332c7/ Log:merge heads diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py b/pypy/module/_cffi_backend/test/test_recompiler.py --- a/pypy/

[pypy-commit] pypy py3.5: tweak tests

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89320:e4c3e3dff2bf Date: 2017-01-02 23:26 +0200 http://bitbucket.org/pypy/pypy/changeset/e4c3e3dff2bf/ Log:tweak tests diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy/module/cpy

[pypy-commit] pypy default: add passing test from py3.5

2017-01-02 Thread mattip
Author: Matti Picus Branch: Changeset: r89322:be6558eb1f0b Date: 2017-01-02 23:49 +0200 http://bitbucket.org/pypy/pypy/changeset/be6558eb1f0b/ Log:add passing test from py3.5 diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy

[pypy-commit] pypy py3.5: PyInt_FromLong -> PyLong_FromLong

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89317:af6570151311 Date: 2017-01-02 21:23 +0200 http://bitbucket.org/pypy/pypy/changeset/af6570151311/ Log:PyInt_FromLong -> PyLong_FromLong diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py

[pypy-commit] pypy py3.5: remove another buffer.py import, and a duplicate declaration of PyObject_GetBuffer

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89319:2fe6166e5b03 Date: 2017-01-02 22:54 +0200 http://bitbucket.org/pypy/pypy/changeset/2fe6166e5b03/ Log:remove another buffer.py import, and a duplicate declaration of PyObject_GetBuffer diff --git a/pypy/module/cpyext/__init__.py b/py

[pypy-commit] pypy py3.5: remove file

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89318:7096ceaddf76 Date: 2017-01-02 21:48 +0200 http://bitbucket.org/pypy/pypy/changeset/7096ceaddf76/ Log:remove file on pypy2 implements PyObject_CheckBuffer which is a C macro in abstract.h, CBuffer is not now used and it seems

[pypy-commit] pypy default: PyInt_FromLong -> PyLong_FromLong

2017-01-02 Thread mattip
Author: Matti Picus Branch: Changeset: r89321:4bc7410d9efc Date: 2017-01-02 23:32 +0200 http://bitbucket.org/pypy/pypy/changeset/4bc7410d9efc/ Log:PyInt_FromLong -> PyLong_FromLong diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py ---

[pypy-commit] pypy py3.5: function moved around in the same file

2017-01-02 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r89316:eedfc89de786 Date: 2017-01-02 21:22 +0200 http://bitbucket.org/pypy/pypy/changeset/eedfc89de786/ Log:function moved around in the same file diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py --- a/pypy/mod

[pypy-commit] cffi default: py3 test fix

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r2849:863081891de4 Date: 2017-01-02 21:24 +0100 http://bitbucket.org/cffi/cffi/changeset/863081891de4/ Log:py3 test fix diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py --- a/testing/cffi1/test_recompiler.py +++ b/testing

[pypy-commit] pypy py3.5: py3 compat

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89315:a42b878433f7 Date: 2017-01-02 21:18 +0100 http://bitbucket.org/pypy/pypy/changeset/a42b878433f7/ Log:py3 compat diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py b/pypy/module/_cffi_backend/test/test_recompiler.py --- a/pypy/mo

[pypy-commit] pypy py3.5: Remove commented-out duplicate implementation of PyMemoryView_GET_BUFFER

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89314:084daed91c42 Date: 2017-01-02 20:02 + http://bitbucket.org/pypy/pypy/changeset/084daed91c42/ Log:Remove commented-out duplicate implementation of PyMemoryView_GET_BUFFER diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/mod

[pypy-commit] cffi default: support more obscure compilers. source is https://github.com/matricks/bam/pull/61/files

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r2847:80a8b3ce3902 Date: 2017-01-02 20:53 +0100 http://bitbucket.org/cffi/cffi/changeset/80a8b3ce3902/ Log:support more obscure compilers. source is https://github.com/matricks/bam/pull/61/files diff --git a/c/call_python.c b/c/call_python.c ---

[pypy-commit] cffi default: document

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r2848:eeadf4414558 Date: 2017-01-02 20:54 +0100 http://bitbucket.org/cffi/cffi/changeset/eeadf4414558/ Log:document diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst --- a/doc/source/whatsnew.rst +++ b/doc/source/whatsnew.rst @@ -20,6 +20,9

[pypy-commit] pypy py3.5: fix merge in test_memoryobject.py

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89313:5fee3be01d9e Date: 2017-01-02 19:44 + http://bitbucket.org/pypy/pypy/changeset/5fee3be01d9e/ Log:fix merge in test_memoryobject.py diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py

[pypy-commit] pypy.org extradoc: update the values

2017-01-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r842:53c36248b7ee Date: 2017-01-02 19:47 +0100 http://bitbucket.org/pypy/pypy.org/changeset/53c36248b7ee/ Log:update the values diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -15,7 +15,7 @@ - $66493 of $105000 (

[pypy-commit] pypy py3.5: hg merge default

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89312:020911d610d9 Date: 2017-01-02 19:42 +0100 http://bitbucket.org/pypy/pypy/changeset/020911d610d9/ Log:hg merge default diff too long, truncating to 2000 out of 4555 lines diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +2

[pypy-commit] pypy cpyext-cleanup: Remove duplication between FUNCTIONS and FUNCTIONS_BY_HEADER

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89311:3b17e46d5898 Date: 2017-01-02 17:11 + http://bitbucket.org/pypy/pypy/changeset/3b17e46d5898/ Log:Remove duplication between FUNCTIONS and FUNCTIONS_BY_HEADER diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py ---

[pypy-commit] pypy py3.5: XXX fix me later

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89310:850d383f1b23 Date: 2017-01-02 18:08 +0100 http://bitbucket.org/pypy/pypy/changeset/850d383f1b23/ Log:XXX fix me later diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/module/_sock

[pypy-commit] pypy default: fix test

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89308:aa9ae054b625 Date: 2017-01-02 18:00 +0100 http://bitbucket.org/pypy/pypy/changeset/aa9ae054b625/ Log:fix test diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/module/_socket/test/test_

[pypy-commit] pypy cpyext-cleanup: Put the defines for functions only in decl files, not in pypy_macros.h.

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89309:4f26ce693579 Date: 2017-01-02 17:00 + http://bitbucket.org/pypy/pypy/changeset/4f26ce693579/ Log:Put the defines for functions only in decl files, not in pypy_macros.h. NB: 'header == DEFAULT_HEADER' was never tr

[pypy-commit] pypy py3.5: Starting to support idna hostnames in the socket methods

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89307:9705352d5190 Date: 2017-01-02 17:53 +0100 http://bitbucket.org/pypy/pypy/changeset/9705352d5190/ Log:Starting to support idna hostnames in the socket methods diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.

[pypy-commit] pypy py3.5: idna encoding for gethostbyaddr(). Like CPython, hard to test

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89306:a61e1b437115 Date: 2017-01-02 17:13 +0100 http://bitbucket.org/pypy/pypy/changeset/a61e1b437115/ Log:idna encoding for gethostbyaddr(). Like CPython, hard to test diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_

[pypy-commit] pypy cpyext-cleanup: fix

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89305:e2ecb4d3858d Date: 2017-01-02 16:22 + http://bitbucket.org/pypy/pypy/changeset/e2ecb4d3858d/ Log:fix diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api

[pypy-commit] pypy py3.5: call 'unicode.encode(x, "idna")' instead of 'x.encode("idna")', with comment

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89304:8da39ae6ab57 Date: 2017-01-02 17:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8da39ae6ab57/ Log:call 'unicode.encode(x, "idna")' instead of 'x.encode("idna")', with comment diff --git a/pypy/module/_socket/interp_func.py b/pypy

[pypy-commit] pypy py3.5: getaddrinfo() already supports the idna encoding, although it was not tested

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89303:7e9cf53b2273 Date: 2017-01-02 16:59 +0100 http://bitbucket.org/pypy/pypy/changeset/7e9cf53b2273/ Log:getaddrinfo() already supports the idna encoding, although it was not tested diff --git a/pypy/module/_socket/test/test_sock_app.py

[pypy-commit] pypy py3.5: gethostbyname(): support for the 'idna' encoding

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89301:4fbab31451c0 Date: 2017-01-02 16:49 +0100 http://bitbucket.org/pypy/pypy/changeset/4fbab31451c0/ Log:gethostbyname(): support for the 'idna' encoding diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py --- a

[pypy-commit] pypy py3.5: gethostbyname_ex(): support for the 'idna' encoding

2017-01-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89302:724153585911 Date: 2017-01-02 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/724153585911/ Log:gethostbyname_ex(): support for the 'idna' encoding diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py --

[pypy-commit] pypy default: Fix the out-of-range cases of socket.ntohl() & co., as an

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89300:f934a882b7ba Date: 2017-01-02 16:20 +0100 http://bitbucket.org/pypy/pypy/changeset/f934a882b7ba/ Log:Fix the out-of-range cases of socket.ntohl() & co., as an attempt to pass the stricter tests of py3.5 diff --git a/pypy/module/_socket/in

[pypy-commit] pypy missing-tp_new: be sure w_obj's best_base is attached before attching w_obj

2017-01-02 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r89299:41382dd5d75f Date: 2017-01-02 16:53 +0200 http://bitbucket.org/pypy/pypy/changeset/41382dd5d75f/ Log:be sure w_obj's best_base is attached before attching w_obj diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py ---

[pypy-commit] pypy missing-tp_new: lookup slot functions from tp_base if not in search_dict_w

2017-01-02 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r89298:1563ed4d99ac Date: 2017-01-02 16:52 +0200 http://bitbucket.org/pypy/pypy/changeset/1563ed4d99ac/ Log:lookup slot functions from tp_base if not in search_dict_w diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/type

[pypy-commit] pypy default: Fix the exception raised by socket.getservbyport(-1)

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89297:6ed7e32b3c10 Date: 2017-01-02 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/6ed7e32b3c10/ Log:Fix the exception raised by socket.getservbyport(-1) diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py --- a/

[pypy-commit] pypy default: Skip this test if Boehm is too old

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89296:7a93d726ec2a Date: 2017-01-02 14:54 + http://bitbucket.org/pypy/pypy/changeset/7a93d726ec2a/ Log:Skip this test if Boehm is too old diff --git a/rpython/rlib/test/test_rawrefcount_boehm.py b/rpython/rlib/test/test_rawrefcount_boehm.py --- a/

[pypy-commit] pypy default: fix

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89295:8def4d18f54d Date: 2017-01-02 14:46 + http://bitbucket.org/pypy/pypy/changeset/8def4d18f54d/ Log:fix diff --git a/rpython/rlib/src/boehm-rawrefcount.c b/rpython/rlib/src/boehm-rawrefcount.c --- a/rpython/rlib/src/boehm-rawrefcount.c +++ b/rp

[pypy-commit] pypy default: Fix test_lloperation

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89294:232e4fe233a9 Date: 2017-01-02 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/232e4fe233a9/ Log:Fix test_lloperation diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py --- a/rpython/rtyper/llinterp.py +++ b/rpython/rtyper/l

[pypy-commit] pypy default: Update the license year

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89293:a193393f9691 Date: 2017-01-02 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/a193393f9691/ Log:Update the license year diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE. -PyPy Cop

[pypy-commit] pypy default: Really skip the cppyy tests (tested on tannit where gcc is old)

2017-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r89292:1717aa219d47 Date: 2017-01-02 15:29 +0100 http://bitbucket.org/pypy/pypy/changeset/1717aa219d47/ Log:Really skip the cppyy tests (tested on tannit where gcc is old) diff --git a/pypy/module/cppyy/test/conftest.py b/pypy/module/cppyy/test/conftes

[pypy-commit] pypy cppyy-skip: does not work (tested on tannit)

2017-01-02 Thread arigo
Author: Armin Rigo Branch: cppyy-skip Changeset: r89291:270b5ea6f31a Date: 2017-01-02 15:28 +0100 http://bitbucket.org/pypy/pypy/changeset/270b5ea6f31a/ Log:does not work (tested on tannit) ___ pypy-commit mailing list pypy-commit@python.org https:

[pypy-commit] pypy cpyext-cleanup: Define PyComplex_AsCComplex and PyComplex_FromCComplex in a .c instead of a .h

2017-01-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89290:babb6b221e5e Date: 2017-01-02 13:56 + http://bitbucket.org/pypy/pypy/changeset/babb6b221e5e/ Log:Define PyComplex_AsCComplex and PyComplex_FromCComplex in a .c instead of a .h diff --git a/pypy/module/cpyext/api.py b/pyp