[pypy-commit] [Git][pypy/pypy][branch/py3.6] 36 commits: (arigo, antocuni) start a branch in which we refactor rgil to track the ID of

Ronan Lamy foss at heptapod.net
Sat Mar 7 07:06:18 EST 2020


Ronan Lamy pushed to branch branch/py3.6 at PyPy / pypy


Commits:
068bfe4f by Antonio Cuni at 2020-02-29T17:13:09+01:00
(arigo, antocuni) start a branch in which we refactor rgil to track the ID of
the thread currently holding the GIL.

This will allow us to:
    1. kill cpyext_glob_tid
    2. call HPy methods directly without having to worry about point (1) :)

--HG--
branch : rgil-track-thread

- - - - -
35625b0c by Antonio Cuni at 2020-03-01T12:34:23+01:00
(arigo, antocuni): WIP: write a plan to refactor the GIL so that we can check whether the current thread is holding it

--HG--
branch : rgil-track-thread

- - - - -
f66ce489 by Antonio Cuni at 2020-03-01T12:39:46+01:00
(antocuni, arigo): WIP write a test and start to implement the plan which was detailed in the previous commit

--HG--
branch : rgil-track-thread

- - - - -
2c50c01d by Antonio Cuni at 2020-03-01T16:39:18+01:00
(arigo, antocuni) WIP

--HG--
branch : rgil-track-thread

