[pypy-commit] [Git][pypy/pypy][branch/py3.8-with-3.7-stdlib] 14 commits: start with the walrus operator: tokenizing works! (twitch streaming, yay)

Carl Friedrich Bolz-Tereick foss at heptapod.net
Sun Jan 3 09:59:47 EST 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8-with-3.7-stdlib at PyPy / pypy


Commits:
b29a8b6e by Carl Friedrich Bolz-Tereick at 2020-12-30T19:21:04+01:00
start with the walrus operator: tokenizing works! (twitch streaming, yay)

--HG--
branch : some-3.8-features

- - - - -
71e9deb4 by Carl Friedrich Bolz-Tereick at 2020-12-30T19:58:21+01:00
walrus operator: add grammar productions, define new astnode type, add support in the astbuilder

--HG--
branch : some-3.8-features

- - - - -
5caf77d3 by Carl Friedrich Bolz-Tereick at 2020-12-30T20:09:15+01:00
walrus operator: add bytecode generation

--HG--
branch : some-3.8-features

- - - - -
4099934c by Carl Friedrich Bolz-Tereick at 2020-12-30T21:06:06+01:00
(cfbolz, isidentical, twitch around): walrus operator: in-progress, start to
deal with the complexities of list comprehensions

--HG--
branch : some-3.8-features

- - - - -
6ecc4f1f by Carl Friedrich Bolz-Tereick at 2021-01-02T19:32:03+01:00
(cfbolz, twitch around): support passing named expressions as function arguments

--HG--
branch : some-3.8-features

- - - - -
d405f0c5 by Carl Friedrich Bolz-Tereick at 2021-01-02T19:43:55+01:00
(cfbolz, twitch): implement more cases for list comprehension and named expressions

--HG--
branch : some-3.8-features

- - - - -
394f0e15 by Carl Friedrich Bolz-Tereick at 2021-01-02T19:49:55+01:00
(cfbolz, twitch around): prevent the named expression target to be something other than a name

--HG--
branch : some-3.8-features

- - - - -
9ac8c819 by Carl Friedrich Bolz-Tereick at 2021-01-02T20:13:11+01:00
(cfbolz, twitch around): produce a syntax error when we try to assign the
iteration variable of a list comprehension using a named expression

--HG--
branch : some-3.8-features

- - - - -
8cef449d by Carl Friedrich Bolz-Tereick at 2021-01-02T20:18:16+01:00
(cfbolz, twitch around): get rid of the is_comprehension flag and use a subclass instead

--HG--
branch : some-3.8-features

- - - - -
91221e50 by Carl Friedrich Bolz-Tereick at 2021-01-02T20:35:11+01:00
(cfbolz, twitch around): catch another error case

--HG--
branch : some-3.8-features

- - - - -
033706e9 by Carl Friedrich Bolz-Tereick at 2021-01-02T21:07:36+01:00
(cfbolz, twitch around): produce an error in another corner case of named
expressions: forbid them in the iterator expression of comprehensions

--HG--
branch : some-3.8-features

- - - - -
ba2466fe by Carl Friedrich Bolz-Tereick at 2021-01-02T21:08:26+01:00
(cfbolz, twitch around): improve the error message for forbidden named
expression targets: show the type of thing we are trying to assign to

--HG--
branch : some-3.8-features

- - - - -
79c4fff6 by Carl Friedrich Bolz-Tereick at 2021-01-03T15:55:02+01:00
merge some-3.8-features: support the walrus operator/named expressions

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
d7050194 by Carl Friedrich Bolz-Tereick at 2021-01-03T15:58:55+01:00
document the walrus operator (this time in the correct file)

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -


16 changed files:

- pypy/doc/whatsnew-head.rst
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/astcompiler/ast.py
- pypy/interpreter/astcompiler/astbuilder.py
- pypy/interpreter/astcompiler/codegen.py
- pypy/interpreter/astcompiler/symtable.py
- pypy/interpreter/astcompiler/test/test_astbuilder.py
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/interpreter/astcompiler/test/test_symtable.py
- pypy/interpreter/astcompiler/tools/Python.asdl
- pypy/interpreter/astcompiler/validate.py
- pypy/interpreter/pyparser/data/Grammar3.8
- pypy/interpreter/pyparser/dfa_generated.py
- pypy/interpreter/pyparser/gendfa.py
- pypy/interpreter/pyparser/pytoken.py
- pypy/interpreter/pyparser/test/test_pytokenizer.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/7dc1268d5b8a43a025c71b13ad7697dfc37b4204...d7050194ab15bcb6f47752c6d3f9d2ee9f82fe3e

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/7dc1268d5b8a43a025c71b13ad7697dfc37b4204...d7050194ab15bcb6f47752c6d3f9d2ee9f82fe3e
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/20210103/0ad3c3e9/attachment.html>


More information about the pypy-commit mailing list