Ronan Lamy pushed to branch branch/default at PyPy / pypy
Commits: 09aef907 by Ronan Lamy at 2020-05-13T19:18:52Z __buffer__() should return a memoryview, not a buffer (obviously) --HG-- branch : ctypes-stuff - - - - - fccf02a1 by Ronan Lamy at 2020-05-13T19:20:31Z Add 2 failing tests --HG-- branch : ctypes-stuff - - - - - f0e5b963 by Ronan Lamy at 2020-05-14T01:26:56Z fix --HG-- branch : ctypes-stuff - - - - - 930be02f by Ronan Lamy at 2020-05-14T03:33:25Z Fix format and itemsize in buffer protocol implementation for _rawffi.ArrayInstance Note: ArrayVIew backported from pypy3's pypy/module/array/interp_array.py --HG-- branch : ctypes-stuff - - - - - c23e06a4 by Ronan Lamy at 2020-05-14T16:06:53Z fix imports --HG-- branch : ctypes-stuff - - - - - bedeafb3 by Ronan Lamy at 2020-05-14T16:20:01Z Move ArrayView to pypy.interpreter.buffer.RawBufferView --HG-- branch : ctypes-stuff - - - - - eecf74f5 by Ronan Lamy at 2020-05-14T17:15:14Z Add minimal testing for RawBufferView and SimpleView --HG-- branch : ctypes-stuff - - - - - 20807a98 by Ronan Lamy at 2020-05-14T17:43:58Z Add common base class for SimpleView and RawBufferView --HG-- branch : ctypes-stuff - - - - - 3c173779 by Ronan Lamy at 2020-05-21T17:42:25Z Give correct format and itemsize to memoryviews on all _CData instances; unskip and partially fix 2 stdlib tests --HG-- branch : ctypes-stuff - - - - - 8443d36a by Ronan Lamy at 2020-05-22T17:02:50Z memoryviews on pointers contain the pointer itself, not what it points to. Add failing test --HG-- branch : ctypes-stuff - - - - - e037dba7 by Ronan Lamy at 2020-05-22T18:47:12Z Replace get_format_str() with tp._getformat() and fix pointer formats --HG-- branch : ctypes-stuff - - - - - 72837f69 by Ronan Lamy at 2020-05-22T19:13:46Z Implement _getformat() for arrays --HG-- branch : ctypes-stuff - - - - - 1e068b27 by Ronan Lamy at 2020-05-26T10:10:40Z unions and packed structs just use 'B' as their format --HG-- branch : ctypes-stuff - - - - - 40bfeb6e by Ronan Lamy at 2020-05-26T11:23:13Z Test and fix for a crash in newmemoryview() when itemsize==0 --HG-- branch : ctypes-stuff - - - - - fda56969 by Ronan Lamy at 2020-05-26T11:33:58Z Make memoryviews on structs 0-dimensional (py3 behavior) --HG-- branch : ctypes-stuff - - - - - 8807e10e by Ronan Lamy at 2020-05-26T14:58:52Z Fix format of swapped-endian simple types --HG-- branch : ctypes-stuff - - - - - 9df44f98 by Ronan Lamy at 2020-05-26T15:13:48Z Update stdlib test: skip one case, fix another that fails on CPython --HG-- branch : ctypes-stuff - - - - - ec727ba0 by Ronan Lamy at 2020-05-26T15:32:37Z move default __buffer__ implementation to _ctypes.basics and add function pointer format --HG-- branch : ctypes-stuff - - - - - ac6f0c70 by Ronan Lamy at 2020-05-27T10:14:19Z Document branch --HG-- branch : ctypes-stuff - - - - - 9d2f220d by Ronan Lamy at 2020-05-27T10:15:25Z Close branch before merging --HG-- branch : ctypes-stuff - - - - - 6843cc10 by Ronan Lamy at 2020-05-27T10:21:15Z Merge branch 'ctypes-stuff' - - - - - 22 changed files: - extra_tests/ctypes_tests/test_buffers.py - extra_tests/ctypes_tests/test_pointers.py - lib-python/2.7/ctypes/test/test_pep3118.py - lib_pypy/_ctypes/array.py - lib_pypy/_ctypes/basics.py - lib_pypy/_ctypes/function.py - lib_pypy/_ctypes/pointer.py - lib_pypy/_ctypes/primitive.py - lib_pypy/_ctypes/structure.py - pypy/doc/whatsnew-head.rst - pypy/interpreter/buffer.py - + pypy/interpreter/test/test_buffer.py - pypy/module/__pypy__/interp_buffer.py - pypy/module/__pypy__/test/test_newmemoryview.py - pypy/module/_cppyy/capi/loadable_capi.py - pypy/module/_cppyy/converter.py - pypy/module/_cppyy/interp_cppyy.py - pypy/module/_cppyy/lowlevelviews.py - pypy/module/_rawffi/array.py → pypy/module/_rawffi/interp_array.py - pypy/module/_rawffi/interp_rawffi.py - pypy/module/_rawffi/moduledef.py - + pypy/module/_rawffi/test/apptest_rawffi.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/3ceb94e55b72ee830d03ef5c658da1d20e4c3ba6...6843cc10b78b795f09bb0f9802c30645d7584ac3 -- View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/3ceb94e55b72ee830d03ef5c658da1d20e4c3ba6...6843cc10b78b795f09bb0f9802c30645d7584ac3 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
