[pypy-commit] [Git][pypy/pypy][branch/map-improvements-3.7] 37 commits: introduce a @never_allocate class decorator, which ensure that a certain...

Carl Friedrich Bolz-Tereick foss at heptapod.net
Mon Feb 1 08:32:01 EST 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/map-improvements-3.7 at PyPy / pypy


Commits:
e8dae8db by Antonio Cuni at 2020-10-02T17:39:55+02:00
introduce a @never_allocate class decorator, which ensure that a certain RPython class is never actually instantiated at runtime. Useful to ensure that e.g. it's always constant-folded away

--HG--
branch : rpython-never-allocate

- - - - -
aba70973 by Antonio Cuni at 2020-10-02T23:53:14+02:00
improve the test to check that if we constant-fold the MyClass malloc(), everything works

--HG--
branch : rpython-never-allocate

- - - - -
751cd1d4 by Yannick Jadoul at 2020-10-18T22:43:18+02:00
Change parameter type of PyModule_New to const char*, and use build_type_checkers to define PyModule_Check and PyModule_CheckExact

--HG--
branch : pymodule_new-const-charp

- - - - -
0cf823cd by nulano at 2020-12-25T16:52:28+01:00
don't add REG_QWORD introduced in CPython 3.6 to winreg on PyPy2

--HG--
branch : py2.7-winreg

- - - - -
a6436a6e by nulano at 2020-12-25T17:58:37+01:00
backport e070d661: implement winreg reflection on win64

--HG--
branch : py2.7-winreg

- - - - -
098e8f31 by nulano at 2020-12-25T18:11:34+01:00
backport d5d9fb27, fb5cddf8: bpo-21151, preserve None passed as REG_BINARY instead of crashing or changing it to an empty string

--HG--
branch : py2.7-winreg

- - - - -
32a54dcc by nulano at 2020-12-25T18:30:35+01:00
backport 0df11e6e: redo winreg reflection using runtime loading

--HG--
branch : py2.7-winreg

- - - - -
7bd2219b by nulano at 2020-12-25T19:57:35+01:00
fix py3.7-winreg backports

--HG--
branch : py2.7-winreg

- - - - -
069f8130 by Matti Picus at 2021-01-21T13:32:47+02:00
merge, document py2.7-winreg which backports winreg changes from py3.7

- - - - -
b2fd255b by Antonio Cuni at 2021-01-21T14:06:19+00:00
Merge branch 'branch/rpython-never-allocate' into 'branch/default'

introduce a @never_allocate class decorator

See merge request pypy/pypy!764

- - - - -
0010dbd0 by Matti Picus at 2021-01-22T12:46:59+02:00
Backed out changes from rpython-never-allocate since it is not ready yet

- - - - -
d5c6dc68 by Matti Picus at 2021-01-23T20:53:31+02:00
Fix signature of PyEval_EvalCode

- - - - -
08c5791d by Carl Friedrich Bolz-Tereick at 2021-01-26T10:31:57+01:00
add missing immutable field

--HG--
branch : map-improvements

- - - - -
d6303f16 by Carl Friedrich Bolz-Tereick at 2021-01-26T14:32:34+01:00
fix a problem with undetected type-instability: it wasn't found if the
different types were in different objects!

fix a bit involved, but makes unreachable UnboxedPlainAttribute truely
unreachable

--HG--
branch : map-improvements

- - - - -
ac211cb8 by Carl Friedrich Bolz-Tereick at 2021-01-26T15:27:04+01:00
stop field optimizations in a few of the existing tests

--HG--
branch : map-improvements

- - - - -
2bd1b081 by Yannick Jadoul at 2021-01-26T17:02:17+01:00
Revert changes to PyFoo_Check and PyFoo_CheckExact signatures

--HG--
branch : pymodule_new-const-charp

- - - - -
589882c8 by Carl Friedrich Bolz-Tereick at 2021-01-26T17:09:59+01:00
remove debugging comment, make test_pypy_c more natural

--HG--
branch : map-improvements

- - - - -
35f42102 by Matti Picus at 2021-01-27T09:23:07+02:00
merge default into branch

--HG--
branch : pymodule_new-const-charp

- - - - -
98e4e04a by Matti Picus at 2021-01-27T09:24:50+02:00
document and close branch to be merged

--HG--
branch : pymodule_new-const-charp

- - - - -
86b7131f by Matti Picus at 2021-01-27T09:25:58+02:00
merge branch to improve PyModule*

- - - - -
4402d461 by Carl Friedrich Bolz-Tereick at 2021-01-27T09:44:55+01:00
document branch

--HG--
branch : map-improvements

