Matti Picus pushed to branch branch/release-pypy3.9-v7.x at PyPy / pypy


Commits:
077272e5 by Carl Friedrich Bolz-Tereick at 2022-03-16T20:31:31+01:00
fix test corner case around line continuations: lines that only contain line
continuations are usually skipped. however, that shouldn't happen if 
that's the
very last line of a file.

--HG--
branch : py3.9

- - - - -
34d3b9ee by Carl Friedrich Bolz-Tereick at 2022-03-16T20:41:40+01:00
fix test (not a real problem, just a different interaction with ast rewriting)

--HG--
branch : py3.9

- - - - -
19a22e88 by Carl Friedrich Bolz-Tereick at 2022-03-16T20:42:51+01:00
update magic here

--HG--
branch : py3.9

- - - - -
b7f561c9 by Matti Picus at 2022-03-18T11:10:50+02:00
add failing test required for PEP 3123 (stric-aliasing) (issue 3706)

- - - - -
895f5727 by Matti Picus at 2022-03-18T12:39:59+02:00
add override=True and rearrange declarations to get test to pass

- - - - -
c14d5741 by Carl Friedrich Bolz-Tereick at 2022-03-21T11:36:04+01:00
#3709 fixed: add PyModule_AddType

--HG--
branch : py3.9

- - - - -
b440e148 by Ronan Lamy at 2022-03-22T03:37:13+00:00
Backed out changeset 1baa930ff7e9

- - - - -
2159ef87 by Ronan Lamy at 2022-03-22T04:12:39+00:00
cparser: Handle the case of structs requiring other structs to be configured 
first.

Fixes issue #3706.

- - - - -
9b377a08 by Carl Friedrich Bolz-Tereick at 2022-03-22T09:18:46+01:00
(Serhiy Storchaka, Michał Górny, cfbolz applying)

bpo-46756: Fix authorization check in urllib.request (GH-31353)

Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and
urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which
allowed to bypass authorization. For example, access to URI 
"example.org/foobar"
was allowed if the user was authorized for URI "example.org/foo".

- - - - -
2d231563 by Carl Friedrich Bolz-Tereick at 2022-03-22T11:20:30+01:00
missing JIT optimization: list.extend(tuple) always forced the list. stop doing 
that.

this helps #3649 for 3.9 in particular, because there list.extend(tuple) is
called from certain bytecodes, eg LIST_EXTEND for *args

- - - - -
7f00745b by Carl Friedrich Bolz-Tereick at 2022-03-22T11:33:07+01:00
merge default

--HG--
branch : py3.8

- - - - -
226f99b3 by Carl Friedrich Bolz-Tereick at 2022-03-22T11:33:26+01:00
merge py3.8

--HG--
branch : py3.9

- - - - -
8b52dfc9 by Carl Friedrich Bolz-Tereick at 2022-03-22T12:18:57+01:00
this function is no longer used on 3.9

--HG--
branch : py3.9

- - - - -
ccf2f7f4 by Matti Picus at 2022-03-22T17:54:43+02:00
adpot includes for PEP 3123, fix translation and some tests

--HG--
branch : pep-3123

- - - - -
9ca2e891 by Carl Friedrich Bolz-Tereick at 2022-03-22T19:51:07+01:00
tiny optimization: make space.len_w and space.hash_w more efficient, by not
unwrapping and rewrapping the results.

- - - - -
400478c9 by Carl Friedrich Bolz-Tereick at 2022-03-22T20:30:56+01:00
- call the correct function directly
- delete some dead and incorrect code. type checking of the arguments is done
  in argument.py

--HG--
branch : py3.9

- - - - -
2d879c52 by Matti Picus at 2022-03-22T22:48:45+02:00
fix tests, fix initialization warning

--HG--
branch : pep-3123

- - - - -
02fbb34e by Matti Picus at 2022-03-22T23:00:14+02:00
Merge with pep-3123

--HG--
branch : py3-pep-3123

- - - - -
80373a2c by Carl Friedrich Bolz-Tereick at 2022-03-23T10:28:47+01:00
kill the cpython_code_signature implementation in pycode. it is only called for
code objects on the underlying python implementation, so just use the one in
the flowspace

- - - - -
2ed5b70a by Carl Friedrich Bolz-Tereick at 2022-03-23T10:34:53+01:00
fix the fake obj space and test_ztranslation in various modules

- - - - -
f1a7d881 by Matti Picus at 2022-03-23T11:39:45+02:00
add space.len_w to fix micronumpy tests

- - - - -
80c55af3 by Carl Friedrich Bolz-Tereick at 2022-03-23T10:41:07+01:00
oops, like this of course

