Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7 at PyPy / pypy


Commits:
fab9c740 by Carl Friedrich Bolz-Tereick at 2021-05-15T22:15:41+02:00
(cfbolz, twitch): try to start implementing the importing fast path that
CPython has ( https://bugs.python.org/issue22557 ). Turns out to be messier
than expected (despite expecting pretty bad things). Seems to work somewhat,
but there are some restrictions still (like only being able to turn it on
within *functions* not modules, because otherwise space initialization
explodes), and translation is broken.

--HG--
branch : py3.7-import-speedup

- - - - -
bfb86029 by Carl Friedrich Bolz-Tereick at 2021-05-15T22:19:22+02:00
(cfbolz, twitch): comment how we could support fromlist in the important case

--HG--
branch : py3.7-import-speedup

- - - - -
7bb50ce6 by Carl Friedrich Bolz-Tereick at 2021-05-16T12:05:35+02:00
try to set this attribute somewhere else

--HG--
branch : py3.7-import-speedup

- - - - -
21ae2cd3 by Carl Friedrich Bolz-Tereick at 2021-05-16T12:18:55+02:00
fix XXX

--HG--
branch : py3.7-import-speedup

- - - - -
649ca7e5 by Carl Friedrich Bolz-Tereick at 2021-05-16T12:55:56+02:00
support non-empty fromlist, simply code somewhat

--HG--
branch : py3.7-import-speedup

- - - - -
d23aa5e0 by Carl Friedrich Bolz-Tereick at 2021-05-16T14:26:23+02:00
typo

--HG--
branch : py3.7-import-speedup

- - - - -
7f2c423a by Carl Friedrich Bolz-Tereick at 2021-05-16T20:25:01+02:00
document branch

--HG--
branch : py3.7-import-speedup

- - - - -
f3d4a2cf by Carl Friedrich Bolz-Tereick at 2021-05-17T11:29:06+02:00
fix first test

--HG--
branch : py3.7-import-speedup

- - - - -
bfdb817a by Carl Friedrich Bolz-Tereick at 2021-05-17T12:29:21+02:00
rename test that was shadowing another one

--HG--
branch : py3.7-import-speedup

- - - - -
6dab24aa by Carl Friedrich Bolz-Tereick at 2021-05-17T12:45:48+02:00
merge py3.7-import-speedup

implement an importing shortcut in rpython, mostly equivalent to
https://bugs.python.org/issue22557

This fixes #3431

--HG--
branch : py3.7

- - - - -


6 changed files:

- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/baseobjspace.py
- pypy/interpreter/pyopcode.py
- pypy/module/imp/importing.py
- pypy/module/imp/test/test_import.py
- pypy/module/pypyjit/test_pypy_c/test_import.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3914c04ee65d65f6020b3cd521060200c825e639...6dab24aace05e6874852dd516f23ce28678fe7e4

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3914c04ee65d65f6020b3cd521060200c825e639...6dab24aace05e6874852dd516f23ce28678fe7e4
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to