Carl Friedrich Bolz-Tereick pushed to branch branch/py3.9 at PyPy / pypy


Commits:
1af3dfab by Maciej Fijalkowski at 2021-11-30T18:53:16+02:00
Start a branch to port stuff to m1 platform

--HG--
branch : m1

- - - - -
1ccf7b65 by Maciej Fijalkowski at 2021-11-30T20:03:40+02:00
fix c99

--HG--
branch : m1

- - - - -
2c6b1051 by fijal at 2022-01-02T10:23:39+02:00
small changes to improve the tests on m1 mac

--HG--
branch : m1

- - - - -
159ed77a by fijal at 2022-01-02T10:39:36+02:00
skip for bugs in libffi

--HG--
branch : m1

- - - - -
43793cb6 by fijal at 2022-01-02T11:26:16+02:00
small fixes

--HG--
branch : m1

- - - - -
eab78751 by fijal at 2022-01-03T08:45:21+02:00
small fixes, not ready yet

--HG--
branch : m1

- - - - -
8ab78bc0 by fijal at 2022-01-03T09:50:26+02:00
first go at write protect

--HG--
branch : m1

- - - - -
a499ebca by fijal at 2022-01-03T10:18:43+02:00
skip one test and use some write_protect

--HG--
branch : m1

- - - - -
2023ff9c by fijal at 2022-01-03T10:51:12+02:00
call write_protect around the callback write here

--HG--
branch : m1

- - - - -
81a54302 by fijal at 2022-03-26T09:10:49+02:00
merge default

--HG--
branch : m1

- - - - -
7d891067 by Maciej Fijalkowski at 2022-04-27T10:29:10+03:00
Skip those tests on OS X as the ctypes layer does not work well for variadic 
calls (and other problems)

--HG--
branch : m1

- - - - -
6e937871 by Maciej Fijalkowski at 2022-05-02T11:55:58+03:00
try a bit harder to run more tests on OS X

--HG--
branch : m1

- - - - -
37f01813 by Maciej Fijalkowski at 2022-05-02T12:24:43+03:00
skip a bunch more tests

--HG--
branch : m1

- - - - -
6c32161f by Maciej Fijalkowski at 2022-05-02T12:30:28+03:00
skip one more

--HG--
branch : m1

- - - - -
89afccb8 by fijal at 2022-05-11T12:14:46+02:00
bump min OS X version

--HG--
branch : m1

- - - - -
7b9ba05a by fijal at 2022-05-11T12:14:56+02:00
use proper API for managing closures and not our own

--HG--
branch : m1

- - - - -
0452d4b7 by Matti Picus at 2022-05-05T20:39:23+03:00
update openssl downloads

--HG--
branch : m1

- - - - -
15478763 by fijal at 2022-05-12T19:22:40+02:00
enough fixes to call callbacks. Remove closureHeap

--HG--
branch : m1

- - - - -
5dd7dbea by fijal at 2022-05-16T11:25:05+02:00
write a test that sometimes fails

--HG--
branch : m1

- - - - -
29ecee9d by fijal at 2022-05-16T11:43:38+02:00
(fijal, arigo) fix the test

--HG--
branch : m1

- - - - -
26b7b3c0 by fijal at 2022-05-16T12:31:07+02:00
fix _rawffi to accept variadic arguments

--HG--
branch : m1

- - - - -
6c1eec8f by fijal at 2022-05-18T12:32:22+02:00
pass the parameters forever everywhere until we get the right call to 
variadic_args

--HG--
branch : m1

- - - - -
3766bd2b by fijal at 2022-05-18T17:24:11+02:00
more progress towards variadic calls in ll2ctypes

--HG--
branch : m1

- - - - -
dbf27c1b by Carl Friedrich Bolz-Tereick at 2022-05-18T18:14:01+02:00
merge default

--HG--
branch : m1

- - - - -
3dc61dbe by fijal at 2022-05-21T15:30:38+02:00
slightly better JIT approach here

--HG--
branch : m1

- - - - -
7e98ef14 by fijal at 2022-05-21T16:15:48+02:00
remap to RPython

--HG--
branch : m1

- - - - -
091ac577 by fijal at 2022-05-21T19:44:51+02:00
fix rpython and put nesting into write protection

--HG--
branch : m1

- - - - -
4a83f730 by fijal at 2022-05-21T21:23:26+02:00
GAH

--HG--
branch : m1

- - - - -
739e906d by fijal at 2022-05-22T08:23:16+02:00
frame info wrtiing is updating assembler

--HG--
branch : m1