- - - - -
12ad8b8b by Carl Friedrich Bolz-Tereick at 2022-03-23T10:55:02+01:00
merge default

--HG--
branch : py3.8

- - - - -
f1ee4549 by Carl Friedrich Bolz-Tereick at 2022-03-23T11:02:23+01:00
fix test

--HG--
branch : py3.8

- - - - -
63ce0442 by Carl Friedrich Bolz-Tereick at 2022-03-23T11:03:24+01:00
and now we can change the code to this, because make_signature is only called
with wrapped code objects

--HG--
branch : py3.8

- - - - -
22347481 by Carl Friedrich Bolz-Tereick at 2022-03-23T11:16:06+01:00
merge py3.8

--HG--
branch : py3.9

- - - - -
77787c0f by Carl Friedrich Bolz-Tereick at 2022-03-23T11:27:44+01:00
don't need a SignatureBuilder for the orig_sig, really

- - - - -
b6947cdf by Carl Friedrich Bolz-Tereick at 2022-03-23T11:57:02+01:00
remove useless assert (it's implied by the earlier one)

--HG--
branch : py3.8

- - - - -
4ad6be67 by Carl Friedrich Bolz-Tereick at 2022-03-23T13:07:13+01:00
another refactoring of the signatures, only have a single list of argnames that
also includes the kwonly argnames

--HG--
branch : py3.8

- - - - -
9bb31587 by Carl Friedrich Bolz-Tereick at 2022-03-23T13:25:30+01:00
fix test

--HG--
branch : py3.8

- - - - -
10bb3d37 by Carl Friedrich Bolz-Tereick at 2022-03-23T13:25:40+01:00
remove unused argument

--HG--
branch : py3.8

- - - - -
8cdcab93 by Carl Friedrich Bolz-Tereick at 2022-03-23T13:37:17+01:00
fix another test

--HG--
branch : py3.8

- - - - -
6f78cbee by Carl Friedrich Bolz-Tereick at 2022-03-23T13:57:21+01:00
create the two missing_* a bit less eagerly

--HG--
branch : py3.8

- - - - -
b1c3174c by Carl Friedrich Bolz-Tereick at 2022-03-23T16:33:23+01:00
make print use kw only arguments

--HG--
branch : py3.8

- - - - -
0da67eed by Matti Picus at 2022-03-23T18:20:18+02:00
fix test

--HG--
branch : py3-pep-3123

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

- - - - -
cb05c47b by Carl Friedrich Bolz-Tereick at 2022-03-23T19:44:59+01:00
fix 60af510490bb: 3.x uses space.index not space.int on result of __len__

--HG--
branch : py3.8

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

- - - - -
022d3ea6 by Matti Picus at 2022-03-23T22:20:00+02:00
merge py3-pep-3123 which fixes PyObject and PyVarObject for strict-aliasing

--HG--
branch : py3.8

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

- - - - -
9981aa32 by Ronan Lamy at 2022-03-24T00:59:48+00:00
Fix compatibility with pytest 4.* for -D tests (with many warnings though)

- - - - -
58a01261 by Ronan Lamy at 2022-03-24T03:50:32+00:00
Move test_testcapi to extra_tests/

- - - - -
fd7a416c by Matti Picus at 2022-03-24T07:01:05+02:00
fix test

--HG--
branch : py3.8

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

- - - - -
06bbdc83 by Matti Picus at 2022-03-25T00:06:29+02:00
use __index__ to test for int-ness in ctypes.array (issue 3712)

--HG--
branch : py3.8

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

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

- - - - -
acc4588a by Matti Picus at 2022-03-25T15:22:39+03:00
add a test (from cython) for setting the d_base.doc of a wrapper-descriptor

--HG--
branch : py3.8

- - - - -
16973dbe by Carl Friedrich Bolz-Tereick at 2022-03-26T12:59:51+01:00
support for two-argument enumerate with a constant second argument

- - - - -
6fc0dea3 by Matti Picus at 2022-03-26T22:13:52+03:00
update release note

- - - - -
c06b898d by Matti Picus at 2022-03-25T15:22:39+03:00
add a test (from cython) for setting the d_base.doc of a wrapper-descriptor

- - - - -
2d3182d9 by Matti Picus at 2022-03-25T15:24:13+03:00
fix for the new test: allocate a wrapperbase struct when using slot wrappers 
from C

--HG--
branch : py3.8

- - - - -
acb4eade by Matti Picus at 2022-03-25T15:24:13+03:00
fix for the new test: allocate a wrapperbase struct when using slot wrappers 
from C

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

- - - - -
51dcabab by Carl Friedrich Bolz-Tereick at 2022-03-25T14:56:31+01:00
merge py3.8

--HG--
branch : py3.9

- - - - -
a8d593d7 by Carl Friedrich Bolz-Tereick at 2022-03-25T19:35:48+01:00
test and fix for a corner case: error if the **kwargs are not a dict, but an
object that returns multiple times the same string when calling .keys() on it

--HG--
branch : py3.8

- - - - -
77ab71a5 by Carl Friedrich Bolz-Tereick at 2022-03-25T21:19:04+01:00
help the flow space

--HG--
branch : py3.8

- - - - -
cc5c85be by Carl Friedrich Bolz-Tereick at 2022-03-26T10:13:01+01:00
merge py3.8 and fix py3.9 implementation

--HG--
branch : py3.9

- - - - -
0fe4b3a6 by Carl Friedrich Bolz-Tereick at 2022-03-26T10:46:57+01:00
merge py3.8

--HG--
branch : py3.9

- - - - -
47cdfc85 by Carl Friedrich Bolz-Tereick at 2022-03-26T10:53:18+01:00
turn test_print into apptest_print

--HG--
branch : py3.8

- - - - -
5e6865cc by Carl Friedrich Bolz-Tereick at 2022-03-26T10:58:47+01:00
end=None means the same as end='\n'

--HG--
branch : py3.8

- - - - -
179ebdbd by Carl Friedrich Bolz-Tereick at 2022-03-26T11:23:14+01:00
stop emitting the useless BUILD_MAP, DICT_MERGE sequence for f(**kwargs) calls.
cpython needs it for other reasons.

--HG--
branch : py3.9

- - - - -
75e1a86c by Carl Friedrich Bolz-Tereick at 2022-03-26T11:24:30+01:00
another test

--HG--
branch : py3.9

- - - - -
d88777d6 by Carl Friedrich Bolz-Tereick at 2022-03-26T11:57:06+01:00
fix translation

--HG--
branch : py3.9

- - - - -
016152e8 by Carl Friedrich Bolz-Tereick at 2022-03-26T12:15:01+01:00
more complicated

--HG--
branch : py3.9

- - - - -
867ea778 by Matti Picus at 2022-03-26T20:42:49+03:00
update to v3.8.13

--HG--
branch : py3.8

- - - - -
1ad96f8d by Matti Picus at 2022-03-26T20:46:36+03:00
update python version to 3.8.13

--HG--
branch : py3.8

- - - - -
46fe7a0e by Matti Picus at 2022-03-26T20:50:43+03:00
update to v3.9.12

--HG--
branch : py3.9

- - - - -
556f6cfa by Matti Picus at 2022-03-26T21:02:36+03:00
update python version to v3.9.12

--HG--
branch : py3.9

- - - - -
c99bf1ea by Matti Picus at 2022-03-26T21:11:25+03:00
add new files

--HG--
branch : py3.9

- - - - -
db4af844 by Matti Picus at 2022-03-27T08:33:40+03:00
fix pip bundled version, cpyext test

--HG--
branch : py3.9

- - - - -
9e859dbb by Matti Picus at 2022-03-27T08:38:53+03:00
fix magic numpy in test to match e29396b0ca42

--HG--
branch : py3.9

- - - - -
8cd6782f by Matti Picus at 2022-03-27T09:27:40+03:00
fix backport: the value is not const on Python2.7

- - - - -
cf9bf1c3 by Carl Friedrich Bolz-Tereick at 2022-03-27T14:03:11+02:00
bpo-46503 fix crash bug in \N handling in f-strings

(one of the rare cases where simply removing a failing assert is the right 
thing to do)

--HG--
branch : py3.9

- - - - -
ebdeb821 by Carl Friedrich Bolz-Tereick at 2022-03-27T14:09:38+02:00
another bug in print, same thing for sep

--HG--
branch : py3.8

- - - - -
60ca933d by Matti Picus at 2022-03-27T15:16:32+03:00
merge py3.8

--HG--
branch : py3.9

- - - - -
d0996460 by Matti Picus at 2022-03-28T07:39:12+03:00
clean up test

- - - - -
63db5318 by Matti Picus at 2022-03-28T07:52:20+03:00
update release note

- - - - -
50fe1697 by Matti Picus at 2022-03-28T07:53:34+03:00
remove pdb.set_trace()

--HG--
branch : py3.9

- - - - -
67e260a6 by Carl Friedrich Bolz-Tereick at 2022-03-28T10:47:43+02:00
bpo-46762: fix corner case in f-strings where < or > is the last char, 
with a
missing trailing }

