[pypy-commit] [Git][pypy/pypy][branch/default] 3 commits: Fix a bug in objspace.fake.checkmodule which was introduced 5 years ago by e7c6c1c7

Matti Picus foss at heptapod.net
Tue May 4 13:09:56 EDT 2021



Matti Picus pushed to branch branch/default at PyPy / pypy


Commits:
0fd0206b by Antonio Cuni at 2021-04-11T16:13:53+02:00
Fix a bug in objspace.fake.checkmodule which was introduced 5 years ago by e7c6c1c7

The call to module.init() causes module.startup() to be called at
translation-time and sets module.startup_called = True. The net effect is that
we freeze values which are supposed to be computed at runtime, and this
e.g. causes problems to HPy.

The original commit added the call to module.init() to be able to ztranslate
_multiprocessing: fix it differently by moving the relevant code to startup().

--HG--
branch : fix-checkmodule-2

- - - - -
0e7322d2 by Antonio Cuni at 2021-04-11T18:12:55+02:00
fix whatsnew

--HG--
branch : fix-checkmodule-2

- - - - -
4adfa298 by Matti Picus at 2021-05-04T20:00:10+03:00
merge fix-checkmodule-2

- - - - -


3 changed files:

- pypy/doc/whatsnew-head.rst
- pypy/module/_multiprocessing/moduledef.py
- pypy/objspace/fake/checkmodule.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/41372446b55b2bb3faa33889728815babea4d617...4adfa2983c3c7bf73d362d0f9a1d6cf040185a7f

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/41372446b55b2bb3faa33889728815babea4d617...4adfa2983c3c7bf73d362d0f9a1d6cf040185a7f
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210504/8ec3a271/attachment.html>


More information about the pypy-commit mailing list