- - - - -
76cf7a4b by fijal at 2022-05-23T08:14:54+02:00
I think enough to make mac asm happy

--HG--
branch : m1

- - - - -
e85d810d by fijal at 2022-05-23T08:30:28+02:00
add aarch64 on OS X support

--HG--
branch : m1

- - - - -
43fdf735 by fijal at 2022-05-23T08:36:05+02:00
fix running of the tests

--HG--
branch : m1

- - - - -
c675b478 by fijal at 2022-05-23T09:15:41+02:00
merge m1 branch - adds support for aarch64 on apple silicon

- - - - -
98803d44 by fijal at 2022-05-23T09:15:56+02:00
close to be merge branch

--HG--
branch : m1

- - - - -
4915c836 by fijal at 2022-05-23T09:16:07+02:00
merge closed branch

- - - - -
e0e6bcc6 by Carl Friedrich Bolz-Tereick at 2022-05-23T13:21:52+02:00
the helper function is elidable too, of course

- - - - -
bcf00aaf by fijal at 2022-05-23T13:46:06+02:00
remove the hacks

- - - - -
edeb5a91 by Carl Friedrich Bolz-Tereick at 2022-05-23T19:26:06+02:00
ouch: the pycode was not promoted before doing the whole lnotable decoding

- - - - -
483c4c81 by Carl Friedrich Bolz-Tereick at 2022-05-23T19:28:44+02:00
ouch (2): _search is elidable of course

- - - - -
0275a6f9 by Carl Friedrich Bolz-Tereick at 2022-05-23T20:52:56+02:00
and of course everything in life is more complicated (this function is also
used on buffers, and for those it cannot be elidable)

- - - - -
e6065a2e by fijal at 2022-05-24T07:41:52+02:00
merge

- - - - -
b5f49371 by Carl Friedrich Bolz-Tereick at 2022-05-25T11:16:39+02:00
backport b0441aa4fa0a to default: hide structseqfield.__get__

- - - - -
b71a9195 by Carl Friedrich Bolz-Tereick at 2022-05-25T11:31:15+02:00
add at least a few more structseq tests

- - - - -
bcd560f9 by Carl Friedrich Bolz-Tereick at 2022-05-25T11:37:41+02:00
some safety checking for defaults (but the feature is maybe unused in pypy?)

- - - - -
f9f67a2a by Carl Friedrich Bolz-Tereick at 2022-05-25T11:40:17+02:00
dont make an extra copy of the dict

- - - - -
c0c83fdd by Carl Friedrich Bolz-Tereick at 2022-05-25T18:11:17+02:00
compatibility, but also more efficient in _structseq:
- ignore any extra keys in the dict
- stop changing the .__dict__ away from a MapDict!

- - - - -
93c943c1 by Carl Friedrich Bolz-Tereick at 2022-05-25T18:13:28+02:00
add a test that a structseq uses a mapdict

- - - - -
caf7e302 by Carl Friedrich Bolz-Tereick at 2022-05-25T18:32:18+02:00
very carefully don't mutate instances of structseqfield

this way, immutability tracking of instance fields lets reads from the
instances be folded away, because the instances are in a class, so we have
constant references to them.

- - - - -
a7c83b43 by Carl Friedrich Bolz-Tereick at 2022-05-25T18:42:36+02:00
show immutability in repr of maps (visible via __pypy__.strategy(obj))

- - - - -
52ab5874 by Carl Friedrich Bolz-Tereick at 2022-05-25T22:39:31+02:00
make __name__ immutable too

- - - - -
bdbdc55b by Carl Friedrich Bolz-Tereick at 2022-05-26T08:57:47+02:00
joinjitdriver: get_printable_location, use iterator_greenkey_printable

--HG--
branch : py3.8

- - - - -
950d0636 by Carl Friedrich Bolz-Tereick at 2022-05-26T09:12:31+02:00
undo version change to unblock merge to py3.8

- - - - -
f8411666 by Carl Friedrich Bolz-Tereick at 2022-05-26T09:13:57+02:00
merge default

--HG--
branch : py3.8

- - - - -
18bdce13 by Carl Friedrich Bolz-Tereick at 2022-05-26T10:10:07+02:00
speed up posix.stat calls a lot

don't go via the messy applevel structdef_new, instead just construct the
object directly. Allows to keep it virtual and speed up something like islink a
lot, that just wants one field.

- - - - -
c6e22541 by Carl Friedrich Bolz-Tereick at 2022-05-26T11:12:16+02:00
use 'regular' way to do invisible fields

--HG--
branch : py3.8

