[pypy-commit] [Git][pypy/pypy][branch/cppyy-packaging] 83 commits: introduce a @never_allocate class decorator, which ensure that a certain...

wlav foss at heptapod.net
Tue Feb 9 22:36:06 EST 2021



wlav pushed to branch branch/cppyy-packaging 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

- - - - -
be6432bf by Matti Picus at 2020-12-28T09:39:40+02:00
wrap mavcrt.get_osfhandle with FdValidator (removed in the FdValidator refactoring)

- - - - -
e79457e7 by Armin Rigo at 2020-12-28T18:43:43+01:00
PyPy3 port of this paragraph in the documentation

- - - - -
0ef1e8ed by Armin Rigo at 2020-12-28T18:52:41+01:00
detail

- - - - -
259b01da by Matti Picus at 2020-12-29T00:38:14+02:00
decorate ctypes functions that have pointer arguments for win64

- - - - -
523889bc by Carl Friedrich Bolz-Tereick at 2020-12-28T20:06:46+01:00
factor out the more common path of "increase storage by 1" into its own method

- - - - -
c69fa693 by Carl Friedrich Bolz-Tereick at 2020-12-28T20:07:26+01:00
rename super ambiguous "index" to "attrkind"

- - - - -
6467b659 by Carl Friedrich Bolz-Tereick at 2020-12-29T20:49:23+01:00
rename length and be more careful about its uses

--HG--
branch : map-improvements

- - - - -
eca1f1f6 by Carl Friedrich Bolz-Tereick at 2020-12-29T21:22:24+01:00
store everything erased

--HG--
branch : map-improvements

- - - - -
12ce34ee by Carl Friedrich Bolz-Tereick at 2020-12-29T22:00:39+01:00
factor out some common code into helper methods

--HG--
branch : map-improvements

- - - - -
e65add2e by Matti Picus at 2020-12-30T08:30:43+02:00
add _msvccompiler from python3 and sync msvc-related files. Use _msvccompiler for windows

--HG--
branch : sync-distutils

- - - - -
b329a093 by Matti Picus at 2020-12-30T10:29:46+02:00
fix for python2

--HG--
branch : sync-distutils

- - - - -
7e13a6f6 by Matti Picus at 2020-12-30T12:48:37+02:00
document and close branch to be merged

--HG--
branch : sync-distutils

- - - - -
fd17eb6d by Matti Picus at 2020-12-30T12:49:18+02:00
merge sync-distutils which updates the way we find MSVC

- - - - -
324150d3 by Carl Friedrich Bolz-Tereick at 2020-12-30T12:47:11+01:00
erase a bit differently

--HG--
branch : map-improvements

- - - - -
b95aefec by Carl Friedrich Bolz-Tereick at 2020-12-30T13:34:37+01:00
in progress: the simple cases of unboxing work

--HG--
branch : map-improvements

- - - - -
84ef34d2 by Matti Picus at 2020-12-31T08:47:04+02:00
trivial test fixes, backport Py_NAN fix

- - - - -
21ee8ee3 by Carl Friedrich Bolz-Tereick at 2020-12-31T13:07:06+01:00
fix remaining tests

--HG--
branch : map-improvements

- - - - -
a83b5a4a by Carl Friedrich Bolz-Tereick at 2020-12-31T14:20:17+01:00
implement type freezing for unboxed types:

if the types of a field aren't stable, just give up on unboxing any field for
the type

--HG--
branch : map-improvements

- - - - -
85194a93 by Carl Friedrich Bolz-Tereick at 2020-12-31T14:38:07+01:00
implement immutability of UnwrappedPlainAttributes

--HG--
branch : map-improvements

- - - - -
5263476f by Matti Picus at 2021-01-01T12:09:47+02:00
happy new year

- - - - -
071d6418 by Carl Friedrich Bolz-Tereick at 2021-01-01T19:03:22+01:00
some more tests for specialized classes

--HG--
branch : map-improvements

- - - - -
72f16d17 by Matti Picus at 2021-01-02T22:36:23+02:00
enable vmprof installation for rpython/rlib/rvmprof tests

- - - - -
87487450 by Matti Picus at 2021-01-03T15:48:29+02:00
test, fix parsing "inf" and friends in PyOS_string_to_double (issue 3375)

also fix "const char *" in dg_strtod

- - - - -
023bd2db by Matti Picus at 2021-01-04T08:43:41+02:00
add str2constcharp for tests

- - - - -
3d3c2a42 by fijal at 2021-01-07T16:30:16+02:00
rename Hash to HASH to match cpython

- - - - -
4c86e202 by Carl Friedrich Bolz-Tereick at 2021-01-18T16:44:45+01:00
fix a bug in the heapcache around nonstandard virtualizables (it doesn't occur
in pypy, but I had it in another jit recently): in some rare weird
circumstances the nonstandard virtualizable can be a constant!

also rename is_nonstandard_virtualizable to the more precise
is_known_nonstandard_virtualizable

- - - - -
ae48de81 by Carl Friedrich Bolz-Tereick at 2021-01-19T20:31:41+01:00
merge default

--HG--
branch : map-improvements

- - - - -
33aa95cc by Carl Friedrich Bolz-Tereick at 2021-01-19T22:18:04+01:00
fix bug in more complicated patterns of boxed and unboxed attributes

--HG--
branch : map-improvements

