[email protected]

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92775:0cd1a1fbbad9 Date: 2017-10-16 12:22 +0200 http://bitbucket.org/pypy/pypy/changeset/0cd1a1fbbad9/ Log:_Py_NewReference did not initialize pypy_link: as such, reused tuples from the freelist could contain a wrong valu

[pypy-commit] pypy cpyext-avoid-roundtrip: add a comment about a potential issue

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92774:718a91452806 Date: 2017-10-16 11:42 +0200 http://bitbucket.org/pypy/pypy/changeset/718a91452806/ Log:add a comment about a potential issue diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py

[pypy-commit] pypy cpyext-refactor-methodobject: merge cpyext-avoid-roundtrip inside this

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92776:a5eb32fe2228 Date: 2017-10-16 12:23 +0200 http://bitbucket.org/pypy/pypy/changeset/a5eb32fe2228/ Log:merge cpyext-avoid-roundtrip inside this diff --git a/pypy/module/cpyext/include/object.h b/pypy/module/cpyext/inc

[pypy-commit] pypy py3.5: Don't allow passing str to ctypes.c_char or bytes to ctypes.c_wchar

2017-10-16 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r92780:09772d33fc36 Date: 2017-10-16 17:50 +0200 http://bitbucket.org/pypy/pypy/changeset/09772d33fc36/ Log:Don't allow passing str to ctypes.c_char or bytes to ctypes.c_wchar diff --git a/lib_pypy/_ctypes/primitive.py b/lib_pypy/_ctypes/primitive.

[pypy-commit] pypy py3.5: Mark slots test as an implementation detail

2017-10-16 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r92781:9f84023a5df7 Date: 2017-10-16 18:40 +0200 http://bitbucket.org/pypy/pypy/changeset/9f84023a5df7/ Log:Mark slots test as an implementation detail diff --git a/lib-python/3/ctypes/test/test_byteswap.py b/lib-python/3/ctypes/test/test_byteswap

[pypy-commit] pypy cpyext-refactor-methodobject: write a specialized function to convert args_w into a py_tuple, which sets directly c_ob_item[*] instead of going through the slowish PyTuple_SetItem

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92782:17fd1d984f1d Date: 2017-10-17 00:47 +0200 http://bitbucket.org/pypy/pypy/changeset/17fd1d984f1d/ Log:write a specialized function to convert args_w into a py_tuple, which sets directly c_ob_item[*] instead of

[pypy-commit] pypy cpyext-refactor-methodobject: fix test_arraymodule:test_pickle by teaching pickle about all the W_PyCFunctionObject variants

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92783:371b5a6f2316 Date: 2017-10-17 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/371b5a6f2316/ Log:fix test_arraymodule:test_pickle by teaching pickle about all the W_PyCFunctionObject variants diff --git a

[pypy-commit] pypy cpyext-refactor-methodobject: fix translation

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92784:84feef42c1ac Date: 2017-10-17 01:32 +0200 http://bitbucket.org/pypy/pypy/changeset/84feef42c1ac/ Log:fix translation diff --git a/pypy/module/cpyext/__init__.py b/pypy/module/cpyext/__init__.py --- a/pypy/module/cpye