[pypy-commit] [Git][pypy/pypy][branch/py3.7] 5 commits: a small branch to fix the design of positional-only arg parsing

Carl Friedrich Bolz-Tereick foss at heptapod.net
Fri Nov 27 13:29:19 EST 2020



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


Commits:
d303f641 by Carl Friedrich Bolz-Tereick at 2020-11-05T14:23:22+01:00
a small branch to fix the design of positional-only arg parsing

(we don't need two lists, for regular and positional only args. just a single
list, and the number of positional only args. this follows cpython 3.8)

--HG--
branch : refactor-posonly

- - - - -
603082ef by Carl Friedrich Bolz-Tereick at 2020-11-06T17:44:50+01:00
simplify positional only argument parsinng by following how CPython 3.8's code
objects store things. the names of the positional only and regular arguments
are stored in the same list (the positional only first). The number of
positional only arguments is stored as well.

--HG--
branch : refactor-posonly

- - - - -
b8b2d301 by Carl Friedrich Bolz-Tereick at 2020-11-27T13:42:16+01:00
merge py3.7

--HG--
branch : refactor-posonly

- - - - -
18a0bec9 by Carl Friedrich Bolz-Tereick at 2020-11-27T19:25:59+01:00
refactor to-be-merged branch

--HG--
branch : refactor-posonly

- - - - -
5b301920 by Carl Friedrich Bolz-Tereick at 2020-11-27T19:28:04+01:00
merge refactor-posonly

--HG--
branch : py3.7

- - - - -


6 changed files:

- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/argument.py
- pypy/interpreter/gateway.py
- pypy/interpreter/signature.py
- pypy/interpreter/test/test_argument.py
- pypy/objspace/std/listobject.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/373550e5f390a3d2ad3c9454573775e9f1d968a7...5b30192023ce5f82651552570594ec5ca4a892d7

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/373550e5f390a3d2ad3c9454573775e9f1d968a7...5b30192023ce5f82651552570594ec5ca4a892d7
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/20201127/0da10508/attachment.html>


More information about the pypy-commit mailing list