Ronan Lamy pushed to branch branch/py3.7 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

- - - - -
cc95dd9f by Matti Picus at 2020-05-25T05:53:59Z
copy CPython: listdir('') and listdir(b'') succeed on win32, 
fail otherwise

--HG--
branch : py3.6

- - - - -
166ba85a by Matti Picus at 2020-05-25T06:26:51Z
win32 behaves differently

--HG--
branch : py3.6

- - - - -
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

- - - - -
0ac69962 by Armin Rigo at 2020-05-26T11:47:40Z
First bug and fix for SRE_Match.__repr__()

--HG--
branch : py3.6

- - - - -
322f8dbf by Armin Rigo at 2020-05-26T12:07:52Z
Fix the repr of SRE_Pattern and SRE_Match: truncating a utf-8 string at a
random point is not a good idea

--HG--
branch : py3.6

- - - - -
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'

- - - - -
589691f6 by Ronan Lamy at 2020-05-27T10:36:22Z
hg merge default

--HG--
branch : py3.6

- - - - -
2f5dfcd5 by Ronan Lamy at 2020-05-27T14:54:18Z
Fix test: the 'c' typecode means that bytes are considered as characters

--HG--
branch : py3.6

- - - - -
f0fefef0 by Ronan Lamy at 2020-05-27T16:57:16Z
Ensure correct PEP3118 codes for primitive ctypes types (cf. bpo-10746)

--HG--
branch : py3.6

- - - - -
7ccd9a77 by Ronan Lamy at 2020-05-27T17:01:59Z
tweak stdlib test so that it passes on pypy

--HG--
branch : py3.6

- - - - -
95a32f80 by Ronan Lamy at 2020-05-28T13:59:37Z
fix test

--HG--
branch : py3.6

- - - - -
e36527f8 by Ronan Lamy at 2020-05-28T14:59:01Z
hg merge py3.6

--HG--
branch : py3.7

- - - - -


28 changed files:

- extra_tests/ctypes_tests/test_buffers.py
- extra_tests/ctypes_tests/test_pointers.py
- lib-python/3/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
- pypy/module/_rawffi/test/test__rawffi.py
- pypy/module/_socket/test/test_sock_app.py
- pypy/module/_sre/interp_sre.py
- pypy/module/_sre/test/test_app_sre.py
- pypy/module/posix/interp_posix.py
- pypy/module/posix/test/test_posix2.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/compare/7ca9b381b41cd9bf9dff56baf04b726f82320096...e36527f89bd983cd52b6845446e776263bf4735f

-- 
View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/compare/7ca9b381b41cd9bf9dff56baf04b726f82320096...e36527f89bd983cd52b6845446e776263bf4735f
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

Reply via email to