Antonio Cuni pushed to branch branch/hpy-0.0.2 at PyPy / pypy


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

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

- - - - -


2 changed files:

- pypy/module/_hpy_universal/handlemanager.py
- pypy/module/_hpy_universal/test/test_handlemanager.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/6823ca08dcbf64172f3cd583309e9c1ef2b8a05b...2594653c163903968d9ea5e5068100b7e7643ec8

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/6823ca08dcbf64172f3cd583309e9c1ef2b8a05b...2594653c163903968d9ea5e5068100b7e7643ec8
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