Antonio Cuni pushed to branch branch/py3.7 at PyPy / pypy


Commits:
31610bb3 by Ronan Lamy at 2021-03-17T19:42:12+00:00
update-vendored to commit eb07982

--HG--
branch : hpy-update-to-facdb01

- - - - -
466cb19c by Ronan Lamy at 2021-03-17T19:48:10+00:00
temporary fixes to vendored files to allow the tests to run

--HG--
branch : hpy-update-to-facdb01

- - - - -
90aa174a by Ronan Lamy at 2021-03-17T19:56:14+00:00
update llapi.py

--HG--
branch : hpy-update-to-facdb01

- - - - -
aa6b1d67 by Ronan Lamy at 2021-03-18T00:49:16+00:00
Add missing constants: NotImplemented, Ellipsis

--HG--
branch : hpy-update-to-facdb01

- - - - -
8fa87270 by Ronan Lamy at 2021-03-18T00:49:38+00:00
Add HPyBool_FromLong

--HG--
branch : hpy-update-to-facdb01

- - - - -
29615ada by Ronan Lamy at 2021-03-18T04:02:17+00:00
Add HPy_Type

--HG--
branch : hpy-update-to-facdb01

- - - - -
2323c31c by Ronan Lamy at 2021-03-18T18:11:34+00:00
Add HPy_TypeCheck

--HG--
branch : hpy-update-to-facdb01

- - - - -
c2163a5e by Ronan Lamy at 2021-03-18T20:20:03+00:00
Move fake hpy_debug, for test_extra.py

--HG--
branch : hpy-update-to-facdb01

- - - - -
23676b1b by Ronan Lamy at 2021-03-19T02:48:35+00:00
Add support for .doc in HPyType_Spec

--HG--
branch : hpy-update-to-facdb01

- - - - -
1d11420a by Ronan Lamy at 2021-03-19T03:36:25+00:00
Remove obsolete comment

--HG--
branch : hpy-update-to-facdb01

- - - - -
ef123167 by Ronan Lamy at 2021-03-19T19:16:07+00:00
Implement HPy_tp_richcompare

--HG--
branch : hpy-update-to-facdb01

- - - - -
f14f77e7 by Ronan Lamy at 2021-03-23T17:49:51+00:00
fix comment in slot table

--HG--
branch : hpy-update-to-facdb01

- - - - -
c39d3107 by Ronan Lamy at 2021-03-26T20:43:32+00:00
Implement HPy_bf_getbuffer slot (but ignore releasebuffer for now)

Note that on PyPy, implementing HPy_tp_new is required to be able
to use HPy_CAST. Hence the changes in test_buffer().

--HG--
branch : hpy-update-to-facdb01

- - - - -
a26d74e5 by Ronan Lamy at 2021-04-07T02:53:33+01:00
Handle HPy_bf_releasebuffer

Note: the implementation is incomplete and only works in simple cases
but it's enough to pass the tests!

--HG--
branch : hpy-update-to-facdb01

- - - - -
09bf7c16 by Antonio Cuni at 2021-04-07T10:36:21+02:00
We officially tagged hpy rev facdb01 as 0.0.2

--HG--
branch : hpy-0.0.2

- - - - -
99dd30fd by Antonio Cuni at 2021-04-07T12:29:26+02:00
Improve ./update_vendored.sh

It happens too often that we need to slightly edit (either temporarily or not)
the _vendored files: now we can collect a set of patches and apply them
automatically. Ideally, it should always be possible to run ./update_vendored
to the same revision without worrying to overwrite local changes.

--HG--
branch : hpy-0.0.2

- - - - -
d72d0c37 by Antonio Cuni at 2021-04-07T12:32:51+02:00
Re-run ./updated_vendored.sh on the same revision as before facdb01.

The differences are:

1. update_vendored now deletes the conftest

2. update_vendored now creates test/_vendored/debug/__init__.py (with a comment)

3. in the meantime, HPy rev facdb01 was tagged as 0.0.2, so version.py and
   version.h changed

--HG--
branch : hpy-0.0.2

- - - - -
d1b4e14a by Antonio Cuni at 2021-04-07T16:46:11+02:00
make it possible to run update_vendored from other directories

--HG--
branch : hpy-0.0.2