- - - - -
74233552 by Carl Friedrich Bolz-Tereick at 2022-05-26T11:21:20+02:00
bring _structseq into line with default (the extra stuff is unused and partly 
broken)

--HG--
branch : py3.8

- - - - -
8de50049 by Carl Friedrich Bolz-Tereick at 2022-05-26T11:35:52+02:00
equivalent to 7f8cbf5e46b0 on default:

speed up posix.stat calls a lot

don't go via the messy applevel structdef_new, instead just construct the
object directly. Allows to keep it virtual and speed up something like islink a
lot, that just wants one field.

--HG--
branch : py3.8

- - - - -
0653a332 by Carl Friedrich Bolz-Tereick at 2022-05-26T11:44:12+02:00
merge default

--HG--
branch : py3.8

- - - - -
cf27940b by Carl Friedrich Bolz-Tereick at 2022-05-26T12:28:10+02:00
a check for the problem of too much access_directly

--HG--
branch : fix-access-directly

- - - - -
0e97ae18 by Carl Friedrich Bolz-Tereick at 2022-05-26T12:43:26+02:00
have a way to turn access_directly off again

--HG--
branch : fix-access-directly

- - - - -
3cd5f7bc by Carl Friedrich Bolz-Tereick at 2022-05-26T13:15:47+02:00
add a test

- - - - -
eccfd48d by Carl Friedrich Bolz-Tereick at 2022-05-26T13:17:05+02:00
merge default

--HG--
branch : py3.8

- - - - -
ba829a23 by Carl Friedrich Bolz-Tereick at 2022-05-26T14:55:51+02:00
fix typo

--HG--
branch : fix-access-directly

- - - - -
93bca5a8 by Carl Friedrich Bolz-Tereick at 2022-05-26T15:21:51+02:00
use the new hint and the new debug check to make sure that getclass does not
have variants

--HG--
branch : fix-access-directly

- - - - -
ebad51d8 by Carl Friedrich Bolz-Tereick at 2022-05-26T22:02:50+02:00
silence warning while we are at it

--HG--
branch : fix-access-directly

- - - - -
898cb143 by Carl Friedrich Bolz-Tereick at 2022-05-26T22:15:13+02:00
memoize the W_TypeObject that belongs to an instance with the RPython class as
a key, not the typedef. This saves one indirection in C: the W_TypeObject is
stored in a field on the W_Root vtable, without needing to go via the typedef
pbc.

--HG--
branch : fix-access-directly

- - - - -
e77b6e2a by Carl Friedrich Bolz-Tereick at 2022-05-27T07:36:36+02:00
use == of course

--HG--
branch : fix-access-directly

- - - - -
a951a97f by Carl Friedrich Bolz-Tereick at 2022-05-27T07:40:37+02:00
remove access directly flags from non-virtualizables too

--HG--
branch : fix-access-directly

- - - - -
148fd09d by Carl Friedrich Bolz-Tereick at 2022-05-27T13:25:50+02:00
test and fix

--HG--
branch : fix-access-directly

- - - - -
4f20dae5 by Carl Friedrich Bolz-Tereick at 2022-05-28T07:53:25+02:00
fix test

- - - - -
4e6f2b80 by Carl Friedrich Bolz-Tereick at 2022-05-28T09:04:21+02:00
fix error checking

- - - - -
d5af8c51 by Carl Friedrich Bolz-Tereick at 2022-05-28T09:55:44+02:00
add missing doc about flag

- - - - -
1a17490a by Armin Rigo at 2022-05-28T11:11:11+02:00
#3619

if pypy runs C code that itself tries to run a cffi embedded module, then we
crashed: rpython_startup_code was executed twice.

- - - - -
fad9ad6c by Carl Friedrich Bolz-Tereick at 2022-05-28T15:18:42+02:00
test is order dependent, make it very explicit

--HG--
branch : fix-access-directly

