[pypy-commit] [Git][pypy/pypy][branch/threaded-code-generation] fix CALL handler and pseudo functions in tla, and add several small modifications and deletions

2022-03-22 Thread Yusuke Izawa (@3tty0n)


Yusuke Izawa pushed to branch branch/threaded-code-generation at PyPy / pypy


Commits:
4ceecd05 by Yusuke Izawa at 2022-03-22T16:31:18+09:00
fix CALL handler and pseudo functions in tla, and add several small 
modifications and deletions

--HG--
branch : threaded-code-generation

- - - - -


3 changed files:

- rpython/jit/tl/threadedcode/test/test_tla.py
- rpython/jit/tl/threadedcode/tla.py
- rpython/jit/tl/threadedcode/tlib.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/4ceecd058720777ee5aaa2c2d04df875fc1a91c3

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/4ceecd058720777ee5aaa2c2d04df875fc1a91c3
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


[pypy-commit] [Git][pypy/pypy][branch/default] (Serhiy Storchaka, Michał Górny, cfbolz applying)

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


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

- - - - -


2 changed files:

- lib-python/2.7/test/test_urllib2.py
- lib-python/2.7/urllib2.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/9b377a0834b6aa4109a39798331051020369e690

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/9b377a0834b6aa4109a39798331051020369e690
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


[pypy-commit] [Git][pypy/pypy][branch/default] missing JIT optimization: list.extend(tuple) always forced the list. stop doing that.

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


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

- - - - -


2 changed files:

- pypy/objspace/std/listobject.py
- pypy/objspace/std/test/test_listobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/2d231563b487f6291f937c38292cf8a9360a5b12

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


[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/pep-3123

2022-03-22 Thread Matti Picus (@mattip)


Matti Picus pushed new branch branch/pep-3123 at PyPy / pypy

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/pep-3123
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


[pypy-commit] [Git][pypy/pypy][branch/default] tiny optimization: make space.len_w and space.hash_w more efficient, by not

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


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

- - - - -


2 changed files:

- pypy/interpreter/baseobjspace.py
- pypy/objspace/descroperation.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/9ca2e8911bb2bdd2fef2dfb774e43ce3c6ca9a76

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/9ca2e8911bb2bdd2fef2dfb774e43ce3c6ca9a76
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


[pypy-commit] [Git][pypy/pypy][branch/py3.9] 9 commits: add failing test required for PEP 3123 (stric-aliasing) (issue 3706)

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


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


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

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

- - - - -


5 changed files:

- pypy/interpreter/pyopcode.py
- pypy/objspace/std/listobject.py
- pypy/objspace/std/test/test_listobject.py
- rpython/tool/cparser/cts.py
- rpython/tool/cparser/test/test_cts.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/c14d5741bfe4f817e8861fdf5347b98c965c3f42...8b52dfc97021f40e240690c2d3a0377f0ee993e4

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/c14d5741bfe4f817e8861fdf5347b98c965c3f42...8b52dfc97021f40e240690c2d3a0377f0ee993e4
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


[pypy-commit] [Git][pypy/pypy][branch/py3.8] 7 commits: add failing test required for PEP 3123 (stric-aliasing) (issue 3706)

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


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


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

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

- - - - -


4 changed files:

- pypy/objspace/std/listobject.py
- pypy/objspace/std/test/test_listobject.py
- rpython/tool/cparser/cts.py
- rpython/tool/cparser/test/test_cts.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/ab43e62fda6caa1c76d329d901c98804a9ebb9aa...7f00745b32196d8b2641169f218927c7253be221

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


[pypy-commit] [Git][pypy/pypy][branch/py3.9] - call the correct function directly

2022-03-22 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


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


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

- - - - -


1 changed file:

- pypy/interpreter/pyopcode.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/400478c9e187f29bd406c421c36346d13c23a07c

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/400478c9e187f29bd406c421c36346d13c23a07c
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


[pypy-commit] [Git][pypy/pypy][branch/pep-3123] fix tests, fix initialization warning

2022-03-22 Thread Matti Picus (@mattip)


Matti Picus pushed to branch branch/pep-3123 at PyPy / pypy


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

--HG--
branch : pep-3123

- - - - -


5 changed files:

- pypy/module/cpyext/include/object.h
- pypy/module/cpyext/pyobject.py
- pypy/module/cpyext/test/array.c
- pypy/module/cpyext/test/test_traceback.py
- pypy/module/cpyext/test/test_typeobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/2d879c52f165a8dd583e912c4b47b3374ca9a798

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


[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/py3-pep-3123

2022-03-22 Thread Matti Picus (@mattip)


Matti Picus pushed new branch branch/py3-pep-3123 at PyPy / pypy

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/tree/branch/py3-pep-3123
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