Matti Picus pushed to branch branch/py3.8 at PyPy / pypy
Commits: 2472bb5f by Ronan Lamy at 2022-03-03T20:07:02+00:00 A branch to update to the upcoming 0.0.4 release of HPy --HG-- branch : hpy-0.0.4 - - - - - 4c44d0d5 by Ronan Lamy at 2022-03-03T19:37:04+00:00 rm broken patch and run update_vendored.sh to current hpy master --HG-- branch : hpy-0.0.4 - - - - - 2ec208ff by Ronan Lamy at 2022-03-03T20:05:27+00:00 fix and reapply 02_tweak_extra_tests.patch --HG-- branch : hpy-0.0.4 - - - - - 40817566 by Ronan Lamy at 2022-03-03T21:41:15+00:00 skip test_cant_use_closed_handle --HG-- branch : hpy-0.0.4 - - - - - c0d45b55 by Ronan Lamy at 2022-03-04T19:33:42+00:00 Add new file to the ECI --HG-- branch : hpy-0.0.4 - - - - - 5a705382 by Ronan Lamy at 2022-03-04T19:45:17+00:00 fix compilation warning --HG-- branch : hpy-0.0.4 - - - - - c99f9d55 by Ronan Lamy at 2022-03-04T20:01:50+00:00 Update context definition --HG-- branch : hpy-0.0.4 - - - - - 90520b22 by Matti Picus at 2022-03-06T10:59:42+02:00 update HPyModuleDef to 0.0.4 --HG-- branch : hpy-0.0.4 - - - - - 5661c6ac by Ronan Lamy at 2022-03-08T21:51:44+00:00 Update modified structs --HG-- branch : hpy-0.0.4 - - - - - 9b6a2d70 by Ronan Lamy at 2022-03-09T00:21:12+00:00 merge heads --HG-- branch : hpy-0.0.4 - - - - - 1970d5c0 by Ronan Lamy at 2022-03-09T16:30:19+00:00 Add instructions on updating HPy --HG-- branch : hpy-0.0.4 - - - - - 80905d45 by Ronan Lamy at 2022-03-16T19:55:10+00:00 Use relative imports in extra_tests/ --HG-- branch : hpy-0.0.4 - - - - - be6ab5c5 by Ronan Lamy at 2022-03-17T16:11:51+00:00 Handle NULL in HPy_{From,As}PyObject() --HG-- branch : hpy-0.0.4 - - - - - 9076b876 by Ronan Lamy at 2022-03-23T22:39:52+00:00 hg merge py3.8 --HG-- branch : hpy-0.0.4 - - - - - 0c611d58 by Matti Picus at 2022-04-07T06:47:14+03:00 backport test_00_basic to _hpy_universal and add missing types --HG-- branch : hpy-0.0.4 - - - - - 29b179b5 by Matti Picus at 2022-04-07T09:20:29+03:00 backort test_hpybuildvalue, implement HPyTupleBuilder_Cancel --HG-- branch : hpy-0.0.4 - - - - - b50ebb3e by Matti Picus at 2022-04-07T15:30:08+03:00 backport test_hpytype_legacy and work around missing tp_dealloc slotdef in cpyext --HG-- branch : hpy-0.0.4 - - - - - 4f07d3ae by Matti Picus at 2022-04-07T22:59:00+03:00 backport tests and add unicode API functions HPy_UCS4 cannot be parsed, used "long" instead --HG-- branch : hpy-0.0.4 - - - - - 3a95a1a8 by Antonio Cuni at 2022-05-03T10:38:12+02:00 ignore pytest cache dir --HG-- branch : hpy-0.0.4-hpyfields - - - - - 4e22d075 by Antonio Cuni at 2022-05-03T10:40:17+02:00 copy test_hpyfield.py from extra_test --HG-- branch : hpy-0.0.4-hpyfields - - - - - a9cfaa66 by Antonio Cuni at 2022-05-03T11:08:12+02:00 WIP: start to implement HPyField for the untranslated case; test_store_load passes, all the rest fails --HG-- branch : hpy-0.0.4-hpyfields - - - - - 06247564 by Antonio Cuni at 2022-05-03T11:50:22+02:00 handle the case in which we HPyField_Store a NULL value --HG-- branch : hpy-0.0.4-hpyfields - - - - - b1f70aa5 by Antonio Cuni at 2022-05-04T15:02:28+02:00 add support for tp_traverse, only for the untranslated case for now --HG-- branch : hpy-0.0.4-hpyfields - - - - - a65a4fa8 by Antonio Cuni at 2022-05-04T15:50:00+02:00 sanity check for tp_traverse --HG-- branch : hpy-0.0.4-hpyfields - - - - - 09943367 by Antonio Cuni at 2022-05-05T17:39:56+02:00 WIP: implement HPyField_{Load,Store} --HG-- branch : hpy-0.0.4-hpyfields - - - - - 2a966262 by Antonio Cuni at 2022-05-05T16:57:32+01:00 missing import --HG-- branch : hpy-0.0.4-hpyfields - - - - - 7ca39e34 by Antonio Cuni at 2022-05-17T14:30:46+01:00 handle the case HPyField_Store(..., HPy_NULL) --HG-- branch : hpy-0.0.4-hpyfields - - - - - 431e466c by Antonio Cuni at 2022-05-19T09:06:20+01:00 refactor how the hpy memory is allocated: we need to use a GcStruct, in preparation for the next commit where we will install a custom GC tracer; also, add a long comment which explains why the current solution is suboptimal --HG-- branch : hpy-0.0.4-hpyfields - - - - - 2ac17f4f 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 - - - - - 56a5e4aa 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 - - - - - 32278ec7 by Antonio Cuni at 2022-06-19T23:26:50+01:00 fix test_inspector.py --HG-- branch : gc-custom-trace-memo - - - - - 42ea8534 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 - - - - - d459a9db 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 - - - - - 966f5168 by Antonio Cuni at 2022-06-20T12:07:19+01:00 fix one more test --HG-- branch : gc-custom-trace-memo - - - - - ecfbb729 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 - - - - - 04cdfde2 by Antonio Cuni at 2022-06-20T12:47:27+01:00 fix the _stacklet_shadowstack custom tracer --HG-- branch : gc-custom-trace-memo - - - - - 33de832e by Antonio Cuni at 2022-06-20T12:52:39+01:00 fix the customtrace for rthread --HG-- branch : gc-custom-trace-memo - - - - - dd5ab362 by Antonio Cuni at 2022-06-20T12:57:48+01:00 hopefully fix the jitframe custom tracer --HG-- branch : gc-custom-trace-memo - - - - - b87013dd by Antonio Cuni at 2022-06-20T13:06:40+01:00 hopefully fix the gcrefs custom tracer --HG-- branch : gc-custom-trace-memo - - - - - 388ee6b1 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 - - - - - 051f619e by Antonio Cuni at 2022-06-20T14:14:41+01:00 fix test_gcreftracer --HG-- branch : gc-custom-trace-memo - - - - - 8009a19d by Antonio Cuni at 2022-06-21T08:37:25+01:00 merge branch gc-custom-trace-memo --HG-- branch : hpy-0.0.4-hpyfields - - - - - 026f9057 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 --HG-- branch : hpy-0.0.4-hpyfields - - - - - 7e51ab6f by Antonio Cuni at 2022-06-23T16:25:15+01:00 implement a custom GC tracer for W_HPyObject, which works by calling the user-provided tp_traverse --HG-- branch : hpy-0.0.4-hpyfields - - - - - a6cb6768 by Antonio Cuni at 2022-06-23T16:29:31+01:00 revert these unintended changes --HG-- branch : hpy-0.0.4-hpyfields - - - - - 0a795ee2 by Antonio Cuni at 2022-06-30T16:14:50+01:00 hg merge py3.8 --HG-- branch : hpy-0.0.4 - - - - - caa6ac78 by Antonio Cuni at 2022-06-30T16:30:17+01:00 simplify make_trace_one_field --HG-- branch : hpy-0.0.4-hpyfields - - - - - 2f1c0741 by Antonio Cuni at 2022-06-30T16:30:34+01:00 close this branch, will be merged to hpy-0.0.4 --HG-- branch : hpy-0.0.4-hpyfields - - - - - f6ea984c by Antonio Cuni at 2022-06-30T16:32:40+01:00 hg merge hpy-0.0.4-hpyfields --HG-- branch : hpy-0.0.4 - - - - - 357943e4 by Antonio Cuni at 2022-06-30T22:29:59+01:00 fix this --HG-- branch : hpy-0.0.4 - - - - - 698f47c2 by Antonio Cuni at 2022-07-01T13:10:54+01:00 fix JIT translation, and add two comments for the future --HG-- branch : hpy-0.0.4 - - - - - e3ec1a23 by Matti Picus at 2022-07-20T16:42:29+03:00 merge py3.8 --HG-- branch : hpy-0.0.4 - - - - - a4a39443 by Matti Picus at 2022-07-22T12:17:01+03:00 fix compilation warning --HG-- branch : hpy-0.0.4 - - - - - b957eb0b by Matti Picus at 2022-07-22T12:17:17+03:00 add needed option to pytest --HG-- branch : hpy-0.0.4 - - - - - 581104e5 by Matti Picus at 2022-07-22T12:17:49+03:00 add HPyErr_SetFromErrnoWithFilename, HPyErr_SetFromErrnoWithFilenameObjects, HPyErr_ExceptionMatches --HG-- branch : hpy-0.0.4 - - - - - 59e10067 by Matti Picus at 2022-08-05T17:55:49+03:00 it is not enough to ignore legacy tp_dealloc, in some case using it must error --HG-- branch : hpy-0.0.4 - - - - - a80d57ad by Matti Picus at 2022-08-07T13:00:41+03:00 remove test that cannot run under a python2.7 host --HG-- branch : hpy-0.0.4 - - - - - d9eb950b by Antonio Cuni at 2022-08-07T12:50:53+02:00 remove trailing whitespace --HG-- branch : hpy-0.0.4 - - - - - 74db4a87 by Matti Picus at 2022-08-07T18:46:44+03:00 manually resync tests with extra_tests/hpy_tests/_vendored for 0.0.4 --HG-- branch : hpy-0.0.4 - - - - - 13ed9efe by Matti Picus at 2022-08-09T20:42:56+03:00 implement HPy_tp_finalize, call it in _finalize_ and not as the __del__ slot --HG-- branch : hpy-0.0.4 - - - - - 6b945152 by Matti Picus at 2022-08-10T11:32:07+03:00 trivial fixes --HG-- branch : hpy-0.0.4 - - - - - 7614a637 by Matti Picus at 2022-08-17T21:13:23+03:00 implement legacy tp_dealloc: put it on the w_type and create cpyext pyobj objects collection will trigger calling the tp_dealloc on the pyobj --HG-- branch : hpy-0.0.4 - - - - - ebc2b6a9 by Matti Picus at 2022-08-18T01:48:23+03:00 fix signature of Err_SetFromErrnoWithFilename --HG-- branch : hpy-0.0.4 - - - - - 894b86f5 by Matti Picus at 2022-08-18T01:54:32+03:00 fix return type --HG-- branch : hpy-0.0.4 - - - - - a31c4d27 by Matti Picus at 2022-08-18T01:55:34+03:00 properly avoid test that cannot run app-level --HG-- branch : hpy-0.0.4 - - - - - c8cc09e2 by Matti Picus at 2022-08-18T02:18:42+03:00 skip part of test that does not work in app-level --HG-- branch : hpy-0.0.4 - - - - - b252bad6 by Matti Picus at 2022-08-18T02:18:58+03:00 implement HPyErr_WarnEx --HG-- branch : hpy-0.0.4 - - - - - b391dbb2 by Matti Picus at 2022-08-18T08:09:23+03:00 implement HPy_Contains --HG-- branch : hpy-0.0.4 - - - - - f149f36e by Matti Picus at 2022-08-18T16:16:46+03:00 move pytest_addoption to top-level conftest.py --HG-- branch : hpy-0.0.4 - - - - - 4196b0b4 by Matti Picus at 2022-08-19T06:31:04+03:00 fix more "autogen" signature for SetFromErrnoWithFilename --HG-- branch : hpy-0.0.4 - - - - - 837020e9 by Matti Picus at 2022-08-19T09:54:37+03:00 implement legacy gettersetter by copying (too much?) code from cpytext, maybe refactor --HG-- branch : hpy-0.0.4 - - - - - 84942780 by Matti Picus at 2022-08-19T14:27:07+03:00 add failing test, tweak HPy_Length and test to raise on error instead of crash --HG-- branch : hpy-0.0.4 - - - - - 76b19095 by Matti Picus at 2022-08-19T14:49:34+03:00 fix test that passes by accident on CPython --HG-- branch : hpy-0.0.4 - - - - - ca8c49f3 by Matti Picus at 2022-08-24T13:33:09+03:00 rename *handles -> *handler --HG-- branch : hpy-0.0.4 - - - - - a5cb1a5b by Matti Picus at 2022-08-24T13:34:13+03:00 parametrize handlemanager tests for both universal, debug --HG-- branch : hpy-0.0.4 - - - - - afe38657 by Matti Picus at 2022-08-25T21:58:48+03:00 export hpy_debug_set_on_invalid_handle which wraps pypy_hpy_debug_set_on_invalid_handle for tests --HG-- branch : hpy-0.0.4 - - - - - f77e3361 by Matti Picus at 2022-08-25T22:00:04+03:00 make DebugHandleManager properly manage closed handles, make tests pass --HG-- branch : hpy-0.0.4 - - - - - 2bfd09e0 by Matti Picus at 2022-08-25T22:00:57+03:00 Backed out incorrect 1a527ee42726 --HG-- branch : hpy-0.0.4 - - - - - 1c55be69 by Matti Picus at 2022-08-25T22:25:58+03:00 revert rename, go back to [ud]_handles --HG-- branch : hpy-0.0.4 - - - - - af0d8a3b by Matti Picus at 2022-08-26T08:40:18+03:00 fix translation --HG-- branch : hpy-0.0.4 - - - - - c518678d by Matti Picus at 2022-08-26T12:52:30+03:00 remove unused fixture --HG-- branch : hpy-0.0.4 - - - - - 2c92ba69 by Matti Picus at 2022-08-26T15:21:55+03:00 do not release handles in debug mode, only mark them as closed --HG-- branch : hpy-0.0.4 - - - - - fa31c681 by Matti Picus at 2022-08-26T15:22:23+03:00 adjust tests for pypy (should probably upstream) --HG-- branch : hpy-0.0.4 - - - - - a3fe70b6 by Matti Picus at 2022-08-26T16:42:41+03:00 back out bogus d9d67ee5a28b --HG-- branch : hpy-0.0.4 - - - - - 3ff392f6 by Matti Picus at 2022-09-08T21:46:57+03:00 disallow using set_on_invalid_handle on PyPy --HG-- branch : hpy-0.0.4 - - - - - ffce89f8 by Matti Picus at 2022-09-08T23:42:01+03:00 refactor to make ztranslation work, skip debug tests that use closed handles --HG-- branch : hpy-0.0.4 - - - - - 48a11866 by Matti Picus at 2022-09-09T08:54:01+03:00 re-sync vendored tests at hpy 0.0.4 --HG-- branch : hpy-0.0.4 - - - - - 30f4eae9 by Matti Picus at 2022-09-09T12:05:25+03:00 more synching from upstream --HG-- branch : hpy-0.0.4 - - - - - da4df70e by Matti Picus at 2022-09-09T18:10:37+03:00 more upstream syncing: the tests fail since HPy_AsStruct can return NULL Should HPy_AsStruct allocate hpy_storage and never return NULL? --HG-- branch : hpy-0.0.4 - - - - - 51753460 by Antonio Cuni at 2022-09-23T16:20:29+02:00 (cfbolz, antocuni): move the loop outside def close, so that the fast path can be inlined by the JIT --HG-- branch : hpy-0.0.4 - - - - - a5d72ae9 by Antonio Cuni at 2022-09-26T12:56:44+02:00 merge heads --HG-- branch : hpy-0.0.4 - - - - - 2efa3a49 by Carl Friedrich Bolz-Tereick at 2022-09-28T19:45:20+03:00 set a default tp_new slot when creating a type from spec --HG-- branch : hpy-0.0.4 - - - - - 5e2d4e58 by Carl Friedrich Bolz-Tereick at 2022-09-28T21:14:45+03:00 add mp_* slots --HG-- branch : hpy-0.0.4 - - - - - eead0a41 by Carl Friedrich Bolz-Tereick at 2022-09-28T20:40:01+02:00 fix translation --HG-- branch : hpy-0.0.4 - - - - - c8cfd76b by Carl Friedrich Bolz-Tereick at 2022-09-28T20:49:01+02:00 try to fix crash in codewriting --HG-- branch : hpy-0.0.4 - - - - - 5aadcf06 by Matti Picus at 2022-09-29T21:11:56+03:00 only override __new__ if there are no bases, i.e. w_type inherits from object --HG-- branch : hpy-0.0.4 - - - - - 50cd549f by Matti Picus at 2022-09-30T00:53:28+03:00 hack to find the base class W_HPyTypeObject's atrributes if the class is a subtype --HG-- branch : hpy-0.0.4 - - - - - 1ec0a731 by Matti Picus at 2022-09-30T06:05:32+03:00 resynch vendored sources to 0.0.4 --HG-- branch : hpy-0.0.4 - - - - - 24965716 by Matti Picus at 2022-09-30T07:21:35+03:00 sync context --HG-- branch : hpy-0.0.4 - - - - - 7ea8f657 by Matti Picus at 2022-09-30T07:21:58+03:00 test, implement missing HPyLong functions --HG-- branch : hpy-0.0.4 - - - - - 41f6a939 by Matti Picus at 2022-09-30T08:45:10+03:00 synch files in lib_pypy --HG-- branch : hpy-0.0.4 - - - - - c034c1f3 by Matti Picus at 2022-09-30T08:45:19+03:00 sync version.py --HG-- branch : hpy-0.0.4 - - - - - 834697da by Matti Picus at 2022-09-30T09:00:01+03:00 more test syncing --HG-- branch : hpy-0.0.4 - - - - - 11dc6c34 by Matti Picus at 2022-10-02T00:06:50+03:00 typo in error message --HG-- branch : hpy-0.0.4 - - - - - 6dbc75fa by Matti Picus at 2022-10-02T00:13:46+03:00 typo in error message --HG-- branch : hpy-0.0.4 - - - - - 5475a0ba by Matti Picus at 2022-10-02T09:25:04+03:00 fix return types for HPyErr functions, remove outdated comment --HG-- branch : hpy-0.0.4 - - - - - ab0315d9 by Matti Picus at 2022-10-02T09:25:59+03:00 sync test_handles_leak and app-level function exposure --HG-- branch : hpy-0.0.4 - - - - - 1190b498 by Matti Picus at 2022-10-02T10:42:56+03:00 sync DefaultExtensionTemplate for tests --HG-- branch : hpy-0.0.4 - - - - - 74a3a2c9 by Matti Picus at 2022-10-02T11:00:14+03:00 sync module building with upstream --HG-- branch : hpy-0.0.4 - - - - - 9b6710b5 by Matti Picus at 2022-10-02T12:39:57+03:00 test, implement HPyErr_WriteUnraisable --HG-- branch : hpy-0.0.4 - - - - - eb8a2809 by Matti Picus at 2022-10-03T22:17:11+03:00 add HPy_Global_Store/HPy_Global_Load and an execution-context store of globals --HG-- branch : hpy-0.0.4 - - - - - 163657fa by Matti Picus at 2022-10-02T00:06:23+03:00 start to deal with HPyThreadState and obtaining/releasing the pypy GIL --HG-- branch : hpy-0.0.4 - - - - - 2749ba5a by Matti Picus at 2022-10-03T06:51:45+03:00 add gil handling to hpy function call, based on cpyext wrapping Is this going to affect performance? --HG-- branch : hpy-0.0.4 - - - - - ae5b9d66 by Matti Picus at 2022-10-04T10:35:16+03:00 typo --HG-- branch : hpy-0.0.4 - - - - - 2cab0f90 by Matti Picus at 2022-10-04T11:37:18+03:00 fix interface, resync tests --HG-- branch : hpy-0.0.4 - - - - - 70b57b53 by Matti Picus at 2022-10-04T16:34:43+03:00 remove debug cruft --HG-- branch : hpy-0.0.4 - - - - - 98527b8b by Matti Picus at 2022-10-05T20:56:28+03:00 move global handle dictionary onto per-interpreter State --HG-- branch : hpy-0.0.4 - - - - - 5d98ec7a by Matti Picus at 2022-10-15T19:58:46+03:00 merge hpy-0.0.4 --HG-- branch : py3.8 - - - - - 30 changed files: - .hgignore - extra_tests/conftest.py - extra_tests/hpy_tests/_vendored/check_py27_compat.py - extra_tests/hpy_tests/_vendored/conftest.py - + extra_tests/hpy_tests/_vendored/debug/test_charptr.py - + extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py - extra_tests/hpy_tests/_vendored/debug/test_handles.py → extra_tests/hpy_tests/_vendored/debug/test_handles_leak.py - extra_tests/hpy_tests/_vendored/support.py - extra_tests/hpy_tests/_vendored/test_00_basic.py - extra_tests/hpy_tests/_vendored/test_cpy_compat.py - extra_tests/hpy_tests/_vendored/test_helpers.py - + extra_tests/hpy_tests/_vendored/test_hpybuildvalue.py - extra_tests/hpy_tests/_vendored/test_hpyerr.py - + extra_tests/hpy_tests/_vendored/test_hpyfield.py - + extra_tests/hpy_tests/_vendored/test_hpyglobal.py - extra_tests/hpy_tests/_vendored/test_hpylong.py - + extra_tests/hpy_tests/_vendored/test_hpymodule.py - extra_tests/hpy_tests/_vendored/test_hpytype.py - extra_tests/hpy_tests/_vendored/test_hpytype_legacy.py - extra_tests/hpy_tests/_vendored/test_hpyunicode.py - extra_tests/hpy_tests/_vendored/test_object.py - extra_tests/hpy_tests/_vendored/test_slots.py - extra_tests/hpy_tests/_vendored/test_slots_legacy.py - extra_tests/hpy_tests/_vendored/test_support.py - lib_pypy/hpy.dist-info/METADATA - lib_pypy/hpy/debug/__init__.py - lib_pypy/hpy/devel/__init__.py - lib_pypy/hpy/devel/include/hpy.h - lib_pypy/hpy/devel/include/hpy/autogen_hpyfunc_declare.h - lib_pypy/hpy/devel/include/hpy/autogen_hpyslot.h View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9417489528d8aad8560cbed3cab41260f6d00c4a...5d98ec7a92283ab50f4ae0bb6199c3254d851b59 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9417489528d8aad8560cbed3cab41260f6d00c4a...5d98ec7a92283ab50f4ae0bb6199c3254d851b59 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