Carl Friedrich Bolz-Tereick pushed to branch branch/some-3.8-features at PyPy / 
pypy


Commits:
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

- - - - -


3 changed files:

- pypy/interpreter/astcompiler/astbuilder.py
- pypy/interpreter/astcompiler/symtable.py
- pypy/interpreter/astcompiler/test/test_compiler.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/4099934c556336c846b8916b3c530c9654844ebd...ba2466fe915146a8a7431155b3b25fda5991c7c0

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/4099934c556336c846b8916b3c530c9654844ebd...ba2466fe915146a8a7431155b3b25fda5991c7c0
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