- - - - -
17b7809e by Armin Rigo at 2020-03-01T17:39:18+01:00
(antocuni, arigo) fix test (but more work needed, it's not ready)

--HG--
branch : rgil-track-thread

- - - - -
25cdc291 by Armin Rigo at 2020-03-01T17:39:34+01:00
(antocuni, arigo)  Next test.  Not working so far

--HG--
branch : rgil-track-thread

- - - - -
6b4537f2 by Armin Rigo at 2020-03-01T18:46:03+01:00
(antocuni, arigo)

Finish fixing the test.  It may work now.

--HG--
branch : rgil-track-thread

- - - - -
6e4eebcb by Armin Rigo at 2020-03-01T19:30:04+01:00
fix fix fix

--HG--
branch : rgil-track-thread

- - - - -
e7d1d0a0 by Antonio Cuni at 2020-03-01T19:44:54+01:00
(antocuni, arigo): add a failing test for the JIT case; the fix is coming

--HG--
branch : rgil-track-thread

- - - - -
3287959c by Armin Rigo at 2020-03-02T00:21:56+01:00
(antocuni, arigo)

Fix call_release_gil for the x86 backend

--HG--
branch : rgil-track-thread

- - - - -
5ee3a6c3 by Armin Rigo at 2020-03-03T11:52:58+01:00
(antocuni around, arigo)  Shuffle shuffle shuffle fix?

--HG--
branch : rgil-track-thread

- - - - -
1dfc8e71 by Armin Rigo at 2020-03-03T19:49:11+01:00
(antocuni, arigo) Attempt to fix arm and aarch64 (possibly in progress)

--HG--
branch : rgil-track-thread

- - - - -
00e78c0a by Antonio Cuni at 2020-03-03T20:49:14+01:00
(ab)use cpu._debug_errno_container to store also the thread_ident

--HG--
branch : rgil-track-thread

- - - - -
bf78a098 by Antonio Cuni at 2020-03-03T21:26:00+01:00
re-add the call to RPython_ThreadLocals_ProgramInit in RPython_StartupCode(); this is needed for embedded users like CFFI. Add a check inside it to avoid a double-initialization, since now it is also called very early from pypy_main_function() (which in turn it's needed because the GIL depends on TLS now)

--HG--
branch : rgil-track-thread

- - - - -
6049f520 by Armin Rigo at 2020-03-03T21:32:40+01:00
fix

--HG--
branch : rgil-track-thread

- - - - -
b5a53bae by Armin Rigo at 2020-03-03T21:33:41+01:00
merge heads

--HG--
branch : rgil-track-thread

- - - - -
95ac6c07 by Antonio Cuni at 2020-03-03T21:38:22+01:00
(antocuni, arigo, hodgestar around) blindly try to implement pypy_compare_and_swap for win32

--HG--
branch : rgil-track-thread

- - - - -
36c1b3a2 by Antonio Cuni at 2020-03-04T15:46:14+01:00
(antocuni, arigo): yet another try at fixing all the places which could try to acquire the gil in a new thread

--HG--
branch : rgil-track-thread

- - - - -
34602264 by Armin Rigo at 2020-03-04T16:01:03+01:00
(antocuni, arigo) Fix for 32-bits

--HG--
branch : rgil-track-thread

- - - - -
94254d11 by Matti Picus at 2020-03-05T12:16:20+02:00
update pip, setuptools for ensurepip to latest versions

- - - - -
f6640495 by Matti Picus at 2020-03-05T12:49:11+02:00
start release note for 7.3.1

- - - - -
fb8d5918 by Armin Rigo at 2020-03-05T16:02:50+01:00
Fix ppc

--HG--
branch : rgil-track-thread

- - - - -
d417cfe3 by Armin Rigo at 2020-03-05T17:28:19+01:00
close branch, ready to merge

--HG--
branch : rgil-track-thread

- - - - -
b8e8e37a by Armin Rigo at 2020-03-05T17:28:43+01:00
hg merge rgil-track-thread

- - - - -
629c26ac by Armin Rigo at 2020-03-05T17:29:09+01:00
mark branch as detail

- - - - -
5e568347 by Matti Picus at 2020-03-06T09:06:39+02:00
best practices is to use '-mpip' not 'pip' directly. also update release note.

- - - - -
5ac91739 by Matti Picus at 2020-03-06T09:37:09+02:00
document that pip now requires `--default-pip` to create a pip script on pypy3
otherwise it only creates a pip3 script

- - - - -
bdd39f26 by Georges Racinet at 2020-03-06T16:29:39+01:00
Started a pre-landing CI on Heptapod

The general idea is *not* to replace the buildbot, but to provide
some amount of pre-merge / pre-landing testing to avoid having to
fix some common mistakes after acceptation of merge requests.

- - - - -
9db7ce71 by Georges Racinet at 2020-03-06T16:46:36+01:00
Heptapod CI: using a prepared Docker image for PyPy

- - - - -
ceae7621 by Armin Rigo at 2020-03-06T19:07:32+01:00
Kill cpyext_glob_tid_ptr from cpyext

- - - - -
4f949c0f by Armin Rigo at 2020-03-06T23:27:27+01:00
update to cffi/b433990af27a

- - - - -
cc6c3af2 by Ronan Lamy at 2020-03-07T00:38:46+01:00
Remove troublesome and unnecessary imports

- - - - -
d1c1d54e by Armin Rigo at 2020-03-07T11:46:21+01:00
(ronan, arigo)  Make translation fail cleanly on zarch for now

- - - - -
35b00dcd by Ronan Lamy at 2020-03-07T12:58:05+01:00
Manually backout 6fe99e96ea52: AppTestW_TupleObject is used in test_specialisedtupleobject.py

- - - - -
de7a6bf5 by Ronan Lamy at 2020-03-07T12:59:57+01:00
Backed out changeset dff1da6c1fa2:

AppTestW_TupleObject is used in test_specialisedtuple.py

--HG--
branch : py3.6

- - - - -
194fe1b1 by Ronan Lamy at 2020-03-07T13:05:13+01:00
hg merge default

--HG--
branch : py3.6

- - - - -


30 changed files:

- + .gitlab-ci.yml
- extra_tests/cffi_tests/udir.py
- + lib-python/2.7/ensurepip/_bundled/pip-20.0.2-py2.py3-none-any.whl
- + lib-python/2.7/ensurepip/_bundled/setuptools-44.0.0-py2.py3-none-any.whl
- pypy/doc/build.rst
- pypy/doc/extending.rst
- pypy/doc/faq.rst
- pypy/doc/index-of-release-notes.rst
- pypy/doc/install.rst
- pypy/doc/mercurial_heptapod.rst
- + pypy/doc/release-v7.3.1.rst
- pypy/doc/whatsnew-head.rst
- pypy/module/_cffi_backend/call_python.py
- pypy/module/cpyext/api.py
- pypy/module/cpyext/state.py
- − pypy/objspace/std/test/apptest_tupleobject.py
- pypy/objspace/std/test/test_tupleobject.py
- rpython/jit/backend/aarch64/callbuilder.py
- rpython/jit/backend/aarch64/codebuilder.py
- rpython/jit/backend/arm/callbuilder.py
- rpython/jit/backend/llsupport/llerrno.py
- rpython/jit/backend/llsupport/llmodel.py
- + rpython/jit/backend/llsupport/lltls.py
- rpython/jit/backend/llsupport/test/zrpy_releasegil_test.py
- rpython/jit/backend/ppc/callbuilder.py
- rpython/jit/backend/ppc/register.py
- rpython/jit/backend/x86/callbuilder.py
- rpython/jit/backend/x86/rx86.py
- rpython/jit/backend/zarch/callbuilder.py
- rpython/rlib/entrypoint.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/3f863024f172c2b776c77fee8cd9a035394face2...194fe1b1c6e1cecdead648443529f01c37195d09

---
View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/3f863024f172c2b776c77fee8cd9a035394face2...194fe1b1c6e1cecdead648443529f01c37195d09
You're receiving this email because of your account on foss.heptapod.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-commit/attachments/20200307/75333b02/attachment-0001.html>


More information about the pypy-commit mailing list