--HG--
branch : py3.9

- - - - -
ae08b58b by Matti Picus at 2022-03-28T12:06:37+03:00
merge default

--HG--
branch : py3.8

- - - - -
21e99b7e by Matti Picus at 2022-03-28T12:50:04+03:00
merge py3.8

--HG--
branch : py3.9

- - - - -
c996d13b by Matti Picus at 2022-03-28T13:41:35+03:00
better error message

--HG--
branch : py3.9

- - - - -
a641b536 by Matti Picus at 2022-03-28T13:41:46+03:00
adapt test to pypy which can convert non-contiguous buffer to bytes

--HG--
branch : py3.9

- - - - -
0479e114 by Matti Picus at 2022-03-28T13:42:23+03:00
convert bytearray parameters to bytes, check conversion of callback result

--HG--
branch : py3.9

- - - - -
882191af by Matti Picus at 2022-03-28T14:53:55+03:00
adapt test_syntax to PyPy, but now the test crashes at "__debug__: 
int"

--HG--
branch : py3.9

- - - - -
db8a5aad by Carl Friedrich Bolz-Tereick at 2022-03-28T16:37:36+02:00
(cfbolz, mattip): fix '__debug__ : int' not raising a SyntaxError

--HG--
branch : py3.9

- - - - -
64c17495 by Matti Picus at 2022-03-28T18:42:51+03:00
test for __debug__ += 1 not raising, fix