- - - - -
ffe6fa0e by Carl Friedrich Bolz-Tereick at 2022-05-28T17:59:11+02:00
fix test (don't know why this changed, does not matter)

--HG--
branch : fix-access-directly

- - - - -
bd36737b by Carl Friedrich Bolz-Tereick at 2022-05-28T18:10:26+02:00
merge fix-access-directly: make sure that W_Root.getclass does not exist in two
versions, one for access_directly=True, one regular (having two versions adds
an extra indirection and prevents the small func set optimization).

- - - - -
d24fbca2 by Carl Friedrich Bolz-Tereick at 2022-05-28T18:29:05+02:00
merge default

--HG--
branch : py3.8

- - - - -
23472c0a by Carl Friedrich Bolz-Tereick at 2022-05-28T22:40:27+02:00
change the way that space.lookup(w_obj, "<fixed string>") calls 
are cached:
don't do it on the w_type, but on the rpython class

--HG--
branch : space-lookup-cleanups

- - - - -
1db6eb2e by Carl Friedrich Bolz-Tereick at 2022-05-28T22:41:25+02:00
use %T instead of %N in error messages

--HG--
branch : space-lookup-cleanups

- - - - -
f53ff897 by Carl Friedrich Bolz-Tereick at 2022-05-28T22:42:31+02:00
specialize _call_binop_impl on the special method names to be able to use the
cache of space.lookup_in_type_where

--HG--
branch : space-lookup-cleanups

- - - - -
42b67db1 by Matti Picus at 2022-05-29T06:52:58+03:00
fix xmm scratch register on win64 (issue 3753)

- - - - -
294cc70d by Matti Picus at 2022-05-29T07:36:20+03:00
simplify reghint logic, this fixes a misfit of hints on win64

- - - - -
ee0f764d by Matti Picus at 2022-05-29T07:37:13+03:00
check existance before copying file

- - - - -
72f29b20 by Matti Picus at 2022-05-29T07:42:30+03:00
fix comment

- - - - -
6dfa1a7c by Matti Picus at 2022-05-29T07:45:49+03:00
merge default

--HG--
branch : py3.8

- - - - -
40cebbf8 by Carl Friedrich Bolz-Tereick at 2022-05-29T09:18:24+02:00
remove debug print

--HG--
branch : space-lookup-cleanups

- - - - -
8ee22966 by Carl Friedrich Bolz-Tereick at 2022-05-29T17:25:43+02:00
micro-opt

--HG--
branch : space-lookup-cleanups

- - - - -
f6921414 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:39:22+02:00
two improvements to space operations:
- rewrite the translation-time lookup caching to work on the *RPython* class
  instead of the W_TypeObjects. this makes the latter smaller and saves us
  having to call space.type(w_obj) first.
- fix caching of binary ops by using a @specialize

- - - - -
251929c6 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:40:19+02:00
merge heads

- - - - -
55fc5e6e by Carl Friedrich Bolz-Tereick at 2022-05-29T21:20:07+02:00
clean up this somewhat weird piece of machinery that was producing lots of tiny 
functions returning constants

- - - - -
91241cd1 by Carl Friedrich Bolz-Tereick at 2022-05-29T22:31:34+02:00
merge default

--HG--
branch : py3.8

- - - - -
1d2cfde7 by Carl Friedrich Bolz-Tereick at 2022-05-29T22:32:59+02:00
merge py3.8

--HG--
branch : py3.9

- - - - -


30 changed files:

- extra_tests/ctypes_tests/_ctypes_test.c
- extra_tests/ctypes_tests/test_functions.py
- extra_tests/test_structseq.py
- lib_pypy/_ctypes/function.py
- lib_pypy/_structseq.py
- pypy/doc/build.rst
- pypy/goal/targetpypystandalone.py
- pypy/interpreter/baseobjspace.py
- pypy/interpreter/executioncontext.py
- pypy/interpreter/typedef.py
- pypy/module/__pypy__/test/test_special.py
- pypy/module/_cffi_backend/ccallback.py
- pypy/module/_cffi_backend/embedding.py
- pypy/module/_rawffi/alt/interp_funcptr.py
- pypy/module/_rawffi/callback.py
- pypy/module/_rawffi/interp_rawffi.py
- pypy/module/_rawffi/test/test__rawffi.py
- pypy/module/posix/app_posix.py
- pypy/module/posix/interp_posix.py
- pypy/module/pypyjit/test_pypy_c/test_call.py
- pypy/module/pypyjit/test_pypy_c/test_misc.py
- pypy/module/test_lib_pypy/test_structseq.py
- pypy/module/time/app_time.py
- pypy/objspace/descroperation.py
- pypy/objspace/std/intobject.py
- pypy/objspace/std/mapdict.py
- pypy/objspace/std/objspace.py
- pypy/objspace/std/test/test_mapdict.py
- pypy/objspace/std/unicodeobject.py
- pypy/tool/ann_override.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/0acf759ac1fa4662b4599df4ac8dbd1a1c16c9fd...1d2cfde7397a59bcf49303f90d030fbd7bae8337

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/0acf759ac1fa4662b4599df4ac8dbd1a1c16c9fd...1d2cfde7397a59bcf49303f90d030fbd7bae8337
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to