- - - - -
9cac4e17 by Carl Friedrich Bolz-Tereick at 2021-01-19T22:50:23+01:00
expose mapdict implementation via __pypy__ to help with debugability

--HG--
branch : map-improvements

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

- - - - -
fd6ca310 by Carl Friedrich Bolz-Tereick at 2021-01-21T19:34:34+01:00
fix interaction of reordering and unboxing

--HG--
branch : map-improvements

- - - - -
25041a4d by Carl Friedrich Bolz-Tereick at 2021-01-21T20:31:40+01:00
another reordering bug

--HG--
branch : map-improvements

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

- - - - -
bfeda395 by nulano at 2021-02-02T12:59:19+01:00
use tcl/tk 8.6 on windows

--HG--
branch : win-tcl8.6

- - - - -
edbc1975 by nulano at 2021-02-02T17:02:30+01:00
fix Tcl/Tk 8.6 packaging on win

--HG--
branch : win-tcl8.6

- - - - -
0fdae78f by Carl Friedrich Bolz-Tereick at 2021-02-02T19:20:40+01:00
merge map-improvements

optimize instances with integer and float fields by storing them unboxed in a
float array (on 32bit machines this is only done for float fields). The float
array is stored in one of the storage slots of the instance. Once a field
proves to be type-unstable we give up on type-specializing this class and
revert all instances once we touch them the next time to the default
representation.

- - - - -
839cd4b7 by Matti Picus at 2021-02-03T09:12:52+02:00
merge branch to update Tk/Tcl to 8.6 on windows

- - - - -
b3477d17 by Carl Friedrich Bolz-Tereick at 2021-02-03T10:49:53+01:00
fix test_ast.

- - - - -
f56b25d4 by Carl Friedrich Bolz-Tereick at 2020-04-29T10:37:57+02:00
express the make_le/ge/gt/lt methods in terms of their _const variants

- - - - -
d9c074c4 by Carl Friedrich Bolz-Tereick at 2020-04-29T10:39:34+02:00
remove copy-pasted comment

- - - - -
9e524ba4 by Carl Friedrich Bolz-Tereick at 2020-04-29T21:44:47+02:00
add a comment about something that I have to re-learn every time I read this code

- - - - -
ebce569d by Carl Friedrich Bolz-Tereick at 2021-02-03T15:02:00+01:00
remove unreachable code(?)

- - - - -
f43d642f by Carl Friedrich Bolz-Tereick at 2021-02-04T10:06:46+01:00
use low-level interface where applicable, add at least a minimal hypothesis test for make_...

- - - - -
ca98f8f2 by Matti Picus at 2021-02-05T13:00:44+02:00
backport changes from py3.7-big-sur-dyld-cache to default

--HG--
branch : big-sur-dyld-cache

- - - - -
d4832759 by Matti Picus at 2021-02-05T14:01:06+02:00
typo

--HG--
branch : big-sur-dyld-cache

- - - - -
6a07ddfe by Matti Picus at 2021-02-05T15:24:55+02:00
add new file

--HG--
branch : big-sur-dyld-cache

- - - - -
18951757 by Matti Picus at 2021-02-05T17:09:57+02:00
move file to correct place

--HG--
branch : big-sur-dyld-cache

- - - - -
86b25e3a by Matti Picus at 2021-02-06T18:27:25+02:00
backport changes to _ctypes needed for maxos BigSur from py3.7

- - - - -
30d6acf7 by Wim Lavrijsen at 2021-02-09T19:35:45-08:00
merge default into cppyy_packaging branch

--HG--
branch : cppyy-packaging

- - - - -


30 changed files:

- LICENSE
- extra_tests/test_os.py
- lib-python/2.7/ctypes/macholib/dyld.py
- lib-python/2.7/ctypes/test/test_macholib.py
- + lib-python/2.7/distutils/_msvccompiler.py
- lib-python/2.7/distutils/ccompiler.py
- lib-python/2.7/distutils/msvc9compiler.py
- lib-python/2.7/distutils/msvccompiler.py
- lib-python/2.7/distutils/spawn.py
- + lib-python/2.7/distutils/tests/test_msvccompiler.py
- lib_pypy/_ctypes/__init__.py
- + lib_pypy/_ctypes/_ctypes_build.py
- lib_pypy/_ctypes/primitive.py
- lib_pypy/_hashlib/__init__.py
- lib_pypy/_tkinter/app.py
- lib_pypy/_tkinter/tklib_build.py
- lib_pypy/msvcrt.py
- lib_pypy/pypy_tools/build_cffi_imports.py
- pypy/doc/conf.py
- pypy/doc/cpython_differences.rst
- pypy/doc/whatsnew-head.rst
- pypy/interpreter/astcompiler/test/test_ast.py
- pypy/module/__pypy__/interp_magic.py
- pypy/module/__pypy__/moduledef.py
- pypy/module/__pypy__/test/test_magic.py
- pypy/module/__pypy__/test/test_special.py
- pypy/module/_pypyjson/interp_decoder.py
- pypy/module/_winreg/interp_winreg.py
- pypy/module/_winreg/moduledef.py
- pypy/module/_winreg/test/test_winreg.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/55674a04163d3304134290e4ad7901df7118e108...30d6acf7433b7398894f89903883fc01d4db9f7b

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/55674a04163d3304134290e4ad7901df7118e108...30d6acf7433b7398894f89903883fc01d4db9f7b
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/20210210/1e1c15fd/attachment-0001.html>


More information about the pypy-commit mailing list