(probably the wrong fix, but it stopped the assert from triggering)

--HG--
branch : py3.9

- - - - -
6ac00127 by Matti Picus at 2022-03-28T18:43:13+03:00
finish fixing the exception message differences.

--HG--
branch : py3.9

- - - - -
2b09e0ad by Matti Picus at 2022-03-28T20:31:05+03:00
add __ror__ and block __ior__ on dictproxy

--HG--
branch : py3.9

- - - - -
47faf41c by Matti Picus at 2022-03-28T21:35:56+03:00
fix for different order of fields in namespace __repr__

--HG--
branch : py3.9

- - - - -
2b1cae11 by Matti Picus at 2022-03-28T21:36:30+03:00
resync with CPython error messsages now that ours are fixed

--HG--
branch : py3.9

- - - - -
d0ef681a by Matti Picus at 2022-03-28T22:06:19+03:00
in pypy, _frozen_importlib and zipimport have __loader__=None and __spec__=None

--HG--
branch : py3.9

- - - - -
6daa16b3 by Carl Friedrich Bolz-Tereick at 2022-03-28T21:52:24+02:00
don't require an items method, keys is sufficient

--HG--
branch : py3.9

- - - - -
f564a1e6 by Matti Picus at 2022-03-29T08:15:20+03:00
merge py3.9 into release

--HG--
branch : release-pypy3.9-v7.x

- - - - -


30 changed files:

- extra_tests/ctypes_tests/test_array.py
- + extra_tests/test_testcapi.py
- lib-python/3/_collections_abc.py
- lib-python/3/_pyio.py
- lib-python/3/argparse.py
- lib-python/3/asyncio/base_events.py
- lib-python/3/asyncio/futures.py
- lib-python/3/asyncio/locks.py
- lib-python/3/asyncio/proactor_events.py
- lib-python/3/asyncio/protocols.py
- lib-python/3/asyncio/queues.py
- lib-python/3/asyncio/selector_events.py
- lib-python/3/asyncio/sslproto.py
- lib-python/3/asyncio/tasks.py
- lib-python/3/asyncio/transports.py
- lib-python/3/ctypes/test/test_bitfields.py
- lib-python/3/ctypes/test/test_python_api.py
- lib-python/3/doctest.py
- lib-python/3/ensurepip/__init__.py
- lib-python/3/ensurepip/_bundled/pip-21.2.4-py3-none-any.whl → 
lib-python/3/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl
- lib-python/3/http/server.py
- lib-python/3/idlelib/Icons/idle_16.gif
- lib-python/3/idlelib/Icons/idle_16.png
- lib-python/3/idlelib/Icons/idle_256.png
- lib-python/3/idlelib/Icons/idle_32.gif
- lib-python/3/idlelib/Icons/idle_32.png
- lib-python/3/idlelib/Icons/idle_48.png
- lib-python/3/idlelib/Icons/minusnode.gif
- lib-python/3/idlelib/Icons/plusnode.gif
- lib-python/3/idlelib/Icons/python.gif


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/2abd3aacf80326aef318b5ce33b8eafdeb353c32...f564a1e6c8c2c111f78f9ee33b0fc104cf6600d1

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/2abd3aacf80326aef318b5ce33b8eafdeb353c32...f564a1e6c8c2c111f78f9ee33b0fc104cf6600d1
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