- - - - -
76734f12 by Antonio Cuni at 2021-04-07T16:48:31+02:00
make it easier to find update_vendored.sh when you read these files

--HG--
branch : hpy-0.0.2

- - - - -
ccb7775c by Antonio Cuni at 2021-04-07T17:30:18+02:00
copy also hpy/debug/src

--HG--
branch : hpy-0.0.2

- - - - -
e7f81cf9 by Antonio Cuni at 2021-04-07T17:32:03+02:00
run ./update_vendored.sh again, to import the debug/src files

--HG--
branch : hpy-0.0.2

- - - - -
d45fc6e6 by Antonio Cuni at 2021-04-07T21:47:46+02:00
WIP: include the C files of the debug mode, and hack around until the eci works

--HG--
branch : hpy-0.0.2

- - - - -
e3b52a37 by Antonio Cuni at 2021-04-07T21:58:33+02:00
make it possible to access the  _debug module as hpy.universal._debug

--HG--
branch : hpy-0.0.2

- - - - -
7e3ccc3c by Antonio Cuni at 2021-04-08T14:46:47+02:00
WIP: we need to special-case HPyDebugTest to allow applevel tests to use 
self.make_leak_module()

--HG--
branch : hpy-0.0.2

- - - - -
8317f074 by Antonio Cuni at 2021-04-09T12:54:41+02:00
make it possible to skip the version check when running update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
83afc632 by Antonio Cuni at 2021-04-09T12:55:56+02:00
add a better comment

--HG--
branch : hpy-0.0.2

- - - - -
a7fe7cd2 by Antonio Cuni at 2021-04-09T13:01:37+02:00
pypy apptests cannot uses fixtures as method parameters. Work around this 
limitation

--HG--
branch : hpy-0.0.2

- - - - -
97f01509 by Antonio Cuni at 2021-04-09T16:53:15+02:00
Manually managing patches over hpy-0.0.2 is too annoying, give up for now.

The relevant changes are being committed to the antocuni/0.0.2-fixes-for-pypy
git branch, and from now I will regularly ./update_vendored.sh from there. The
most annoying thing is that now version.py and version.h contains a version
called "0.0.3.devX...", while in theory this is still version 0.0.2. 
I'll take
care of this mess later :(

--HG--
branch : hpy-0.0.2

- - - - -
86628e50 by Antonio Cuni at 2021-04-09T16:56:19+02:00
WIP: implement _hpy_universal.load(..., debug=True)

--HG--
branch : hpy-0.0.2

- - - - -
599d64b9 by Antonio Cuni at 2021-04-09T17:04:08+02:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
0d7ee11c by Antonio Cuni at 2021-04-09T17:48:54+02:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
bd1728a6 by Antonio Cuni at 2021-04-09T17:50:23+02:00
WIP: use the debug ctx when loading a module. However, this is still not 
working because ATM we always pass state.ctx when calling function/methods, we 
need to fix that

--HG--
branch : hpy-0.0.2

- - - - -
1189c756 by Antonio Cuni at 2021-04-10T18:00:12+02:00
WIP: introduce State.uctx/dctx and make it possible to override some of the
debug-mode functions

--HG--
branch : hpy-0.0.2

- - - - -
64b6192d by Antonio Cuni at 2021-04-10T18:52:12+02:00
introduce State.get(space) instead of space.fromcache(State), I think it's 
nicer and clearer

--HG--
branch : hpy-0.0.2

- - - - -
fa3ef080 by Antonio Cuni at 2021-04-10T20:37:06+02:00
automatically pass the state to all API functions. In the next commits we will 
move the HandleManager to the state, so it will be needed everywhere

--HG--
branch : hpy-0.0.2

- - - - -
9d384070 by Antonio Cuni at 2021-04-10T20:53:38+02:00
WIP: start to fix test_ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
a7c09d14 by Antonio Cuni at 2021-04-10T21:36:35+02:00
WIP

--HG--
branch : hpy-0.0.2

- - - - -
a190c5d3 by Antonio Cuni at 2021-04-11T00:03:03+02:00
progress towards fixing ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
283a1016 by Antonio Cuni at 2021-04-11T11:27:15+02:00
this is no longer needed

--HG--
branch : hpy-0.0.2

- - - - -
e2963d72 by Antonio Cuni at 2021-04-11T11:55:13+02:00
this got lost by mistake

--HG--
branch : hpy-0.0.2

- - - - -
108e6c00 by Antonio Cuni at 2021-04-11T16:23:04+02:00
manually apply commit e24d35023622 on this branch. This fixes a problem in 
ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
4fe459dd by Antonio Cuni at 2021-04-11T18:04:46+02:00
we also need to declare these functions, else they can't be called from 
other C files after translation

--HG--
branch : hpy-0.0.2

- - - - -
98a1b3f3 by Antonio Cuni at 2021-04-11T18:07:57+02:00
add the last missing include dir. This finally fixes ztranslation :)

