[pypy-commit] [Git][pypy/pypy][branch/py3.9] 9 commits: Disable a GC pointer to raw address conversion if the GC address space is split.

Matti Picus (@mattip) foss at heptapod.net
Tue Nov 16 17:32:16 EST 2021



Matti Picus pushed to branch branch/py3.9 at PyPy / pypy


Commits:
03a3007b by Manuel Jacob at 2021-11-12T23:41:42+01:00
Disable a GC pointer to raw address conversion if the GC address space is split.

Without the fix, translating with RevDB fails with the following error:

[translation:ERROR] Exception: cast between pointer types changes the address
space, but the 'split_gc_address_space' option is enabled:
  func: (pypy.module._cffi_backend.ctypeptr:379)W_CTypePointer.process_str_from_offset_in_bytes
    op: v265060 = cast_ptr_to_adr(lldata_0)
  from: * GcStruct rpy_string { hash, chars }
    to: Address

--HG--
branch : py3.7

- - - - -
69aa979f by Manuel Jacob at 2021-11-12T23:49:48+01:00
hg merge py3.7

--HG--
branch : py3.8

- - - - -
d17246ad by Matti Picus at 2021-11-13T21:52:18+02:00
fix tests, fix sys.path[0] to be '' when run interactively

--HG--
branch : py3.7

- - - - -
80562ef0 by Matti Picus at 2021-11-13T21:53:16+02:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
d77f30ba by Matti Picus at 2021-11-16T23:37:32+02:00
when searching for needle, needle should aways be on the right (bpo 37648)

--HG--
branch : py3.9

- - - - -
359bbb72 by Matti Picus at 2021-11-16T23:38:51+02:00
merge py3.8 into py3.9

--HG--
branch : py3.9

- - - - -
6d3d610e by Matti Picus at 2021-11-17T00:23:18+02:00
avoid importing stdlib socket in untranslated tests

--HG--
branch : py3.9

- - - - -
b76ab466 by Matti Picus at 2021-11-17T00:25:36+02:00
python3.8 -> python3.9

--HG--
branch : py3.9

- - - - -
7d8eb910 by Matti Picus at 2021-11-17T00:31:26+02:00
avoid importing stdlib socket in untranslated tests

--HG--
branch : py3.9

- - - - -


10 changed files:

- pypy/interpreter/app_main.py
- pypy/interpreter/test/test_app_main.py
- pypy/module/_cffi_backend/ctypeptr.py
- pypy/module/_socket/test/test_sock_app.py
- pypy/module/cpyext/PC/pyconfig.h
- pypy/module/cpyext/include/pyconfig.h
- pypy/module/select/test/test_epoll.py
- pypy/objspace/descroperation.py
- pypy/objspace/std/dictmultiobject.py
- pypy/objspace/std/listobject.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/fe120f89bf07e64a41de62b224e4a3d80e0fe0d4...7d8eb910f3e9b29f083f675df986c9a33bc28424

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/fe120f89bf07e64a41de62b224e4a3d80e0fe0d4...7d8eb910f3e9b29f083f675df986c9a33bc28424
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20211116/a4038dbf/attachment.html>


More information about the pypy-commit mailing list