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


Commits:
4dc78344 by Carl Friedrich Bolz-Tereick at 2021-04-17T22:07:53+02:00
(cfbolz, twitch): a test that demonstrates the order in which things end up in
the scope after argument parsing with kwonly args and *args combined (the *args
go last)

--HG--
branch : py3.7-errormsg-improvements

- - - - -
49cccf80 by Carl Friedrich Bolz-Tereick at 2021-04-17T22:19:24+02:00
(cfbolz, twitch): hunting a strange bug in gateway: combination of *args and
kwonly args seems broken

--HG--
branch : py3.7-errormsg-improvements

- - - - -
b41abfc7 by Carl Friedrich Bolz-Tereick at 2021-04-18T14:01:20+02:00
fix bug: the combination of kw only arguments and *args was broken in gateway

--HG--
branch : py3.7-errormsg-improvements

- - - - -
ead9dda7 by Carl Friedrich Bolz-Tereick at 2021-04-18T14:07:24+02:00
now that we fixed the bug, this just works

--HG--
branch : py3.7-errormsg-improvements

- - - - -
de51e69c by Carl Friedrich Bolz-Tereick at 2021-04-18T15:40:20+02:00
produce AttributeErrors that know their attributes from descroperation.
slightly involved because of exception normalization etc

--HG--
branch : py3.7-errormsg-improvements

- - - - -
7f2cf942 by Carl Friedrich Bolz-Tereick at 2021-04-18T18:38:55+02:00
refactor to cache the classes properly

--HG--
branch : py3.7-errormsg-improvements

- - - - -
c67a835d by Carl Friedrich Bolz-Tereick at 2021-04-18T19:01:16+02:00
generalize the same code for NameErrors

--HG--
branch : py3.7-errormsg-improvements

- - - - -
86e16de0 by Carl Friedrich Bolz-Tereick at 2021-04-18T19:20:18+02:00
implement suggestion formatting in traceback.py

--HG--
branch : py3.7-errormsg-improvements

- - - - -
94084960 by Carl Friedrich Bolz-Tereick at 2021-04-18T19:25:36+02:00
ouch, didn't save!

--HG--
branch : py3.7-errormsg-improvements

- - - - -
ec05dec6 by Carl Friedrich Bolz-Tereick at 2021-04-18T21:00:46+02:00
implement suggestions for NameError too

--HG--
branch : py3.7-errormsg-improvements

- - - - -
720c22ad by Carl Friedrich Bolz-Tereick at 2021-04-19T20:25:55+02:00
fix test

--HG--
branch : py3.7-errormsg-improvements

- - - - -
715627b0 by Carl Friedrich Bolz-Tereick at 2021-04-21T22:26:44+02:00
implement CPython's new indentation error messages too

--HG--
branch : py3.7-errormsg-improvements

- - - - -
7293dec0 by Carl Friedrich Bolz-Tereick at 2021-04-22T11:20:57+02:00
fix test

--HG--
branch : py3.7-errormsg-improvements

- - - - -
29d9b241 by Carl Friedrich Bolz-Tereick at 2021-04-24T15:01:40+02:00
document branch

--HG--
branch : py3.7-errormsg-improvements

- - - - -
1bb232fd by Carl Friedrich Bolz-Tereick at 2021-04-24T15:01:59+02:00
merge py3.7-errormsg-improvements

--HG--
branch : py3.7

- - - - -


16 changed files:

- + extra_tests/test_traceback_suggestions.py
- lib-python/3/traceback.py
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/interpreter/error.py
- pypy/interpreter/gateway.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/pyparser/parser.py
- pypy/interpreter/pyparser/pyparse.py
- pypy/interpreter/pyparser/test/test_pyparse.py
- pypy/interpreter/test/test_argument.py
- pypy/interpreter/test/test_error.py
- pypy/interpreter/test/test_gateway.py
- pypy/module/exceptions/interp_exceptions.py
- pypy/module/exceptions/test/test_exc.py
- pypy/objspace/descroperation.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/090e9d8a313e4b7d6d7aec5fbbaaee4628a463f4...1bb232fd36afffb6628d72ec6a1c3e2dbd3bf3cb

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/090e9d8a313e4b7d6d7aec5fbbaaee4628a463f4...1bb232fd36afffb6628d72ec6a1c3e2dbd3bf3cb
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