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


Commits:
8f1bcec2 by Carl Friedrich Bolz-Tereick at 2022-03-23T19:31:01+01:00
refactor argument parsing substantially: the keyword arguments *at the
callsite* (not those in the signatures) are changed to be *wrapped*. The
resason for that is that they need to be re-wrapped if they become part of a
**kwargs dict anyway, and that they usually come from a place that stores them
wrapped as well.

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
9a393839 by Carl Friedrich Bolz-Tereick at 2022-03-23T19:45:33+01:00
fix cpyext

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
d0a791fe by Carl Friedrich Bolz-Tereick at 2022-03-23T20:22:46+01:00
fix various uses of __args__

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
fe3bc599 by Carl Friedrich Bolz-Tereick at 2022-03-23T21:20:44+01:00
merge py3.8

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
c73edd2d by Carl Friedrich Bolz-Tereick at 2022-03-23T21:44:43+01:00
fix test

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
8dea2443 by Carl Friedrich Bolz-Tereick at 2022-03-24T16:19:37+01:00
ouch, fix min/max

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
dd9a8077 by Carl Friedrich Bolz-Tereick at 2022-03-24T16:28:35+01:00
ouch, another bad typo

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
8eadcad1 by Carl Friedrich Bolz-Tereick at 2022-03-24T19:25:00+01:00
fix the various test_ztranslation

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
360ece94 by Carl Friedrich Bolz-Tereick at 2022-03-25T13:15:08+01:00
fix test_argument

--HG--
branch : py3.8-argument-unwrap-less

- - - - -
4a59874f by Carl Friedrich Bolz-Tereick at 2022-03-25T14:13:46+01:00
merge py3.8-argument-unwrap-less:

don't unwrap the W_UnicodeObjects that are used to store the keywords of a 
call
site. We don't want to un-wrap them, because if a function takes **kwargs 
they
get re-wrapped, which means they get re-checked for being valid utf-8.

--HG--
branch : py3.8

- - - - -


27 changed files:

- pypy/interpreter/argument.py
- pypy/interpreter/pyframe.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/signature.py
- pypy/interpreter/test/test_argument.py
- pypy/interpreter/test/test_compiler.py
- pypy/interpreter/test/test_gateway.py
- pypy/module/__builtin__/compiling.py
- pypy/module/__builtin__/functional.py
- pypy/module/_hpy_universal/interp_extfunc.py
- pypy/module/_hpy_universal/interp_slot.py
- pypy/module/_weakref/interp__weakref.py
- pypy/module/array/interp_array.py
- pypy/module/cpyext/cdatetime.py
- pypy/module/cpyext/methodobject.py
- pypy/module/exceptions/interp_exceptions.py
- pypy/module/exceptions/test/test_exc.py
- pypy/module/pypyjit/test_pypy_c/test_call.py
- pypy/module/thread/os_local.py
- pypy/objspace/fake/objspace.py
- pypy/objspace/std/callmethod.py
- pypy/objspace/std/dictmultiobject.py
- pypy/objspace/std/kwargsdict.py
- pypy/objspace/std/objectobject.py
- pypy/objspace/std/test/test_kwargsdict.py
- pypy/objspace/std/typeobject.py
- pypy/objspace/std/unicodeobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/2d3182d9a2d3695cccaff69942ba41adcda9642f...4a59874f18c3b45594fe807f54a87335b3824017

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/2d3182d9a2d3695cccaff69942ba41adcda9642f...4a59874f18c3b45594fe807f54a87335b3824017
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to