--HG--
branch : hpy-0.0.2

- - - - -
b3432e0b by Antonio Cuni at 2021-04-11T18:23:18+02:00
refactor handles.using: move the main implementation directly into the 
HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
37ba065e by Antonio Cuni at 2021-04-11T18:59:50+02:00
WIP: start a refactoring to kill the old "global" API 
handles.{new,deref,...},
and replace it with state.handles.{new,deref,...}.

The idea is that W_ExtensionFunction and W_SlotWrapper will need to use a
different HandleManager when we are using the debug mode, so this is a first
step in that direction.

I am going to complete the refactoring in few steps to keep the diff
maneageable. This commit contains:

1. the removal of the old API
2. a blind query/replace to substitute handles.xxx(space, ...) with 
state.handles.xxx(...)

The code is still broken though, will be fixed in the next commits

--HG--
branch : hpy-0.0.2

- - - - -
268f4f5b by Antonio Cuni at 2021-04-11T19:27:59+02:00
Complete the refactoring started by 4932f7330a27.

W_ExtensionFunction and W_SlotWrapper save their own version of handles and
ctx on self. This way it should be easy to use dctx and debug_handles to make
them aware of the debug mode.

--HG--
branch : hpy-0.0.2

- - - - -
05afa28b by Antonio Cuni at 2021-04-11T23:48:41+02:00
more fixes after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
a8498587 by Antonio Cuni at 2021-04-11T23:55:22+02:00
one more fix

--HG--
branch : hpy-0.0.2

- - - - -
22994f67 by Antonio Cuni at 2021-04-11T23:58:22+02:00
hopefully this is the last missing fix

--HG--
branch : hpy-0.0.2

- - - - -
e733525d by Antonio Cuni at 2021-04-12T08:53:44+02:00
./update_vendored.sh again, to get hpy_debug_wrap_handle

--HG--
branch : hpy-0.0.2

- - - - -
155451b4 by Antonio Cuni at 2021-04-12T08:55:42+02:00
expose llapi.hpy_debug_wrap_handle

--HG--
branch : hpy-0.0.2

- - - - -
874da67f by Antonio Cuni at 2021-04-12T10:12:16+02:00
Introduce DebugHandleManager, which knows how to wrap/unwrap debug handles,
and start to use it where appropriate. See the big comment inside
interp_hpy.py for more details of what happens.

debug/test_handles.py:test_ctx_name finally passes!

--HG--
branch : hpy-0.0.2

- - - - -
1b96bdc6 by Antonio Cuni at 2021-04-12T10:19:18+02:00
Rename these functions because the exising names were too confusing:

- interp_hpy.startup() initializes the whole _hpy_universal module

- init_hpy_module calls HPyInit_foo when loading an .hpy.so

- _hpymodule_create implements HPyModule_Create

--HG--
branch : hpy-0.0.2

- - - - -
2b61f46e by Antonio Cuni at 2021-04-12T10:25:47+02:00
kill State.get_ctx: get_handle_manager is enough

--HG--
branch : hpy-0.0.2

- - - - -
9507e12d by Antonio Cuni at 2021-04-14T23:10:40+02:00
Fix and run ./update_vedored.sh.

There has been a refactoring of how versions are handled on the git side. The
new situation is the following:

- git commit facdb01 on master is tagged as 0.0.2rc1

- there is a git branch called release/0.0.2 which branched from there

This pypy branch is now following the corresponding hpy branch. The content of
the files is still the same, so this run of ./update_vendored.sh just changes
the computed version number.

--HG--
branch : hpy-0.0.2

- - - - -
bbeae382 by Antonio Cuni at 2021-04-14T23:42:14+02:00
introduce the initargs fixture also here, to ensure that all tests are run with 
and without debug mode

