Carl Friedrich Bolz-Tereick pushed to branch branch/py3.9-pattern-matching-experiments at PyPy / pypy
Commits: 091bcf4b by Nils Müller at 2022-06-05T14:57:54+02:00 Implement logic and test for optimized adaption of base types. --HG-- branch : sqlite-need-adapt-optimization-pypy3 - - - - - 7590e1ed by Carl Friedrich Bolz-Tereick at 2022-06-11T17:54:21+02:00 add a counter that shows how often a virtualizable is forced (this is somewhat experimental, because I think it also counts every blackhole use, so might need refining) - - - - - 9c240963 by Carl Friedrich Bolz-Tereick at 2022-06-12T10:29:38+02:00 fix micronumpy jit tests - - - - - f99c9092 by Antonio Cuni at 2022-06-19T17:28:46+01:00 The final goal l of this branch is to ensure that we can use @specialize.memo(on callbacks which are passed to rgc.register_custom_trace_hook. The firfirst step is to ensure e that if we pass a method instead function to gc.trace, we crash cleanly. The rest of this branch will try to fix all the places which are broken by this commit --HG-- branch : gc-custom-trace-memo-on-default - - - - - a76c15a0 by Antonio Cuni at 2022-06-19T23:19:48+01:00 fix all the calls to gc.trace which were found by running test_direct.py --HG-- branch : gc-custom-trace-memo-on-default - - - - - c79477b0 by Antonio Cuni at 2022-06-19T23:26:50+01:00 fix test_inspector.py --HG-- branch : gc-custom-trace-memo-on-default - - - - - 908d468d by Antonio Cuni at 2022-06-20T09:39:05+01:00 WIP: add a second argument to the gc.trace callback, fix it everywhere, and turn more method-callbacks into function-callbacks; all the tests in memory/gc/test/ pass --HG-- branch : gc-custom-trace-memo-on-default - - - - - 75e1e005 by Carl Friedrich Bolz-Tereick at 2022-06-20T12:17:44+02:00 #3765: PyNumber_ToBase should accept big numbers as well - - - - - 65ea9675 by Antonio Cuni at 2022-06-20T11:52:15+01:00 WIP: fix more places, until all test_gctransformed -k customtrace pass --HG-- branch : gc-custom-trace-memo-on-default - - - - - b2ff5cff by Antonio Cuni at 2022-06-20T12:07:19+01:00 fix one more test --HG-- branch : gc-custom-trace-memo-on-default - - - - - a11aae69 by Antonio Cuni at 2022-06-20T12:24:37+01:00 one more place to fix, and kill trailing whitespace while I'm at it --HG-- branch : gc-custom-trace-memo-on-default - - - - - 7220932b by Antonio Cuni at 2022-06-20T12:47:27+01:00 fix the _stacklet_shadowstack custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 7397947a by Antonio Cuni at 2022-06-20T12:52:39+01:00 fix the customtrace for rthread --HG-- branch : gc-custom-trace-memo-on-default - - - - - 4ffa5371 by Antonio Cuni at 2022-06-20T12:57:48+01:00 hopefully fix the jitframe custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 4ac80e6c by Antonio Cuni at 2022-06-20T13:06:40+01:00 hopefully fix the gcrefs custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - d212c836 by Antonio Cuni at 2022-06-20T13:09:15+01:00 blindly fix micronumpy, since the tests are disabled --HG-- branch : gc-custom-trace-memo-on-default - - - - - fedad894 by Antonio Cuni at 2022-06-20T14:14:41+01:00 fix test_gcreftracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 9dbafc7e by Carl Friedrich Bolz-Tereick at 2022-06-22T11:29:44+02:00 add test for the existing optimization of int_?shift(x, 0) to x - - - - - 178c34b8 by Carl Friedrich Bolz-Tereick at 2022-06-22T11:34:17+02:00 add the optimization of uint_rshift(0, x) -> 0 and uint_rshift(x, 0) -> x (only existed for int_rshift before) - - - - - caab6b60 by Antonio Cuni at 2022-06-23T14:40:34+01:00 make it possible to skip the collect analyzer when defining a custom gc trace function - - - - - 578b9a7b by Antonio Cuni at 2022-06-24T16:46:35+01:00 make sure to always inline the callback inside the specialized gc.trace functions. This is essential for minor collections, else we do an unnecessary call to _trace_drag_out which costs 5-10% on gcbench --HG-- branch : gc-custom-trace-memo-on-default - - - - - 738cef5c by Carl Friedrich Bolz-Tereick at 2022-06-27T10:41:44+02:00 add three directories that are relevant to working on the Python interpreter - - - - - edcd6ad8 by Antonio Cuni at 2022-06-29T13:09:11+00:00 Merge branch 'branch/gc-custom-trace-memo-on-default' into 'branch/default' Make it possible to @specialize.memo on gc.trace callbacks See merge request pypy/pypy!851 - - - - - 6b7795dd by Antonio Cuni at 2022-06-29T14:42:00+01:00 hg merge default --HG-- branch : py3.8 - - - - - ecc8dd42 by Manuel Jacob at 2022-06-30T05:38:12+02:00 Port 211c8c95037f to reverse_debugging.py. --HG-- branch : py3.8 - - - - - 47ed3769 by Matti Picus at 2022-06-30T17:21:14+03:00 update openssl versions - - - - - fd014843 by Matti Picus at 2022-06-30T17:22:44+03:00 merge default --HG-- branch : py3.8 - - - - - 1e2544e7 by Matti Picus at 2022-06-30T17:23:22+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - e5ef72d3 by Antonio Cuni at 2022-06-30T16:14:08+01:00 hg merge default --HG-- branch : py3.8 - - - - - bd63c59c by Antonio Cuni at 2022-06-30T16:33:19+01:00 merge heads - - - - - 5b6751ca by Antonio Cuni at 2022-06-30T16:34:03+01:00 merge heads --HG-- branch : py3.8 - - - - - 7a22f10c by fijal at 2022-07-01T14:43:06+02:00 make sure we have wrappers around variadic calls in the JIT, fixes #3762 - - - - - 0cc2aa62 by Carl Friedrich Bolz-Tereick at 2022-07-02T13:36:06+02:00 give lifetimes a repr - - - - - 08469c94 by Carl Friedrich Bolz-Tereick at 2022-07-02T15:18:14+02:00 be a bit more debugger friendly - - - - - 69be3d8f by Carl Friedrich Bolz-Tereick at 2022-07-02T18:14:29+02:00 use a more subtle condition to check whether aliasing is present when doing malloc removal so far, we simply checked whether an outgoing link of a block had the variable that stores the to-be-malloc-removed value twice. that's not precise enough and leads to broken graphs in complicated situations. The new condition is the following: - we only care about aliasing if there are two distinct creation points. if there is only one, it does not matter that we ship the same value around in different variables. - if there is more than one creation point, it's not good enough to check whether a single variable is duplicated. instead, we check whether there are two variables passed along the link that share the same creation point (the variables might have been copied via same_as or a cast_pointer). - - - - - f804cef0 by Matti Picus at 2022-07-02T23:37:33+03:00 use os.open instead of rposix.open where possible for M1 untranslated tests - - - - - 859bff32 by Matti Picus at 2022-07-03T14:08:52+03:00 tweak test, macos build documentation - - - - - f13c8d4d by Matti Picus at 2022-07-03T14:18:19+03:00 backport changes from py3.8 - - - - - 9153a5ab by Matti Picus at 2022-07-03T15:28:34+03:00 fix reordering of calls in pypyjit test after 0a8acf22983f changed something - - - - - e2f12d88 by Matti Picus at 2022-07-03T15:29:42+03:00 rearrange so untranslated tests fail only on darwin. A better fix is needed - - - - - 7817f258 by Matti Picus at 2022-07-03T16:49:35+03:00 remove non-matchging redundant code to fix translation - - - - - 52bf4302 by Matti Picus at 2022-07-05T09:35:43+03:00 skip test that hengs untranslated on macos arm64, issue 3774 - - - - - 61dab08e by Carl Friedrich Bolz-Tereick at 2022-07-05T11:22:33+02:00 two elidables, add some hypothesis tests for the shift methods - - - - - 8df404da by Matti Picus at 2022-07-06T06:35:22+03:00 update embedded openssl to 1.1.1p, 3.0.5 - - - - - 600cb49d by Carl Friedrich Bolz-Tereick at 2022-07-06T11:17:33+02:00 all these optimize_* functions that just call "emit" are pointless, because the default behaviour is to just call emit - - - - - 4859d00f by fijal at 2022-07-06T12:25:39+02:00 add more natural arities - - - - - eedd062b by Matti Picus at 2022-07-06T17:51:10+03:00 do more name mangling for cpytext so untranslated tests on a pypy2 host run - - - - - d5e73b32 by Matti Picus at 2022-07-06T18:07:33+03:00 back out e64d144190c4, test no longer hangs - - - - - 5e8d5052 by Carl Friedrich Bolz-Tereick at 2022-07-06T21:10:15+02:00 micro-optimize .next() to not allocate quite so many intermediate lists, it appears relatively high in the profile of optimizeopt - - - - - c9a9f046 by Carl Friedrich Bolz-Tereick at 2022-07-06T21:11:07+02:00 only put OptimizationResults into the list for callbacks if the callback would actually *do* anything - - - - - ab9cd9e7 by Matti Picus at 2022-07-07T08:02:25+03:00 mangle another name in cpyext - - - - - 6cd20a20 by Matti Picus at 2022-07-07T09:10:08+03:00 patch openssl 1.1.1q for issue openssl/openssl/#18720 - - - - - 073ab68c by Carl Friedrich Bolz-Tereick at 2022-07-07T15:37:14+02:00 stop allocating lists for all the arguments of operations in the frontend --HG-- branch : tracing-speedup-minor - - - - - 2fa0186d by Carl Friedrich Bolz-Tereick at 2022-07-07T16:17:43+02:00 specialize these --HG-- branch : tracing-speedup-minor - - - - - 00bdcc8c by Carl Friedrich Bolz-Tereick at 2022-07-07T16:17:46+02:00 a comment --HG-- branch : tracing-speedup-minor - - - - - 4dd26b6e by Carl Friedrich Bolz-Tereick at 2022-07-07T18:22:57+02:00 rename IntBount.getint to get_constant_int having it share the metho name with ConstantInt means the method moves up to AbstractValue. Then IntBount.getint shows up as a case that is inlined all over the metainterp. --HG-- branch : tracing-speedup-minor - - - - - 49cefd7e by Carl Friedrich Bolz-Tereick at 2022-07-07T18:39:39+02:00 for constant pointers that come out of jitcodes, use a subclass of ConstPtr that has a field to cache the position the constant has in the opencoder --HG-- branch : tracing-speedup-minor - - - - - 5a7ca928 by Carl Friedrich Bolz-Tereick at 2022-07-07T18:50:49+02:00 use decorator --HG-- branch : tracing-speedup-minor - - - - - 3fa5fd8a by Carl Friedrich Bolz-Tereick at 2022-07-07T19:50:00+02:00 renaming and consolidation of pure/nonpure variants --HG-- branch : tracing-speedup-minor - - - - - 3a9006f5 by Matti Picus at 2022-07-08T09:50:58+03:00 sed on macos is different from gnused - - - - - 8854a81d by Matti Picus at 2022-07-08T10:04:44+03:00 skip _cffi_backend test with a variadac fscanf on macOS - - - - - 52b877ea by Matti Picus at 2022-07-08T14:44:36+03:00 semlock does not work untranslated on darwin - - - - - ef1ba811 by Carl Friedrich Bolz-Tereick at 2022-07-09T08:07:53+02:00 fix a potential leak: the temporary box in MIFrame can come from push_ref, in which case it stores an aritrary object. clean it up when setting the other ref registers to None - - - - - bada387e by Carl Friedrich Bolz-Tereick at 2022-07-09T08:27:14+02:00 kill dead import - - - - - 75cfcb6a by Matti Picus at 2022-07-09T22:07:08+03:00 merge default into py3.8 --HG-- branch : py3.8 - - - - - 88e7a276 by Carl Friedrich Bolz-Tereick at 2022-07-11T09:41:31+02:00 merge heads - - - - - dd4df7a9 by Carl Friedrich Bolz-Tereick at 2022-07-11T09:40:52+02:00 rename variable, it's not a box - - - - - 6d1f44e5 by Matti Picus at 2022-07-11T23:58:03+03:00 fix the compile flags. CPython takes this from the Makefile, determined by configure --HG-- branch : py3.8 - - - - - 07b8da46 by Matti Picus at 2022-07-13T10:29:14+03:00 macos arm64 does not support ffi_prep_cif_var, we can just ignore it - - - - - 8cf9a71a by Nils Müller at 2022-07-13T20:10:01+02:00 (shimst3r,cfbolz) Fix optimisation logic for adapt --HG-- branch : sqlite-need-adapt-optimization-pypy3 - - - - - 68475fc2 by Nils Müller at 2022-07-13T20:43:12+02:00 (shimst3r,cfbolz) replace hashmap lookup with beautiful if clauses --HG-- branch : sqlite-need-adapt-optimization-pypy3 - - - - - d08e4185 by Matti Picus at 2022-07-14T14:31:38+03:00 revert rposix.open work-arounds, the problem was open()'s mode must be an int for variadic calls - - - - - 1bc789ee by Matti Picus at 2022-07-14T15:17:46+03:00 typo - - - - - 74897eea by Carl Friedrich Bolz-Tereick at 2022-07-16T17:30:54+02:00 a few small optimizations to tracing speed - have special versions of various record functions that take a fixed number of arguments. this makes it possible to not allocate arguments lists - don't lookup constant pointers that come from the jitcode in a dictionary again and again in opencoder - - - - - abfbaa82 by Carl Friedrich Bolz-Tereick at 2022-07-16T20:03:17+02:00 fix the flowspace tests when running on top of pypy - - - - - c5ff31af by Matti Picus at 2022-07-16T21:14:30+03:00 convert test_msvcrt to extra_test --HG-- branch : py3.8 - - - - - e10bcfb8 by Matti Picus at 2022-07-16T21:28:13+03:00 test, fix msvcrt.get* for python3 (issue 3779) --HG-- branch : py3.8 - - - - - d52a7395 by Matti Picus at 2022-07-16T21:37:09+03:00 merge default --HG-- branch : py3.8 - - - - - 47f55d50 by Carl Friedrich Bolz-Tereick at 2022-07-17T14:11:18+02:00 #3778: use the name mapping when creating new hashes to pass the correct ssl name to the C functions --HG-- branch : py3.8 - - - - - 8ab5b393 by Matti Picus at 2022-07-17T15:31:22+03:00 merge default --HG-- branch : py3.8 - - - - - 1dece77f by Matti Picus at 2022-07-17T15:34:27+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - cb49f3c1 by Matti Picus at 2022-07-18T06:32:28+03:00 fix pytest skip --HG-- branch : py3.8 - - - - - 4eb5bb07 by Matti Picus at 2022-07-18T22:22:49+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 33ae2898 by Nils Müller at 2022-07-18T21:30:16+02:00 clean up code, format if clauses properly --HG-- branch : sqlite-need-adapt-optimization-pypy3 - - - - - 6806cdfb by Carl Friedrich Bolz-Tereick at 2022-07-19T07:17:42+00:00 Merge branch 'branch/sqlite-need-adapt-optimization-pypy3' into 'branch/py3.9' Add BASE_TYPE_ADAPTION optimization. See merge request pypy/pypy!847 --HG-- branch : py3.9 - - - - - 9a5fd9ff by Matti Picus at 2022-07-19T11:42:35+03:00 expose os.sendfile on darwin, skip test that hangs untranslated on darwin --HG-- branch : py3.8 - - - - - 15a50568 by Matti Picus at 2022-07-19T11:43:07+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - d1ee2fa9 by Matti Picus at 2022-07-19T11:54:01+03:00 macos does not support arm32 builds - - - - - b9cd0efc by Matti Picus at 2022-07-19T12:41:21+03:00 clang uses --coverage, not -lgcov - - - - - dc7062d5 by Matti Picus at 2022-07-20T00:02:11+03:00 test, implement PyErr_SetFromErrnoWithFilenameObjects needed for HPy 0.0.4 tests --HG-- branch : py3.8 - - - - - 3a0af27e by fijal at 2022-07-20T14:38:13+02:00 add another hook to actually disable tracing and be better at writing docstrings - - - - - 21fce7e3 by Matti Picus at 2022-07-20T17:34:26+03:00 add gc.collect to make tests pass on top of pypy2.7 - - - - - a695e3b8 by Matti Picus at 2022-07-21T15:02:34+03:00 i386 is not supported anymore, skip tests - - - - - 0414d4ea by Matti Picus at 2022-07-22T12:49:12+03:00 add a test for issue 3786. Calling PyRun_String("open('badfilename', 'r')" raises a SystemError on CPython, something is wrong. --HG-- branch : issue3786 - - - - - 5f75faf4 by Carl Friedrich Bolz-Tereick at 2022-07-24T11:52:09+02:00 #3782 remove now unreachable case --HG-- branch : py3.9 - - - - - 8828d3c7 by Carl Friedrich Bolz-Tereick at 2022-07-24T12:15:21+02:00 #3783 fix the actual magic bytes in the pyc files to not be like CPython's :-( --HG-- branch : py3.8 - - - - - d03b5e3e by Carl Friedrich Bolz-Tereick at 2022-07-24T12:19:01+02:00 #3783 merge py3.8 --HG-- branch : py3.9 - - - - - 6c4d0dc2 by Carl Friedrich Bolz-Tereick at 2022-07-24T19:56:22+02:00 #3775: another corner case in cpython's handling of dict subclasses --HG-- branch : py3.9 - - - - - a574e424 by Matti Picus at 2022-07-25T09:17:08+03:00 test now pases on CPython, fails on PyPy --HG-- branch : issue3786 - - - - - 9dd39648 by Matti Picus at 2022-07-25T10:42:12+03:00 rposix macOS does not support 'sendfile_no_offset --HG-- branch : py3.9 - - - - - 5f154c5a by Matti Picus at 2022-07-25T22:19:08+03:00 test, fix error message for PyFloat_AsDouble (from scipy tests) --HG-- branch : py3.8 - - - - - e6adfb59 by Matti Picus at 2022-07-26T06:26:14+03:00 fix unused value error in test --HG-- branch : py3.8 - - - - - 02585637 by Matti Picus at 2022-07-25T10:42:12+03:00 rposix macOS does not support 'sendfile_no_offset --HG-- branch : py3.8 - - - - - 14c7c4fe by Matti Picus at 2022-07-25T16:14:16+03:00 use the normalized w_exc in processing OSErrors --HG-- branch : issue3786 - - - - - 053be473 by Matti Picus at 2022-07-25T20:04:06+03:00 merge issue3786 which nomalizes OSErrors better --HG-- branch : py3.8 - - - - - 41421f91 by Matti Picus at 2022-07-25T20:04:48+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 41a3e232 by Carl Friedrich Bolz-Tereick at 2022-07-25T11:34:13+02:00 #3766: (bpo-20443) make __file__ of the __main__ module be an absolute path, if possible --HG-- branch : py3.9 - - - - - baf29a8a by Carl Friedrich Bolz-Tereick at 2022-07-25T13:57:22+02:00 small optimization: if a unicode string is ascii only, .split() can use the faster ascii-based whitespace detection for finding the places to split - - - - - 7b326266 by Matti Picus at 2022-07-25T17:05:52+03:00 add const qualifier - - - - - f4414f71 by Matti Picus at 2022-07-26T06:23:32+03:00 fix translation - - - - - 52f8e719 by Matti Picus at 2022-07-26T06:44:30+03:00 fix condition in test --HG-- branch : py3.8 - - - - - 779be110 by fijal at 2022-07-26T09:17:08+02:00 call backend optimizations in the right moment - - - - - 7f8d83b5 by Carl Friedrich Bolz-Tereick at 2022-07-26T19:25:32+02:00 randomly fix some typos - - - - - 37907cb1 by Matti Picus at 2022-07-27T12:41:06+03:00 test, implement PyUnicode_Append, PyUnicode_AppendAndDel --HG-- branch : py3.8 - - - - - 7f468a6d by Matti Picus at 2022-07-27T13:02:08+03:00 update conda recommendation to use 3.7 since the migration to 3.8/3.9 is slow - - - - - 4b0fe910 by Matti Picus at 2022-07-27T13:44:50+03:00 resync _vmprof with vmprof-python - - - - - abf49178 by Matti Picus at 2022-07-28T13:34:11+03:00 revert _ssl 1.1.1p -> 1.1.1q update, the sed script to fix the issue does not work reliably - - - - - 55f48dc6 by Matti Picus at 2022-07-28T13:36:18+03:00 merge default --HG-- branch : py3.8 - - - - - 901abbb0 by Matti Picus at 2022-07-28T13:36:38+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 154cfc3d by Matti Picus at 2022-07-29T06:23:12+03:00 fix bad merge --HG-- branch : py3.8 - - - - - 99fe7ff1 by Matti Picus at 2022-07-29T06:23:42+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 7a6ab765 by Matti Picus at 2022-08-01T10:14:34+03:00 cython 0.29.32 was released, revert the work-around --HG-- branch : py3.8 - - - - - 5e43f61c by Matti Picus at 2022-08-01T10:14:57+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 7e841a07 by Matti Picus at 2022-08-02T07:48:33+03:00 fix indentation --HG-- branch : py3.8 - - - - - d5fea74a by Matti Picus at 2022-08-02T07:48:51+03:00 merge py3.8 --HG-- branch : py3.9 - - - - - 41f576f4 by Carl Friedrich Bolz-Tereick at 2022-08-05T18:00:08+02:00 stop using a trie and switch to a DAWG for the bidirectional name<->unicode code point mapping it's smaller and lookups (in both directions) are faster --HG-- branch : unicodedata-dawg - - - - - 7d4c154a by Carl Friedrich Bolz-Tereick at 2022-08-05T18:38:52+02:00 just check all the names of the first 65536 characters --HG-- branch : unicodedata-dawg - - - - - a0c974ae by Carl Friedrich Bolz-Tereick at 2022-08-05T20:30:51+02:00 use startswith --HG-- branch : unicodedata-dawg - - - - - ff84054e by Carl Friedrich Bolz-Tereick at 2022-08-05T20:58:46+02:00 save some more bytes --HG-- branch : unicodedata-dawg - - - - - c24a2c24 by Carl Friedrich Bolz-Tereick at 2022-08-06T14:53:11+02:00 intermediate check-in: more compact one character edges (relies on alphabet being ascii) --HG-- branch : unicodedata-dawg - - - - - 4779cbdd by Carl Friedrich Bolz-Tereick at 2022-08-06T19:48:18+02:00 use leb128 to encode the count, saves another 22kb another intermediate checkin with lots of mess around --HG-- branch : unicodedata-dawg - - - - - dacaf7f0 by Carl Friedrich Bolz-Tereick at 2022-08-06T20:13:36+02:00 switch order of fields in edge encoding --HG-- branch : unicodedata-dawg - - - - - da0db534 by Carl Friedrich Bolz-Tereick at 2022-08-06T20:38:29+02:00 make edge target encoding also be varsized --HG-- branch : unicodedata-dawg - - - - - e3299d09 by Carl Friedrich Bolz-Tereick at 2022-08-06T21:20:46+02:00 compress further by storing offsets --HG-- branch : unicodedata-dawg - - - - - e93701ca by Carl Friedrich Bolz-Tereick at 2022-08-06T21:49:40+02:00 remove cruft --HG-- branch : unicodedata-dawg - - - - - f2f764af by Carl Friedrich Bolz-Tereick at 2022-08-07T14:20:10+02:00 refactor to not have the separate size computatio --HG-- branch : unicodedata-dawg - - - - - 899613f9 by Carl Friedrich Bolz-Tereick at 2022-08-07T14:37:52+02:00 reshuffle a bit --HG-- branch : unicodedata-dawg - - - - - b08242c8 by Carl Friedrich Bolz-Tereick at 2022-08-07T14:49:28+02:00 put the bit somewhere else, at a slight cost --HG-- branch : unicodedata-dawg - - - - - c957417c by Carl Friedrich Bolz-Tereick at 2022-08-07T15:38:53+02:00 add "final" bits to the edges and remove the edge count --HG-- branch : unicodedata-dawg - - - - - 8fbad397 by Carl Friedrich Bolz-Tereick at 2022-08-07T19:08:35+02:00 add some hypothesis tests and fix the found problems --HG-- branch : unicodedata-dawg - - - - - 0a376a5c by Carl Friedrich Bolz-Tereick at 2022-08-07T20:54:01+02:00 fix rpython --HG-- branch : unicodedata-dawg - - - - - defc1eaa by Carl Friedrich Bolz-Tereick at 2022-08-07T21:30:02+02:00 argh, actual fix --HG-- branch : unicodedata-dawg - - - - - 1064c1e2 by Carl Friedrich Bolz-Tereick at 2022-08-09T13:18:11+02:00 Use base compression again for names, make printed output less enormous --HG-- branch : unicodedata-dawg - - - - - 99f6a17c by Carl Friedrich Bolz-Tereick at 2022-08-09T17:04:42+02:00 use int32 for codepoints, not C longs --HG-- branch : unicodedata-dawg - - - - - de0804c3 by Carl Friedrich Bolz-Tereick at 2022-08-09T17:23:47+02:00 small improvements --HG-- branch : unicodedata-dawg - - - - - 7121a2f6 by Carl Friedrich Bolz-Tereick at 2022-08-10T22:03:36+02:00 use a single big db to store almost all information. 10% space and is much faster. use CPython's code for db page tables logic --HG-- branch : unicodedata-dawg - - - - - f45ee617 by Carl Friedrich Bolz-Tereick at 2022-08-11T15:56:06+02:00 intermediate checkin: rewrite code generation infrastructure and estimate sizes --HG-- branch : unicodedata-dawg - - - - - d30dc835 by Carl Friedrich Bolz-Tereick at 2022-08-12T12:48:04+02:00 more switching to the code writer --HG-- branch : unicodedata-dawg - - - - - 41f07249 by Carl Friedrich Bolz-Tereick at 2022-08-12T16:42:05+02:00 tweak guesses --HG-- branch : unicodedata-dawg - - - - - 71b05811 by Carl Friedrich Bolz-Tereick at 2022-08-12T19:08:52+02:00 do the composition data differently --HG-- branch : unicodedata-dawg - - - - - 9b83c891 by Carl Friedrich Bolz-Tereick at 2022-08-12T19:39:01+02:00 share composition_data --HG-- branch : unicodedata-dawg - - - - - aecc840d by Carl Friedrich Bolz-Tereick at 2022-08-12T20:34:46+02:00 fix --HG-- branch : unicodedata-dawg - - - - - 68126b7e by Carl Friedrich Bolz-Tereick at 2022-08-12T21:24:37+02:00 integrate composition data into the decomposition tables --HG-- branch : unicodedata-dawg - - - - - 4a6d166e by Carl Friedrich Bolz-Tereick at 2022-08-12T21:46:58+02:00 compress pre- and postfix constants --HG-- branch : unicodedata-dawg - - - - - 73e77d19 by Carl Friedrich Bolz-Tereick at 2022-08-13T12:57:31+02:00 tests and fixes --HG-- branch : unicodedata-dawg - - - - - 3071f3e8 by Carl Friedrich Bolz-Tereick at 2022-08-14T11:08:44+02:00 unify all char lists into the same output list. also include casefolds. --HG-- branch : unicodedata-dawg - - - - - 4ad5b92d by Carl Friedrich Bolz-Tereick at 2022-08-14T11:11:16+02:00 remove some old unicode versions, only keep those for py 2.7, and 3.6 onwards --HG-- branch : unicodedata-dawg - - - - - e80baf28 by Carl Friedrich Bolz-Tereick at 2022-08-14T11:17:17+02:00 fix tests --HG-- branch : unicodedata-dawg - - - - - 3c137c46 by Carl Friedrich Bolz-Tereick at 2022-08-14T13:28:07+02:00 refactor the db generation --HG-- branch : unicodedata-dawg - - - - - 7d5bc5a3 by Carl Friedrich Bolz-Tereick at 2022-08-14T16:30:46+02:00 use methods to generate less "unknown" --HG-- branch : unicodedata-dawg - - - - - d7159bf7 by Carl Friedrich Bolz-Tereick at 2022-08-14T20:48:10+02:00 failing test --HG-- branch : unicodedata-dawg - - - - - 051d71fb by Carl Friedrich Bolz-Tereick at 2022-08-15T13:25:10+02:00 lookup should not return aliases by default --HG-- branch : unicodedata-dawg - - - - - d1ce4fe4 by Carl Friedrich Bolz-Tereick at 2022-08-15T13:46:28+02:00 fix test --HG-- branch : unicodedata-dawg - - - - - 515c84d8 by Carl Friedrich Bolz-Tereick at 2022-08-15T13:46:44+02:00 print estimated size --HG-- branch : unicodedata-dawg - - - - - a15b0dee by Carl Friedrich Bolz-Tereick at 2022-08-15T13:47:12+02:00 oops --HG-- branch : unicodedata-dawg - - - - - 627d9b0a by Carl Friedrich Bolz-Tereick at 2022-08-15T13:47:32+02:00 regenerate everything --HG-- branch : unicodedata-dawg - - - - - 34574429 by Carl Friedrich Bolz-Tereick at 2022-08-15T17:18:37+02:00 try to document the API of the rpython unicodedb --HG-- branch : unicodedata-dawg - - - - - 6f01c6dc by Carl Friedrich Bolz-Tereick at 2022-08-15T21:02:10+02:00 merge unicodedata-dawg: replace the trie of names in unicodedata with a directed acyclic word graph to make it more compact. also various other improvements to make unicodedata more compact. shrinks pypy2 by 2.1mb, pypy3 by 2.6mb - - - - - 83c79073 by Carl Friedrich Bolz-Tereick at 2022-08-16T12:43:50+02:00 merge default --HG-- branch : py3.8 - - - - - f829717a by Carl Friedrich Bolz-Tereick at 2022-08-16T12:44:46+02:00 merge py3.8 --HG-- branch : py3.9 - - - - - c6843603 by Carl Friedrich Bolz-Tereick at 2022-08-17T22:27:55+02:00 test does not make sense for py3 --HG-- branch : py3.8 - - - - - 72ee5689 by Matti Picus at 2022-08-19T09:56:12+03:00 change regex to detect 10 or more CPUs for "make -j" - - - - - 2a61de3a by Carl Friedrich Bolz-Tereick at 2022-08-19T10:53:59+02:00 #3781: be more systematic about conditional unrolling in list, dict, tuple code. in particularly, don't do isvirtual(w_list) any more, because the list can be virtual where the underlying storage is not. --HG-- branch : list-unrolling-bugs-3781 - - - - - 1e6757a2 by Carl Friedrich Bolz-Tereick at 2022-08-19T21:53:29+02:00 #3781: jit.isvirtual would wrongly return True for freshly allocated arrays that have an unknown length. fix this --HG-- branch : list-unrolling-bugs-3781 - - - - - 6e653025 by Carl Friedrich Bolz-Tereick at 2022-08-21T13:16:04+02:00 3781: turns out isvirtual is also wrongly True for resizable lists (and that also means dicts, I suppose). Therefore require the length to be known in loop_unrolling_heuristic to work around that problem. --HG-- branch : list-unrolling-bugs-3781 - - - - - f112d5d5 by Alessandro Ogier at 2022-08-22T13:12:57+02:00 #3148: disable JIT via env var --HG-- branch : 3148-disable-jit-via-envvar-default - - - - - f5cd3df0 by Alessandro Ogier at 2022-08-22T14:13:56+02:00 manpage update --HG-- branch : 3148-disable-jit-via-envvar-default - - - - - fb84ff43 by Carl Friedrich Bolz-Tereick at 2022-08-22T14:30:07+02:00 work around cpython bug - - - - - f1039fad by Carl Friedrich Bolz-Tereick at 2022-08-23T09:16:54+02:00 fix bogus tests: always pass utf-8 encoded unicode strings, not the unicode type - - - - - 79d4a83f by Carl Friedrich Bolz-Tereick at 2022-08-23T09:31:59+02:00 disable assert that fails on pypy2 (not worth fixing pypy2, it's a cpy2 bug that was fixed on cpy3) - - - - - 08d1b4de by Carl Friedrich Bolz-Tereick at 2022-08-23T12:43:14+00:00 Merge branch 'branch/3148-disable-jit-via-envvar-default' into 'branch/default' #3148: disable JIT via env var Closes #3148 See merge request pypy/pypy!853 - - - - - 61017c0b by Carl Friedrich Bolz-Tereick at 2022-08-23T15:11:14+02:00 merge default --HG-- branch : py3.8 - - - - - e77ab165 by Carl Friedrich Bolz-Tereick at 2022-08-23T16:48:12+02:00 store the jit options into options, to make them testable without monkeypatching - - - - - d0819166 by Carl Friedrich Bolz-Tereick at 2022-08-23T17:09:05+02:00 merge default --HG-- branch : py3.8 - - - - - 2e56325b by Carl Friedrich Bolz-Tereick at 2022-08-23T17:14:39+02:00 add the env var variant too - - - - - 11cb5cc0 by Carl Friedrich Bolz-Tereick at 2022-08-23T17:16:32+02:00 merge default --HG-- branch : py3.8 - - - - - ac5c6bce by Carl Friedrich Bolz-Tereick at 2022-08-23T18:01:39+02:00 fix test_cffi_init_struct_with_list with slighly annoying code, see comment --HG-- branch : list-unrolling-bugs-3781 - - - - - 17f035ae by Carl Friedrich Bolz-Tereick at 2022-08-24T12:42:52+02:00 merge list-unrolling-bugs-3781 to fix #3781: review all the use cases of jit.loop_unrolling_heuristic, to unroll less aggressively - - - - - 4b478137 by Carl Friedrich Bolz-Tereick at 2022-08-24T13:13:07+02:00 merge py3.8 --HG-- branch : py3.9 - - - - - bd152909 by Carl Friedrich Bolz-Tereick at 2022-08-24T13:42:03+02:00 #3792: use an absolute path for the main module too --HG-- branch : py3.9 - - - - - c6e0a52f by Matti Picus at 2022-08-24T18:32:32+03:00 test, implement PyClassMethod_Type (for pybind11 gh-4158) --HG-- branch : py3.8 - - - - - 2941f473 by Carl Friedrich Bolz-Tereick at 2022-08-26T13:06:58+02:00 #3792: also make sys.path[0] absolute when running a directory from the cmd line --HG-- branch : py3.9 - - - - - 76999f70 by Matti Picus at 2022-08-26T16:54:18+03:00 test, fix "Unknown format code" error message (issue 3799) also unskip a passing test --HG-- branch : py3.8 - - - - - dea92849 by Carl Friedrich Bolz-Tereick at 2022-08-29T14:45:12+02:00 (mgorny): #3559 if ctypes doesn't find the C library with find_library('c'), try to fallback to generic "libc.so". this enables building with musl - - - - - f8fea063 by Carl Friedrich Bolz-Tereick at 2022-08-30T09:02:11+02:00 #3800: fix first line number of eval to be reported as 0 --HG-- branch : py3.9 - - - - - e55c6cae by Carl Friedrich Bolz-Tereick at 2022-09-01T09:06:45+02:00 #3802: unbreak string formatting with mixed bytes/unicode (before it was possible to produce a unicode object with bytes that aren't valid utf-8) - - - - - ccf39e7c by Carl Friedrich Bolz-Tereick at 2022-09-01T09:44:08+02:00 merge default --HG-- branch : py3.8 - - - - - 91dde3fc by Matti Picus at 2022-09-05T07:23:53-05:00 add memory pressure when creating a tkinter image (issue 3798) --HG-- branch : py3.8 - - - - - 5e48d257 by Matti Picus at 2022-09-05T07:27:22-05:00 mege py3.8 --HG-- branch : py3.9 - - - - - 1001919b by Carl Friedrich Bolz-Tereick at 2022-09-12T12:21:05+02:00 fix ast rewriting for tests --HG-- branch : py3.9-pattern-matching-experiments - - - - - 73517dbb by Carl Friedrich Bolz-Tereick at 2022-09-12T12:21:28+02:00 fix for new constructor --HG-- branch : py3.9-pattern-matching-experiments - - - - - 3ecc4c5c by Carl Friedrich Bolz-Tereick at 2022-09-12T12:21:47+02:00 deal with parameters having the same name as the base class in the ast generation code --HG-- branch : py3.9-pattern-matching-experiments - - - - - b36ce8fc by Carl Friedrich Bolz-Tereick at 2022-09-12T12:25:35+02:00 merge py3.9 --HG-- branch : py3.9-pattern-matching-experiments - - - - - 30 changed files: - + extra_tests/test_hashlib.py - pypy/module/test_lib_pypy/test_msvcrt.py → extra_tests/test_msvcrt.py - extra_tests/test_sqlite3.py - lib-python/3/importlib/_bootstrap.py - lib-python/3/importlib/_bootstrap_external.py - lib-python/3/tkinter/__init__.py - lib_pypy/_hashlib/__init__.py - lib_pypy/_sqlite3.py - lib_pypy/_sysconfigdata.py - lib_pypy/msvcrt.py - lib_pypy/pypy_tools/build_cffi_imports.py - pypy/bin/pyinteractive.py - pypy/doc/build.rst - pypy/doc/dir-reference.rst - pypy/doc/install.rst - pypy/doc/man/pypy.1.rst - pypy/interpreter/app_main.py - pypy/interpreter/argument.py - pypy/interpreter/astcompiler/ast.py - pypy/interpreter/astcompiler/codegen.py - pypy/interpreter/astcompiler/test/test_compiler.py - pypy/interpreter/astcompiler/test/test_validate.py - pypy/interpreter/astcompiler/tools/Python.asdl - pypy/interpreter/astcompiler/tools/asdl_py.py - pypy/interpreter/error.py - pypy/interpreter/pyparser/rpypegparse.py - pypy/interpreter/pyparser/tools/python-in-rpython.gram - pypy/interpreter/reverse_debugging.py - pypy/interpreter/test/test_app_main.py - pypy/interpreter/test/test_argument.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/73d262eb1d07a0afa10042acf91a244e8c323037...b36ce8fc270d6e447b8dbe532133662fe8b43a0f -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/73d262eb1d07a0afa10042acf91a244e8c323037...b36ce8fc270d6e447b8dbe532133662fe8b43a0f 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