Matti Picus pushed to branch branch/py3.8 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

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

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

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

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

--HG--
branch : map-improvements

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

- - - - -
425d1662 by Matti Picus at 2021-01-10T22:20:44+02:00
LDLIBRARY is used by posgresql

--HG--
branch : py3.7

- - - - -
f5713514 by Matti Picus at 2021-01-11T09:18:30+02:00
apply distutils.patch from (misnamed) conda-forge pypy3.6-feedstock

--HG--
branch : py3.7

- - - - -
d1d95403 by nulano at 2021-01-11T20:56:45+01:00
win64 fixes for cpyext.longobject

--HG--
branch : py3.7-win64-cpyext-longobject

- - - - -
02b64803 by nulano at 2021-01-11T20:57:13+01:00
fix PyBuffer_FillInfo signature

--HG--
branch : py3.7-win64-cpyext-longobject

- - - - -
09da3ec7 by nulano at 2021-01-12T12:39:07+01:00
fix cpyext.test_longobject maxlong

--HG--
branch : py3.7-win64-cpyext-longobject

- - - - -
659b8409 by Matti Picus at 2021-01-13T07:42:04+02:00
document and close branch to be merged

--HG--
branch : py3.7-win64-cpyext-longobject

- - - - -
524b3ddd by Matti Picus at 2021-01-13T07:42:50+02:00
merge py3.7-win64-cpyext-longobject which fixes cpyext.longobject for win64

--HG--
branch : py3.7

- - - - -
1fc9b188 by Ricky Zhou at 2021-01-14T00:04:12-08:00
Fix loading system libraries with ctypes on macOS Big Sur.

On Big Sur, there is no longer a separate dylib file for each system
library. Instead, they have been combined into a single shared cache
file. As a result, it no longer suffices to check file existence to
determine whether a system library is present. Fix this by calling
_dyld_shared_cache_contains_path to check the dyld shared cache as well.

The changes under lib-python/ are copied from
https://github.com/python/cpython/pull/22855.

The _dyld_shared_cache_contains_path function is exposed to the ctypes
python code using CFFI, similar to what is done in other modules, such
as lib_pypy/_sha3.

Fixes issue #3314.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
249ca2f7 by Ricky Zhou at 2021-01-14T02:35:24-08:00
minor cleanup

 - Only define _ctypes._dyld_shared_cache_contains_path if the function
   is available.
 - Do platform filtering in _ctypes/_ctypes_build.py only.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
5cf6930e by Ricky Zhou at 2021-01-14T02:43:57-08:00
Remove unused import.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
6c90bb88 by Dan Villiom Podlaski Christiansen at 2021-01-15T01:30:28+01:00
Fix building from scratch on Big Sur

- The proper module name for the ctypes module is
  `_ctypes._ctypes_cffi`
- Don't rely in `dict` order.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
a1021687 by Ricky Zhou at 2021-01-15T03:02:07-08:00
Use _dyld_shared_cache_contains_path via a weak import.

This way, the _ctypes CFFI module can be built on macOS 11 and function
properly on 10.15 (and vice-versa).

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
c63da169 by Armin Rigo at 2021-01-15T17:52:45+01:00
Issue #3378: crypt() accepts str but encodes them in utf-8.  It also returns a 
str

--HG--
branch : py3.7

- - - - -
b79dd65d by Ricky Zhou at 2021-01-15T18:51:41-08:00
Build _ctypes._ctypes_cffi on all macOS releases.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
1c4ebed8 by Ricky Zhou at 2021-01-15T18:58:07-08:00
Enable/disable _ctypes_build.py in build_cffi_imports.py.

If a CFFI module is enabled in build_cffi_imports.py, then it must be
built, as the script will fail if it cannot import it. Move the logic
for enabling/disabling the module out from _ctypes_build.py to
build_cffi_imports.py.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
1a23e6ef by Ricky Zhou at 2021-01-15T19:01:29-08:00
Fix typo in comment.

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
33261fe6 by Matti Picus at 2021-01-16T21:02:24+02:00
close and document branch to be merged

--HG--
branch : py3.7-big-sur-dyld-cache

- - - - -
7188209d by Matti Picus at 2021-01-16T21:03:31+02:00
merge branch which fixes ctypes library loading on macos BigSur

--HG--
branch : py3.7

- - - - -
b0537909 by Matti Picus at 2021-01-17T08:55:30+02:00
test, fix issue 3383 and adjust an exception

--HG--
branch : py3.7

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

- - - - -
162217ce by Carl Friedrich Bolz-Tereick at 2021-01-21T16:08:12+01:00
merge map-improvements into py3.7

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

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

--HG--
branch : map-improvements