--HG--
branch : hpy-0.0.2

- - - - -
beead6eb by Antonio Cuni at 2021-04-15T12:16:18+02:00
Small refactoring in how we setup app-level tests.

We need to set the applevel version of self.compiler.hpy_abi to the correct
value, but setup_method is called before initargs. To solve, we kill
setup_method and move all the logic inside initargs.

test_00_basic passes in both universal and debug mode

--HG--
branch : hpy-0.0.2

- - - - -
07b7076d by Antonio Cuni at 2021-04-15T13:36:37+02:00
WIP: introduce the debug version of HPyType_FromSpec and fix tp_new

--HG--
branch : hpy-0.0.2

- - - - -
2fada973 by Antonio Cuni at 2021-04-15T13:51:06+02:00
WIP: kill state.handles, since it is too confusing compared to the various
self.handles and it's too easy to use it by mistake.

Instead:

  1. introduce state.u_handles and state.d_handles, so that it's clear that
     they are for universal and debug handles

  2. the API functions receive directly the proper HandleManager instead of
     receiving the state. So, normal API functions get u_handles and DEBUG API
     functions get d_handles

test_noop passes, but all the rest is broken. The next commit will do a big
search&replace

--HG--
branch : hpy-0.0.2

- - - - -
a9f0ea8d by Ronan Lamy at 2021-04-16T17:32:21+01:00
fix test_handles.py

--HG--
branch : hpy-0.0.2

- - - - -
4bcdbc9a by Ronan Lamy at 2021-04-16T18:27:42+01:00
fix W_tp_new_wrapper.__init__()

--HG--
branch : hpy-0.0.2

- - - - -
327ce5e4 by Ronan Lamy at 2021-04-16T18:49:07+01:00
Add missing error message

--HG--
branch : hpy-0.0.2

- - - - -
f02e20bd by Ronan Lamy at 2021-04-22T03:39:48+01:00
Hack debug context creation to allow for multiple ones during testing

--HG--
branch : hpy-0.0.2

- - - - -
90a8346a by Ronan Lamy at 2021-04-22T15:12:13+01:00
fix

--HG--
branch : hpy-0.0.2

- - - - -
f827b7ec by Ronan Lamy at 2021-04-22T15:49:21+01:00
Fix translation issues in HPyBuffer

--HG--
branch : hpy-0.0.2

- - - - -
fcb4ad45 by Ronan Lamy at 2021-04-22T18:28:08+01:00
Make sure the bridge functions match the current space

--HG--
branch : hpy-0.0.2

- - - - -
60b294ef by Ronan Lamy at 2021-04-23T14:06:59+01:00
translation fix

--HG--
branch : hpy-0.0.2

- - - - -
7d340de7 by Ronan Lamy at 2021-04-23T14:36:44+01:00
Set _nowrapper=True for all debug mode llexternals

This ensures that they don't release the GIL and allows them to be used
in finalizers.

--HG--
branch : hpy-0.0.2

- - - - -
9571b70d by Ronan Lamy at 2021-04-23T18:22:21+01:00
handles.using() can't be inlined any more :-(

--HG--
branch : hpy-0.0.2

- - - - -
7b270e76 by Ronan Lamy at 2021-04-26T18:03:10+01:00
Split off the debug mode wrappers into their own file,
which somehow fixes compilation.

--HG--
branch : hpy-0.0.2

- - - - -
b5e6893e by Ronan Lamy at 2021-04-27T20:17:45+01:00
fix translation, hopefully

--HG--
branch : hpy-0.0.2

- - - - -
30c52109 by Ronan Lamy at 2021-04-28T16:23:59+01:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
cade193e by Ronan Lamy at 2021-04-28T20:19:54+01:00
Make update_vendored.sh work from any dir and be able to patch at any location

--HG--
branch : hpy-0.0.2

- - - - -
ac579d3c by Ronan Lamy at 2021-04-28T22:09:46+01:00
Use update_vendored.sh to copy the files to extra_tests, copy also hpy.debug

--HG--
branch : hpy-0.0.2

- - - - -
38bbc762 by Ronan Lamy at 2021-04-28T22:22:53+01:00
Explicitly zero dctx._private

--HG--
branch : hpy-0.0.2