- - - - -
c2084dce by Carl Friedrich Bolz-Tereick at 2021-01-27T13:15:48+01:00
fix a bug where the unboxed storage would grow too large

--HG--
branch : map-improvements

- - - - -
f7b2e32d by Carl Friedrich Bolz-Tereick at 2021-01-27T21:56:35+01:00
this took way too long: at least reproduce the failure in a unit test

--HG--
branch : map-improvements

- - - - -
d32edb19 by Matti Picus at 2021-01-28T08:51:10+02:00
unify 'hints' and '_hints' to '_hints'

--HG--
branch : rpython-never-allocate

- - - - -
09557e2a by Matti Picus at 2021-01-28T11:45:44+02:00
re-apply backed out changes from rpython-never-allocate

- - - - -
e60d8676 by Matti Picus at 2021-01-28T11:46:28+02:00
remerge fixes from rpython-never-allocate

- - - - -
5550cf11 by Carl Friedrich Bolz-Tereick at 2021-01-28T13:46:48+01:00
add layout comments

--HG--
branch : map-improvements

- - - - -
31e40772 by Carl Friedrich Bolz-Tereick at 2021-01-28T15:20:43+01:00
fix test_unbox_reorder_bug3

also rip out size prediction:
- with the JIT it's a lot less useful
- it was always a mess with inlined fields
- unboxing makes it even less clear

--HG--
branch : map-improvements

- - - - -
c170a018 by Carl Friedrich Bolz-Tereick at 2021-01-28T15:33:02+01:00
always go through _set_mapdict_map

--HG--
branch : map-improvements

- - - - -
23b6ad2f by Carl Friedrich Bolz-Tereick at 2021-01-30T16:05:53+01:00
pretty subtle bug: when iterating over a map dict, some items would go missing!

--HG--
branch : map-improvements

- - - - -
07ff1eaa by Carl Friedrich Bolz-Tereick at 2021-01-30T16:30:07+01:00
merge default

--HG--
branch : map-improvements

- - - - -
432b4c30 by Carl Friedrich Bolz-Tereick at 2021-01-31T20:46:56+01:00
only unbox ints on 64 bit machines (otherwise there is no memory saving and
very unclear whether it's a good idea)

--HG--
branch : map-improvements

- - - - -
ae65cac0 by Carl Friedrich Bolz-Tereick at 2021-01-31T20:49:09+01:00
optimize chains of longlong2float(float2longlong(x)) and vice versa

- - - - -
859cf487 by Carl Friedrich Bolz-Tereick at 2021-01-31T20:49:29+01:00
merge default

--HG--
branch : map-improvements

- - - - -
b5e28e56 by Matti Picus at 2021-02-01T08:06:49+02:00
merge heads

- - - - -
84f4bacf by Carl Friedrich Bolz-Tereick at 2021-02-01T14:10:13+01:00
merge default

--HG--
branch : map-improvements

- - - - -
8e7d91c4 by Carl Friedrich Bolz-Tereick at 2021-02-01T14:31:30+01:00
merge map-improvements

--HG--
branch : map-improvements-3.7

- - - - -


24 changed files:

- pypy/doc/whatsnew-head.rst
- pypy/module/_winreg/interp_winreg.py
- pypy/module/_winreg/moduledef.py
- pypy/module/_winreg/test/test_winreg.py
- pypy/module/cpyext/eval.py
- pypy/module/cpyext/modsupport.py
- pypy/module/cpyext/test/test_cpyext.py
- pypy/module/pypyjit/test_pypy_c/test_call.py
- pypy/module/pypyjit/test_pypy_c/test_containers.py
- pypy/module/pypyjit/test_pypy_c/test_instance.py
- pypy/module/pypyjit/test_pypy_c/test_misc.py
- pypy/module/pypyjit/test_pypy_c/test_thread.py
- pypy/objspace/std/mapdict.py
- pypy/objspace/std/test/test_mapdict.py
- rpython/jit/metainterp/optimizeopt/rewrite.py
- rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py
- rpython/memory/gctransform/transform.py
- rpython/rlib/objectmodel.py
- rpython/rlib/test/test_objectmodel.py
- rpython/rtyper/lltypesystem/ll2ctypes.py
- rpython/rtyper/lltypesystem/lltype.py
- rpython/rtyper/rclass.py
- rpython/translator/c/database.py
- rpython/translator/c/node.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/8ef175e81b7f8700e3c1d46af1c973d32ae762a9...8e7d91c4cebbbe83282c35360e1c6d3aba1d27d8

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/8ef175e81b7f8700e3c1d46af1c973d32ae762a9...8e7d91c4cebbbe83282c35360e1c6d3aba1d27d8
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/20210201/dc09dec1/attachment-0001.html>


More information about the pypy-commit mailing list