- - - - -
c44b003e by Carl Friedrich Bolz-Tereick at 2021-01-21T19:38:10+01:00
merge map-improvements

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

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

--HG--
branch : map-improvements

- - - - -
8ef175e8 by Carl Friedrich Bolz-Tereick at 2021-01-21T21:09:21+01:00
merge map-improvements

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

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

- - - - -
67c49bff by Matti Picus at 2021-01-23T21:00:33+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
ab47f90e by Matti Picus at 2021-01-23T23:20:20+02:00
test, add PyImport_GetModule (issue 3385)

--HG--
branch : py3.7

- - - - -
df6398a9 by Matti Picus at 2021-01-23T23:22:38+02:00
merge heads

--HG--
branch : py3.7

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

- - - - -
7ebd0f28 by Matti Picus at 2021-01-31T22:44:02+02:00
merge default into py3.7

--HG--
branch : py3.7

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

- - - - -
01c921e9 by Matti Picus at 2021-02-01T08:07:52+02:00
merge default into py3.7

--HG--
branch : py3.7

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

- - - - -
fdd3d968 by Carl Friedrich Bolz-Tereick at 2021-02-01T19:47:35+01:00
fix merge problem

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

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

- - - - -
00eb5d0a by Carl Friedrich Bolz-Tereick at 2021-02-02T19:24:33+01:00
merge default

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

- - - - -
dd1052e5 by Carl Friedrich Bolz-Tereick at 2021-02-02T19:30:46+01:00
merge map-improvements-py3.7

--HG--
branch : py3.7

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

- - - - -
fad38bab by Carl Friedrich Bolz-Tereick at 2021-02-03T10:49:40+01:00
cache the imported re module (going through __import__ is unfortunately quite
expensive on 3.x :-( ).

--HG--
branch : py3.7

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

- - - - -
569354b0 by Carl Friedrich Bolz-Tereick at 2021-02-03T11:08:16+01:00
fix test_silly_max

--HG--
branch : py3.7

- - - - -
e41f51f6 by Carl Friedrich Bolz-Tereick at 2021-02-03T11:57:58+01:00
fix test_optimized_create_list_from_string

--HG--
branch : py3.7

- - - - -
c6e6b8e3 by Carl Friedrich Bolz-Tereick at 2021-02-03T12:56:05+01:00
small improvement: mention the repeated argument in the error

--HG--
branch : py3.7

- - - - -
307ee9d8 by Matti Picus at 2021-02-03T22:41:07+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
561df8e7 by Matti Picus at 2021-02-03T23:00:25+02:00
merge py3.7 into py3.8, leave out conflicts from ee052a16ada3

--HG--
branch : py3.8

- - - - -
59a95039 by Matti Picus at 2021-02-03T23:04:44+02:00
minimally fix up whatsnew

--HG--
branch : py3.8

- - - - -


30 changed files:

- lib-python/3/ctypes/macholib/dyld.py
- lib-python/3/ctypes/test/test_macholib.py
- lib-python/3/distutils/sysconfig_cpython.py
- lib-python/3/distutils/sysconfig_pypy.py
- lib_pypy/_crypt/__init__.py
- lib_pypy/_ctypes/__init__.py
- + lib_pypy/_ctypes/_ctypes_build.py
- lib_pypy/_sysconfigdata.py
- lib_pypy/_tkinter/app.py
- lib_pypy/_tkinter/tklib_build.py
- lib_pypy/pypy_tools/build_cffi_imports.py
- pypy/doc/whatsnew-head.rst
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/astcompiler/astbuilder.py
- pypy/interpreter/astcompiler/test/test_astbuilder.py
- pypy/module/__pypy__/interp_magic.py
- pypy/module/__pypy__/test/test_special.py
- pypy/module/_sre/interp_sre.py
- pypy/module/_winreg/moduledef.py
- pypy/module/cpyext/buffer.py
- pypy/module/cpyext/eval.py
- pypy/module/cpyext/import_.py
- pypy/module/cpyext/longobject.py
- pypy/module/cpyext/modsupport.py
- pypy/module/cpyext/number.py
- pypy/module/cpyext/stubs.py
- pypy/module/cpyext/test/test_cpyext.py
- pypy/module/cpyext/test/test_import.py
- pypy/module/cpyext/test/test_longobject.py
- pypy/module/cpyext/test/test_number.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/48d6859ff534198a51467bb5182725c0b7f1ed83...59a95039f7b47c2d0576ed6b4bd1e2267aed49b3

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/48d6859ff534198a51467bb5182725c0b7f1ed83...59a95039f7b47c2d0576ed6b4bd1e2267aed49b3
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