- - - - -
8d3ba68f by Ronan Lamy at 2021-04-29T17:42:34+01:00
update_vendored.sh: copy hpy.devel to lib_pypy and show status of the whole repo

--HG--
branch : hpy-0.0.2

- - - - -
be5b558e by Ronan Lamy at 2021-04-29T17:44:29+01:00
Run update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
ddca4620 by Antonio Cuni at 2021-05-01T10:14:52+02:00
WIP: search&replace to introduce the new handles argument to all existing 
API functions

--HG--
branch : hpy-0.0.2

- - - - -
376d23a9 by Antonio Cuni at 2021-05-01T11:12:02+02:00
merge commit eb10a0b62fe3 into the latest head.

Commit eb10a0b62fe3 was lying around in my computer because I forgot to push
it weeks ago :(.

Note what happened BEFORE this merge: W_ExtensionFunction did:
    handles = State.get(space).handles

so it always took the universal HandleManager: this means that when we called
a method (as opposed to a module-level function) we always passed the uctx,
even if we loaded the module with debug=True. So the [debug] tests passed, but
many were not actually using the debug ctx

This is also the reason why state.handles is marked as "XXX 
temporary": we
should kill it and make sure to call state.get_handle_manager(debug=...)
whenever we need it

--HG--
branch : hpy-0.0.2

- - - - -
8aace204 by Antonio Cuni at 2021-05-03T11:09:39+02:00
WIP: hg merge cfe54c8091a7, to pass (space, handles, ...) instead of (space, 
state, ...) to API functions.

This was a refactoring which I had lying around in my repo but was not pushed
before, so the commits diverged. See the commit message of cfe54c8091a7 for
more details.

--HG--
branch : hpy-0.0.2

- - - - -
101233e7 by Antonio Cuni at 2021-05-03T11:15:20+02:00
WIP: fix HPyType_FromSpec: now we no longer need to explicitly pass debug=True 
or debug=False, because 'handles' automatically contains the 
appropriate HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
67183ce8 by Antonio Cuni at 2021-05-03T11:23:45+02:00
WIP: handles is no longer a module but an instance of HandleManager

this is an automatica search&replace to kill all '... import 
handles' and turn
'state.handles.*' into 'handles.*', because 'handles' 
is now a HandleManager
which is passed around

--HG--
branch : hpy-0.0.2

- - - - -
c391a4d1 by Antonio Cuni at 2021-05-03T11:26:29+02:00
WIP: rename _hpy_universal.handles into handlemanager, to avoid confusion with 
'handles' which in most places is now an instance of HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
c5b5e0cd by Antonio Cuni at 2021-05-03T11:33:41+02:00
WIP: more progress towards fixing test_hpytype.py, by passing around 
'handles'
instead of relying on 'state'

--HG--
branch : hpy-0.0.2

- - - - -
4211456d by Antonio Cuni at 2021-05-03T11:41:43+02:00
bah, I still had handles.pyc laying around so there were tons of '... import
handles' which worked by mistaked. Ensure to kill all the leftovers

--HG--
branch : hpy-0.0.2

- - - - -
c8069638 by Antonio Cuni at 2021-05-03T16:08:34+02:00
fix getset properties after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
b9e01cbd by Antonio Cuni at 2021-05-03T16:09:18+02:00
we can finally kill this

--HG--
branch : hpy-0.0.2

- - - - -
62d20217 by Antonio Cuni at 2021-05-03T16:11:16+02:00
re-enable and fix this

--HG--
branch : hpy-0.0.2

- - - - -
1e3ce184 by Antonio Cuni at 2021-05-03T16:14:11+02:00
fix interp_tracker

--HG--
branch : hpy-0.0.2

- - - - -
bed328eb by Antonio Cuni at 2021-05-03T16:18:06+02:00
fix this after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
924a18a8 by Antonio Cuni at 2021-05-03T16:52:32+02:00
implement HPy_Dump

--HG--
branch : hpy-0.0.2

- - - - -
57fc8bc9 by Ronan Lamy at 2021-05-04T14:36:47+01:00
Expose _hpy_universal._debug as hpy.universal._debug

--HG--
branch : hpy-0.0.2

- - - - -
7b286552 by Ronan Lamy at 2021-05-04T14:39:49+01:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
5c8eb6b9 by Ronan Lamy at 2021-05-04T15:51:55+01:00
Stop tracking debug handles when closing them

--HG--
branch : hpy-0.0.2

- - - - -
fa8258ad by Ronan Lamy at 2021-05-04T17:30:55+01:00
Also reinitialise g_debug_ctx before each test

--HG--
branch : hpy-0.0.2

- - - - -
711f53f1 by Ronan Lamy at 2021-05-04T17:47:39+01:00
fix test

--HG--
branch : hpy-0.0.2

- - - - -
5940ac63 by Antonio Cuni at 2021-05-05T11:48:23+02:00
./update_vendored to 1d5d4c5

--HG--
branch : hpy-0.0.2

- - - - -
c3f9cdc1 by Antonio Cuni at 2021-05-05T11:59:38+02:00
fix names after the recent update_vendored:

  - hpy_debug_wrap_handle is now called hpy_debug_open_handle

  - kill our custom hpy_debug_untrack and use the official
    hpy_debug_close_handle

--HG--
branch : hpy-0.0.2

- - - - -
3c302ab1 by Antonio Cuni at 2021-05-05T12:01:06+02:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
0edce40b by Ronan Lamy at 2021-05-05T18:02:21+01:00
dirty fix for extra_tests/hpy_tests/ (should use update_vendored.sh patches 
instead)

--HG--
branch : hpy-0.0.2

- - - - -
837a64fa by Ronan Lamy at 2021-05-05T18:04:15+01:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
8a9be2af by Ronan Lamy at 2021-05-05T19:32:19+01:00
Fix arguments leaking when an HPyFunc_VARARGS/KEYWORDS function raises

--HG--
branch : hpy-0.0.2

- - - - -
6aa94d8f by Ronan Lamy at 2021-05-12T20:41:59+01:00
Allocate uctx and dctx statically

--HG--
branch : hpy-0.0.2

- - - - -
30183868 by Ronan Lamy at 2021-05-13T15:16:11+01:00
Move this check from the rtyper to the annotator

--HG--
branch : hpy-0.0.2

- - - - -
9f609b42 by Ronan Lamy at 2021-05-14T16:03:08+01:00
Stick the space onto HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
b0a4b34b by Ronan Lamy at 2021-05-17T17:46:36+01:00
Move ctx setup from the State to the HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
99136b21 by Ronan Lamy at 2021-05-17T18:49:48+01:00
specialize module creation

--HG--
branch : hpy-0.0.2

- - - - -
97b02a27 by Ronan Lamy at 2021-05-18T15:28:23+01:00
Specialize more stuff.

--HG--
branch : hpy-0.0.2

- - - - -
ac523e10 by Ronan Lamy at 2021-05-19T18:04:25+01:00
Test and fix debug mode not being applied to methods

--HG--
branch : hpy-0.0.2

- - - - -
dc7fb9c6 by Ronan Lamy at 2021-05-20T17:26:13+01:00
specialize W_tp_new_wrapper

--HG--
branch : hpy-0.0.2

- - - - -
f6515790 by Ronan Lamy at 2021-05-20T20:07:31+01:00
fix some translation nonsense related to interpindirect2app

--HG--
branch : hpy-0.0.2

- - - - -
c61aeff7 by Ronan Lamy at 2021-05-21T04:28:24+01:00
specialize the slot wrappers

--HG--
branch : hpy-0.0.2

- - - - -
66421ef3 by Ronan Lamy at 2021-05-21T05:37:30+01:00
specialize HPyBuffer

--HG--
branch : hpy-0.0.2

- - - - -
57a97a22 by Ronan Lamy at 2021-05-27T19:20:17+01:00
Update patches for the changes in extra_tests/

--HG--
branch : hpy-0.0.2

- - - - -
45eab8c4 by Ronan Lamy at 2021-06-11T19:36:48+01:00
Hack test_buffer to make it pass after translation

--HG--
branch : hpy-0.0.2

- - - - -
f6137453 by Ronan Lamy at 2021-06-14T16:46:19+01:00
hg merge py3.7

--HG--
branch : hpy-0.0.2

- - - - -
f1ee218d by Ronan Lamy at 2021-06-15T15:48:59+01:00
Don't leak h_module when the HPyInitFunc fails

--HG--
branch : hpy-0.0.2

- - - - -
9065cd37 by Ronan Lamy at 2021-06-16T18:07:08+01:00
Backed out changeset c826fb4a4709

--HG--
branch : hpy-0.0.2

- - - - -
ab0c420b by Ronan Lamy at 2021-06-17T17:17:59+01:00
Standardise specialised class names to use _u/_d suffix

--HG--
branch : hpy-0.0.2

- - - - -
dd938773 by Ronan Lamy at 2021-06-18T17:57:13+01:00
Update big comment about the debug mode

--HG--
branch : hpy-0.0.2

- - - - -
2f40f446 by Antonio Cuni at 2021-06-23T13:40:48+01:00
add an implementation of a Stack which you can use without allocating and/or 
raising exceptions

--HG--
branch : hpy-0.0.2-experiment

- - - - -
4a106a6a by Antonio Cuni at 2021-06-23T14:02:32+01:00
use the new Stack to implement HandleManager.free_list

--HG--
branch : hpy-0.0.2-experiment

- - - - -
64aa3fe4 by Antonio Cuni at 2021-06-23T16:06:29+01:00
small tweaks; Stack.reserve() is not necessary since we always increase the 
capacity by one, and it can be implemented more efficiently with a .append(0) 
than an .extend

--HG--
branch : hpy-0.0.2-experiment

- - - - -
b4fba013 by Antonio Cuni at 2021-06-23T16:14:35+01:00
add comments explaining why we need to take extra care

--HG--
branch : hpy-0.0.2-experiment

- - - - -
6823ca08 by Ronan Lamy at 2021-06-23T17:14:24+01:00
run update-vendored.sh again

--HG--
branch : hpy-0.0.2

- - - - -
2594653c by Antonio Cuni at 2021-06-24T09:48:15+00:00
Merge branch 'branch/hpy-0.0.2-experiment' into 
'branch/hpy-0.0.2'

Fix HPy_Close when an exception is set

See merge request pypy/pypy!825

--HG--
branch : hpy-0.0.2

- - - - -
895b3dee by Antonio Cuni at 2021-06-24T11:51:58+02:00
./update_vendored to c9660c2

--HG--
branch : hpy-0.0.2

- - - - -
88680f4e by Antonio Cuni at 2021-06-25T17:36:26+02:00
close merged branch

--HG--
branch : hpy-0.0.2

- - - - -
8ece13a9 by Antonio Cuni at 2021-06-25T17:36:56+02:00
hg merge hpy-0.0.2

--HG--
branch : py3.7

- - - - -


21 changed files:

- .hgignore
- + extra_tests/hpy_tests/_vendored/__init__.py
- + extra_tests/hpy_tests/_vendored/check_py27_compat.py
- + extra_tests/hpy_tests/_vendored/conftest.py
- + extra_tests/hpy_tests/_vendored/debug/__init__.py
- + extra_tests/hpy_tests/_vendored/debug/test_handles.py
- + extra_tests/hpy_tests/_vendored/support.py
- + extra_tests/hpy_tests/_vendored/test_00_basic.py
- + extra_tests/hpy_tests/_vendored/test_argparse.py
- + extra_tests/hpy_tests/_vendored/test_call.py
- + extra_tests/hpy_tests/_vendored/test_cpy_compat.py
- + extra_tests/hpy_tests/_vendored/test_hpybytes.py
- + extra_tests/hpy_tests/_vendored/test_hpydict.py
- + extra_tests/hpy_tests/_vendored/test_hpyerr.py
- + extra_tests/hpy_tests/_vendored/test_hpylist.py
- + extra_tests/hpy_tests/_vendored/test_hpylong.py
- + extra_tests/hpy_tests/_vendored/test_hpytuple.py
- + extra_tests/hpy_tests/_vendored/test_hpytype.py
- + extra_tests/hpy_tests/_vendored/test_hpyunicode.py
- + extra_tests/hpy_tests/_vendored/test_importing.py
- + extra_tests/hpy_tests/_vendored/test_number.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/60f59ed36e7c83aab2d04ca530d5bc2b4ec0fd35...8ece13a97b0bcb5e00c6ba38f61f505adb1f8a7b

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/60f59ed36e7c83aab2d04ca530d5bc2b4ec0fd35...8ece13a97b0bcb5e00c6ba38f61f505adb1f8a7b
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to