[pypy-commit] [Git][pypy/pypy][branch/conda] 1079 commits: backport 0fcdbc3de300 for upcoming cython that needs PyGILState_Check

Matti Picus (@mattip) foss at heptapod.net
Sun Oct 24 07:20:31 EDT 2021



Matti Picus pushed to branch branch/conda at PyPy / pypy


Commits:
335e6996 by Armin Rigo at 2019-07-23T04:06:51+02:00
backport 0fcdbc3de300 for upcoming cython that needs PyGILState_Check

- - - - -
b29a8b6e by Carl Friedrich Bolz-Tereick at 2020-12-30T19:21:04+01:00
start with the walrus operator: tokenizing works! (twitch streaming, yay)

--HG--
branch : some-3.8-features

- - - - -
71e9deb4 by Carl Friedrich Bolz-Tereick at 2020-12-30T19:58:21+01:00
walrus operator: add grammar productions, define new astnode type, add support in the astbuilder

--HG--
branch : some-3.8-features

- - - - -
5caf77d3 by Carl Friedrich Bolz-Tereick at 2020-12-30T20:09:15+01:00
walrus operator: add bytecode generation

--HG--
branch : some-3.8-features

- - - - -
4099934c by Carl Friedrich Bolz-Tereick at 2020-12-30T21:06:06+01:00
(cfbolz, isidentical, twitch around): walrus operator: in-progress, start to
deal with the complexities of list comprehensions

--HG--
branch : some-3.8-features

- - - - -
423da448 by isidentical at 2020-12-31T19:24:50+03:00
Implement f-string debugging expressions

--HG--
branch : fstring-debugging

- - - - -
d69cb0e4 by Matti Picus at 2021-01-01T00:38:21+02:00
start vendor/stdlib-3.8

--HG--
branch : vendor/stdlib-3.8

- - - - -
1d9a1e3f by Matti Picus at 2020-12-31T20:19:44+02:00
add stdlib 3.8.7, remove stdlib2.7

--HG--
branch : vendor/stdlib-3.8

- - - - -
0583deb3 by Matti Picus at 2021-01-01T00:41:07+02:00
start py3.8

--HG--
branch : py3.8

- - - - -
9dc523ea by Matti Picus at 2020-12-31T23:55:52+02:00
merge vendor/stdlib-3.8 into beginning of py3.8

--HG--
branch : py3.8

- - - - -
701caa83 by isidentical at 2021-01-01T14:05:37+03:00
pytokenize: Support lexing of TYPE_COMMENTS

--HG--
branch : some-other-38-features

- - - - -
231288e7 by isidentical at 2021-01-01T14:06:31+03:00
pytokenizer: Add a test for TYPE_IGNORE tokenization

--HG--
branch : some-other-38-features

- - - - -
67b1cebc by isidentical at 2021-01-01T17:01:22+03:00
pyparser: 3.8 grammar, parser changes, ast builder for type_ignore

--HG--
branch : some-other-38-features

- - - - -
d69adec8 by isidentical at 2021-01-01T18:50:54+03:00
pyparser: Proper handling of full type_comment lines

--HG--
branch : some-other-38-features

- - - - -
952075b2 by isidentical at 2021-01-01T19:23:40+03:00
pyparser: Better handling for variadic argument comments

--HG--
branch : some-other-38-features

- - - - -
eb4aefd5 by isidentical at 2021-01-01T19:34:53+03:00
pyparser: Support keyword only parameters

--HG--
branch : some-other-38-features

- - - - -
ba2cbcd9 by isidentical at 2021-01-01T20:24:16+03:00
pyparser: Implement initial support for TYPE_IGNORES

--HG--
branch : some-other-38-features

- - - - -
ee00f262 by isidentical at 2021-01-01T20:57:51+03:00
ast: Support checking of optional-string fields / some test fixes

--HG--
branch : some-other-38-features

- - - - -
25d8bc0d by Carl Friedrich Bolz-Tereick at 2021-01-01T20:25:20+01:00
an intermediate branch:

since the 3.8 stdlib uses a lot of the 3.8 language features (walrus,
positional only arguments, etc) we can't bring up the branch py3.8 without
these new features. Hence, let's implement enough of them in this branch here,
which will keep the 3.7 stdlib.

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
73a5be23 by Carl Friedrich Bolz-Tereick at 2021-01-01T20:34:11+01:00
merge fstring-debugging

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
c8a1ab4c by isidentical at 2021-01-02T00:42:21+03:00
ast: Proper serialization of string/None

--HG--
branch : some-other-38-features

- - - - -
addd951a by isidentical at 2021-01-02T00:48:09+03:00
ast: Use proper none

--HG--
branch : some-other-38-features

- - - - -
54061070 by isidentical at 2021-01-02T01:16:37+03:00
ast: make test_validate compatible

--HG--
branch : some-other-38-features

- - - - -
1ea221b9 by isidentical at 2021-01-02T16:23:38+03:00
ast: make all ast tests working (one syntax error left)

--HG--
branch : some-other-38-features

- - - - -
1a38a9fd by isidentical at 2021-01-02T16:35:43+03:00
rpython: some rpython hacks

--HG--
branch : some-other-38-features

- - - - -
6989894c by isidentical at 2021-01-02T17:26:22+03:00
pyparser: precise errors for func_body_suite

--HG--
branch : some-other-38-features

- - - - -
d80bb7bc by isidentical at 2021-01-02T17:42:52+03:00
ast: assert normal suite doesn't contain any type comments

--HG--
branch : some-other-38-features

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

- - - - -
2ef2f928 by isidentical at 2021-01-03T15:26:19+03:00
pyparser: Orderless sorting

--HG--
branch : some-other-38-features

- - - - -
1c1c31bd by Carl Friedrich Bolz-Tereick at 2021-01-03T13:03:27+00:00
Merge branch 'branch/some-other-38-features' into 'branch/py3.8-with-3.7-stdlib'

Implement typed_ast (native support for type_comments)

See merge request pypy/pypy!791

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
7dc1268d by Carl Friedrich Bolz-Tereick at 2021-01-03T14:11:25+01:00
document merged branches

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
79c4fff6 by Carl Friedrich Bolz-Tereick at 2021-01-03T15:55:02+01:00
merge some-3.8-features: support the walrus operator/named expressions

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
d7050194 by Carl Friedrich Bolz-Tereick at 2021-01-03T15:58:55+01:00
document the walrus operator (this time in the correct file)

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
085b19d3 by Carl Friedrich Bolz-Tereick at 2021-01-04T06:56:33+01:00
fix a bug in the new fstring-debugging code

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
17d8ccca by Carl Friedrich Bolz-Tereick at 2021-01-03T22:33:57+01:00
implement positional-only arguments

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
8d6e98b8 by Carl Friedrich Bolz-Tereick at 2021-01-04T07:27:52+01:00
fix test

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
6064a08c by Carl Friedrich Bolz-Tereick at 2021-01-04T08:13:54+01:00
fix interaction of positional only arguments and **kwargs

--HG--
branch : py3.8-with-3.7-stdlib

- - - - -
e6615975 by Carl Friedrich Bolz-Tereick at 2021-01-04T20:48:43+01:00
add some minimal things that are needed to get 3.8 started: _io.open_code and sys.pycache_prefix (always None so far)

--HG--
branch : py3.8

- - - - -
c5beed18 by Carl Friedrich Bolz-Tereick at 2021-01-04T20:49:46+01:00
for now, revert opcode.py to be like under 3.7 to allow anything at all to run

--HG--
branch : py3.8

- - - - -
028228f4 by Carl Friedrich Bolz-Tereick at 2021-01-04T20:50:40+01:00
merge py3.8-with-3.7-stdlib: implement a number of 3.8 features

- walrus operator
- positional only arguments
- typed_ast

--HG--
branch : py3.8

- - - - -
9ee89a7d by Carl Friedrich Bolz-Tereick at 2021-01-04T21:29:09+01:00
a minimal dummy sys.audit function that does nothing

--HG--
branch : py3.8

- - - - -
94dd1a20 by Carl Friedrich Bolz-Tereick at 2021-01-04T21:29:32+01:00
add token.EXACT_TOKEN_TYPES

--HG--
branch : py3.8

- - - - -
2cff8370 by Carl Friedrich Bolz-Tereick at 2021-01-04T21:37:39+01:00
try to fix futures, but something is still broken

--HG--
branch : py3.8

- - - - -
724add2a by Carl Friedrich Bolz-Tereick at 2021-01-04T21:43:23+01:00
ah, it seems that was the problem with futures: the stdlib values changed, keep
the pypy copies in sync

--HG--
branch : py3.8

- - - - -
1c844c4e by Carl Friedrich Bolz-Tereick at 2021-01-04T22:49:01+01:00
fix translation

--HG--
branch : py3.8

- - - - -
d0b9cbb7 by Carl Friedrich Bolz-Tereick at 2021-01-05T11:55:44+01:00
update versions

--HG--
branch : py3.8

- - - - -
53f078ad by Carl Friedrich Bolz-Tereick at 2021-01-05T12:18:38+01:00
dummy implement new undocumented keyword argument to compile to make the ast
module work a bit more

--HG--
branch : py3.8

- - - - -
9db1577d by Carl Friedrich Bolz-Tereick at 2021-01-05T12:19:19+01:00
raise the correct error to make the subprocess except ModuleNotFoundError block
work

--HG--
branch : py3.8

- - - - -
55b53a98 by Carl Friedrich Bolz-Tereick at 2021-01-05T17:08:24+01:00
implement replace method of code objects

--HG--
branch : py3.8

- - - - -
692b8c65 by Carl Friedrich Bolz-Tereick at 2021-01-05T19:48:27+01:00
update list of tests

--HG--
branch : py3.8

- - - - -
427cd83d by Matti Picus at 2021-01-05T23:22:56+02:00
fix included import lib for MSVC

--HG--
branch : py3.8

- - - - -
16b9fc03 by Carl Friedrich Bolz-Tereick at 2021-01-06T12:54:27+01:00
fix posonly args with annotations

--HG--
branch : py3.8

- - - - -
12337854 by Carl Friedrich Bolz-Tereick at 2021-01-06T12:59:15+01:00
this comment is addressed

--HG--
branch : py3.8

- - - - -
2a5fb621 by Carl Friedrich Bolz-Tereick at 2021-01-06T13:20:33+01:00
proper plural in the error message

--HG--
branch : py3.8

- - - - -
3e05efd3 by Carl Friedrich Bolz-Tereick at 2021-01-06T13:20:40+01:00
skip cpython-detail

--HG--
branch : py3.8

- - - - -
c295a111 by Carl Friedrich Bolz-Tereick at 2021-01-06T13:37:44+01:00
fix error message

--HG--
branch : py3.8

- - - - -
97473d53 by isidentical at 2021-01-06T20:37:09+03:00
AST: Make the AST initalization compatible with CPython

--HG--
branch : better-ast-initalization

- - - - -
156b50b2 by isidentical at 2021-01-06T20:47:49+03:00
pyparser: Support extended unpacking on flow statements

--HG--
branch : unpacking-in-flow

- - - - -
a24555e4 by isidentical at 2021-01-06T20:55:14+03:00
Test: Add a test regarding excess/less arguments

--HG--
branch : better-ast-initalization

- - - - -
37203508 by isidentical at 2021-01-06T21:05:00+03:00
Test: Remove not working test

--HG--
branch : unpacking-in-flow

- - - - -
20b24db0 by isidentical at 2021-01-06T22:26:09+03:00
Test: Add an invalid test as a case

--HG--
branch : unpacking-in-flow

- - - - -
80a050af by Carl Friedrich Bolz-Tereick at 2021-01-06T19:35:38+00:00
Merge branch 'branch/unpacking-in-flow' into 'branch/py3.8'

Allow star-unpacking in return/yield

See merge request pypy/pypy!793

--HG--
branch : py3.8

- - - - -
809a02ba by isidentical at 2021-01-06T23:23:14+03:00
ASDL-gen: Reflect changes to the asdl_py.py

--HG--
branch : better-ast-initalization

- - - - -
e134ee8c by Carl Friedrich Bolz-Tereick at 2021-01-06T21:26:26+01:00
merge heads

--HG--
branch : py3.8

- - - - -
8b08d0eb by Carl Friedrich Bolz-Tereick at 2021-01-06T21:07:45+00:00
Merge branch 'branch/better-ast-initalization' into 'branch/py3.8'

AST: Make the AST initalization compatible with CPython

See merge request pypy/pypy!792

--HG--
branch : py3.8

- - - - -
02e22961 by isidentical at 2021-01-09T00:47:04+03:00
AST: Initial changes, move to ast.Constant

--HG--
branch : ast-constant

- - - - -
bfd4554e by isidentical at 2021-01-09T01:16:30+03:00
AST: specialized error messages for constants

--HG--
branch : ast-constant

- - - - -
30ed187b by isidentical at 2021-01-09T01:33:36+03:00
Tests: Fix AST tests

--HG--
branch : ast-constant

- - - - -
8187292b by isidentical at 2021-01-09T01:41:38+03:00
Tests: user level ast compliance

--HG--
branch : ast-constant

- - - - -
d76fb28d by isidentical at 2021-01-09T12:10:18+03:00
RPython: Add a type assertion for inference

--HG--
branch : ast-constant

- - - - -
1d766706 by isidentical at 2021-01-09T12:31:46+03:00
RPython: more fixes

--HG--
branch : ast-constant

- - - - -
a8d2288a by isidentical at 2021-01-09T12:59:20+03:00
Compiler: Eliminate only constant expressions

--HG--
branch : ast-constant

- - - - -
7fc0c133 by Carl Friedrich Bolz-Tereick at 2021-01-09T10:39:10+00:00
Merge branch 'branch/ast-constant' into 'branch/py3.8'

Introduce ast.Compile (unification of Num, Str, Bytes, Ellipsis, NameConstant)

See merge request pypy/pypy!794

--HG--
branch : py3.8

- - - - -
51028d5c by isidentical at 2021-01-09T13:52:38+03:00
Grammar: Add func_type_input productions

--HG--
branch : py3.8

- - - - -
c9d98299 by isidentical at 2021-01-09T13:53:59+03:00
ASDL: Add FunctionType node

--HG--
branch : py3.8

- - - - -
ce317eac by isidentical at 2021-01-09T15:15:49+03:00
AST: Tests for the FunctionType

--HG--
branch : py3.8

- - - - -
c97d9986 by isidentical at 2021-01-09T14:09:55+03:00
__builtins__: compile() now recognizes mode='func_type'

--HG--
branch : py3.8

- - - - -
738d8b81 by isidentical at 2021-01-09T14:28:09+03:00
AST: Implement the building logic for FunctionType

--HG--
branch : py3.8

- - - - -
bdd0a5ba by isidentical at 2021-01-09T15:43:25+03:00
Adjust error handling for RPython

--HG--
branch : py3.8

- - - - -
d2a82976 by isidentical at 2021-01-09T22:34:10+03:00
AST: Implement ast.Constant.kind (for type checkers)

--HG--
branch : constant-kind

- - - - -
40cd4ac9 by Carl Friedrich Bolz-Tereick at 2021-01-09T20:36:44+01:00
(cfbolz, twitch around): implement int.as_integer_ratio

--HG--
branch : py3.8

- - - - -
e41eeca2 by isidentical at 2021-01-09T23:00:59+03:00
Use space.newtext_or_none for conversion

--HG--
branch : constant-kind

- - - - -
331d102a by Carl Friedrich Bolz-Tereick at 2021-01-09T21:27:26+01:00
(cfbolz, twitch): fix evaluation order of keys and values in dict comprehensions

--HG--
branch : py3.8

- - - - -
c654f220 by Carl Friedrich Bolz-Tereick at 2021-01-09T21:59:05+01:00
(cfbolz, twitch) implement math.isqrt at applevel

--HG--
branch : py3.8

- - - - -
755a1cbd by Sebastian Berg at 2021-01-09T15:53:47-06:00
CPyext: Forward port METH_FASTCALL from merge request !784

This forward ports Merge request !784 to the py3.8 branch. The
Python API is stable in this regard, so that no changes are
necessary.
As noted on the first PR. It does not accomodate for the `const`
qualifier.

--HG--
branch : fastcall-py3.8

- - - - -
b37de482 by Matti Picus at 2021-01-10T11:51:23+00:00
Merge branch 'branch/fastcall-py3.8' into 'branch/py3.8'

CPyext: Forward port METH_FASTCALL from merge request !784

See merge request pypy/pypy!796

--HG--
branch : py3.8

- - - - -
4f28abd4 by Carl Friedrich Bolz-Tereick at 2021-01-10T12:34:39+00:00
Merge branch 'branch/constant-kind' into 'branch/py3.8'

AST: Implement ast.Constant.kind (for type checkers)

See merge request pypy/pypy!795

--HG--
branch : py3.8

- - - - -
2ad96112 by Carl Friedrich Bolz-Tereick at 2021-01-10T21:31:13+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
0c360546 by Carl Friedrich Bolz-Tereick at 2021-01-10T21:32:37+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
90f2c428 by Carl Friedrich Bolz-Tereick at 2021-01-11T18:42:14+01:00
fix fstring parsing crash

--HG--
branch : py3.8

- - - - -
5ca06462 by Carl Friedrich Bolz-Tereick at 2021-01-12T13:49:29+01:00
implement pow(int, -neg, int). Right now it's a pretty naive implementation on
app-level, can be optimized later (but CPython also uses naive extended
Euclidian GCD, so they aren't faster I suspect).

--HG--
branch : py3.8

- - - - -
bf145ad6 by Carl Friedrich Bolz-Tereick at 2021-01-13T14:20:49+01:00
fix translation (zip isn't rpython)

--HG--
branch : py3.8

- - - - -
450c50e9 by isidentical at 2021-01-16T17:18:09+03:00
Partial revert of ASYNC becomes keyword by default patch

--HG--
branch : py3.8

- - - - -
7c2ac799 by isidentical at 2021-01-16T17:36:15+03:00
Extend RHS syntax for annotated assignments

--HG--
branch : extended-annotations

- - - - -
2e884aa8 by isidentical at 2021-01-16T17:41:32+03:00
Revert latest AST~ related commit (intended for a separate branch)

--HG--
branch : py3.8

- - - - -
e757b82a by Carl Friedrich Bolz-Tereick at 2021-01-16T16:58:41+00:00
Merge branch 'branch/extended-annotations' into 'branch/py3.8'

Extend RHS syntax for annotated assignments

See merge request pypy/pypy!799

--HG--
branch : py3.8

- - - - -
3f4eb124 by isidentical at 2021-01-22T22:38:45+03:00
compiler: Implement syntax warnings for possible missing-comma cases

--HG--
branch : syntax-warnings

- - - - -
01ce79c5 by isidentical at 2021-01-22T23:07:00+03:00
ast: implement missing-comma for subscripting

--HG--
branch : syntax-warnings

- - - - -
3554796d by isidentical at 2021-01-22T23:07:11+03:00
whitespace

--HG--
branch : syntax-warnings

- - - - -
5621c7e5 by isidentical at 2021-01-22T23:11:03+03:00
exclude string/bytes from warnings

--HG--
branch : syntax-warnings

- - - - -
878c65be by isidentical at 2021-01-22T23:38:20+03:00
ast: implement missing comma warning to indexing

--HG--
branch : syntax-warnings

- - - - -
31106efb by isidentical at 2021-01-22T23:39:47+03:00
test: add false positive tests

--HG--
branch : syntax-warnings

- - - - -
98772d4b by isidentical at 2021-01-22T23:40:01+03:00
cleanup

--HG--
branch : syntax-warnings

- - - - -
7af6dcdb by isidentical at 2021-01-23T13:45:54+03:00
rpython: isinstance => type

--HG--
branch : syntax-warnings

- - - - -
c384785d by isidentical at 2021-01-23T13:51:56+03:00
more work on rpython compliance

--HG--
branch : syntax-warnings

- - - - -
d7c265a2 by isidentical at 2021-01-23T14:05:14+03:00
ast: introduce _get_type_name API

--HG--
branch : syntax-warnings

- - - - -
b1214640 by isidentical at 2021-01-23T14:08:55+03:00
rpython: %r => '%s'

--HG--
branch : syntax-warnings

- - - - -
8612384c by isidentical at 2021-01-23T14:21:26+03:00
whitespace

--HG--
branch : syntax-warnings

- - - - -
86e633e4 by Carl Friedrich Bolz-Tereick at 2021-01-23T12:08:41+00:00
Merge branch 'branch/syntax-warnings' into 'branch/py3.8'

compiler: syntax-warnings for possible missing comma cases

See merge request pypy/pypy!801

--HG--
branch : py3.8

- - - - -
15ccdd13 by Carl Friedrich Bolz-Tereick at 2021-01-30T20:47:28+01:00
(cfbolz, twitch): add reversed(dict) and reversed(dict.keys()) support, using
the existing machinery

--HG--
branch : py3.8-reversed-dict

- - - - -
5d3c5edd by isidentical at 2021-01-30T23:18:54+03:00
codegen: syntax warnings for assert

--HG--
branch : new-syntax-warnings

- - - - -
b4ebfa5a by isidentical at 2021-01-30T23:19:54+03:00
codegen: syntax warning for misuse of is/is not

--HG--
branch : new-syntax-warnings

- - - - -
a287ac80 by isidentical at 2021-01-30T23:21:27+03:00
more tests

--HG--
branch : new-syntax-warnings

- - - - -
32d0ee7b by Carl Friedrich Bolz-Tereick at 2021-01-30T21:30:35+01:00
(cfbolz, twitch): first stab at implementing reverse iteration of values and
items dict views

--HG--
branch : py3.8-reversed-dict

- - - - -
1b8c678a by isidentical at 2021-01-30T23:37:39+03:00
explicit type assertion for rpython

--HG--
branch : new-syntax-warnings

- - - - -
175d7fa6 by isidentical at 2021-01-30T23:55:09+03:00
...

--HG--
branch : new-syntax-warnings

- - - - -
595a50b0 by Carl Friedrich Bolz-Tereick at 2021-01-30T21:56:27+01:00
(cfbolz, twitch): two tests for reversing module and kwargs dics. one doesn't
pass, one surprisingly does

--HG--
branch : py3.8-reversed-dict

- - - - -
48d6859f by Carl Friedrich Bolz-Tereick at 2021-02-03T14:14:53+01:00
implement https://bugs.python.org/issue1054041

an uncaught ctrl-C/KeyboardInterrupt turns into the right exit code

--HG--
branch : py3.8

- - - - -
561df8e7 by Matti Picus at 2021-02-03T23:00:25+02:00
merge py3.7 into py3.8, leave out conflicts from ee052a16ada3

--HG--
branch : py3.8

- - - - -
59a95039 by Matti Picus at 2021-02-03T23:04:44+02:00
minimally fix up whatsnew

--HG--
branch : py3.8

- - - - -
22892d8a by Carl Friedrich Bolz-Tereick at 2021-02-04T06:31:57+01:00
fix test_ast here too

--HG--
branch : py3.8

- - - - -
15ac9654 by Carl Friedrich Bolz-Tereick at 2021-02-06T22:08:23+01:00
(cfbolz, twitch): implement sys.unraisablehook
https://bugs.python.org/issue36829

when an unraisable exception is raised, we call sys.unraisablehook, which by
default prints to stderr

--HG--
branch : py3.8

- - - - -
84743c6e by Carl Friedrich Bolz-Tereick at 2021-02-07T17:04:59+01:00
add missing space, also commit test file I forgot yesterday

--HG--
branch : py3.8

- - - - -
b7696b6f by Carl Friedrich Bolz-Tereick at 2021-02-08T15:45:21+00:00
Merge branch 'branch/new-syntax-warnings' into 'branch/py3.8'

compiler: More syntax warnings

See merge request pypy/pypy!802

--HG--
branch : py3.8

- - - - -
30c52fec by Carl Friedrich Bolz-Tereick at 2021-02-10T20:38:25+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
26ce435b by Carl Friedrich Bolz-Tereick at 2021-02-13T21:24:55+01:00
(cfbolz, twitch): add the basic sys.audit and sys.addaudithook functionality

--HG--
branch : py3.8

- - - - -
9772fb27 by Carl Friedrich Bolz-Tereick at 2021-02-13T21:42:12+01:00
(cfbolz, twitch): try to maybe do something somewhat reasonable when jitting
code that has audit hooks

--HG--
branch : py3.8

- - - - -
9fe83c06 by Carl Friedrich Bolz-Tereick at 2021-02-13T22:05:03+01:00
(cfbolz, twitch): add audit hooks for:
- exec, eval of code objects
- input

--HG--
branch : py3.8

- - - - -
e9ff290c by isidentical at 2021-02-14T00:19:42+03:00
compiler: implement basic support for top level async/await support
branch: py3.8
user: isidentical <batuhan at python.org>
date: Sat Feb 13 23:37:36 2021 +0300

--HG--
branch : top-level-await

- - - - -
9e4235fb by isidentical at 2021-02-14T00:20:53+03:00
summary: compiler: support async generators
branch: py3.8
tag: tip
user: isidentical <batuhan at python.org>
date: Sun Feb 14 00:17:04 2021 +0300

--HG--
branch : top-level-await

- - - - -
50beed96 by isidentical at 2021-02-14T00:34:00+03:00
reference to proper flag

--HG--
branch : top-level-await

- - - - -
fea67d81 by Carl Friedrich Bolz-Tereick at 2021-02-14T10:10:24+00:00
Merge branch 'branch/top-level-await' into 'branch/py3.8'

compiler: top level async/await support with PyCF_ALLOW_TOP_LEVEL_AWAIT

See merge request pypy/pypy!805

--HG--
branch : py3.8

- - - - -
d942fe4d by Carl Friedrich Bolz-Tereick at 2021-02-20T13:00:37+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
fb7d1090 by Carl Friedrich Bolz-Tereick at 2021-02-20T19:53:03+01:00
fix translation

--HG--
branch : py3.8

- - - - -
e1afc7f9 by Carl Friedrich Bolz-Tereick at 2021-02-21T13:23:37+01:00
fix rpython, hopefully

--HG--
branch : py3.8

- - - - -
d9013fee by Carl Friedrich Bolz-Tereick at 2021-03-04T20:45:54+01:00
fix typo

--HG--
branch : py3.8

- - - - -
c9633cd0 by Carl Friedrich Bolz-Tereick at 2021-03-05T21:44:17+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
d597b63c by Carl Friedrich Bolz-Tereick at 2021-03-05T22:04:16+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
4c9aa920 by Carl Friedrich Bolz-Tereick at 2021-03-06T14:15:19+01:00
first stab at implementing PickleBuffers

--HG--
branch : py3.8

- - - - -
203b76bd by Carl Friedrich Bolz-Tereick at 2021-03-06T20:18:32+01:00
(cfbolz, twitch): test matmul support in weakref.proxy (it already works due to meta-programming)

--HG--
branch : py3.8

- - - - -
2f8d906d by Carl Friedrich Bolz-Tereick at 2021-03-06T20:27:48+01:00
(cfbolz, ronny): test rmatmul too, which fails

--HG--
branch : py3.8

- - - - -
c1a5508e by Carl Friedrich Bolz-Tereick at 2021-03-06T21:17:21+01:00
(cfbolz, julian, twitch): implement math.prod

--HG--
branch : py3.8

- - - - -
e2509ea1 by Carl Friedrich Bolz-Tereick at 2021-03-06T21:20:04+01:00
(cfbolz, twitch): two other weird corner cases

--HG--
branch : py3.8

- - - - -
0f05ec9d by Carl Friedrich Bolz-Tereick at 2021-03-06T21:33:13+01:00
(cfbolz, twitch): implement math.comb

--HG--
branch : py3.8

- - - - -
b6accbfe by Carl Friedrich Bolz-Tereick at 2021-03-06T21:47:15+01:00
(cfbolz, twitch): implement math.perm

--HG--
branch : py3.8

- - - - -
26ed9bb5 by Carl Friedrich Bolz-Tereick at 2021-03-07T21:41:15+01:00
implement multi-argument math.hypot and math.dist

--HG--
branch : py3.8

- - - - -
3b116dec by Carl Friedrich Bolz-Tereick at 2021-03-08T12:57:01+01:00
merge default

--HG--
branch : py3.8

- - - - -
3801b5d5 by Carl Friedrich Bolz-Tereick at 2021-03-08T13:11:49+01:00
switch to unicodedata 12.1.0

--HG--
branch : py3.8

- - - - -
aa56595b by Carl Friedrich Bolz-Tereick at 2021-03-08T13:43:26+01:00
implement the slow variant of is_normalized

--HG--
branch : py3.8

- - - - -
59dbe2ab by Carl Friedrich Bolz-Tereick at 2021-03-08T14:30:24+01:00
merge default

--HG--
branch : py3.8

- - - - -
1d7c7c62 by Carl Friedrich Bolz-Tereick at 2021-03-08T14:42:04+01:00
expose memfd_create

--HG--
branch : py3.8

- - - - -
831ea0c8 by Carl Friedrich Bolz-Tereick at 2021-03-08T20:38:07+01:00
merge default

--HG--
branch : py3.8

- - - - -
f970131b by Carl Friedrich Bolz-Tereick at 2021-03-08T20:40:04+01:00
docstring

--HG--
branch : py3.8

- - - - -
71978a70 by Carl Friedrich Bolz-Tereick at 2021-03-08T21:14:24+01:00
implement madvise in mmap

--HG--
branch : py3.8

- - - - -
47160ca6 by Dennis Sweeney at 2021-03-10T01:47:36-05:00
Reimplement heapq.merge() using a linked tournamet tree.
This method saves "<" comparisons in almost all cases,
especially when one iterable wins repeatedly. It also
eliminates the "==" comparisons required in the tuple
comparisons of the previous algorithm. Sort stability is
maintained by the structure of the tree rather than by
storing indices.

This follows https://bugs.python.org/issue38938
(thanks Raymond Hettinger for the basic implementation idea)

--HG--
branch : heapq_merge

- - - - -
2de89493 by Dennis Sweeney at 2021-03-10T12:42:01-05:00
Add extra test cases for heapq.merge(), both Hypothesis and randomized.

--HG--
branch : heapq_merge

- - - - -
3b44d42e by Carl Friedrich Bolz-Tereick at 2021-03-10T20:21:09+01:00
still use hypothesis for the random sampling, to get shrinking etc

--HG--
branch : heapq_merge

- - - - -
243c0a6d by Carl Friedrich Bolz-Tereick at 2021-03-10T20:06:17+00:00
Merge branch 'branch/heapq_merge' into 'branch/py3.8'

Reimplement heapq.merge() using a linked tournamet tree.

See merge request pypy/pypy!809

--HG--
branch : py3.8

- - - - -
53882c58 by Carl Friedrich Bolz-Tereick at 2021-03-10T21:27:56+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -
76a1fba8 by Carl Friedrich Bolz-Tereick at 2021-03-12T21:55:00+01:00
(in-progress) another attempt: try to slice up too huge traces into trace chunks

already working: trace chunk for the original trace, ends with
guard_always_fails (and a fake finish). next step: support attaching a chunky
bridge to that guard

--HG--
branch : open-ended-traces

- - - - -
9e92bb94 by Carl Friedrich Bolz-Tereick at 2021-03-13T15:39:38+01:00
a solution for bridges, but probably the wrong one

--HG--
branch : open-ended-traces

- - - - -
76553ee8 by Carl Friedrich Bolz-Tereick at 2021-03-13T21:32:41+01:00
slightly different approach for dealing wwith too long bridges:

- when finding a too long bridge, mark the loop token as "has extra-long
  bridges"
- when tracing a bridge from such a loop token, produce a segmented trace if
  necessary

--HG--
branch : open-ended-traces

- - - - -
58dd078f by Carl Friedrich Bolz-Tereick at 2021-03-13T21:33:20+01:00
rewrite guard_always_fails away

--HG--
branch : open-ended-traces

- - - - -
0a2dbbbd by Carl Friedrich Bolz-Tereick at 2021-03-13T21:42:31+01:00
add x86 test

--HG--
branch : open-ended-traces

- - - - -
f5736c98 by Carl Friedrich Bolz-Tereick at 2021-03-14T14:32:41+01:00
something still going wrong in the real pypy. this seems to help: there are
actually tag overflows sometimes (but still another problem left)

--HG--
branch : open-ended-traces

- - - - -
a0602f98 by Carl Friedrich Bolz-Tereick at 2021-03-14T14:38:38+01:00
factor out into its own method

--HG--
branch : open-ended-traces

- - - - -
59129cc5 by Carl Friedrich Bolz-Tereick at 2021-03-14T19:38:06+01:00
another hard to test, real-world change: sometimes we are in a bridge, but
*also* found some merge points. mark the bridge for segmented tracing in that
case anyway

--HG--
branch : open-ended-traces

- - - - -
d78131ca by Carl Friedrich Bolz-Tereick at 2021-03-14T22:20:19+01:00
move to a method

--HG--
branch : open-ended-traces

- - - - -
423fc6e9 by Carl Friedrich Bolz-Tereick at 2021-03-14T22:29:47+01:00
clarification

--HG--
branch : open-ended-traces

- - - - -
9f479f75 by Carl Friedrich Bolz-Tereick at 2021-03-15T09:26:30+01:00
fix important problem: so far the segmented traces didn't have a label, which
means that loops would never be closed!

--HG--
branch : open-ended-traces

- - - - -
2939cb37 by Carl Friedrich Bolz-Tereick at 2021-03-15T12:30:10+01:00
somewhat hacky fix for virtualizables

--HG--
branch : open-ended-traces

- - - - -
30d31c47 by Carl Friedrich Bolz-Tereick at 2021-03-15T20:15:31+01:00
remove test, it's now in test_tracelimit

--HG--
branch : open-ended-traces

- - - - -
d8f4c315 by Carl Friedrich Bolz-Tereick at 2021-03-17T14:48:18+01:00
rename for easier tab completion

--HG--
branch : open-ended-traces

- - - - -
31610bb3 by Ronan Lamy at 2021-03-17T19:42:12+00:00
update-vendored to commit eb07982

--HG--
branch : hpy-update-to-facdb01

- - - - -
466cb19c by Ronan Lamy at 2021-03-17T19:48:10+00:00
temporary fixes to vendored files to allow the tests to run

--HG--
branch : hpy-update-to-facdb01

- - - - -
90aa174a by Ronan Lamy at 2021-03-17T19:56:14+00:00
update llapi.py

--HG--
branch : hpy-update-to-facdb01

- - - - -
aa6b1d67 by Ronan Lamy at 2021-03-18T00:49:16+00:00
Add missing constants: NotImplemented, Ellipsis

--HG--
branch : hpy-update-to-facdb01

- - - - -
8fa87270 by Ronan Lamy at 2021-03-18T00:49:38+00:00
Add HPyBool_FromLong

--HG--
branch : hpy-update-to-facdb01

- - - - -
29615ada by Ronan Lamy at 2021-03-18T04:02:17+00:00
Add HPy_Type

--HG--
branch : hpy-update-to-facdb01

- - - - -
2323c31c by Ronan Lamy at 2021-03-18T18:11:34+00:00
Add HPy_TypeCheck

--HG--
branch : hpy-update-to-facdb01

- - - - -
c2163a5e by Ronan Lamy at 2021-03-18T20:20:03+00:00
Move fake hpy_debug, for test_extra.py

--HG--
branch : hpy-update-to-facdb01

- - - - -
23676b1b by Ronan Lamy at 2021-03-19T02:48:35+00:00
Add support for .doc in HPyType_Spec

--HG--
branch : hpy-update-to-facdb01

- - - - -
1d11420a by Ronan Lamy at 2021-03-19T03:36:25+00:00
Remove obsolete comment

--HG--
branch : hpy-update-to-facdb01

- - - - -
68498532 by Carl Friedrich Bolz-Tereick at 2021-03-19T13:01:28+01:00
fix jit-summary parsing

--HG--
branch : open-ended-traces

- - - - -
ef123167 by Ronan Lamy at 2021-03-19T19:16:07+00:00
Implement HPy_tp_richcompare

--HG--
branch : hpy-update-to-facdb01

- - - - -
652818d8 by Carl Friedrich Bolz-Tereick at 2021-03-20T20:25:55+01:00
(cfbolz, twitch): make int.__new__ call __index__ if the argument doesn't have
__int__

--HG--
branch : py3.8

- - - - -
049de51a by Carl Friedrich Bolz-Tereick at 2021-03-20T20:47:58+01:00
(cfbolz, twitch): support __index__ in the constructors of float and complex as well

--HG--
branch : py3.8

- - - - -
c71db0d2 by Carl Friedrich Bolz-Tereick at 2021-03-20T21:33:05+01:00
(cfbolz, twitch): add sep and bytes_per_sep keyword arguments to the .hex
methods of bytes, bytearray, memoryobject

--HG--
branch : py3.8

- - - - -
f14f77e7 by Ronan Lamy at 2021-03-23T17:49:51+00:00
fix comment in slot table

--HG--
branch : hpy-update-to-facdb01

- - - - -
ddea6358 by Carl Friedrich Bolz-Tereick at 2021-03-24T10:08:05+01:00
fix, maybe

--HG--
branch : py3.8

- - - - -
c39d3107 by Ronan Lamy at 2021-03-26T20:43:32+00:00
Implement HPy_bf_getbuffer slot (but ignore releasebuffer for now)

Note that on PyPy, implementing HPy_tp_new is required to be able
to use HPy_CAST. Hence the changes in test_buffer().

--HG--
branch : hpy-update-to-facdb01

- - - - -
2bdad52c by Carl Friedrich Bolz-Tereick at 2021-03-27T20:29:33+01:00
(cfbolz, twitch): attempt at finding a more incrementally testable way to
implement the new 3.8 opcodes

the problem is that the bytecode changes are very much all-or-nothing and thus
hard to implement and test incrementally. here I make a copy of everything with
the goal to be able to test the changes in isolation

--HG--
branch : py3.8-new-opcodes

- - - - -
83bfd9f2 by Carl Friedrich Bolz-Tereick at 2021-03-27T20:41:01+01:00
another copied file

--HG--
branch : py3.8-new-opcodes

- - - - -
de07499e by Carl Friedrich Bolz-Tereick at 2021-03-27T21:16:12+01:00
(cfbolz, twitch): hack hack hack until we can run the first simple loop in the
new parallel universe. without using SETUP_LOOP and POP_BLOCK!

--HG--
branch : py3.8-new-opcodes

- - - - -
1e69ebe6 by Carl Friedrich Bolz-Tereick at 2021-03-27T21:50:50+01:00
(cfbolz, twitch): implement break and continue in the new world

--HG--
branch : py3.8-new-opcodes

- - - - -
0881b374 by Carl Friedrich Bolz-Tereick at 2021-03-30T16:34:31+02:00
start implementing try: finally:

--HG--
branch : py3.8-new-opcodes

- - - - -
f4df6610 by Carl Friedrich Bolz-Tereick at 2021-03-30T17:34:30+02:00
test break in except: handler

--HG--
branch : py3.8-new-opcodes

- - - - -
d67ae65e by Carl Friedrich Bolz-Tereick at 2021-03-30T17:39:07+02:00
test another case

--HG--
branch : py3.8-new-opcodes

- - - - -
9446076b by Carl Friedrich Bolz-Tereick at 2021-03-30T22:08:08+02:00
adjust to pypy-specificities

--HG--
branch : py3.8-new-opcodes

- - - - -
55fe07da by Carl Friedrich Bolz-Tereick at 2021-03-30T22:48:20+02:00
continue in finally

--HG--
branch : py3.8-new-opcodes

- - - - -
caafd611 by Carl Friedrich Bolz-Tereick at 2021-03-30T23:03:09+02:00
more convolutions

--HG--
branch : py3.8-new-opcodes

- - - - -
1117ed14 by Carl Friedrich Bolz-Tereick at 2021-03-30T23:07:43+02:00
except body unwinding

--HG--
branch : py3.8-new-opcodes

- - - - -
c19483c8 by Carl Friedrich Bolz-Tereick at 2021-03-31T11:55:31+02:00
start supporting with

--HG--
branch : py3.8-new-opcodes

- - - - -
8c50ae06 by Carl Friedrich Bolz-Tereick at 2021-03-31T12:02:51+02:00
unwind with blocks

--HG--
branch : py3.8-new-opcodes

- - - - -
76526021 by Carl Friedrich Bolz-Tereick at 2021-03-31T23:13:11+02:00
fix problem in named except blocks

--HG--
branch : py3.8-new-opcodes

- - - - -
542de198 by Carl Friedrich Bolz-Tereick at 2021-03-31T23:13:53+02:00
support async for loops

--HG--
branch : py3.8-new-opcodes

- - - - -
08284c2b by Carl Friedrich Bolz-Tereick at 2021-03-31T23:17:05+02:00
there is only one kind of unroller left

--HG--
branch : py3.8-new-opcodes

- - - - -
6e776eb0 by Carl Friedrich Bolz-Tereick at 2021-04-01T07:51:43+02:00
update copy of stdlib opcode

--HG--
branch : py3.8-new-opcodes

- - - - -
d18a901f by Carl Friedrich Bolz-Tereick at 2021-04-01T13:46:10+02:00
start with async generators

--HG--
branch : py3.8-new-opcodes

- - - - -
191ca21d by Carl Friedrich Bolz-Tereick at 2021-04-01T14:03:56+02:00
async with support

--HG--
branch : py3.8-new-opcodes

- - - - -
c2d1f17a by Carl Friedrich Bolz-Tereick at 2021-04-03T07:37:57+02:00
fix top level await problems, maybe?

--HG--
branch : py3.8

- - - - -
fd47ca64 by Carl Friedrich Bolz-Tereick at 2021-04-03T07:40:12+02:00
merge py3.8

--HG--
branch : py3.8-new-opcodes

- - - - -
b8864861 by Carl Friedrich Bolz-Tereick at 2021-04-03T07:57:10+02:00
move the content back to the original files (intentionally not using hg mv, to
get a consistent long history without having to use copy-tracking. to look into
the details of these changes, look at the commits of the py3.8-new-opcodes
branch)

--HG--
branch : py3.8-new-opcodes

- - - - -
74030122 by Carl Friedrich Bolz-Tereick at 2021-04-03T08:14:37+02:00
cleanup

--HG--
branch : py3.8-new-opcodes

- - - - -
cad31bfe by Carl Friedrich Bolz-Tereick at 2021-04-03T08:20:23+02:00
add repr

--HG--
branch : py3.8-new-opcodes

- - - - -
d6cd83ab by Carl Friedrich Bolz-Tereick at 2021-04-03T08:39:13+02:00
this just fails nowadays

--HG--
branch : py3.8-new-opcodes

- - - - -
1cb9730a by Carl Friedrich Bolz-Tereick at 2021-04-03T08:44:51+02:00
those two tests just work now

--HG--
branch : py3.8-new-opcodes

- - - - -
511653a0 by Carl Friedrich Bolz-Tereick at 2021-04-03T08:53:09+02:00
woops, rescue tests

--HG--
branch : py3.8-new-opcodes

- - - - -
06e73639 by Carl Friedrich Bolz-Tereick at 2021-04-03T12:40:48+02:00
fix stack effect of POP_FINALLY

--HG--
branch : py3.8-new-opcodes

- - - - -
0dbe7a04 by Carl Friedrich Bolz-Tereick at 2021-04-03T12:51:00+02:00
if False is constant-folded nowadays

--HG--
branch : py3.8-new-opcodes

- - - - -
012e95f5 by Carl Friedrich Bolz-Tereick at 2021-04-04T08:55:06+02:00
a bit of cleanup, fix translation

--HG--
branch : py3.8-new-opcodes

- - - - -
45471d28 by Carl Friedrich Bolz-Tereick at 2021-04-06T20:55:24+02:00
I don't know why this is happening only on this branch, but fix translation here for now

--HG--
branch : py3.8-new-opcodes

- - - - -
a60fabac by Carl Friedrich Bolz-Tereick at 2021-04-06T20:56:43+02:00
undo some of the simplifications, unrolling the block stack is still needed

--HG--
branch : py3.8-new-opcodes

- - - - -
f2906a1b by Carl Friedrich Bolz-Tereick at 2021-04-06T21:46:20+02:00
fix calling the unraisable hook in the case of __del__: report the *unbound*
not bound __del__ method, like CPython, to prevent having custom hooks
resurrect the object.

--HG--
branch : py3.8

- - - - -
a26d74e5 by Ronan Lamy at 2021-04-07T02:53:33+01:00
Handle HPy_bf_releasebuffer

Note: the implementation is incomplete and only works in simple cases
but it's enough to pass the tests!

--HG--
branch : hpy-update-to-facdb01

- - - - -
09bf7c16 by Antonio Cuni at 2021-04-07T10:36:21+02:00
We officially tagged hpy rev facdb01 as 0.0.2

--HG--
branch : hpy-0.0.2

- - - - -
99dd30fd by Antonio Cuni at 2021-04-07T12:29:26+02:00
Improve ./update_vendored.sh

It happens too often that we need to slightly edit (either temporarily or not)
the _vendored files: now we can collect a set of patches and apply them
automatically. Ideally, it should always be possible to run ./update_vendored
to the same revision without worrying to overwrite local changes.

--HG--
branch : hpy-0.0.2

- - - - -
d72d0c37 by Antonio Cuni at 2021-04-07T12:32:51+02:00
Re-run ./updated_vendored.sh on the same revision as before facdb01.

The differences are:

1. update_vendored now deletes the conftest

2. update_vendored now creates test/_vendored/debug/__init__.py (with a comment)

3. in the meantime, HPy rev facdb01 was tagged as 0.0.2, so version.py and
   version.h changed

--HG--
branch : hpy-0.0.2

- - - - -
d1b4e14a by Antonio Cuni at 2021-04-07T16:46:11+02:00
make it possible to run update_vendored from other directories

--HG--
branch : hpy-0.0.2

- - - - -
76734f12 by Antonio Cuni at 2021-04-07T16:48:31+02:00
make it easier to find update_vendored.sh when you read these files

--HG--
branch : hpy-0.0.2

- - - - -
ccb7775c by Antonio Cuni at 2021-04-07T17:30:18+02:00
copy also hpy/debug/src

--HG--
branch : hpy-0.0.2

- - - - -
e7f81cf9 by Antonio Cuni at 2021-04-07T17:32:03+02:00
run ./update_vendored.sh again, to import the debug/src files

--HG--
branch : hpy-0.0.2

- - - - -
9d9694ea by Carl Friedrich Bolz-Tereick at 2021-04-07T21:12:01+02:00
merge py3.7

--HG--
branch : py3.8

- - - - -
cdc28d77 by Carl Friedrich Bolz-Tereick at 2021-04-07T21:17:48+02:00
bump magic on the branch

--HG--
branch : py3.8-new-opcodes

- - - - -
b1881a85 by Carl Friedrich Bolz-Tereick at 2021-04-07T21:19:41+02:00
merge py3.8

--HG--
branch : py3.8-new-opcodes

- - - - -
d45fc6e6 by Antonio Cuni at 2021-04-07T21:47:46+02:00
WIP: include the C files of the debug mode, and hack around until the eci works

--HG--
branch : hpy-0.0.2

- - - - -
e3b52a37 by Antonio Cuni at 2021-04-07T21:58:33+02:00
make it possible to access the  _debug module as hpy.universal._debug

--HG--
branch : hpy-0.0.2

- - - - -
7e3ccc3c by Antonio Cuni at 2021-04-08T14:46:47+02:00
WIP: we need to special-case HPyDebugTest to allow applevel tests to use self.make_leak_module()

--HG--
branch : hpy-0.0.2

- - - - -
af4663e5 by Carl Friedrich Bolz-Tereick at 2021-04-08T20:14:44+02:00
fix

--HG--
branch : py3.8-new-opcodes

- - - - -
827729ab by Carl Friedrich Bolz-Tereick at 2021-04-08T20:39:53+02:00
merge default

--HG--
branch : py3.8

- - - - -
e29abb2f by Carl Friedrich Bolz-Tereick at 2021-04-08T22:35:37+02:00
follow cpython exactly

--HG--
branch : py3.8

- - - - -
48d6bc74 by Carl Friedrich Bolz-Tereick at 2021-04-08T22:36:18+02:00
merge py3.8

--HG--
branch : py3.8-new-opcodes

- - - - -
8317f074 by Antonio Cuni at 2021-04-09T12:54:41+02:00
make it possible to skip the version check when running update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
83afc632 by Antonio Cuni at 2021-04-09T12:55:56+02:00
add a better comment

--HG--
branch : hpy-0.0.2

- - - - -
a7fe7cd2 by Antonio Cuni at 2021-04-09T13:01:37+02:00
pypy apptests cannot uses fixtures as method parameters. Work around this limitation

--HG--
branch : hpy-0.0.2

- - - - -
97f01509 by Antonio Cuni at 2021-04-09T16:53:15+02:00
Manually managing patches over hpy-0.0.2 is too annoying, give up for now..

The relevant changes are being committed to the antocuni/0.0.2-fixes-for-pypy
git branch, and from now I will regularly ./update_vendored.sh from there. The
most annoying thing is that now version.py and version.h contains a version
called "0.0.3.devX...", while in theory this is still version 0.0.2. I'll take
care of this mess later :(

--HG--
branch : hpy-0.0.2

- - - - -
86628e50 by Antonio Cuni at 2021-04-09T16:56:19+02:00
WIP: implement _hpy_universal.load(..., debug=True)

--HG--
branch : hpy-0.0.2

- - - - -
599d64b9 by Antonio Cuni at 2021-04-09T17:04:08+02:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
0d7ee11c by Antonio Cuni at 2021-04-09T17:48:54+02:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
bd1728a6 by Antonio Cuni at 2021-04-09T17:50:23+02:00
WIP: use the debug ctx when loading a module. However, this is still not working because ATM we always pass state.ctx when calling function/methods, we need to fix that

--HG--
branch : hpy-0.0.2

- - - - -
1189c756 by Antonio Cuni at 2021-04-10T18:00:12+02:00
WIP: introduce State.uctx/dctx and make it possible to override some of the
debug-mode functions

--HG--
branch : hpy-0.0.2

- - - - -
64b6192d by Antonio Cuni at 2021-04-10T18:52:12+02:00
introduce State.get(space) instead of space.fromcache(State), I think it's nicer and clearer

--HG--
branch : hpy-0.0.2

- - - - -
fa3ef080 by Antonio Cuni at 2021-04-10T20:37:06+02:00
automatically pass the state to all API functions. In the next commits we will move the HandleManager to the state, so it will be needed everywhere

--HG--
branch : hpy-0.0.2

- - - - -
9d384070 by Antonio Cuni at 2021-04-10T20:53:38+02:00
WIP: start to fix test_ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
a7c09d14 by Antonio Cuni at 2021-04-10T21:36:35+02:00
WIP

--HG--
branch : hpy-0.0.2

- - - - -
a190c5d3 by Antonio Cuni at 2021-04-11T00:03:03+02:00
progress towards fixing ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
283a1016 by Antonio Cuni at 2021-04-11T11:27:15+02:00
this is no longer needed

--HG--
branch : hpy-0.0.2

- - - - -
e2963d72 by Antonio Cuni at 2021-04-11T11:55:13+02:00
this got lost by mistake

--HG--
branch : hpy-0.0.2

- - - - -
108e6c00 by Antonio Cuni at 2021-04-11T16:23:04+02:00
manually apply commit e24d35023622 on this branch. This fixes a problem in ztranslation

--HG--
branch : hpy-0.0.2

- - - - -
4fe459dd by Antonio Cuni at 2021-04-11T18:04:46+02:00
we also need to declare these functions, else they can't be called from other C files after translation

--HG--
branch : hpy-0.0.2

- - - - -
98a1b3f3 by Antonio Cuni at 2021-04-11T18:07:57+02:00
add the last missing include dir. This finally fixes ztranslation :)

--HG--
branch : hpy-0.0.2

- - - - -
b3432e0b by Antonio Cuni at 2021-04-11T18:23:18+02:00
refactor handles.using: move the main implementation directly into the HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
37ba065e by Antonio Cuni at 2021-04-11T18:59:50+02:00
WIP: start a refactoring to kill the old "global" API handles.{new,deref,...},
and replace it with state.handles.{new,deref,...}.

The idea is that W_ExtensionFunction and W_SlotWrapper will need to use a
different HandleManager when we are using the debug mode, so this is a first
step in that direction.

I am going to complete the refactoring in few steps to keep the diff
maneageable. This commit contains:

1. the removal of the old API
2. a blind query/replace to substitute handles.xxx(space, ...) with state.handles.xxx(...)

The code is still broken though, will be fixed in the next commits

--HG--
branch : hpy-0.0.2

- - - - -
268f4f5b by Antonio Cuni at 2021-04-11T19:27:59+02:00
Complete the refactoring started by 4932f7330a27.

W_ExtensionFunction and W_SlotWrapper save their own version of handles and
ctx on self. This way it should be easy to use dctx and debug_handles to make
them aware of the debug mode.

--HG--
branch : hpy-0.0.2

- - - - -
05afa28b by Antonio Cuni at 2021-04-11T23:48:41+02:00
more fixes after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
a8498587 by Antonio Cuni at 2021-04-11T23:55:22+02:00
one more fix

--HG--
branch : hpy-0.0.2

- - - - -
22994f67 by Antonio Cuni at 2021-04-11T23:58:22+02:00
hopefully this is the last missing fix

--HG--
branch : hpy-0.0.2

- - - - -
e733525d by Antonio Cuni at 2021-04-12T08:53:44+02:00
./update_vendored.sh again, to get hpy_debug_wrap_handle

--HG--
branch : hpy-0.0.2

- - - - -
155451b4 by Antonio Cuni at 2021-04-12T08:55:42+02:00
expose llapi.hpy_debug_wrap_handle

--HG--
branch : hpy-0.0.2

- - - - -
874da67f by Antonio Cuni at 2021-04-12T10:12:16+02:00
Introduce DebugHandleManager, which knows how to wrap/unwrap debug handles,
and start to use it where appropriate. See the big comment inside
interp_hpy.py for more details of what happens.

debug/test_handles.py:test_ctx_name finally passes!

--HG--
branch : hpy-0.0.2

- - - - -
1b96bdc6 by Antonio Cuni at 2021-04-12T10:19:18+02:00
Rename these functions because the exising names were too confusing:

- interp_hpy.startup() initializes the whole _hpy_universal module

- init_hpy_module calls HPyInit_foo when loading an .hpy.so

- _hpymodule_create implements HPyModule_Create

--HG--
branch : hpy-0.0.2

- - - - -
2b61f46e by Antonio Cuni at 2021-04-12T10:25:47+02:00
kill State.get_ctx: get_handle_manager is enough

--HG--
branch : hpy-0.0.2

- - - - -
27b2ff6a by Carl Friedrich Bolz-Tereick at 2021-04-12T20:53:03+02:00
test and fix

--HG--
branch : py3.8-new-opcodes

- - - - -
1801d361 by Carl Friedrich Bolz-Tereick at 2021-04-13T09:34:54+02:00
disable setting the line on frames for now (needs careful adaptation to the new
bytecode format)

--HG--
branch : py3.8-new-opcodes

- - - - -
707a5ae3 by Carl Friedrich Bolz-Tereick at 2021-04-13T09:52:28+02:00
fix

--HG--
branch : py3.8-new-opcodes

- - - - -
9507e12d by Antonio Cuni at 2021-04-14T23:10:40+02:00
Fix and run ./update_vedored.sh.

There has been a refactoring of how versions are handled on the git side. The
new situation is the following:

- git commit facdb01 on master is tagged as 0.0.2rc1

- there is a git branch called release/0.0.2 which branched from there

This pypy branch is now following the corresponding hpy branch. The content of
the files is still the same, so this run of ./update_vendored.sh just changes
the computed version number.

--HG--
branch : hpy-0.0.2

- - - - -
bbeae382 by Antonio Cuni at 2021-04-14T23:42:14+02:00
introduce the initargs fixture also here, to ensure that all tests are run with and without debug mode

--HG--
branch : hpy-0.0.2

- - - - -
beead6eb by Antonio Cuni at 2021-04-15T12:16:18+02:00
Small refactoring in how we setup app-level tests.

We need to set the applevel version of self.compiler.hpy_abi to the correct
value, but setup_method is called before initargs. To solve, we kill
setup_method and move all the logic inside initargs.

test_00_basic passes in both universal and debug mode

--HG--
branch : hpy-0.0.2

- - - - -
07b7076d by Antonio Cuni at 2021-04-15T13:36:37+02:00
WIP: introduce the debug version of HPyType_FromSpec and fix tp_new

--HG--
branch : hpy-0.0.2

- - - - -
2fada973 by Antonio Cuni at 2021-04-15T13:51:06+02:00
WIP: kill state.handles, since it is too confusing compared to the various
self.handles and it's too easy to use it by mistake.

Instead:

  1. introduce state.u_handles and state.d_handles, so that it's clear that
     they are for universal and debug handles

  2. the API functions receive directly the proper HandleManager instead of
     receiving the state. So, normal API functions get u_handles and DEBUG API
     functions get d_handles

test_noop passes, but all the rest is broken. The next commit will do a big
search&replace

--HG--
branch : hpy-0.0.2

- - - - -
be82aa44 by Carl Friedrich Bolz-Tereick at 2021-04-16T15:15:49+02:00
merge py3.8

--HG--
branch : py3.8-reversed-dict

- - - - -
64ff9bbe by Carl Friedrich Bolz-Tereick at 2021-04-16T15:45:30+02:00
two more reversed implementations

--HG--
branch : py3.8-reversed-dict

- - - - -
a9f0ea8d by Ronan Lamy at 2021-04-16T17:32:21+01:00
fix test_handles.py

--HG--
branch : hpy-0.0.2

- - - - -
b282ff4e by Carl Friedrich Bolz-Tereick at 2021-04-16T18:46:47+02:00
fix mapdict reversed dict iteration

--HG--
branch : py3.8-reversed-dict

- - - - -
4bcdbc9a by Ronan Lamy at 2021-04-16T18:27:42+01:00
fix W_tp_new_wrapper.__init__()

--HG--
branch : hpy-0.0.2

- - - - -
327ce5e4 by Ronan Lamy at 2021-04-16T18:49:07+01:00
Add missing error message

--HG--
branch : hpy-0.0.2

- - - - -
130b7f4e by Carl Friedrich Bolz-Tereick at 2021-04-16T22:23:44+02:00
document branch

--HG--
branch : py3.8-reversed-dict

- - - - -
9f02d039 by Carl Friedrich Bolz-Tereick at 2021-04-17T09:45:54+02:00
merge py3.8-reversed-dict: support reversed(dict)

--HG--
branch : py3.8

- - - - -
c76392b4 by Carl Friedrich Bolz-Tereick at 2021-04-20T12:13:48+02:00
starting to support end positions in ast nodes

--HG--
branch : py3.8-ast-end-positions

- - - - -
f06c69b1 by Carl Friedrich Bolz-Tereick at 2021-04-20T13:11:35+02:00
test for positions

--HG--
branch : py3.8-ast-end-positions

- - - - -
0d6ce2c2 by Carl Friedrich Bolz-Tereick at 2021-04-20T13:14:53+02:00
some more positions

--HG--
branch : py3.8-ast-end-positions

- - - - -
603c66ce by Carl Friedrich Bolz-Tereick at 2021-04-20T13:23:05+02:00
fix parser module

--HG--
branch : py3.8-ast-end-positions

- - - - -
d954ebb9 by Carl Friedrich Bolz-Tereick at 2021-04-20T15:49:18+02:00
fix typo

--HG--
branch : py3.8-ast-end-positions

- - - - -
1d95ef96 by Carl Friedrich Bolz-Tereick at 2021-04-20T19:45:33+02:00
test and fix for function end positions

--HG--
branch : py3.8-ast-end-positions

- - - - -
1c70eb16 by Carl Friedrich Bolz-Tereick at 2021-04-21T11:13:54+02:00
work in progress: start fixing a few of the positional errors

--HG--
branch : py3.8-ast-end-positions

- - - - -
5a56c226 by Carl Friedrich Bolz-Tereick at 2021-04-21T12:59:28+02:00
implement negative separators

--HG--
branch : py3.8

- - - - -
c88208a4 by Carl Friedrich Bolz-Tereick at 2021-04-21T19:27:21+02:00
fix translation

--HG--
branch : py3.8

- - - - -
62052580 by Carl Friedrich Bolz-Tereick at 2021-04-21T20:20:07+02:00
fix test_iterator_pickling2 in test_bytes, see
https://bugs.python.org/issue43907

--HG--
branch : py3.8

- - - - -
d5c675f0 by Carl Friedrich Bolz-Tereick at 2021-04-21T20:33:00+02:00
fix

--HG--
branch : py3.8

- - - - -
f02e20bd by Ronan Lamy at 2021-04-22T03:39:48+01:00
Hack debug context creation to allow for multiple ones during testing

--HG--
branch : hpy-0.0.2

- - - - -
90a8346a by Ronan Lamy at 2021-04-22T15:12:13+01:00
fix

--HG--
branch : hpy-0.0.2

- - - - -
f827b7ec by Ronan Lamy at 2021-04-22T15:49:21+01:00
Fix translation issues in HPyBuffer

--HG--
branch : hpy-0.0.2

- - - - -
fcb4ad45 by Ronan Lamy at 2021-04-22T18:28:08+01:00
Make sure the bridge functions match the current space

--HG--
branch : hpy-0.0.2

- - - - -
60b294ef by Ronan Lamy at 2021-04-23T14:06:59+01:00
translation fix

--HG--
branch : hpy-0.0.2

- - - - -
7d340de7 by Ronan Lamy at 2021-04-23T14:36:44+01:00
Set _nowrapper=True for all debug mode llexternals

This ensures that they don't release the GIL and allows them to be used
in finalizers.

--HG--
branch : hpy-0.0.2

- - - - -
9571b70d by Ronan Lamy at 2021-04-23T18:22:21+01:00
handles.using() can't be inlined any more :-(

--HG--
branch : hpy-0.0.2

- - - - -
7b270e76 by Ronan Lamy at 2021-04-26T18:03:10+01:00
Split off the debug mode wrappers into their own file,
which somehow fixes compilation.

--HG--
branch : hpy-0.0.2

- - - - -
aa65d76e by Carl Friedrich Bolz-Tereick at 2021-04-27T11:39:13+02:00
start whacking to make things slowly work on python3 - window comes up, still a
bit broken

--HG--
branch : dotviewer-python3

- - - - -
2a02c10d by Carl Friedrich Bolz-Tereick at 2021-04-27T11:43:12+02:00
kill debug output

--HG--
branch : dotviewer-python3

- - - - -
4faeb81d by Carl Friedrich Bolz-Tereick at 2021-04-27T11:44:27+02:00
fix

--HG--
branch : dotviewer-python3

- - - - -
b5e6893e by Ronan Lamy at 2021-04-27T20:17:45+01:00
fix translation, hopefully

--HG--
branch : hpy-0.0.2

- - - - -
2fe3b06c by Carl Friedrich Bolz-Tereick at 2021-04-28T10:07:57+02:00
more hacking, almost works

--HG--
branch : dotviewer-python3

- - - - -
8acda9cb by Carl Friedrich Bolz-Tereick at 2021-04-28T10:08:52+02:00
add a __main__.py

--HG--
branch : dotviewer-python3

- - - - -
30c52109 by Ronan Lamy at 2021-04-28T16:23:59+01:00
./update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
cade193e by Ronan Lamy at 2021-04-28T20:19:54+01:00
Make update_vendored.sh work from any dir and be able to patch at any location

--HG--
branch : hpy-0.0.2

- - - - -
ac579d3c by Ronan Lamy at 2021-04-28T22:09:46+01:00
Use update_vendored.sh to copy the files to extra_tests, copy also hpy.debug

--HG--
branch : hpy-0.0.2

- - - - -
38bbc762 by Ronan Lamy at 2021-04-28T22:22:53+01:00
Explicitly zero dctx._private

--HG--
branch : hpy-0.0.2

- - - - -
bb11edb3 by Carl Friedrich Bolz-Tereick at 2021-04-29T13:47:12+02:00
support a lot more shapes

--HG--
branch : dotviewer-python3

- - - - -
0f432b74 by Carl Friedrich Bolz-Tereick at 2021-04-29T14:02:25+02:00
sign error

--HG--
branch : dotviewer-python3

- - - - -
8d3ba68f by Ronan Lamy at 2021-04-29T17:42:34+01:00
update_vendored.sh: copy hpy.devel to lib_pypy and show status of the whole repo

--HG--
branch : hpy-0.0.2

- - - - -
be5b558e by Ronan Lamy at 2021-04-29T17:44:29+01:00
Run update_vendored.sh

--HG--
branch : hpy-0.0.2

- - - - -
ee02ff6b by Carl Friedrich Bolz-Tereick at 2021-04-29T19:59:08+02:00
start supporting records

--HG--
branch : dotviewer-python3

- - - - -
fa0981f8 by Carl Friedrich Bolz-Tereick at 2021-04-29T21:57:33+02:00
bit too much code, but records almost work

--HG--
branch : dotviewer-python3

- - - - -
ad7e22a5 by Carl Friedrich Bolz-Tereick at 2021-04-29T22:17:19+02:00
highlight the searched string

--HG--
branch : dotviewer-python3

- - - - -
a96e4cc6 by Carl Friedrich Bolz-Tereick at 2021-04-29T22:17:35+02:00
don't show edges with style=invis

--HG--
branch : dotviewer-python3

- - - - -
191260e5 by Carl Friedrich Bolz-Tereick at 2021-04-30T12:38:05+02:00
add a test for records

--HG--
branch : dotviewer-python3

- - - - -
ddca4620 by Antonio Cuni at 2021-05-01T10:14:52+02:00
WIP: search&replace to introduce the new handles argument to all existing API functions

--HG--
branch : hpy-0.0.2

- - - - -
376d23a9 by Antonio Cuni at 2021-05-01T11:12:02+02:00
merge commit eb10a0b62fe3 into the latest head.

Commit eb10a0b62fe3 was lying around in my computer because I forgot to push
it weeks ago :(.

Note what happened BEFORE this merge: W_ExtensionFunction did:
    handles = State.get(space).handles

so it always took the universal HandleManager: this means that when we called
a method (as opposed to a module-level function) we always passed the uctx,
even if we loaded the module with debug=True. So the [debug] tests passed, but
many were not actually using the debug ctx

This is also the reason why state.handles is marked as "XXX temporary": we
should kill it and make sure to call state.get_handle_manager(debug=...)
whenever we need it

--HG--
branch : hpy-0.0.2

- - - - -
8aace204 by Antonio Cuni at 2021-05-03T11:09:39+02:00
WIP: hg merge cfe54c8091a7, to pass (space, handles, ...) instead of (space, state, ...) to API functions.

This was a refactoring which I had lying around in my repo but was not pushed
before, so the commits diverged. See the commit message of cfe54c8091a7 for
more details.

--HG--
branch : hpy-0.0.2

- - - - -
101233e7 by Antonio Cuni at 2021-05-03T11:15:20+02:00
WIP: fix HPyType_FromSpec: now we no longer need to explicitly pass debug=True or debug=False, because 'handles' automatically contains the appropriate HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
67183ce8 by Antonio Cuni at 2021-05-03T11:23:45+02:00
WIP: handles is no longer a module but an instance of HandleManager

this is an automatica search&replace to kill all '... import handles' and turn
'state.handles.*' into 'handles.*', because 'handles' is now a HandleManager
which is passed around

--HG--
branch : hpy-0.0.2

- - - - -
c391a4d1 by Antonio Cuni at 2021-05-03T11:26:29+02:00
WIP: rename _hpy_universal.handles into handlemanager, to avoid confusion with 'handles' which in most places is now an instance of HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
c5b5e0cd by Antonio Cuni at 2021-05-03T11:33:41+02:00
WIP: more progress towards fixing test_hpytype.py, by passing around 'handles'
instead of relying on 'state'

--HG--
branch : hpy-0.0.2

- - - - -
4211456d by Antonio Cuni at 2021-05-03T11:41:43+02:00
bah, I still had handles.pyc laying around so there were tons of '... import
handles' which worked by mistaked. Ensure to kill all the leftovers

--HG--
branch : hpy-0.0.2

- - - - -
c8069638 by Antonio Cuni at 2021-05-03T16:08:34+02:00
fix getset properties after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
b9e01cbd by Antonio Cuni at 2021-05-03T16:09:18+02:00
we can finally kill this

--HG--
branch : hpy-0.0.2

- - - - -
62d20217 by Antonio Cuni at 2021-05-03T16:11:16+02:00
re-enable and fix this

--HG--
branch : hpy-0.0.2

- - - - -
1e3ce184 by Antonio Cuni at 2021-05-03T16:14:11+02:00
fix interp_tracker

--HG--
branch : hpy-0.0.2

- - - - -
bed328eb by Antonio Cuni at 2021-05-03T16:18:06+02:00
fix this after the refactoring

--HG--
branch : hpy-0.0.2

- - - - -
924a18a8 by Antonio Cuni at 2021-05-03T16:52:32+02:00
implement HPy_Dump

--HG--
branch : hpy-0.0.2

- - - - -
0b3d78d9 by Carl Friedrich Bolz-Tereick at 2021-05-03T22:26:18+02:00
support for escaping \{, \}, html entities in records

--HG--
branch : dotviewer-python3

- - - - -
57fc8bc9 by Ronan Lamy at 2021-05-04T14:36:47+01:00
Expose _hpy_universal._debug as hpy.universal._debug

--HG--
branch : hpy-0.0.2

- - - - -
7b286552 by Ronan Lamy at 2021-05-04T14:39:49+01:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
5c8eb6b9 by Ronan Lamy at 2021-05-04T15:51:55+01:00
Stop tracking debug handles when closing them

--HG--
branch : hpy-0.0.2

- - - - -
fa8258ad by Ronan Lamy at 2021-05-04T17:30:55+01:00
Also reinitialise g_debug_ctx before each test

--HG--
branch : hpy-0.0.2

- - - - -
711f53f1 by Ronan Lamy at 2021-05-04T17:47:39+01:00
fix test

--HG--
branch : hpy-0.0.2

- - - - -
db680a26 by Carl Friedrich Bolz-Tereick at 2021-05-04T22:07:49+02:00
switch to FiraMath, for better symbol unicode support

--HG--
branch : dotviewer-python3

- - - - -
5940ac63 by Antonio Cuni at 2021-05-05T11:48:23+02:00
./update_vendored to 1d5d4c5

--HG--
branch : hpy-0.0.2

- - - - -
c3f9cdc1 by Antonio Cuni at 2021-05-05T11:59:38+02:00
fix names after the recent update_vendored:

  - hpy_debug_wrap_handle is now called hpy_debug_open_handle

  - kill our custom hpy_debug_untrack and use the official
    hpy_debug_close_handle

--HG--
branch : hpy-0.0.2

- - - - -
3c302ab1 by Antonio Cuni at 2021-05-05T12:01:06+02:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
0edce40b by Ronan Lamy at 2021-05-05T18:02:21+01:00
dirty fix for extra_tests/hpy_tests/ (should use update_vendored.sh patches instead)

--HG--
branch : hpy-0.0.2

- - - - -
837a64fa by Ronan Lamy at 2021-05-05T18:04:15+01:00
merge heads

--HG--
branch : hpy-0.0.2

- - - - -
8a9be2af by Ronan Lamy at 2021-05-05T19:32:19+01:00
Fix arguments leaking when an HPyFunc_VARARGS/KEYWORDS function raises

--HG--
branch : hpy-0.0.2

- - - - -
477c1a1f by Carl Friedrich Bolz-Tereick at 2021-05-07T13:00:20+02:00
hide pygame message, as it can mess up the communication with the server

--HG--
branch : dotviewer-python3

- - - - -
6aa94d8f by Ronan Lamy at 2021-05-12T20:41:59+01:00
Allocate uctx and dctx statically

--HG--
branch : hpy-0.0.2

- - - - -
30183868 by Ronan Lamy at 2021-05-13T15:16:11+01:00
Move this check from the rtyper to the annotator

--HG--
branch : hpy-0.0.2

- - - - -
9f609b42 by Ronan Lamy at 2021-05-14T16:03:08+01:00
Stick the space onto HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
21a6e885 by Carl Friedrich Bolz-Tereick at 2021-05-15T16:35:28+02:00
(cfbolz, Karl G. Ulbrich): fix more python2-isms, in particular search

--HG--
branch : dotviewer-python3

- - - - -
b0a4b34b by Ronan Lamy at 2021-05-17T17:46:36+01:00
Move ctx setup from the State to the HandleManager

--HG--
branch : hpy-0.0.2

- - - - -
99136b21 by Ronan Lamy at 2021-05-17T18:49:48+01:00
specialize module creation

--HG--
branch : hpy-0.0.2

- - - - -
97b02a27 by Ronan Lamy at 2021-05-18T15:28:23+01:00
Specialize more stuff.

--HG--
branch : hpy-0.0.2

- - - - -
ac523e10 by Ronan Lamy at 2021-05-19T18:04:25+01:00
Test and fix debug mode not being applied to methods

--HG--
branch : hpy-0.0.2

- - - - -
dc7fb9c6 by Ronan Lamy at 2021-05-20T17:26:13+01:00
specialize W_tp_new_wrapper

--HG--
branch : hpy-0.0.2

- - - - -
f6515790 by Ronan Lamy at 2021-05-20T20:07:31+01:00
fix some translation nonsense related to interpindirect2app

--HG--
branch : hpy-0.0.2

- - - - -
c61aeff7 by Ronan Lamy at 2021-05-21T04:28:24+01:00
specialize the slot wrappers

--HG--
branch : hpy-0.0.2

- - - - -
66421ef3 by Ronan Lamy at 2021-05-21T05:37:30+01:00
specialize HPyBuffer

--HG--
branch : hpy-0.0.2

- - - - -
57a97a22 by Ronan Lamy at 2021-05-27T19:20:17+01:00
Update patches for the changes in extra_tests/

--HG--
branch : hpy-0.0.2

- - - - -
7a8027cc by Matti Picus at 2021-05-30T15:32:57+03:00
update to stdlib3.8.10

--HG--
branch : vendor/stdlib-3.8

- - - - -
02f0707d by Matti Picus at 2021-05-30T16:07:31+03:00
merge branch to check stdlib3.8.10

--HG--
branch : py3.8-stdlib3.8.10

- - - - -
1ee7041e by Matti Picus at 2021-05-31T22:00:51+03:00
(cfbolz, mattip) merge py3.7 into branch

--HG--
branch : py3.8

- - - - -
9448f469 by Matti Picus at 2021-05-31T22:08:11+03:00
(cfbolz, mattip) fix merge

--HG--
branch : py3.8

- - - - -
02f57bcd by Matti Picus at 2021-05-31T22:26:29+03:00
merge py3.8-stdlib3.8.10 which updates the stdlib to 3.8.10

--HG--
branch : py3.8

- - - - -
94b3b824 by Matti Picus at 2021-06-01T12:33:49+03:00
push importing of _frozen_importlib to the end, since it needs other builtins

Changed for bpo-43105: _frozen_importlib imports _bootstrap_external, which
imports many builtins

--HG--
branch : py3.8

- - - - -
35cff700 by Carl Friedrich Bolz-Tereick at 2021-06-04T13:04:47+02:00
merge py3.8-new-opcodes: switch to the new opcode implementation

this breaks setting frame.f_lineno again, but as usual it's a mess to fix

--HG--
branch : py3.8

- - - - -
22017cc6 by Carl Friedrich Bolz-Tereick at 2021-06-04T13:09:20+02:00
document branch

--HG--
branch : py3.8

- - - - -
920428e3 by Carl Friedrich Bolz-Tereick at 2021-06-04T13:16:02+02:00
merge heads

--HG--
branch : py3.8

- - - - -
f88573aa by Carl Friedrich Bolz-Tereick at 2021-06-05T21:21:11+02:00
(cfbolz, mattip, twitch): start implementing _PyObject_Vectorcall

--HG--
branch : py3.8-vectorcall

- - - - -
3a2c8052 by Carl Friedrich Bolz-Tereick at 2021-06-05T21:38:08+02:00
:x

--HG--
branch : py3.8-vectorcall

- - - - -
ad795fe1 by Carl Friedrich Bolz-Tereick at 2021-06-05T22:27:46+02:00
(cfbolz, mattip, twitch): implement PyVectorcall_Call

--HG--
branch : py3.8-vectorcall

- - - - -
1a500def by Carl Friedrich Bolz-Tereick at 2021-06-05T22:30:08+02:00
(cfbolz, mattip, twitch): copy-paste some more things

--HG--
branch : py3.8-vectorcall

- - - - -
bb236161 by Matti Picus at 2021-06-06T07:24:30+03:00
add back PyPy extension of stdlib traceback removed in the latest stdlib update

Why was this added directly to stdlib?

--HG--
branch : py3.8

- - - - -
b78bbf8b by Carl Friedrich Bolz-Tereick at 2021-06-06T20:12:17+02:00
add PyObject_Calloc

--HG--
branch : py3.8-vectorcall

- - - - -
adea801d by Carl Friedrich Bolz-Tereick at 2021-06-06T22:07:43+02:00
implement _PyObject_CallNoArg

--HG--
branch : py3.8-vectorcall

- - - - -
935f9b72 by Carl Friedrich Bolz-Tereick at 2021-06-06T22:11:22+02:00
implement _PyObject_FastCall

--HG--
branch : py3.8-vectorcall

- - - - -
5d4769b3 by Carl Friedrich Bolz-Tereick at 2021-06-06T22:11:50+02:00
it was actually wrong to remove tp_print (it's still initialized sometimes)

--HG--
branch : py3.8-vectorcall

- - - - -
1f577991 by Carl Friedrich Bolz-Tereick at 2021-06-06T22:12:16+02:00
ifndef-out enough unsupported code that testcapimodule compiles

--HG--
branch : py3.8-vectorcall

- - - - -
fcd4684c by Matti Picus at 2021-06-08T10:08:42+03:00
use pypy define for Py_BuildValue

--HG--
branch : py3.8-vectorcall

- - - - -
8db32007 by Carl Friedrich Bolz-Tereick at 2021-06-07T12:25:45+02:00
implement fastcall with dict

--HG--
branch : py3.8-vectorcall

- - - - -
a65265cf by Matti Picus at 2021-06-08T08:45:10+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
9934b4d4 by Carl Friedrich Bolz-Tereick at 2021-06-08T13:28:23+02:00
fix borked merge fc0219bc8748 that brought some deleted files back

--HG--
branch : py3.8

- - - - -
ba24312c by Carl Friedrich Bolz-Tereick at 2021-06-08T13:31:12+02:00
merge py3.8

--HG--
branch : py3.8-vectorcall

- - - - -
5700a062 by Matti Picus at 2021-06-08T16:39:47+03:00
close branch for merge

--HG--
branch : py3.8-vectorcall

- - - - -
a860632b by Matti Picus at 2021-06-08T16:40:48+03:00
merge branch that provides most of PEP 590 vectorcall

--HG--
branch : py3.8

- - - - -
07ec668c by Matti Picus at 2021-06-08T17:03:04+03:00
fix bad merge, do not test PyState_*Module functions that do not exist on PyPy

--HG--
branch : py3.8

- - - - -
7efca6b3 by Carl Friedrich Bolz-Tereick at 2021-06-08T19:42:38+02:00
fix picklebuffer

--HG--
branch : py3.8

- - - - -
886cf7cf by Matti Picus at 2021-06-08T23:36:25+03:00
add signal.valid_signals

--HG--
branch : py3.8

- - - - -
92be9894 by Matti Picus at 2021-06-09T10:17:40+03:00
skip tests of _Py_DecodeLocaleEx and _Py_EncodeLocaleEx

--HG--
branch : py3.8

- - - - -
17facee5 by Matti Picus at 2021-06-09T11:13:49+03:00
first iteration of _base_executable, maybe wrong on windows

--HG--
branch : py3.8

- - - - -
430760bd by Matti Picus at 2021-06-09T11:17:00+03:00
skip cpython only test

--HG--
branch : py3.8

- - - - -
1526f47b by Carl Friedrich Bolz-Tereick at 2021-06-08T19:49:37+02:00
missing import

--HG--
branch : py3.8

- - - - -
58766918 by Carl Friedrich Bolz-Tereick at 2021-06-08T20:37:34+02:00
warning is now an error

--HG--
branch : py3.8

- - - - -
d051d72d by Carl Friedrich Bolz-Tereick at 2021-06-08T20:43:45+02:00
make test_dis run at all

--HG--
branch : py3.8

- - - - -
78238733 by Carl Friedrich Bolz-Tereick at 2021-06-09T09:22:24+02:00
fix test_enum

--HG--
branch : py3.8

- - - - -
6874e35c by Carl Friedrich Bolz-Tereick at 2021-06-09T11:33:07+02:00
implement _posixshm

--HG--
branch : py3.8

- - - - -
19b9309b by Carl Friedrich Bolz-Tereick at 2021-06-09T11:44:42+02:00
make it build

--HG--
branch : py3.8

- - - - -
1ac0ba0e by Matti Picus at 2021-06-09T13:17:05+03:00
skip ast tests that check end_lineno and end_linepos, we will get that in 3.9

--HG--
branch : py3.8

- - - - -
6a438b1a by Matti Picus at 2021-06-09T15:16:35+03:00
remove deprecated unicode_internal codec (bpo 36297)

--HG--
branch : py3.8

- - - - -
5671d19b by Matti Picus at 2021-06-09T15:23:12+03:00
typo

--HG--
branch : py3.8

- - - - -
dd0beb10 by Carl Friedrich Bolz-Tereick at 2021-06-10T10:40:20+02:00
implement new features in hexlify, by reusing the bytearray implementation

--HG--
branch : py3.8

- - - - -
1da94324 by Carl Friedrich Bolz-Tereick at 2021-06-10T10:59:16+02:00
make docstrings utf-8 :-(

--HG--
branch : py3.8

- - - - -
b3229da4 by Carl Friedrich Bolz-Tereick at 2021-06-10T11:32:58+02:00
test and fix: method equality is based on instance identity, not equality

--HG--
branch : py3.8

- - - - -
e70b7be0 by Carl Friedrich Bolz-Tereick at 2021-06-10T12:54:49+02:00
fix argument parsing of the new sep and bytes_per_sep arguments to hex and
hexlify functions: bytes_per_sep=0 means something else than not giving a
bytes_per_sep argument

--HG--
branch : py3.8

- - - - -
6e08da64 by Carl Friedrich Bolz-Tereick at 2021-06-10T13:32:45+02:00
allow deletion of attribute

--HG--
branch : py3.8

- - - - -
2c744181 by Carl Friedrich Bolz-Tereick at 2021-06-10T14:34:52+02:00
make it possible to instantiate Cells

--HG--
branch : py3.8

- - - - -
2aa79fab by Matti Picus at 2021-06-11T09:48:47+03:00
merge py3.7 into branch

--HG--
branch : py3.8

- - - - -
52124ceb by Carl Friedrich Bolz-Tereick at 2021-06-11T13:03:42+02:00
test and fix: __trunc__ can return a non-int that implements __index__ too

--HG--
branch : py3.8

- - - - -
fa5cca7f by Carl Friedrich Bolz-Tereick at 2021-06-11T14:02:47+02:00
implement initial= kwonly arg to itertools.accumulate

--HG--
branch : py3.8

- - - - -
9a49bfe9 by Carl Friedrich Bolz-Tereick at 2021-06-11T14:11:45+02:00
skip this one, that's an awfully specific test

--HG--
branch : py3.8

- - - - -
5ef393f3 by Carl Friedrich Bolz-Tereick at 2021-06-11T14:48:21+02:00
math.dist takes positional only args

--HG--
branch : py3.8

- - - - -
45eab8c4 by Ronan Lamy at 2021-06-11T19:36:48+01:00
Hack test_buffer to make it pass after translation

--HG--
branch : hpy-0.0.2

- - - - -
a0e93370 by Carl Friedrich Bolz-Tereick at 2021-06-11T21:08:47+02:00
this test is no longer correct on 3.8

--HG--
branch : py3.8

- - - - -
87e2c88c by Carl Friedrich Bolz-Tereick at 2021-06-11T21:17:04+02:00
implement min/max argument parsing using keyword only arguments. fix corner
case that CPython's test_heapq relies on in the process.

--HG--
branch : py3.8

- - - - -
4c6a4f40 by Carl Friedrich Bolz-Tereick at 2021-06-11T22:06:37+02:00
implement opcode micro-optimization: conditional jump->unconditional jump:
forward conditional jump to target of unconditional jump

--HG--
branch : py3.8

- - - - -
98d722b8 by Carl Friedrich Bolz-Tereick at 2021-06-12T13:15:11+02:00
those two have a lot unclearer value

--HG--
branch : py3.8

- - - - -
bf389557 by Carl Friedrich Bolz-Tereick at 2021-06-12T13:20:11+02:00
- make picklebuffers weakrefable
- actually add the picklebuffer test file

--HG--
branch : py3.8

- - - - -
a70a64f4 by Carl Friedrich Bolz-Tereick at 2021-06-12T20:45:26+02:00
(cfbolz, twitch): start passing w_obj to the constructors of the subclasses of
pypy.interpreter.buffer.BufferView

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
180c62ab by Carl Friedrich Bolz-Tereick at 2021-06-12T21:07:16+02:00
(cfbolz, twitch): don't store the w_obj on the memoryobject any more, instead
return the underlying view's w_obj in the .obj getter

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
ed088e16 by Carl Friedrich Bolz-Tereick at 2021-06-12T21:10:55+02:00
(cfbolz, twitch): commit the now passing test that triggered the whole
refactoring

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
d367685b by Carl Friedrich Bolz-Tereick at 2021-06-12T21:47:02+02:00
(cfbolz, mattip, twitch): implement memoryview.toreadonly

(we did that by wrapping the underlying with in a new ReadonlyWrapper class,
not 100% sure this is the right design)

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
c418d866 by Carl Friedrich Bolz-Tereick at 2021-06-12T21:52:06+02:00
(cfbolz, twitch): fix translation

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
fa5a7a90 by Carl Friedrich Bolz-Tereick at 2021-06-12T21:52:06+02:00
backport py3.8-buffer-gets-w_obj to py3.7

Collapsed revision
* (cfbolz, twitch): start passing w_obj to the constructors of the subclasses of
pypy.interpreter.buffer.BufferView
* (cfbolz, twitch): don't store the w_obj on the memoryobject any more, instead
return the underlying view's w_obj in the .obj getter
* (cfbolz, mattip, twitch): implement memoryview.toreadonly

(we did that by wrapping the underlying with in a new ReadonlyWrapper class,
not 100% sure this is the right design)
* (cfbolz, twitch): fix translation

--HG--
branch : py3.7

- - - - -
3431cc21 by Matti Picus at 2021-06-13T00:27:23+03:00
fix 1f3c05f29493 for empty w_sequence

--HG--
branch : py3.8

- - - - -
d0dcd24b by nimaje at 2021-06-13T10:20:33+02:00
only set VMPROF_APPLE on darwin

setting that on all systems that aren't handled explicitly breaks translation at least on freebsd,
but probably on everything that isn't darwin (wanted there), linux or windows (handled explicitly).

--HG--
branch : set-vmprof_apple-only-on-darwin

- - - - -
b0c7ca14 by Matti Picus at 2021-06-13T11:48:18+03:00
document and close branch to be merged

--HG--
branch : set-vmprof_apple-only-on-darwin

- - - - -
68eba336 by Matti Picus at 2021-06-13T11:48:53+03:00
merge set-vmprof_apple-only-on-darwin

- - - - -
72852e11 by Matti Picus at 2021-06-13T11:50:26+03:00
document merged branch

- - - - -
ba68d142 by Matti Picus at 2021-06-13T13:25:13+03:00
merge py3.8-buffer-gets-w_obj to py3.8

--HG--
branch : py3.8

- - - - -
40ae949f by Carl Friedrich Bolz-Tereick at 2021-06-13T12:31:28+02:00
document merged branch

--HG--
branch : py3.8

- - - - -
ccc8b874 by Matti Picus at 2021-06-13T19:09:10+03:00
implement, test nt._path_splitroot for windows

--HG--
branch : py3.8

- - - - -
361e7f62 by Carl Friedrich Bolz-Tereick at 2021-06-13T13:36:45+02:00
comment out some monkeypatching in the asyncio test infrastructure:

asyncio itself is not longer affected by the monkeypatching, because the C
accelerators circumvent it. these lines are removed in cpython in 3.10

--HG--
branch : py3.8

- - - - -
5b0aac94 by Carl Friedrich Bolz-Tereick at 2021-06-13T13:44:54+02:00
fix missing import

--HG--
branch : py3.8

- - - - -
3c29f943 by Carl Friedrich Bolz-Tereick at 2021-06-13T14:12:14+02:00
ouch, fix wrong code generation for positional only args with annotations

--HG--
branch : py3.8

- - - - -
a850619f by Carl Friedrich Bolz-Tereick at 2021-06-13T14:34:16+02:00
add a collect to make the test pass (and use a different object as x for the
attributeerror, otherwise something keeps x alive)

--HG--
branch : py3.8

- - - - -
1505d9ee by Carl Friedrich Bolz-Tereick at 2021-06-13T14:54:36+02:00
fix capitalize

--HG--
branch : py3.8

- - - - -
dcb4d9d7 by Carl Friedrich Bolz-Tereick at 2021-06-13T15:37:27+02:00
rip out get/set_coroutine_wrapper

--HG--
branch : py3.8

- - - - -
8062f094 by Carl Friedrich Bolz-Tereick at 2021-06-13T15:42:52+02:00
finally skip this one, it will take some serious thinking at some point

--HG--
branch : py3.8

- - - - -
dac4d9ad by Carl Friedrich Bolz-Tereick at 2021-06-13T22:10:47+02:00
bpo-22602: Raise an exception in the UTF-7 decoder for ill-formed sequences
starting with "+"

--HG--
branch : py3.8

- - - - -
e9cbdf45 by Matti Picus at 2021-06-14T05:56:24+03:00
create pypy.exe, pypyw.exe, python.exe, pythonw.exe in packaging windows

--HG--
branch : py3.7

- - - - -
cb968d56 by Matti Picus at 2021-06-14T10:18:33+03:00
test, fix minmax when using default

--HG--
branch : py3.8

- - - - -
f6137453 by Ronan Lamy at 2021-06-14T16:46:19+01:00
hg merge py3.7

--HG--
branch : hpy-0.0.2

- - - - -
903bf726 by Matti Picus at 2021-06-14T23:16:56+03:00
add a passing test

--HG--
branch : py3.7

- - - - -
81dce49e by Carl Friedrich Bolz-Tereick at 2021-06-15T13:19:13+02:00
go back to the previous manual form of argument parsing, we can't express all
the corner cases otherwise :-(

--HG--
branch : py3.8

- - - - -
f1ee218d by Ronan Lamy at 2021-06-15T15:48:59+01:00
Don't leak h_module when the HPyInitFunc fails

--HG--
branch : hpy-0.0.2

- - - - -
160b793d by Carl Friedrich Bolz-Tereick at 2021-06-16T13:08:43+02:00
add raise function to r_signal

- - - - -
fce3d324 by Carl Friedrich Bolz-Tereick at 2021-06-16T13:09:22+02:00
merge default

--HG--
branch : py3.8

- - - - -
3e5a1ec2 by Carl Friedrich Bolz-Tereick at 2021-06-16T13:19:38+02:00
implement raise_signal

--HG--
branch : py3.8

- - - - -
5195f89f by Carl Friedrich Bolz-Tereick at 2021-06-16T17:51:03+02:00
follow CPython's new tuple hash

--HG--
branch : py3.8

- - - - -
9065cd37 by Ronan Lamy at 2021-06-16T18:07:08+01:00
Backed out changeset c826fb4a4709

--HG--
branch : hpy-0.0.2

- - - - -
44924cf5 by Matti Picus at 2021-06-16T20:24:52+03:00
move class and fast-path instantiation out of the function (issue 3490)

--HG--
branch : py3.7

- - - - -
0af58f32 by rtkbkish at 2021-06-16T20:28:48+03:00
merge py3.7 with ssl fix to py3.8

--HG--
branch : py3.8

- - - - -
f60c26a0 by Matti Picus at 2021-06-16T23:24:26+03:00
add alias (from comment in issue 3490)

- - - - -
f7bfe5e8 by Carl Friedrich Bolz-Tereick at 2021-06-17T10:24:27+02:00
merge py3.8

--HG--
branch : py3.8-ast-end-positions

- - - - -
7226bc47 by Carl Friedrich Bolz-Tereick at 2021-06-17T10:41:47+02:00
handle trailers

--HG--
branch : py3.8-ast-end-positions

- - - - -
a4fd07bc by Carl Friedrich Bolz-Tereick at 2021-06-17T10:53:53+02:00
test and fix generator expressions

--HG--
branch : py3.8-ast-end-positions

- - - - -
add816a4 by Carl Friedrich Bolz-Tereick at 2021-06-17T10:56:52+02:00
the others just work

--HG--
branch : py3.8-ast-end-positions

- - - - -
fb33a126 by Carl Friedrich Bolz-Tereick at 2021-06-17T11:45:22+02:00
fix binop locations

--HG--
branch : py3.8-ast-end-positions

- - - - -
35a8348d by Carl Friedrich Bolz-Tereick at 2021-06-17T11:50:58+02:00
fix dotted names in decorators

--HG--
branch : py3.8-ast-end-positions

- - - - -
bb50e73f by Carl Friedrich Bolz-Tereick at 2021-06-17T13:08:49+02:00
fix lack of type_comment attr on ast.arg objects

--HG--
branch : py3.8-ast-end-positions

- - - - -
3729e80a by Carl Friedrich Bolz-Tereick at 2021-06-17T13:23:50+02:00
start implementing get_source_segment

--HG--
branch : py3.8-ast-end-positions

- - - - -
bc42aba6 by Carl Friedrich Bolz-Tereick at 2021-06-17T13:37:01+02:00
more work on get_source_segment

(not really a reason to generate it into ast.py)

--HG--
branch : py3.8-ast-end-positions

- - - - -
bc82ba78 by Carl Friedrich Bolz-Tereick at 2021-06-17T17:30:58+02:00
fix possible internal error via missing validation of posonlyarguments

--HG--
branch : py3.8-ast-end-positions

- - - - -
01a32ca4 by Carl Friedrich Bolz-Tereick at 2021-06-17T17:53:39+02:00
merge dotviewer-python3: make dotviewer also python3 compatible and add a few features

- - - - -
ff03d1dc by Carl Friedrich Bolz-Tereick at 2021-06-17T17:54:46+02:00
document branch

- - - - -
ab0c420b by Ronan Lamy at 2021-06-17T17:17:59+01:00
Standardise specialised class names to use _u/_d suffix

--HG--
branch : hpy-0.0.2

- - - - -
73bb2ac5 by Matti Picus at 2021-06-17T20:56:04+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
3924f891 by Carl Friedrich Bolz-Tereick at 2021-06-17T19:56:57+02:00
add extra error checking to ast constructors

--HG--
branch : py3.8-ast-end-positions

- - - - -
fa434814 by Matti Picus at 2021-06-18T14:41:21+03:00
fix pure python datetime, should probably try to upstream these changes

--HG--
branch : py3.8

- - - - -
4147063a by Matti Picus at 2021-06-18T17:38:46+03:00
make test pass on cpython3.8

--HG--
branch : py3.8

- - - - -
4d97a492 by Matti Picus at 2021-06-18T18:42:23+03:00
remove builtin zipimport (bpo 25711)

--HG--
branch : py3.8

- - - - -
a6b64eb4 by Carl Friedrich Bolz-Tereick at 2021-06-18T13:43:10+02:00
fix PyNumber_Check, nice preparation work by arigo, antocuni, ronan in
628c880ebdbe (even with a test!)

--HG--
branch : py3.8

- - - - -
dd938773 by Ronan Lamy at 2021-06-18T17:57:13+01:00
Update big comment about the debug mode

--HG--
branch : hpy-0.0.2

- - - - -
d0724803 by Carl Friedrich Bolz-Tereick at 2021-06-18T21:33:43+02:00
freeze the zipimport module

--HG--
branch : py3.8

- - - - -
dba039ae by Carl Friedrich Bolz-Tereick at 2021-06-19T14:11:11+02:00
merge py3.8-ast-end-positions

add .end_lineno and .end_col_offset attributes to ast nodes.

note perferct, many corner cases left, but fixes a huge amount of bugs.

--HG--
branch : py3.8

- - - - -
914baaa3 by Carl Friedrich Bolz-Tereick at 2021-06-19T15:45:01+02:00
doesn't matter since we don't use small longs, but make sure the test for pow
with negative exponents and a modulus doesn't fail

--HG--
branch : py3.8

- - - - -
7c17f410 by Carl Friedrich Bolz-Tereick at 2021-06-19T15:49:59+02:00
fix test (the behaviour changed in 3.8)

--HG--
branch : py3.8

- - - - -
c5eb8d10 by Carl Friedrich Bolz-Tereick at 2021-06-19T15:58:03+02:00
the name of the class changed

--HG--
branch : py3.8

- - - - -
772e6bb9 by Carl Friedrich Bolz-Tereick at 2021-06-19T16:11:23+02:00
ouch, I accidentally deleted actually setting fields passed by kwarg

--HG--
branch : py3.8

- - - - -
bdaf85c1 by Carl Friedrich Bolz-Tereick at 2021-06-19T16:32:50+02:00
re-enable setting frame.f_lineno

(some things still broken, but nothing crashes)

--HG--
branch : py3.8

- - - - -
36b0446b by Matti Picus at 2021-06-19T22:36:05+03:00
test, fix for constants needed for windows to start working

--HG--
branch : py3.8

- - - - -
1118d689 by Matti Picus at 2021-06-19T23:13:49+03:00
merge older commit to help mercurial find the common root

--HG--
branch : py3.8

- - - - -
ffbce038 by Matti Picus at 2021-06-19T23:28:10+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
eac22055 by Matti Picus at 2021-06-20T00:21:16+03:00
fix test: time is impported by pure-python zipimport

--HG--
branch : py3.8

- - - - -
d97a9657 by Matti Picus at 2021-06-20T01:38:34+03:00
update windows' copy of pyconfig.h for python38

--HG--
branch : py3.8

- - - - -
88616715 by Carl Friedrich Bolz-Tereick at 2021-06-19T19:28:04+02:00
fix lineno of the try block

--HG--
branch : py3.8

- - - - -
ef3df8d4 by mgorny at 2021-06-19T22:44:05+03:00
backport fix for BPO 44022

- - - - -
3540d01c by Matti Picus at 2021-06-19T22:55:29+03:00
update contributor aliases and excludes

- - - - -
8506fdc7 by mgorny at 2021-06-19T23:10:41+03:00
backport fix for BPO 44022

--HG--
branch : py3.7

- - - - -
f1c85657 by Matti Picus at 2021-06-19T23:15:30+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
5a3cab4e by mgorny at 2021-06-19T23:22:07+03:00
bpo-43650: Fix MemoryError on zip.read in shutil._unpack_zipfile for large files

--HG--
branch : py3.7

- - - - -
2bb8b451 by Carl Friedrich Bolz-Tereick at 2021-06-20T14:09:42+02:00
those two tests don't make sense on pypy, because we don't emit bytecode for
things that come after the return

--HG--
branch : py3.8

- - - - -
ffa1c52f by Matti Picus at 2021-06-20T19:40:34+03:00
pypy does not clean up objects at exit

--HG--
branch : py3.8

- - - - -
93401d6a by Matti Picus at 2021-06-21T04:43:09+03:00
customize compiler

--HG--
branch : py3.7

- - - - -
bbe7cf59 by Matti Picus at 2021-06-21T09:35:58+03:00
fix test, repr was fixed in cpython3.7

--HG--
branch : py3.7

- - - - -
e6ee4ff3 by Matti Picus at 2021-06-21T09:50:00+03:00
adapt test to cpython3.8's dis output, pypy still fails

--HG--
branch : py3.8

- - - - -
fc0722e1 by Matti Picus at 2021-06-21T10:14:51+03:00
del also raises AttributeError when characters_written is not yet set

--HG--
branch : py3.8

- - - - -
3ec15e5c by Matti Picus at 2021-06-21T16:56:17+03:00
allow NULL in PyErr_WriteUnraisable (issue 3353)

--HG--
branch : py3.7

- - - - -
55136feb by olliemath at 2021-06-22T09:26:27+01:00
Specialize builtin sum for lists/tuples

--HG--
branch : specialize-sum

- - - - -
a1973663 by olliemath at 2021-06-22T09:40:49+01:00
sum: add edge-cases to tests

--HG--
branch : specialize-sum

- - - - -
87824422 by olliemath at 2021-06-22T09:54:56+01:00
Sum: split tuple/list specialization. Handle all edge cases.

--HG--
branch : specialize-sum

- - - - -
33731c1f by Carl Friedrich Bolz-Tereick at 2021-06-22T12:54:37+02:00
some details for test_builtin

--HG--
branch : py3.8

- - - - -
3119d9ce by Carl Friedrich Bolz-Tereick at 2021-06-22T11:04:05+00:00
Merge branch 'branch/specialize-sum' into 'branch/default'

Specialize builtin sum for lists/tuples

Closes #3492

See merge request pypy/pypy!823

- - - - -
d4f3f13b by Carl Friedrich Bolz-Tereick at 2021-06-22T13:24:40+02:00
sep accepts bytes too

--HG--
branch : py3.8

- - - - -
c9845abf by Carl Friedrich Bolz-Tereick at 2021-06-22T13:24:48+02:00
skip cpython specific test

--HG--
branch : py3.8

- - - - -
15eb3230 by olliemath at 2021-06-22T19:34:05+01:00
Sum: tests and fixes for more edge cases in fast path

--HG--
branch : specialize-sum

- - - - -
874798c1 by Carl Friedrich Bolz-Tereick at 2021-06-22T18:58:04+00:00
Merge branch 'branch/specialize-sum' into 'branch/default'

Sum: tests and fixes for more edge cases in fast path

See merge request pypy/pypy!824

- - - - -
3a56b901 by Matti Picus at 2021-06-22T22:01:48+03:00
document merged branch

- - - - -
60f59ed3 by Matti Picus at 2021-06-22T22:04:38+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
f1f6d7ed by Matti Picus at 2021-06-22T22:05:11+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
2f40f446 by Antonio Cuni at 2021-06-23T13:40:48+01:00
add an implementation of a Stack which you can use without allocating and/or raising exceptions

--HG--
branch : hpy-0.0.2-experiment

- - - - -
4a106a6a by Antonio Cuni at 2021-06-23T14:02:32+01:00
use the new Stack to implement HandleManager.free_list

--HG--
branch : hpy-0.0.2-experiment

- - - - -
d08f2afc by Carl Friedrich Bolz-Tereick at 2021-06-23T16:41:59+02:00
something changed the threshold? this passes

--HG--
branch : py3.8

- - - - -
64aa3fe4 by Antonio Cuni at 2021-06-23T16:06:29+01:00
small tweaks; Stack.reserve() is not necessary since we always increase the capacity by one, and it can be implemented more efficiently with a .append(0) than an .extend

--HG--
branch : hpy-0.0.2-experiment

- - - - -
b4fba013 by Antonio Cuni at 2021-06-23T16:14:35+01:00
add comments explaining why we need to take extra care

--HG--
branch : hpy-0.0.2-experiment

- - - - -
6823ca08 by Ronan Lamy at 2021-06-23T17:14:24+01:00
run update-vendored.sh again

--HG--
branch : hpy-0.0.2

- - - - -
2594653c by Antonio Cuni at 2021-06-24T09:48:15+00:00
Merge branch 'branch/hpy-0.0.2-experiment' into 'branch/hpy-0.0.2'

Fix HPy_Close when an exception is set

See merge request pypy/pypy!825

--HG--
branch : hpy-0.0.2

- - - - -
895b3dee by Antonio Cuni at 2021-06-24T11:51:58+02:00
./update_vendored to c9660c2

--HG--
branch : hpy-0.0.2

- - - - -
868329d2 by olliemath at 2021-06-25T14:47:17+01:00
CPyext: initial implementation of TimeZone_FromOffset

--HG--
branch : implement_timezone_c_api

- - - - -
88680f4e by Antonio Cuni at 2021-06-25T17:36:26+02:00
close merged branch

--HG--
branch : hpy-0.0.2

- - - - -
8ece13a9 by Antonio Cuni at 2021-06-25T17:36:56+02:00
hg merge hpy-0.0.2

--HG--
branch : py3.7

- - - - -
a66aca79 by olliemath at 2021-06-25T16:37:27+01:00
CPyext: emulate CPython macros for timezone construction

--HG--
branch : implement_timezone_c_api

- - - - -
ad0d6544 by olliemath at 2021-06-25T20:18:57+01:00
CPyext: add utc singleton

--HG--
branch : implement_timezone_c_api

- - - - -
c15237ab by Matti Picus at 2021-06-26T22:32:49+03:00
close branch to be merged

--HG--
branch : implement_timezone_c_api

- - - - -
49495e0c by Matti Picus at 2021-06-26T22:36:52+03:00
merge branch to provide C-API entries for timezones

--HG--
branch : py3.7

- - - - -
818d3983 by Matti Picus at 2021-06-26T22:41:28+03:00
merge py3.7 into branch

--HG--
branch : py3.8

- - - - -
90370b5d by Ronan Lamy at 2021-06-28T17:58:31+01:00
Use the cpyext error indicator to implement HPy exceptions (WIP)

--HG--
branch : hpy-refactor-exceptions

- - - - -
10011611 by Ronan Lamy at 2021-06-28T18:02:48+01:00
Check exceptions in init_hpy_module

--HG--
branch : hpy-refactor-exceptions

- - - - -
1eaaf5e8 by Ronan Lamy at 2021-06-28T19:15:20+01:00
Fix test failures (more slots need fixing)

--HG--
branch : hpy-refactor-exceptions

- - - - -
cf5d7e6b by Matti Picus at 2021-06-29T00:02:36+03:00
cannot remove audit hook after translation

--HG--
branch : py3.8

- - - - -
63a5e6e8 by Ronan Lamy at 2021-06-29T17:30:12+01:00
Fix exception handling in slot wrappers

--HG--
branch : hpy-refactor-exceptions

- - - - -
cfa903c0 by Ronan Lamy at 2021-06-29T17:57:37+01:00
Kill handlemanager.Stack: we can just use a list again

--HG--
branch : hpy-refactor-exceptions

- - - - -
f7abfba2 by Ronan Lamy at 2021-06-30T15:58:33+01:00
performance: in functions, raise exception only if the return value is null

--HG--
branch : hpy-refactor-exceptions

- - - - -
6cc788ba by Matti Picus at 2021-07-01T09:08:33+03:00
error message compatibility with CPython

--HG--
branch : py3.7

- - - - -
3c2099f1 by Matti Picus at 2021-07-01T10:56:18+03:00
use CPython list of consts in os {confstr,pathconf,sysconf}_names (issue 3502)

--HG--
branch : py3.7

- - - - -
7f916252 by Matti Picus at 2021-07-02T14:39:51+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
0caa0840 by Matti Picus at 2021-07-02T15:14:46+03:00
remove outdated comment, issue 2248 was fixed

--HG--
branch : py3.7

- - - - -
8e9f3ee2 by Matti Picus at 2021-07-02T16:26:32+03:00
remove bad copy-paste line

--HG--
branch : py3.7

- - - - -
69b15100 by Matti Picus at 2021-07-02T16:27:21+03:00
add slot functions so int(x) and float(x) work properly

--HG--
branch : py3.7

- - - - -
c731f253 by Matti Picus at 2021-07-02T18:48:22+03:00
Backed out 656bfe595f14, it breaks test_issue_2760_getattr

--HG--
branch : py3.7

- - - - -
855c2757 by Matti Picus at 2021-07-03T23:35:10+03:00
add a passing test

--HG--
branch : py3.7

- - - - -
421fa986 by Matti Picus at 2021-07-04T10:36:28+03:00
remove hack to look up function by offset, not needed by numpy since v1.17

Does not work properly on win64
https://github.com/numpy/numpy/pull/12524, merged in 2018

--HG--
branch : py3.7

- - - - -
f8dbbc04 by Matti Picus at 2021-07-04T12:36:37+03:00
add passing test, trying to mimick scipy/cython failure on latest scipy HEAD

--HG--
branch : py3.7

- - - - -
f71b8c0b by Matti Picus at 2021-07-04T16:51:05+03:00
check env keys for '=' when calling os.execve

--HG--
branch : py3.7

- - - - -
ffd2f05d by isidentical at 2021-07-04T19:42:01+03:00
pytokenizer: bring back the support for parsing async/await context dependantly

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
fd3be10f by isidentical at 2021-07-04T19:42:25+03:00
pytokenizer: make async_hacks False by default

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
e7e0a582 by isidentical at 2021-07-04T19:44:51+03:00
pytokenizer: recognize PyCF_ASYNC_HACKS from flags

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
2ee41780 by isidentical at 2021-07-04T20:14:34+03:00
pyparser: adapt grammar to new changes (ASYNC/AWAIT as soft-keywords)

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
e23f2769 by isidentical at 2021-07-04T20:30:55+03:00
astbuilder: make astbuild compatible with the new ASYNC/AWAIT hacks

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
467157d1 by isidentical at 2021-07-04T21:06:39+03:00
builtins: implement the feature_version for compile()

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
4986c53e by isidentical at 2021-07-04T21:33:28+03:00
astbuilder: check for a bunch of features

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
675139f1 by isidentical at 2021-07-04T21:34:19+03:00
astbuilder: add the missing AsyncWith check

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
1a96d44d by isidentical at 2021-07-04T21:35:50+03:00
astbuilder: change the calling convention for check_feature

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
fef5cc6b by isidentical at 2021-07-04T21:37:30+03:00
fstring: check fstring feature when feature_version < 6

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
fce7df40 by isidentical at 2021-07-04T21:44:49+03:00
astcompiler: a bunch of fixes

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
28cca765 by Matti Picus at 2021-07-05T08:30:25+03:00
delete test for improperly setting a point-to-function after PyType_Ready

continuation of 66c38129f52a

--HG--
branch : py3.7

- - - - -
f3602858 by Matti Picus at 2021-07-05T09:22:54+03:00
pypy has a better error message

--HG--
branch : py3.7

- - - - -
6028132b by Antonio Cuni at 2021-07-06T14:18:59+01:00
./update_vendored.sh to hpy git rev 5eb6b8b

--HG--
branch : hpy-0.0.2

- - - - -
bd2a5de8 by Antonio Cuni at 2021-07-06T16:26:58+01:00
import update_vendored so that it copies also the dist-info directory, and add a test to check that it is correctly detected by pkg_resources. This is needed to allow setuptools to correctly pick up the hpy_ext_modules entry point

--HG--
branch : hpy-0.0.2

- - - - -
9c9faa7f by Antonio Cuni at 2021-07-06T16:27:33+01:00
rerun update_vendored.sh so that it copies also hpy.devel.dist-info

--HG--
branch : hpy-0.0.2

- - - - -
5b2371b2 by Armin Rigo at 2021-07-07T14:48:03+02:00
update to cffi 1.14.6

- - - - -
2aad2e2f by Matti Picus at 2021-07-07T16:50:13+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
e66fd773 by Matti Picus at 2021-07-07T16:51:05+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
a7c176c1 by Armin Rigo at 2021-07-07T16:14:09+02:00
add 'static' over C functions for cffi to avoid having them exported

- - - - -
15e605c1 by Ronan Lamy at 2021-07-07T18:43:45+01:00
Don't keep handles open for longer than necessary

--HG--
branch : py3.7

- - - - -
38818932 by Antonio Cuni at 2021-07-08T21:54:14+01:00
fix update_vendored, now the package is called 'hpy' instead of 'hpy.devel'

--HG--
branch : hpy-0.0.2

- - - - -
dc0a6acc by Antonio Cuni at 2021-07-08T21:58:14+01:00
./update_vendored.sh to 0.0.2rc4.dev1+g7046acb

--HG--
branch : hpy-0.0.2

- - - - -
cad08924 by Antonio Cuni at 2021-07-08T22:04:28+01:00
./update_vendored.sh to 0.0.2rc4

--HG--
branch : hpy-0.0.2

- - - - -
7bc02a63 by Matti Picus at 2021-07-09T15:41:19+03:00
use libffi-7.dll from externals instead of the older rpython/translator/c/srcs

--HG--
branch : libffi-win64

- - - - -
d748531f by Ronan Lamy at 2021-07-09T19:45:42+01:00
Make sure cpyext is initialised before loading hpy extensions

--HG--
branch : py3.7

- - - - -
93f8df39 by Matti Picus at 2021-07-11T11:03:07+03:00
copy libpypy-7.dll in packaging and at the end of translation

--HG--
branch : libffi-win64

- - - - -
1652cbd9 by Matti Picus at 2021-07-11T12:46:37+03:00
copy libffi in venv too

--HG--
branch : libffi-win64

- - - - -
32e871e9 by Matti Picus at 2021-07-11T12:46:37+03:00
backport libffi-win64

- - - - -
4b63d9c9 by Matti Picus at 2021-07-12T20:15:15+03:00
document and close branch to be merged

--HG--
branch : libffi-win64

- - - - -
70c4e43d by Matti Picus at 2021-07-12T20:15:52+03:00
merge branch to use libffi3.3 on windows

--HG--
branch : py3.7

- - - - -
83c6bd7b by Matti Picus at 2021-07-12T20:16:37+03:00
cleanup libffi_msvc removal

- - - - -
d854e2f8 by Matti Picus at 2021-07-12T20:20:09+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
a60baa2d by Matti Picus at 2021-07-13T10:51:55+03:00
fix test for windows

- - - - -
fb4b34ab by Matti Picus at 2021-07-13T14:28:31+03:00
remove msvc9 _PyVerify_fd and replace FdValidator with SuppressIPH

this may affect compilation on mingw since I don't know if they have an IPH
handler

- - - - -
7caf9e27 by Matti Picus at 2021-07-13T14:29:11+03:00
merge default into branch

--HG--
branch : py3.7

- - - - -
e10bb64e by Matti Picus at 2021-07-13T15:25:13+03:00
remove redunant validator check: os.isatty already checks fd

--HG--
branch : py3.7

- - - - -
80e44034 by Matti Picus at 2021-07-13T16:13:58+03:00
speed up win64 rposix.read, rposix.write by pushing IPH wrapping into C

- - - - -
2d362472 by Matti Picus at 2021-07-13T18:52:27+03:00
fix the runpack test for the size of LONG_BIT (which is 64 on win64)

- - - - -
a7077eea by Matti Picus at 2021-07-13T18:53:28+03:00
add debug prints to figure out why a test is failing

- - - - -
b6da37bf by Matti Picus at 2021-07-14T07:22:55+03:00
fix rposix

- - - - -
237c389d by Matti Picus at 2021-07-14T08:33:23+03:00
enable finding pytest when running subprocess

- - - - -
4bd84517 by Matti Picus at 2021-07-14T16:48:52+03:00
remove 2.7 cruft from merges

--HG--
branch : py3.7

- - - - -
55ae150c by Matti Picus at 2021-07-14T20:11:14+03:00
codemap is broken on win64, but is also unused so skip the failing test

- - - - -
68dfc91f by Antonio Cuni at 2021-07-15T14:45:15+01:00
./update_vendored to 0.0.2

--HG--
branch : hpy-0.0.2

- - - - -
cc213cd1 by Antonio Cuni at 2021-07-15T14:45:32+01:00
close merged branch

--HG--
branch : hpy-0.0.2

- - - - -
35b822b9 by Antonio Cuni at 2021-07-15T14:46:57+01:00
hg merge hpy-0.0.2

--HG--
branch : py3.7

- - - - -
a152f786 by Armin Rigo at 2021-07-15T16:33:54+02:00
Issue #3515

test and fix for re.sub() with no match and with unusual types of arguments

--HG--
branch : py3.7

- - - - -
5563eaa2 by Armin Rigo at 2021-07-15T16:52:41+02:00
Issue #3514

trying with a tweak in the error message

- - - - -
00e5b281 by Matti Picus at 2021-07-18T01:29:25+03:00
on win64, xmm6-15 are non-volatile

--HG--
branch : win64-xmm-registers

- - - - -
f20eaf7c by Matti Picus at 2021-07-18T07:47:37+03:00
typo

--HG--
branch : win64-xmm-registers

- - - - -
a72f473f by Matti Picus at 2021-07-18T13:37:18+03:00
remove duplicate value

--HG--
branch : win64-xmm-registers

- - - - -
212e58d2 by Matti Picus at 2021-07-18T17:37:54+03:00
fix logic (isuruf)

--HG--
branch : win64-xmm-registers

- - - - -
24b9ca29 by Matti Picus at 2021-07-18T17:45:13+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
cc0cfb70 by Matti Picus at 2021-07-18T23:26:11+03:00
fix a warning from rpython/tool/cparser/cparser.py:166 during translation

--HG--
branch : py3.8

- - - - -
60024f54 by Matti Picus at 2021-07-18T23:28:38+03:00
use the __index__ special method and deprecate __int__ (BPO 36048 and 20092)

--HG--
branch : py3.8

- - - - -
5286ffd7 by Matti Picus at 2021-07-19T10:45:00+03:00
move 2bd69a0a528b to a branch, more work is needed

--HG--
branch : py3.8

- - - - -
4abd07ca by Carl Friedrich Bolz-Tereick at 2021-07-20T12:29:34+02:00
merge default

--HG--
branch : open-ended-traces

- - - - -
25ea4e6f by isidentical at 2021-07-20T16:39:14+03:00
consts: change PyCF_ASYNC_HACKS to use a lower value

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
58574dbf by isidentical at 2021-07-20T16:44:26+03:00
pytokenizer: pass end locations to the tokenizer

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
d9070f5c by Matti Picus at 2021-07-22T00:15:53+03:00
document and close branch to be merged

--HG--
branch : win64-xmm-registers

- - - - -
ddbe0636 by Matti Picus at 2021-07-22T00:16:51+03:00
merge branch to fix list of non-volatile registers in windows64

- - - - -
7fa85927 by Matti Picus at 2021-07-22T12:24:47+03:00
continuation of 1697fc0bff5d, putenv('=hidden', 'value') fails on windows

- - - - -
63ee98a3 by Carl Friedrich Bolz-Tereick at 2021-07-22T12:33:36+02:00
fix a test, xfail two (I want to have a stable state to know that failures are real)

--HG--
branch : py3.8

- - - - -
f9beb78c by Carl Friedrich Bolz-Tereick at 2021-07-22T13:26:52+02:00
fix some position handling around parenthesis. this also fixes the fstring
position problems

--HG--
branch : py3.8

- - - - -
7d015125 by Matti Picus at 2021-07-22T15:32:35+03:00
test, start to support the "compact" format by setting tp_itemsize

--HG--
branch : compact-unicode

- - - - -
975eda69 by Matti Picus at 2021-07-22T15:56:03+03:00
implement compact data. Something is off - this segfaults in the numpy tests

--HG--
branch : compact-unicode

- - - - -
e66af38a by Matti Picus at 2021-07-22T16:49:51+03:00
partially revert a4669b4e2e77 the test should fail but the code was fine.

- - - - -
8a027c44 by Ronan Lamy at 2021-07-22T17:47:34+01:00
run update_vendored.sh to 0.0.3.dev308+g7d457b4 and record file renamings

--HG--
branch : hpy-0.0.3

- - - - -
d37e02b9 by Carl Friedrich Bolz-Tereick at 2021-07-22T22:01:48+02:00
fix pyparser/test/test_pyparse.py::TestPythonParserRevDB::test_encoding

it was failing because the malloc leak finder was pointing out that the buffer
of a buffered reader was actually never released! RevDB is special, because due
to the split address space it is actually using a RawByteBuffer instead of a
ByteBuffer.

fix this by just setting the reference to the buffer to None when closing the
buffered reader

--HG--
branch : py3.8

- - - - -
4d02f21a by Matti Picus at 2021-07-23T06:45:42+03:00
also fix test

- - - - -
428b335f by isidentical at 2021-07-23T11:48:46+03:00
pytokenizer: pass correct arguments

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
c91a42ce by Matti Picus at 2021-07-23T18:02:35+03:00
add more gaurds but still segfaulting

--HG--
branch : compact-unicode

- - - - -
bd067f49 by Ronan Lamy at 2021-07-23T16:47:35+01:00
Replace HPyContext with HPyContext* in function signatures

--HG--
branch : hpy-0.0.3

- - - - -
93b5fdb1 by Ronan Lamy at 2021-07-23T17:18:34+01:00
fix debug mode compilation

--HG--
branch : hpy-0.0.3

- - - - -
93b09c34 by Ronan Lamy at 2021-07-23T19:17:16+01:00
Update llapi.py and other fixes

--HG--
branch : hpy-0.0.3

- - - - -
4071abd7 by isidentical at 2021-07-25T17:50:38+03:00
generator: raise RuntimeError when the same async generator gets awaited multiple times

--HG--
branch : isidentical-py38-test-fixes

- - - - -
2fb2ae7b by isidentical at 2021-07-25T17:51:46+03:00
generator: raise errors on do_throw() too

--HG--
branch : isidentical-py38-test-fixes

- - - - -
680078eb by isidentical at 2021-07-25T17:55:21+03:00
generator: raise RuntimeError when the same async generator gets closed

--HG--
branch : isidentical-py38-test-fixes

- - - - -
9024161c by isidentical at 2021-07-25T18:10:55+03:00
codegen: only support TOP_LEVEL_AWAIT on Module level

--HG--
branch : isidentical-py38-test-fixes

- - - - -
601fdd60 by isidentical at 2021-07-25T19:22:36+03:00
compiler: forbid yield inside generators

--HG--
branch : isidentical-py38-test-fixes

- - - - -
06a23274 by isidentical at 2021-07-25T19:25:41+03:00
ast: fix error message for multiple values on AST

--HG--
branch : isidentical-py38-test-fixes

- - - - -
375e4d38 by isidentical at 2021-07-25T19:34:59+03:00
validator: validate constants as names

--HG--
branch : isidentical-py38-test-fixes

- - - - -
69fe3b1b by Matti Picus at 2021-07-25T20:17:17+03:00
optimize by creating helper functions to avoid Py* calling overhead

--HG--
branch : compact-unicode

- - - - -
52b41796 by Matti Picus at 2021-07-25T20:18:36+03:00
more debugging guards

--HG--
branch : compact-unicode

- - - - -
4a0531ac by Matti Picus at 2021-07-25T20:20:03+03:00
fix PyUnicode_New

--HG--
branch : compact-unicode

- - - - -
89959ef6 by isidentical at 2021-07-25T21:29:09+03:00
type: use qualified name instead of raw class name in base error

--HG--
branch : isidentical-py38-test-fixes

- - - - -
368a1c3d by isidentical at 2021-07-25T22:09:10+03:00
method: use object pointer as identifier in method.__hash__

--HG--
branch : isidentical-py38-test-fixes

- - - - -
c6479137 by isidentical at 2021-07-25T22:32:23+03:00
io: open() now warns when buffering=1 on bytes mode

--HG--
branch : isidentical-py38-test-fixes

- - - - -
b27057d1 by isidentical at 2021-07-25T22:41:17+03:00
ast: can't => cannot for ast based error messages

--HG--
branch : isidentical-py38-test-fixes

- - - - -
565ab671 by isidentical at 2021-07-25T22:42:59+03:00
ast: rename node names (displays for dict/set, f-string expressions for joinedstr)

--HG--
branch : isidentical-py38-test-fixes

- - - - -
ad61e98b by isidentical at 2021-07-25T22:51:20+03:00
ast: improve error messages for assignment inside expression

--HG--
branch : isidentical-py38-test-fixes

- - - - -
b1876c33 by Matti Picus at 2021-07-25T23:20:12+03:00
cleanup debug cruft, remove wrong assert

--HG--
branch : compact-unicode

- - - - -
23bf108d by isidentical at 2021-07-26T11:40:50+03:00
test: fix the compile() apptest to adapt new feature_version

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
33febd05 by Matti Picus at 2021-07-26T12:00:08+03:00
subclasses (like numpy.unicode_) should not use the compact form

--HG--
branch : compact-unicode

- - - - -
206b2450 by isidentical at 2021-07-26T12:18:47+03:00
tokenizer: better handling for type comments

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
2337f357 by isidentical at 2021-07-26T12:31:46+03:00
fstring: add feature_version check against fstring debugging

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
cd0bbbb7 by Matti Picus at 2021-07-26T13:11:15+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
8d77180d by Matti Picus at 2021-07-26T15:43:17+03:00
document and close branch to be merged

--HG--
branch : compact-unicode

- - - - -
d2f574f3 by Matti Picus at 2021-07-26T15:44:00+03:00
merge branch to implement compact PyUnicodeObjects

--HG--
branch : py3.7

- - - - -
92788fef by isidentical at 2021-07-26T16:40:05+03:00
pyparser: ensure all tokens are unique for type ignores

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
e28cdc1d by isidentical at 2021-07-26T19:11:13+03:00
pyparser: add the ability to clear type_ignore cache

It seems like compile() command preserves the parser since it uses
the same execution context on the same session, so if you parse again
and again the number of type_ignores in the parser object grows.

--HG--
branch : py3.8-isidentical-ast-feature-version

- - - - -
24830689 by Ronan Lamy at 2021-07-26T17:38:13+01:00
fix compilation of _hpy_universal

--HG--
branch : hpy-0.0.3

- - - - -
c95713d1 by Matti Picus at 2021-07-27T12:53:52+03:00
fix merge

--HG--
branch : py3.7

- - - - -
dd4ce6eb by Matti Picus at 2021-07-27T12:54:34+03:00
allocate PyUnicodeObject + data when non-compact

--HG--
branch : py3.7

- - - - -
1691a31f by Matti Picus at 2021-07-28T09:25:04+03:00
if __int__ is not found use __index__ in space.int(), like in int.__new__

What about __trunc__ ?

--HG--
branch : py3.8

- - - - -
599a5bd1 by Matti Picus at 2021-07-28T09:37:09+03:00
skip test when untranslated

--HG--
branch : py3.7

- - - - -
f1a8cdeb by Matti Picus at 2021-07-28T11:21:33+03:00
add coding stanza and fix tests for -A --python=python3.8

--HG--
branch : py3.8

- - - - -
ed1ab783 by Matti Picus at 2021-07-28T11:28:57+03:00
fix test

--HG--
branch : py3.8

- - - - -
b3a6cd95 by Matti Picus at 2021-07-28T13:31:17+03:00
add kwarg deterministic to _sqlite3.create_function

--HG--
branch : py3.8

- - - - -
11d46c70 by Matti Picus at 2021-07-28T14:45:16+03:00
add _PyDict_GetItemStringWithError (issue 3497)

--HG--
branch : py3.8

- - - - -
01dff7db by Matti Picus at 2021-07-28T14:45:56+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
a22c4e5c by Matti Picus at 2021-07-28T17:10:12+03:00
fix project name for benchmark runs

--HG--
branch : py3.8

- - - - -
b37ccdff by Ronan Lamy at 2021-07-28T17:58:37+01:00
Enable cpyext in the tests that include Python.h

--HG--
branch : hpy-0.0.3

- - - - -
8d5cc2fd by Ronan Lamy at 2021-07-28T19:14:46+01:00
Implement HPy_AsStruct and HPy_AsStructLegacy

Note: for now pure and legacy types are handled the same.

--HG--
branch : hpy-0.0.3

- - - - -
38573677 by Matti Picus at 2021-07-29T10:33:24+03:00
support multiple tags in hg_archive, fixes platform._sys_version()

- - - - -
02cfcb42 by Matti Picus at 2021-07-29T10:34:47+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
b52effc4 by Matti Picus at 2021-07-29T12:20:12+03:00
merge py3.8-isidentical-ast-feature-version into py3.8

--HG--
branch : py3.8

- - - - -
f242bf9a by Ronan Lamy at 2021-07-29T17:47:30+01:00
fix buffer test

--HG--
branch : hpy-0.0.3

- - - - -
57843138 by isidentical at 2021-07-29T23:00:50+03:00
ast: use proper _type_names

--HG--
branch : isidentical-py38-test-fixes

- - - - -
ed1082a7 by isidentical at 2021-07-30T00:18:13+03:00
ast app tests: fix the ast.Constant(value=...)

--HG--
branch : isidentical-py38-test-fixes

- - - - -
adb253eb by isidentical at 2021-07-30T01:35:07+03:00
module: add get_spec() method to retrieve __spec__

--HG--
branch : isidentical-py38-test-fixes

- - - - -
354b0470 by isidentical at 2021-07-30T01:35:35+03:00
module: implement Module.is_initializing (_PyModuleSpec_IsInitializing)

--HG--
branch : isidentical-py38-test-fixes

- - - - -
379bdc36 by isidentical at 2021-07-30T01:45:18+03:00
interpreter: raise custom errors for partially initialized modules

--HG--
branch : isidentical-py38-test-fixes

- - - - -
33bd10b6 by isidentical at 2021-07-30T02:03:44+03:00
interpreter: move module level functionality to the interpreter

--HG--
branch : isidentical-py38-test-fixes

- - - - -
8de74b94 by isidentical at 2021-07-30T03:00:16+03:00
errors: now ImportErrors assign path/name

--HG--
branch : isidentical-py38-test-fixes

- - - - -
eb816492 by isidentical at 2021-07-30T03:12:38+03:00
interpreter: validate __all__ items

--HG--
branch : isidentical-py38-test-fixes

- - - - -
4514a226 by isidentical at 2021-07-30T03:12:49+03:00
interpreter: validate module.__name__

--HG--
branch : isidentical-py38-test-fixes

- - - - -
a118726f by isidentical at 2021-07-30T03:20:25+03:00
disable specialization

--HG--
branch : isidentical-py38-test-fixes

- - - - -
deba365c by isidentical at 2021-07-30T03:34:23+03:00
try specializing on arg 5?

--HG--
branch : isidentical-py38-test-fixes

- - - - -
e07ecb87 by Matti Picus at 2021-07-30T15:21:09+03:00
windows fixes

--HG--
branch : py3.7

- - - - -
9a8c9ee9 by isidentical at 2021-07-30T17:31:30+03:00
import: use raise_import_error with app level execution to get around RPython

--HG--
branch : isidentical-py38-test-fixes

- - - - -
f24472aa by Ronan Lamy at 2021-07-30T16:57:22+01:00
Implement HPy_Is()

--HG--
branch : hpy-0.0.3

- - - - -
2117b2e6 by isidentical at 2021-07-30T19:03:27+03:00
use native formatting for error messages

--HG--
branch : isidentical-py38-test-fixes

- - - - -
fdfe0cd6 by isidentical at 2021-07-30T19:03:46+03:00
module: add partial initialization for module level error messages

--HG--
branch : isidentical-py38-test-fixes

- - - - -
ced71d37 by Ronan Lamy at 2021-07-30T18:03:35+01:00
Implement HPyErr_NewException()

--HG--
branch : hpy-0.0.3

- - - - -
e48408e6 by Matti Picus at 2021-07-31T23:12:22+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
f4791283 by isidentical at 2021-08-01T02:15:28+03:00
importing: fix recursion error on module.getattr

--HG--
branch : isidentical-py38-test-fixes

- - - - -
a7899780 by isidentical at 2021-08-01T03:37:57+03:00
adjust error messages for apptests

--HG--
branch : isidentical-py38-test-fixes

- - - - -
aa6fed8d by Ronan Lamy at 2021-08-02T19:27:46+01:00
Add .type attribute to our emulation of pytest.raises()

- - - - -
56cad7d9 by Ronan Lamy at 2021-08-02T19:28:29+01:00
hg merge default

--HG--
branch : py3.7

- - - - -
172c8cf8 by Ronan Lamy at 2021-08-02T19:43:06+01:00
hg merge py3.7

--HG--
branch : hpy-0.0.3

- - - - -
a3c62ef5 by Matti Picus at 2021-08-02T22:58:20+03:00
update contributors

- - - - -
af1cdaba by Ronan Lamy at 2021-08-02T21:15:00+01:00
merge heads

- - - - -
4f5f275d by Ronan Lamy at 2021-08-03T16:14:29+01:00
Implement HPyErr_NewExceptionWithDoc()

--HG--
branch : hpy-0.0.3

- - - - -
5b1e4b2b by Ronan Lamy at 2021-08-03T18:05:06+01:00
fix HPyBytes_FromStringAndSize()

--HG--
branch : hpy-0.0.3

- - - - -
f081ceb6 by isidentical at 2021-08-04T20:49:05+03:00
apply suggestions

--HG--
branch : isidentical-py38-test-fixes

- - - - -
dcc26bf5 by Carl Friedrich Bolz-Tereick at 2021-08-05T15:05:44+00:00
Merge branch 'branch/isidentical-py38-test-fixes' into 'branch/py3.8'

py3.8: various test fixes

See merge request pypy/pypy!832

--HG--
branch : py3.8

- - - - -
adfd09d4 by Matti Picus at 2021-08-05T23:30:13+03:00
add _winapi.GetFileType and FILE_TYPE_* values (issue 3531)

--HG--
branch : py3.7

- - - - -
baeeffee by Matti Picus at 2021-08-05T23:32:50+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
bf16b06b by Matti Picus at 2021-08-06T00:32:24+03:00
add 32-bit version of _pypy_winbase_cffi.py

--HG--
branch : py3.7

- - - - -
97c24c06 by Carl Friedrich Bolz-Tereick at 2021-08-06T13:02:22+02:00
a failing test for #3525

--HG--
branch : py3.8

- - - - -
e9691d71 by Matti Picus at 2021-08-06T14:32:31+03:00
make str(sys.version_info) have the stuctseq name (like CPython)

- - - - -
2a71528f by Matti Picus at 2021-08-06T14:54:14+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
210f81a5 by Matti Picus at 2021-08-06T14:50:10+03:00
fix merge, switch sys.implementation.version to pypy_version_info (issue 3129)

--HG--
branch : py3.7

- - - - -
b4c6014d by Matti Picus at 2021-08-06T15:44:53+03:00
fix signature of PyErr_SetFromWindowsErr

--HG--
branch : py3.7

- - - - -
ae5a2670 by Matti Picus at 2021-08-09T15:11:51+03:00
clarify python2/python3 resource tracking.

- - - - -
4dd4994f by Carl Friedrich Bolz-Tereick at 2021-08-09T21:14:43+02:00
fix expected error messages

--HG--
branch : py3.8

- - - - -
c320e8cb by Carl Friedrich Bolz-Tereick at 2021-08-09T21:28:17+02:00
fix test_validate

--HG--
branch : py3.8

- - - - -
e5d69118 by Carl Friedrich Bolz-Tereick at 2021-08-09T21:42:43+02:00
fix another source of position bugs in the astcompiler (like eg 3405c95f9e61)
stemming from the fact that SyntaxErrors use 1-based column offsets, this time
in the codegen

- - - - -
f61d54da by Carl Friedrich Bolz-Tereick at 2021-08-09T21:43:09+02:00
erge heads

- - - - -
e33ec63d by Matti Picus at 2021-08-10T08:11:47+03:00
expose functions implemented directly in C (issue 3532)

--HG--
branch : py3.7

- - - - -
7d288c9c by Carl Friedrich Bolz-Tereick at 2021-08-10T10:29:52+02:00
errors shouldn't talk about "unicode" any more

--HG--
branch : py3.8

- - - - -
4f06b375 by Carl Friedrich Bolz-Tereick at 2021-08-10T11:04:24+02:00
fix binop position

--HG--
branch : py3.8

- - - - -
c3781667 by Carl Friedrich Bolz-Tereick at 2021-08-10T11:44:03+02:00
fix tuple position

--HG--
branch : py3.8

- - - - -
4240302b by isidentical at 2021-08-10T17:47:40+03:00
pytokenizer: explicit check for indentation check for type comments

--HG--
branch : isidentical-py38-pytokenizer-fixes

- - - - -
b2fecc6a by isidentical at 2021-08-10T17:49:45+03:00
test: fix some error messages on tests

--HG--
branch : isidentical-py38-pytokenizer-fixes

- - - - -
82d67890 by Carl Friedrich Bolz-Tereick at 2021-08-10T20:55:42+02:00
follow cpython's logic

--HG--
branch : py3.8

- - - - -
c01c79c3 by Matti Picus at 2021-08-11T06:31:01+03:00
sys.implementation.hexversion is from pypy_version_info not version_info

--HG--
branch : py3.7

- - - - -
8baebef8 by Matti Picus at 2021-08-11T09:30:23+03:00
Merge with isidentical-py38-pytokenizer-fixes

--HG--
branch : py3.8

- - - - -
4712d73f by Carl Friedrich Bolz-Tereick at 2021-08-11T10:29:41+02:00
another case of better __init__ error message

--HG--
branch : py3.8

- - - - -
f1cfe09e by Carl Friedrich Bolz-Tereick at 2021-08-11T10:38:18+02:00
fix 32bit translation, probably

--HG--
branch : py3.8

- - - - -
1fa724d5 by Carl Friedrich Bolz-Tereick at 2021-08-11T11:04:10+02:00
fix test (should have been part of 22ccf43c96db)

--HG--
branch : py3.8

- - - - -
b753b365 by Carl Friedrich Bolz-Tereick at 2021-08-11T15:04:29+02:00
fix applevel version of test_syntax_warnings_missing_comma

for some reason I don't understand, type(x) in (tuple-of-types) gets compiled
into "False" :-(. Instead, add a boolean on all AST types

--HG--
branch : py3.8

- - - - -
b031a345 by Matti Picus at 2021-08-11T18:39:10+03:00
add PyContextVar_New, PyContextVar_Get, PyContextVar_Set (new for python 3.7)

--HG--
branch : py3.7

- - - - -
0e8a8fe5 by Carl Friedrich Bolz-Tereick at 2021-08-12T09:51:34+02:00
two more (this really should be fixed in rpython, I think)

--HG--
branch : py3.8

- - - - -
eb0d1ab5 by Carl Friedrich Bolz-Tereick at 2021-08-12T12:12:42+02:00
add strsignal

- - - - -
40b77ad3 by Carl Friedrich Bolz-Tereick at 2021-08-12T12:14:24+02:00
merge default

--HG--
branch : py3.7

- - - - -
efda8ad9 by Carl Friedrich Bolz-Tereick at 2021-08-12T12:15:06+02:00
merge heads

--HG--
branch : py3.7

- - - - -
e5c4bcb4 by Carl Friedrich Bolz-Tereick at 2021-08-12T12:15:47+02:00
merge py3.7

--HG--
branch : py3.8

- - - - -
4ef2d63e by Carl Friedrich Bolz-Tereick at 2021-08-12T12:24:20+02:00
implement strsignal

--HG--
branch : py3.8

- - - - -
bb2e22f6 by Carl Friedrich Bolz-Tereick at 2021-08-12T12:41:21+02:00
skip refcount tests

--HG--
branch : py3.8

- - - - -
b8ed73b4 by Carl Friedrich Bolz-Tereick at 2021-08-12T13:14:19+02:00
remove pdb

--HG--
branch : py3.8

- - - - -
3bdfa0f4 by Carl Friedrich Bolz-Tereick at 2021-08-13T13:46:15+02:00
attempt 1: try to find errors in dead code

it works, but we put the constants used in the dead code into code.co_consts,
which is not great and hard to fix

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
cfdacff9 by Carl Friedrich Bolz-Tereick at 2021-08-13T13:53:22+02:00
using an explicit flag seems to work better!

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
f2c8746c by Carl Friedrich Bolz-Tereick at 2021-08-13T14:02:54+02:00
another test, for async for in dead code

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
3a4cd1ec by Carl Friedrich Bolz-Tereick at 2021-08-13T14:55:00+02:00
do this check on the token level to catch parens

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
96d9f284 by Matti Picus at 2021-08-15T14:33:25+03:00
add handling of -Xpycache_prefix and PYTHONPYCACHEPREFIX

--HG--
branch : py3.8

- - - - -
24ddf987 by Carl Friedrich Bolz-Tereick at 2021-08-16T10:10:35+02:00
fix this test

--HG--
branch : py3.8

- - - - -
86d307d2 by Carl Friedrich Bolz-Tereick at 2021-08-16T10:44:22+02:00
fix default unraisable hook to not leave out the "Exception ignored in:" part
of the message. This fixes test_del_exception in apptest_userobject.py

--HG--
branch : py3.8

- - - - -
4a7575e7 by Matti Picus at 2021-08-16T16:25:19+03:00
inherit tp_vectorcall_offset, deal with buildin functions and vectorcall

--HG--
branch : py3.8

- - - - -
03c6ad72 by Matti Picus at 2021-08-16T18:22:11+03:00
skip gc-related capi tests

--HG--
branch : py3.8

- - - - -
c8a96ff2 by Matti Picus at 2021-08-16T19:32:57+03:00
add gc.collect to trigger warning

--HG--
branch : py3.8

- - - - -
583c7096 by Matti Picus at 2021-08-17T07:50:58+03:00
fix translation

--HG--
branch : py3.8

- - - - -
9d5af915 by Matti Picus at 2021-08-17T07:50:58+03:00
fix translation

--HG--
branch : py3.7

- - - - -
5d9c10db by Matti Picus at 2021-08-17T07:51:42+03:00
strsignal only available on posix

--HG--
branch : py3.8

- - - - -
6ecd5972 by Matti Picus at 2021-08-17T07:51:56+03:00
move _frozen_importlib instantiation to after the dll setup for untranslated windows tests

--HG--
branch : py3.8

- - - - -
dc2ace99 by Matti Picus at 2021-08-17T08:50:11+03:00
fix unused-variable errors in cpyext tests

--HG--
branch : py3.8

- - - - -
98806f70 by Matti Picus at 2021-08-17T09:29:45+03:00
fix unused-variable errors in cpyext tests

--HG--
branch : py3.8

- - - - -
170506b2 by Matti Picus at 2021-08-17T09:29:45+03:00
fix unused-variable errors in cpyext tests

--HG--
branch : py3.7

- - - - -
a60cb489 by nimaje at 2021-08-17T11:36:25+02:00
fix idlelib.calltip.get_argspec()

This is needed because on pypy more stuff passes isinstance(ob_call, types.MethodType) than on cpython

--HG--
branch : fix-idlelib.calltip.get_argspec

- - - - -
835e9b22 by nimaje at 2021-08-17T14:03:26+02:00
fix more of calltip by also using types.MethodType directly

--HG--
branch : fix-idlelib.calltip.get_argspec

- - - - -
a0cd24a8 by Matti Picus at 2021-08-17T15:25:07+03:00
merge idlelib fix to py3.8

--HG--
branch : py3.8

- - - - -
3650afda by Carl Friedrich Bolz-Tereick at 2021-08-17T16:07:30+02:00
improve unicode handling: use surrogatepass error handler when de- and encoding
utf-16

--HG--
branch : py3.8

- - - - -
af13e8fd by Matti Picus at 2021-08-18T10:50:25+03:00
remove unused variable from cpyext tests

--HG--
branch : py3.8

- - - - -
7b8a2dae by Carl Friedrich Bolz-Tereick at 2021-08-18T12:07:52+02:00
fix test_tcl.py
- implement cesu-8 decoding to deal with non-bmp characters
- skip some non-windows cases: pypy uses 16-bit surrogatepass encoding
  everywhere, whereas CPython uses that approach only for windows (and utf-8
  surrogateescape for non-windows). it might make sense to switch to that
  approach later

--HG--
branch : py3.8

- - - - -
ccb234a0 by Matti Picus at 2021-08-18T21:53:10+03:00
update _ssl error message formatting

--HG--
branch : py3.8

- - - - -
b3cd9e38 by Matti Picus at 2021-08-19T07:53:53+03:00
delete unused arguments in c test

--HG--
branch : py3.8

- - - - -
e929eee8 by Matti Picus at 2021-08-19T11:59:23+03:00
_ssl - use __pypy__.write_unraisable, add num_tickets, tweak error messsage

--HG--
branch : py3.8

- - - - -
1f1580ce by Matti Picus at 2021-08-19T14:06:22+03:00
add debug _msg_cb callback and associated new constants

--HG--
branch : py3.8

- - - - -
0c40f8ca by Matti Picus at 2021-08-20T12:32:14+03:00
add _ssl.HAS_X509_CHECK_FLAG_NEVER_CHECK_SUBJECT (issue 3539)

--HG--
branch : py3.8

- - - - -
f05410de by Matti Picus at 2021-08-20T17:01:33+03:00
add frame.f_back, assuming the user is aware of the dangers of examinig the stack

--HG--
branch : py3.8

- - - - -
92b3120d by Matti Picus at 2021-08-20T17:01:33+03:00
add frame.f_back, assuming the user is aware of the dangers of examinig the stack

--HG--
branch : py3.7

- - - - -
c49b4a3e by Matti Picus at 2021-08-22T14:13:01+03:00
move test to run it with -A and rework parsing to make it pass

--HG--
branch : py3.8

- - - - -
5873999b by Matti Picus at 2021-08-23T00:47:49+03:00
add _PyErr_WriteUnraisableMsg and an audit call to sys.unraisablehook, fix formatting

--HG--
branch : py3.8

- - - - -
5bbf0cbb by Matti Picus at 2021-08-23T00:55:29+03:00
sync test for py3.8

--HG--
branch : py3.8

- - - - -
bb8c08a9 by Matti Picus at 2021-08-23T07:46:39+03:00
tweak formatting of unraisable

--HG--
branch : py3.8

- - - - -
bc13c7b1 by Matti Picus at 2021-08-23T08:20:48+03:00
fix 4cf7f0005c6f

--HG--
branch : py3.8

- - - - -
f8d0f6ad by Matti Picus at 2021-08-23T10:42:20+03:00
typo in import.h

--HG--
branch : py3.7

- - - - -
806dd2c0 by Matti Picus at 2021-08-23T10:42:50+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
b1716f99 by Carl Friedrich Bolz-Tereick at 2021-08-23T13:05:50+02:00
merge py3.8

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
2a186d80 by Carl Friedrich Bolz-Tereick at 2021-08-23T13:15:42+02:00
merge py3.8 (helps to pull before merging :-/)

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
83b36499 by Matti Picus at 2021-08-24T10:59:20+03:00
tweak unraisable printing

--HG--
branch : py3.8

- - - - -
ada5a824 by Matti Picus at 2021-08-24T13:33:14+03:00
generate graminit.h needed for pywin32. maybe part of issue 3286

--HG--
branch : py3.8

- - - - -
fde28c0b by Matti Picus at 2021-08-24T14:31:37+03:00
move include files on non-windows to include/pypy3.8 (issue 3540)

--HG--
branch : move-include

- - - - -
50acc6e3 by Matti Picus at 2021-08-24T14:38:39+03:00
add LDFLAGS to sysconfig

--HG--
branch : py3.8

- - - - -
9cf188f2 by Matti Picus at 2021-08-24T16:48:17+03:00
raise if not all s is converted in PyOS_string_to_double(s, NULL, NULL)

--HG--
branch : py3.8

- - - - -
c92a1be1 by Matti Picus at 2021-08-24T17:14:55+03:00
__ipow__ is a ternary function, tested in lib-python/3/test/test_capi.py

--HG--
branch : py3.8

- - - - -
3095280a by Matti Picus at 2021-08-24T21:05:17+03:00
memfd_create accepts text not bytes

--HG--
branch : py3.8

- - - - -
b542d233 by Matti Picus at 2021-08-24T21:12:23+03:00
assignment to a structseq should be an AttributeError

--HG--
branch : py3.7

- - - - -
c3ec31c4 by Matti Picus at 2021-08-24T21:51:00+03:00
add f_sid to statvfs

- - - - -
429e6314 by Matti Picus at 2021-08-24T22:03:32+03:00
adjust test for PyPy's error

--HG--
branch : py3.8

- - - - -
811df216 by Matti Picus at 2021-08-24T22:37:54+03:00
flush stdout, stderr on exit

--HG--
branch : py3.8

- - - - -
2f5cc8fc by Matti Picus at 2021-08-24T22:52:34+03:00
fix 93a9f5cdd68f, check for out-of-range in strsignal

--HG--
branch : py3.8

- - - - -
02ce8b08 by Matti Picus at 2021-08-24T23:15:10+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
72302736 by Matti Picus at 2021-08-24T23:15:46+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
23fd8083 by Matti Picus at 2021-08-25T07:08:00+03:00
remove f_fsid for python2

- - - - -
d70f5697 by Matti Picus at 2021-08-25T07:08:38+03:00
merge default into py3.7, discarding changes

--HG--
branch : py3.7

- - - - -
72fe4ff3 by Matti Picus at 2021-08-25T07:11:34+03:00
adjust exception in test

--HG--
branch : py3.7

- - - - -
b0c1b03e by Matti Picus at 2021-08-25T07:12:07+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
fd76abea by Matti Picus at 2021-08-25T07:21:47+03:00
wrap flush with try, except

--HG--
branch : py3.8

- - - - -
cf917f77 by Matti Picus at 2021-08-25T07:22:14+03:00
fix test of unraisable error formatting

--HG--
branch : py3.8

- - - - -
28533b52 by Ronan Lamy at 2021-08-25T18:35:47+02:00
Stop vendoring the HPy tests as own-tests, as that is too annoying to maintain

--HG--
branch : hpy-0.0.3

- - - - -
46765074 by Ronan Lamy at 2021-08-25T22:35:38+02:00
Reapply hacks to vendored code

--HG--
branch : hpy-0.0.3

- - - - -
11ed61a1 by Ronan Lamy at 2021-08-25T23:54:20+02:00
Remove extra_AppTestXXX mechanism

--HG--
branch : hpy-0.0.3

- - - - -
0af5060f by Matti Picus at 2021-08-26T08:38:14+03:00
enum _convert is deprecated, use _convert_

--HG--
branch : py3.8

- - - - -
3be11097 by Matti Picus at 2021-08-26T08:38:23+03:00
fix test

--HG--
branch : py3.8

- - - - -
cda20c6b by Matti Picus at 2021-08-26T12:26:41+03:00
improve f-string error messages

--HG--
branch : py3.8

- - - - -
79506e2b by Matti Picus at 2021-08-26T14:37:18+03:00
backport fixes from CPython PR 27968, BPO-45011

--HG--
branch : py3.8

- - - - -
6aa1c500 by Matti Picus at 2021-08-26T14:38:31+03:00
raise on non-tuple time arguments to os.utime

--HG--
branch : py3.8

- - - - -
963d34aa by Matti Picus at 2021-08-26T19:21:22+03:00
fixes, add new exception for __fspath__ failure

--HG--
branch : py3.8

- - - - -
d6b87e81 by Matti Picus at 2021-08-27T00:51:03+03:00
accept variation in error message

--HG--
branch : py3.8

- - - - -
502eb6c7 by Ronan Lamy at 2021-08-27T10:43:55+02:00
hg merge py3.7

--HG--
branch : hpy-refactor-exceptions

- - - - -
3ee8bb18 by Matti Picus at 2021-08-27T13:30:46+03:00
skip/fix some test_gc tests, perhaps we could support more of this someday

--HG--
branch : py3.8

- - - - -
2ef65de7 by Matti Picus at 2021-08-27T13:31:29+03:00
add audit hooks to gc, _socket

--HG--
branch : py3.8

- - - - -
78131d57 by Matti Picus at 2021-08-27T13:55:46+03:00
add another audit event

--HG--
branch : py3.8

- - - - -
3f67d79b by Carl Friedrich Bolz-Tereick at 2021-08-27T13:27:46+02:00
do and/or folding during codegen in order to produce the correct errors in both
paths of the or/and. Also add the first test for this optimization :-(

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
9b12b1c2 by Armin Rigo at 2021-08-27T18:31:40+02:00
(antocuni freezing, ronan, arigo)

Fix for a corner case missing an optimization: interpindirect2app()
on a function with signature 'self, space, __args__' was missing
the optimization for that signature, which works with interp2app().
It's used in _hpy_universal.

- - - - -
44b64678 by Armin Rigo at 2021-08-27T18:33:35+02:00
hg merge default

--HG--
branch : py3.7

- - - - -
0ffd6f1c by Armin Rigo at 2021-08-27T18:34:01+02:00
hg merge py3.7

--HG--
branch : hpy-refactor-exceptions

- - - - -
7d367854 by Armin Rigo at 2021-08-27T17:45:50+01:00
(ronan, antocuni frozen, arigo)

Use interpindirect2app here too.  With this exact signature,
interp2app() is optimized but only if you use a method and
not a function (and now interpindirect2app() uses a method).

--HG--
branch : hpy-refactor-exceptions

- - - - -
52ae3b4e by Carl Friedrich Bolz-Tereick at 2021-08-27T18:59:42+02:00
move the test, submitted to cpython too: https://github.com/python/cpython/pull/28002

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
8ebaaa7d by Carl Friedrich Bolz-Tereick at 2021-08-27T19:03:05+02:00
fix lack of error when True/False/None etc are used as a keyword argument

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
271ce42d by Matti Picus at 2021-08-28T20:54:18+03:00
typo

--HG--
branch : py3.8

- - - - -
2edf6c5f by Matti Picus at 2021-08-28T20:55:11+03:00
make -D tests pass, use os.fsencode for portability to cpython

--HG--
branch : py3.8

- - - - -
816c5d56 by Matti Picus at 2021-08-28T21:26:13+03:00
tweak onboarding to mention using python2 and pypy3-c to run tests

- - - - -
9ba625aa by Matti Picus at 2021-08-28T21:46:02+03:00
typo

- - - - -
7f4ad5e5 by Matti Picus at 2021-08-29T10:04:47+03:00
skip some descr tests for PyPy

--HG--
branch : py3.8

- - - - -
066e381b by Matti Picus at 2021-08-29T10:10:18+03:00
make error message match CPython

--HG--
branch : py3.8

- - - - -
559e7826 by Matti Picus at 2021-08-29T11:54:55+03:00
fix test

--HG--
branch : py3.8

- - - - -
de3e96e6 by Matti Picus at 2021-08-29T13:16:25+03:00
adopt BPO-16396 (supply a low-level VARAINT_BOOL on non-windows), fix test import

--HG--
branch : py3.8

- - - - -
6a8974ac by Carl Friedrich Bolz-Tereick at 2021-08-29T13:24:17+02:00
document branch

--HG--
branch : py3.8-errors-in-dead-code

- - - - -
ebf3a058 by Carl Friedrich Bolz-Tereick at 2021-08-29T13:25:40+02:00
merge py3.8-errors-in-dead-code: produce SyntaxErrors, even if they happen in
"dead" code, eg in a "if 0". Fixes issue #3358.

--HG--
branch : py3.8

- - - - -
c977558c by Carl Friedrich Bolz-Tereick at 2021-08-29T13:34:52+02:00
add one more test for constant-folding in and/or

--HG--
branch : py3.8

- - - - -
66836431 by Carl Friedrich Bolz-Tereick at 2021-08-29T18:08:05+02:00
#3466: implement PyCode_Addr2Line

--HG--
branch : py3.8

- - - - -
60678da2 by Carl Friedrich Bolz-Tereick at 2021-08-29T18:17:53+02:00
fix translation?

--HG--
branch : py3.8

- - - - -
7c536548 by Matti Picus at 2021-08-29T21:21:26+03:00
take strides into account in memoryview.tobytes, newmemoryview (issue 3520)

--HG--
branch : py3.8

- - - - -
b1b8f93a by Matti Picus at 2021-08-29T21:29:09+03:00
merge branch to move include files on posix to include/python3.8

--HG--
branch : py3.8

- - - - -
39cfce60 by Matti Picus at 2021-08-29T21:56:14+03:00
use multiarch as platform_name for python3.8 (issue 3416)

--HG--
branch : py3.8

- - - - -
3feaa724 by Matti Picus at 2021-08-30T00:03:28+03:00
start a release note

- - - - -
424a5864 by Matti Picus at 2021-08-30T01:01:50+03:00
fix move-include

--HG--
branch : py3.8

- - - - -
9b162725 by Matti Picus at 2021-08-30T08:34:20+03:00
handle 0d memoryview.as_str(), calculate strides * shape right-to-left

--HG--
branch : py3.8

- - - - -
3bda7c36 by Matti Picus at 2021-08-31T08:17:27+03:00
fix 26045610df30

--HG--
branch : py3.8

- - - - -
02b36c93 by Matti Picus at 2021-08-31T08:20:39+03:00
merge open-ended-traces into py3.8

--HG--
branch : py3.8

- - - - -
d8d27a06 by "Miss Islington (bot)" at 2021-08-31T08:26:34+03:00
bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28037)
Co-authored-by: Miguel Brito <5544985+miguendes at users.noreply.github.com>

Co-authored-by: Łukasz Langa <lukasz at langa.pl>
(cherry picked from commit 0897253f426068ea6a6fbe0ada01689af9ef1019)

--HG--
branch : py3.7

- - - - -
2fa75211 by "Miss Islington (bot)" at 2021-08-31T08:27:45+03:00
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026)
Co-authored-by: Łukasz Langa <lukasz at langa.pl>
(cherry picked from commit c9227df5a9d8e958a2324cf0deba8524d1ded26a)

Co-authored-by: E-Paine <63801254+E-Paine at users.noreply.github.com>

--HG--
branch : py3.7

- - - - -
f856ddf9 by Matti Picus at 2021-08-31T11:41:08+03:00
update to stdlib 3.8.12

--HG--
branch : vendor/stdlib-3.8

- - - - -
d78d6448 by Matti Picus at 2021-08-31T11:46:06+03:00
Merge vendor/stdlib-3.8 into branch to get stdlib 3.8.12

--HG--
branch : py3.8

- - - - -
71fb504c by Matti Picus at 2021-08-31T12:20:54+03:00
use canonical method for finding include dir instead of manually guessing

--HG--
branch : py3.8

- - - - -
27489a50 by Matti Picus at 2021-08-31T21:25:11+03:00
test, fix memoryview.nbytes

--HG--
branch : py3.8

- - - - -
c7b56009 by Matti Picus at 2021-09-01T07:26:30+03:00
fix f8a0b0d3d766

--HG--
branch : py3.8

- - - - -
87e34312 by Carl Friedrich Bolz-Tereick at 2021-09-01T14:26:49+02:00
typos, try to explain the new 3.8 JIT thing

- - - - -
f6182374 by Matti Picus at 2021-09-02T10:09:41+03:00
try to blindly fix macOS posixshmem build

--HG--
branch : py3.8

- - - - -
1d1ae287 by Matti Picus at 2021-09-02T10:17:37+03:00
update version numbers in default

- - - - -
5e0575ec by Matti Picus at 2021-09-02T10:27:47+03:00
update contributors

- - - - -
1b13cd60 by Matti Picus at 2021-09-02T10:29:12+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
bb192dbb by Matti Picus at 2021-09-02T10:31:51+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
393d5f85 by Matti Picus at 2021-09-02T10:35:45+03:00
update stdlib version

--HG--
branch : py3.8

- - - - -
43272a82 by Matti Picus at 2021-09-02T10:39:14+03:00
move whatsnew

- - - - -
fe37b3ef by Matti Picus at 2021-09-02T11:50:08+03:00
restart whatsnew

- - - - -
0409ad57 by Ronan Lamy at 2021-09-02T14:40:23+00:00
Merge branch 'branch/hpy-refactor-exceptions' into 'branch/py3.7'

WIP? Use the cpyext error indicator to implement HPy exceptions

See merge request pypy/pypy!828

--HG--
branch : py3.7

- - - - -
5fa74b69 by Matti Picus at 2021-09-02T17:45:01+03:00
document branch

--HG--
branch : py3.7

- - - - -
eed30f53 by Ronan Lamy at 2021-09-02T16:59:50+01:00
hg merge py3.7

--HG--
branch : hpy-0.0.3

- - - - -
73b40821 by Michael Cho at 2021-09-02T12:50:37-07:00
add a --no-make-portable to disable portable build on macOS

--HG--
branch : no-make-portable

- - - - -
a33d6248 by Matti Picus at 2021-09-02T23:52:38+03:00
merge no-make-portable which adds a negative option to packaging

- - - - -
5628bf8b by Matti Picus at 2021-09-02T23:56:52+03:00
document merged branch

- - - - -
9826e532 by Carl Friedrich Bolz-Tereick at 2021-09-04T15:27:50+02:00
fix Vanessa's first name (see https://twitter.com/codefrau )

- - - - -
3cc08f4e by Matti Picus at 2021-09-04T19:51:19+03:00
fix 7da4cfec5f00

- - - - -
88aea6a3 by Matti Picus at 2021-09-04T19:52:04+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
efd3021f by Matti Picus at 2021-09-04T19:56:43+03:00
move whatsnew-pypy3

--HG--
branch : py3.7

- - - - -
603b2a01 by Matti Picus at 2021-09-04T19:58:15+03:00
restart whatsnew-pypy3-head.rst

--HG--
branch : py3.7

- - - - -
c9f61b5c by Matti Picus at 2021-09-04T20:01:35+03:00
merge pypy3.7 into branch

--HG--
branch : py3.8

- - - - -
0f7f4295 by Carl Friedrich Bolz-Tereick at 2021-09-04T21:57:37+02:00
one less TimSort specialization, with utf-8 unicode strings it is the same as
byte string sorting

- - - - -
8f85959e by Matti Picus at 2021-09-05T19:02:55+03:00
update release note

- - - - -
5c0b25fa by Carl Friedrich Bolz-Tereick at 2021-09-04T22:24:33+02:00
add a hypothesis test to the listsort testing

- - - - -
4ae24c5f by Carl Friedrich Bolz-Tereick at 2021-09-04T22:30:32+02:00
move this function out of the specialization, can be reused

- - - - -
ad7350ca by Matti Picus at 2021-09-05T01:22:21+03:00
skip srcdir test on pypy

--HG--
branch : py3.8

- - - - -
a904333d by Matti Picus at 2021-09-05T01:22:42+03:00
fix test for pypy

--HG--
branch : py3.8

- - - - -
408f450e by Matti Picus at 2021-09-05T01:23:17+03:00
update _config_vars rather than make it global

--HG--
branch : py3.8

- - - - -
a356a019 by Matti Picus at 2021-09-05T01:23:33+03:00
add get_config_h_filename

--HG--
branch : py3.8

- - - - -
366f4183 by Matti Picus at 2021-09-05T01:38:56+03:00
make sure test uses non-gcc

--HG--
branch : py3.8

- - - - -
78d50bc8 by Matti Picus at 2021-09-05T01:39:16+03:00
more distutils.sysconfig updates

--HG--
branch : py3.8

- - - - -
dcd2ce42 by Matti Picus at 2021-09-05T09:13:26+03:00
remove old versions of bundled pip and setuptools

--HG--
branch : py3.8

- - - - -
4dde4f51 by Matti Picus at 2021-09-05T09:24:25+03:00
remove pypy-specific install schema and move site-packages to lib/pypy3.8

--HG--
branch : py3.8

- - - - -
26c8ecaa by Matti Picus at 2021-09-05T11:08:20+03:00
resync sysconfig_cypthon with upstream, minimize difference with sysconfig_pypy


Some of the synced values are irrelevant, but this is one step toward
removing sysconfig_pypy

--HG--
branch : py3.8

- - - - -
69fa9858 by Matti Picus at 2021-09-05T11:12:55+03:00
when packaging, put stdlib in <prefix>/lib/pypy3.8 on posix, <prefix>/Lib on windows

--HG--
branch : py3.8

- - - - -
d7169e8c by Matti Picus at 2021-09-05T11:36:18+03:00
fix for python2

--HG--
branch : py3.8

- - - - -
70d82458 by Matti Picus at 2021-09-05T12:58:03+03:00
sync imports as well

--HG--
branch : py3.8

- - - - -
b883b851 by Matti Picus at 2021-09-05T14:54:30+03:00
revert this part of the sync, with a comment

--HG--
branch : py3.8

- - - - -
50a9984d by Matti Picus at 2021-09-05T15:16:34+03:00
typo

--HG--
branch : py3.8

- - - - -
569e5460 by Matti Picus at 2021-09-05T15:43:41+03:00
typo

--HG--
branch : py3.8

- - - - -
c776b303 by Matti Picus at 2021-09-05T15:47:46+03:00
unskip test_distutils

--HG--
branch : py3.8

- - - - -
703ad047 by Matti Picus at 2021-09-05T16:38:23+03:00
make sure site-packages is created when packaging

--HG--
branch : py3.8

- - - - -
e9ac7f88 by Matti Picus at 2021-09-05T18:38:25+03:00
assigning to distutils.sysconfig._config_vars fails in tests

--HG--
branch : py3.8

- - - - -
54e015e0 by Matti Picus at 2021-09-05T19:36:06+03:00
use write_unraisable, use regexp in test

--HG--
branch : py3.8

- - - - -
038ad8f5 by Matti Picus at 2021-09-05T19:39:33+03:00
remove stray pdb

--HG--
branch : py3.8

- - - - -
7b9d990b by Matti Picus at 2021-09-06T09:08:47+03:00
typos

--HG--
branch : py3.8

- - - - -
8841a46c by Matti Picus at 2021-09-06T09:09:26+03:00
remove outdated lib-tk and plat-linux2 from init_path

--HG--
branch : py3.8

- - - - -
9f4e2e63 by Matti Picus at 2021-09-06T17:06:22+03:00
pypy site-package now is closer to cpython

--HG--
branch : py3.8

- - - - -
ab2269f3 by Carl Friedrich Bolz-Tereick at 2021-09-06T21:41:14+02:00
implement https://bugs.python.org/issue34561

switch to "powersort" merging strategy by Munro and Wild in the timsort algorithm.

CPython commit: https://github.com/python/cpython/commit/5cb4c672d855033592f0e05162f887def236c00a

paper: https://arxiv.org/abs/1805.04154

- - - - -
19959d00 by Ronan Lamy at 2021-09-07T18:05:29+02:00
Convert test_handles to apptest

--HG--
branch : hpy-0.0.3

- - - - -
39ca201e by Matti Picus at 2021-09-08T00:26:59+03:00
add st_file_attributes and st_reparse_tag to os.stat on win64

--HG--
branch : win64-stat

- - - - -
cf17797f by Ronan Lamy at 2021-09-08T15:53:36+01:00
Fix tests dealing with unsigned_long_bits()

--HG--
branch : hpy-0.0.3

- - - - -
bcb7e5d4 by Matti Picus at 2021-09-08T21:12:15+03:00
adapt test for windows

--HG--
branch : py3.8

- - - - -
cf112f41 by Ronan Lamy at 2021-09-08T20:16:10+01:00
Implement HPyImport_ImportModule

--HG--
branch : hpy-0.0.3

- - - - -
d0227b76 by Ian Clester at 2021-09-08T16:10:34-04:00
fix assignment to pointer references, issue 3546

--HG--
branch : issue-3546

- - - - -
95c6bb28 by Matti Picus at 2021-09-08T23:27:42+03:00
allow casting ctypes array to pointer (issue 3546)

--HG--
branch : py3.7

- - - - -
67e28283 by Matti Picus at 2021-09-08T23:32:50+03:00
document fixed issue, add new contributor

- - - - -
93ebf61f by Matti Picus at 2021-09-08T23:37:22+03:00
document new sorting strategy

- - - - -
2ed87109 by Matti Picus at 2021-09-08T23:37:53+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
3b97a165 by Matti Picus at 2021-09-08T23:38:49+03:00
restart whatsnew

--HG--
branch : py3.7

- - - - -
1d63298b by Matti Picus at 2021-09-08T23:40:42+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
5d5417e4 by Matti Picus at 2021-09-09T09:12:14+03:00
add _PyList_Extend, remove a few already implemented functions from stubs.py

We should probably just delete stubs.py, it is not that useful

--HG--
branch : py3.7

- - - - -
022e334a by Matti Picus at 2021-09-09T11:52:56+03:00
backport check for '=' in env keys, fixes crash in os.execve

- - - - -
6ce2ccea by Matti Picus at 2021-09-09T12:07:00+03:00
CloseFile -> CloseHandle

--HG--
branch : win64-stat

- - - - -
d5a99c5b by Matti Picus at 2021-09-09T14:23:34+03:00
document branch

- - - - -
6801d076 by Matti Picus at 2021-09-09T14:24:26+03:00
merge win64-stat which upgrades os.stat on windows to Python 3.8 symantics

- - - - -
8514f8ac by Matti Picus at 2021-09-09T14:26:51+03:00
merge default into branch

--HG--
branch : py3.7

- - - - -
d1a3a1ad by Matti Picus at 2021-09-09T14:27:32+03:00
merge py3.7 into branch

--HG--
branch : py3.8

- - - - -
8f754180 by Matti Picus at 2021-09-10T07:25:01+03:00
typo

--HG--
branch : py3.8

- - - - -
ad77526e by Matti Picus at 2021-09-10T13:00:55+03:00
fix more uses of include vs. include/pypy3.8

--HG--
branch : py3.8

- - - - -
77046602 by Matti Picus at 2021-09-10T16:06:18+03:00
remove hack, restores DeprecationWarning

--HG--
branch : py3.7

- - - - -
764025a7 by Matti Picus at 2021-09-10T16:07:42+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
cbb23f39 by Matti Picus at 2021-09-11T10:34:13+03:00
maybe create include/pypy3.8 in tests

--HG--
branch : py3.8

- - - - -
a4c89940 by Matti Picus at 2021-09-11T10:39:27+03:00
skip hpy tests if _hpy_universal not found

--HG--
branch : py3.7

- - - - -
a73494ab by Matti Picus at 2021-09-11T10:39:53+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
b1ce793c by Matti Picus at 2021-09-12T08:03:37+03:00
add instructions how to upgrade

--HG--
branch : vendor/stdlib-3.7

- - - - -
b176f7ee by Matti Picus at 2021-09-12T08:08:29+03:00
update stdlib to v3.7.12

--HG--
branch : vendor/stdlib-3.7

- - - - -
31dd6bf5 by Matti Picus at 2021-09-12T08:10:06+03:00
mention the need to update python versions

--HG--
branch : vendor/stdlib-3.7

- - - - -
9477b146 by Matti Picus at 2021-09-12T08:16:46+03:00
update stdlib to 3.7.12

--HG--
branch : py3.7

- - - - -
5b5c4619 by Matti Picus at 2021-09-12T08:19:28+03:00
mention stdlib 3.7.12 in the release note

- - - - -
5cbd6275 by Matti Picus at 2021-09-12T08:21:56+03:00
remove stale TODO file

--HG--
branch : py3.7

- - - - -
35963bed by Matti Picus at 2021-09-12T23:45:45+03:00
adjust sys.initpath to use either ./lib-python/3 or ./lib/pypy3.8 (./Lib on windows)

issue 3549

--HG--
branch : py3.8

- - - - -
243c0cb1 by Matti Picus at 2021-09-12T23:51:29+03:00
cleanout old bundled versions of pip and setuptools

--HG--
branch : py3.7

- - - - -
6980bc9e by Matti Picus at 2021-09-13T06:51:07+03:00
fix test

--HG--
branch : py3.8

- - - - -
25baf7b7 by Matti Picus at 2021-09-13T08:17:55+03:00
tweak release note, fix other doc errors

- - - - -
b725b0da by Matti Picus at 2021-09-13T14:02:58+03:00
Added tag release-pypy2.7-v7.3.6rc1 for changeset dd033553d691

- - - - -
6be42b01 by Matti Picus at 2021-09-13T14:03:21+03:00
Added tag release-pypy3.7-v7.3.6rc1 for changeset a5e5c18d11e9

- - - - -
f61e26b4 by Matti Picus at 2021-09-13T14:03:38+03:00
Added tag release-pypy3.8-v7.3.6rc1 for changeset 7e233b73b927

- - - - -
04b3d272 by Ronan Lamy at 2021-09-15T17:14:34+01:00
Update hpy

--HG--
branch : hpy-0.0.3

- - - - -
cf4375d0 by Ronan Lamy at 2021-09-15T17:34:19+01:00
Skip a test that cannot possibly run on pypy

--HG--
branch : hpy-0.0.3

- - - - -
abbd3ed4 by Ronan Lamy at 2021-09-16T10:09:27+01:00
Manually disable a skipped test using fixtures so it doesn't error in collection phase

--HG--
branch : hpy-0.0.3

- - - - -
7a63ccb2 by Ronan Lamy at 2021-09-16T15:23:21+01:00
Implement HPyUnicode_AsUTF8AndSize and HPyUnicode_DecodeFSDefault.

Also, factor out the string pinning logic from HPyBytes_AsString.

--HG--
branch : hpy-0.0.3

- - - - -
64da3057 by Ronan Lamy at 2021-09-16T17:48:31+01:00
typo fixed upstream

--HG--
branch : hpy-0.0.3

- - - - -
fb76213e by Ronan Lamy at 2021-09-16T17:49:25+01:00
fix extra test: the distribution is now called 'hpy'

--HG--
branch : hpy-0.0.3

- - - - -
d415e0fb by Ronan Lamy at 2021-09-16T18:11:14+01:00
skip or xfail some extra tests

--HG--
branch : hpy-0.0.3

- - - - -
919c249e by Ronan Lamy at 2021-09-17T15:14:00+01:00
Disable -D tests under pypy/module/_hpy_universal - they already run in extra_tests/

--HG--
branch : hpy-0.0.3

- - - - -
19da3606 by Carl Friedrich Bolz-Tereick at 2021-09-18T13:56:37+02:00
replace the confusing paragraph with mostly a link to the blog post

- - - - -
713b2af9 by Matti Picus at 2021-09-20T11:11:03-04:00
fix venv for possible python3.8 directory (issue 3553)

--HG--
branch : py3.8

- - - - -
d6792af4 by Ronan Lamy at 2021-09-21T14:54:29+01:00
Add is_legacy flag, in order to enforce inheritance constraints

--HG--
branch : hpy-0.0.3

- - - - -
fc62a883 by Ronan Lamy at 2021-09-21T15:40:16+01:00
backendopt is required to generate valid C in test_ztranslation

--HG--
branch : hpy-0.0.3

- - - - -
7a339b6b by Ronan Lamy at 2021-09-21T18:37:39+01:00
fix itertools ztranslation

--HG--
branch : hpy-0.0.3

- - - - -
7bb80900 by Carl Friedrich Bolz-Tereick at 2021-09-22T14:42:39+02:00
fix #3555: when doing classic %-stringformatting and the right hand operand is
a subclass of a tuple, still treat it like a tuple and ignore __iter__ (and
__getitem__ etc)

--HG--
branch : py3.8

- - - - -
c4eec460 by Matti Picus at 2021-09-23T08:45:26-04:00
revert mistaken part of 824638f0e227

--HG--
branch : py3.8

- - - - -
5f067b72 by Ronan Lamy at 2021-09-24T14:12:37+01:00
update_vendored to 0.0.3 release

--HG--
branch : hpy-0.0.3

- - - - -
65b22efe by Armin Rigo at 2021-09-25T15:24:57+02:00
issue #3463

fix invalid code generation in the ppc backend

- - - - -
536f3054 by fijal at 2021-09-27T11:57:29+02:00
write and use StackNew for a cffi helper

--HG--
branch : scoped-cffi-malloc

- - - - -
b7cf79d3 by fijal at 2021-09-27T12:38:40+02:00
write a dumb test, a bit hard to test

--HG--
branch : scoped-cffi-malloc

- - - - -
c6f44858 by fijal at 2021-09-27T12:53:46+02:00
dumb test

--HG--
branch : scoped-cffi-malloc

- - - - -
e3fd043b by fijal at 2021-09-27T13:20:57+02:00
cffi rename

--HG--
branch : scoped-cffi-malloc

- - - - -
3db7ab1d by fijal at 2021-09-27T14:46:35+02:00
move stuff around so we can actually import ssl

--HG--
branch : scoped-cffi-malloc

- - - - -
8d27e18c by fijal at 2021-09-27T16:16:28+02:00
close to be merged branch

--HG--
branch : scoped-cffi-malloc

- - - - -
f267682f by fijal at 2021-09-27T16:18:01+02:00
merge scoped-cffi-malloc which adds a scoped way to malloc buffers and use it in ssl.read

- - - - -
d5c610f4 by fijal at 2021-09-27T16:21:32+02:00
merge scoped cffi malloc

--HG--
branch : py3.7

- - - - -
554a0dd2 by Carl Friedrich Bolz-Tereick at 2021-09-28T19:37:58+02:00
(cfbolz, arigo instigating): switch the storage of unboxed mapdicts around: use
long longs instead of doubles

the reason is that on some platforms hiding stuff in non-standard NaNs doesn't
always round-trip correctly.

- - - - -
d80c8aa0 by Matti Picus at 2021-09-28T14:06:55-04:00
package lib_pypy into the stdlib directory

--HG--
branch : py3.8

- - - - -
9920d386 by Matti Picus at 2021-09-29T00:49:20+03:00
reduce difference to upstream

--HG--
branch : py3.7

- - - - -
cc1c1414 by Matti Picus at 2021-09-29T00:50:41+03:00
update versions.json

- - - - -
e70f2d7e by Matti Picus at 2021-09-29T00:51:50+03:00
update repackage.sh

- - - - -
d66ea103 by Matti Picus at 2021-09-29T01:17:08+03:00
document newly-merged improvements

- - - - -
8be271f4 by Matti Picus at 2021-09-29T01:19:08+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
28e7a004 by Matti Picus at 2021-09-29T01:21:52+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
35ea836f by Matti Picus at 2021-09-29T02:06:14+03:00
enable _hpy_universal on windows

--HG--
branch : hpy-0.0.3

- - - - -
50a5e75c by Matti Picus at 2021-09-29T10:02:18+03:00
fix translation

--HG--
branch : hpy-0.0.3

- - - - -
8e0a1949 by Matti Picus at 2021-09-29T12:05:21+03:00
hack to run untranslated tests with python2

--HG--
branch : hpy-0.0.3

- - - - -
9638c8ed by Carl Friedrich Bolz-Tereick at 2021-09-29T12:44:55+02:00
make test work without hypothesis

- - - - -
3e6f1303 by Carl Friedrich Bolz-Tereick at 2021-09-29T13:01:44+02:00
fix test_pypy_c, goes with 0012ea4931c1

- - - - -
e7cfdb17 by Matti Picus at 2021-09-29T16:58:10+03:00
make error message match CPython

--HG--
branch : hpy-0.0.3

- - - - -
44199de8 by Ronan Lamy at 2021-09-29T16:20:13+01:00
Move test from deprecated test_lib_pypy/ to extra_tests/

- - - - -
52185a1a by Ronan Lamy at 2021-09-29T16:43:15+01:00
skip the test on CPython

- - - - -
491c3e0c by Ronan Lamy at 2021-09-29T17:02:13+01:00
hg merge default

--HG--
branch : py3.7

- - - - -
0a153920 by Matti Picus at 2021-09-29T22:45:36+03:00
add extra_link_args for untranslated windows tests

--HG--
branch : hpy-0.0.3

- - - - -
c90c3a71 by Matti Picus at 2021-09-30T01:21:06+03:00
make error message match CPython

--HG--
branch : hpy-0.0.3

- - - - -
110ac357 by Matti Picus at 2021-09-30T13:18:51+03:00
make sure tests have unique names regardless of case since they are directory names on windows

--HG--
branch : hpy-0.0.3

- - - - -
1b605295 by Matti Picus at 2021-09-30T13:24:15+03:00
merge hpy-0.0.3 into py3.7

--HG--
branch : py3.7

- - - - -
5f42443e by Matti Picus at 2021-09-30T14:40:20+03:00
backport some error message fixes from py3.8

--HG--
branch : py3.7

- - - - -
a18421c8 by Matti Picus at 2021-09-30T14:41:29+03:00
update whatsnew, assuming the latest changes will be part of the release

--HG--
branch : py3.7

- - - - -
d0bce127 by fijal at 2021-10-01T13:22:18+02:00
fix broken merge hopefully

--HG--
branch : py3.7

- - - - -
db21d4fe by fijal at 2021-10-01T13:53:01+02:00
hopefully fix the merge

--HG--
branch : py3.7

- - - - -
cf31159c by Matti Picus at 2021-10-01T18:05:58+03:00
npn support is flaky since we default to ssl 1.1.1, this is removed in later CPython

--HG--
branch : py3.7

- - - - -
2ed3e278 by Matti Picus at 2021-10-01T18:06:40+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
486bc06f by Matti Picus at 2021-10-02T20:34:50+03:00
fix more tests for new layout

--HG--
branch : py3.8

- - - - -
0e0acbd3 by Matti Picus at 2021-10-02T21:53:53+03:00
restore deleted pypy-extension suggestion code in traceback.py

--HG--
branch : py3.8

- - - - -
4845c6bc by Matti Picus at 2021-10-03T09:53:25+03:00
remove pypy-specific copying of base/lib/*.so which is not needed for portable builds

also rename lib/python3.8 to lib/pypy3.8

--HG--
branch : py3.8

- - - - -
4bd544ed by Matti Picus at 2021-10-03T10:03:33+03:00
backport c73cb5fa3e09

--HG--
branch : py3.7

- - - - -
71ffddab by Matti Picus at 2021-10-03T14:15:13+03:00
fix sysconfig.get_config_var('LDLIBRARY') for darwin

--HG--
branch : py3.7

- - - - -
8eb9173b by Matti Picus at 2021-10-03T15:41:24+03:00
implement nt._add_dll_directory, nt._remove_dll_directory

--HG--
branch : py3.8

- - - - -
cfc442bc by Matti Picus at 2021-10-03T15:43:44+03:00
backport py3.8 changes for nt._add_dll_directory, nt._remove_dll_directory

- - - - -
b74e6209 by Matti Picus at 2021-10-03T15:44:34+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
65c6fcd0 by Matti Picus at 2021-10-03T15:45:40+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
a7d7316a by Matti Picus at 2021-10-04T01:19:53+03:00
use cpython3.8-compatible flags when calling LoadLibraryEx

The interface for rdynload.dlopenex should be expanded to allow flags so this
can be backported to py3.7 and default without changing the semantics there

--HG--
branch : py3.8

- - - - -
38fd3c9f by Matti Picus at 2021-10-04T11:07:22+03:00
generalize 3e4729717bea

--HG--
branch : py3.8

- - - - -
c97e26bd by Matti Picus at 2021-10-04T11:07:55+03:00
us os.add_dll_directory for cffi builds and packaging

--HG--
branch : py3.8

- - - - -
38dbc161 by Matti Picus at 2021-10-04T12:39:54+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
f793bdd4 by Matti Picus at 2021-10-04T12:40:52+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
3cf56842 by Matti Picus at 2021-10-04T14:31:31+03:00
build_cffi_imports can be called with a host python (pre-python3.8)

--HG--
branch : py3.8

- - - - -
ab67d32e by Matti Picus at 2021-10-03T17:12:50+03:00
skip test if _posixshmem is not importable

--HG--
branch : py3.8

- - - - -
575a0864 by Matti Picus at 2021-10-04T11:19:03+03:00
backport LoadLibraryEx changes

- - - - -
039036a6 by Carl Friedrich Bolz-Tereick at 2021-10-04T22:04:41+02:00
adapt unit test to deal with suggestion output

--HG--
branch : py3.8

- - - - -
0bc0dc83 by Matti Picus at 2021-10-05T11:59:22+03:00
fix venv: copy python on windows, revert c73cb5fa3e09 fon non-symlink, add "pypy"

--HG--
branch : py3.7

- - - - -
1e40ef4b by Matti Picus at 2021-10-05T12:25:29+03:00
remove windows copying that was in non-windows clause

--HG--
branch : py3.7

- - - - -
174dbfa2 by Matti Picus at 2021-10-05T12:50:34+03:00
backport f7175310f928, mention this mess in stdlib-upgrade.txt

--HG--
branch : py3.8

- - - - -
0a88e4d1 by Dan Villiom Podlaski Christiansen at 2021-10-05T15:38:57+02:00
build_cffi_imports: fix determining CFLAGS

The previous logic implicitly assumed that CFLAGS was either unset or
started with a space, breaking the MacPorts build. In addition, it
also extracted the version info from the _running_ interpreter rather
than the _built_ one.

--HG--
branch : py3.8-fix-cflags

- - - - -
35b0921d by Matti Picus at 2021-10-06T10:13:51+03:00
Added tag release-pypy2.7-v7.3.6rc2 for changeset b89256933b0b

- - - - -
95cffeb0 by Matti Picus at 2021-10-06T10:14:27+03:00
Added tag release-pypy3.7-v7.3.6rc2 for changeset e4511a21ddfc

- - - - -
89a82370 by Matti Picus at 2021-10-06T10:14:55+03:00
Added tag release-pypy3.8-v7.3.6rc2 for changeset 28b8e9d917f1

- - - - -
35d4ef98 by Matti Picus at 2021-10-06T11:57:11+03:00
tweak the subprocess call and the comment

--HG--
branch : py3.8-fix-cflags

- - - - -
b409f965 by Matti Picus at 2021-10-06T11:58:09+03:00
merge py3.8-fix-cflags which fixes post-translation build of cffi extensions

--HG--
branch : py3.8

- - - - -
54b88028 by Matti Picus at 2021-10-06T18:38:51+03:00
add rc2 to the versions.json file

- - - - -
5fc9a3bc by Matti Picus at 2021-10-06T18:48:30+03:00
add two more fixed issues to release notes

- - - - -
f9cd3ff8 by Matti Picus at 2021-10-06T21:01:56+03:00
fix venv yet again: libpypy* was missing when using --copies

--HG--
branch : py3.7

- - - - -
f6349fe0 by Matti Picus at 2021-10-06T21:04:15+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
994c31d7 by Matti Picus at 2021-10-08T09:34:52+03:00
Back out implementation from 5f72d59b9aa1, it broke non-JIT builds

- - - - -
83419d65 by Matti Picus at 2021-10-08T10:44:10+03:00
add some environment variables to get_multiarch (tumbleweed)

- - - - -
1232ffa6 by Matti Picus at 2021-10-08T10:45:09+03:00
document use of environment variables and that extra_tests should run on CPython

- - - - -
a72f4024 by Matti Picus at 2021-10-08T10:51:42+03:00
backport changes from py3.7

- - - - -
710c5859 by Matti Picus at 2021-10-08T11:07:38+03:00
fix doc build, add missing file from py3.7

- - - - -
38fbc1eb by Matti Picus at 2021-10-08T11:15:15+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
935d5d63 by Matti Picus at 2021-10-08T11:23:45+03:00
add missing import

- - - - -
03d3f10d by Matti Picus at 2021-10-08T14:47:23+03:00
fix venv for possibility that someone backports the cpython-style layout from 3.8

--HG--
branch : py3.7

- - - - -
e7cab408 by Matti Picus at 2021-10-08T11:51:33+03:00
add debian value MULTIARCH, crossenv value HOST_GNU_TYPE to sysconfig{data}

--HG--
branch : py3.7

- - - - -
ebbca327 by Matti Picus at 2021-10-08T15:52:30+03:00
new layout uses pypy3.8 not python3.8

--HG--
branch : py3.8

- - - - -
3d0e6786 by Matti Picus at 2021-10-08T16:27:09+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
27dd1c4d by Matti Picus at 2021-10-08T16:28:00+03:00
remove py3.7-specific comment

--HG--
branch : py3.8

- - - - -
e5503e21 by Matti Picus at 2021-10-10T00:01:47+03:00
require _get_multiarch to succeed on posix

- - - - -
6f4afd79 by Matti Picus at 2021-10-10T00:02:27+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
b19bce84 by Matti Picus at 2021-10-10T00:02:49+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
4095a835 by Matti Picus at 2021-10-10T06:42:57+03:00
fix d3a0f53969da

- - - - -
f19852e3 by Matti Picus at 2021-10-10T06:43:54+03:00
merge default into branch

--HG--
branch : py3.7

- - - - -
92905c4a by Matti Picus at 2021-10-10T06:44:26+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
f5f40f80 by Matti Picus at 2021-10-10T08:59:10+03:00
fix test

--HG--
branch : py3.7

- - - - -
f0c01199 by Matti Picus at 2021-10-10T09:10:30+03:00
cpython does not have datetime._normalize

--HG--
branch : py3.7

- - - - -
78f63835 by Matti Picus at 2021-10-10T09:12:15+03:00
avoid deprecation warnings on CPython, PyPy

--HG--
branch : py3.7

- - - - -
5480fdb4 by Matti Picus at 2021-10-10T10:38:38+03:00
merge py3.7 into py3.8

--HG--
branch : py3.8

- - - - -
f3ccaf4c by Matti Picus at 2021-10-10T14:36:11+03:00
decode stdout after Popen

--HG--
branch : py3.8

- - - - -
6f14f77c by Armin Rigo at 2021-10-10T17:41:12+03:00
fix quadratic behaviour for enums (issue 3571)

--HG--
branch : py3.8

- - - - -
7c80f9c9 by Matti Picus at 2021-10-10T23:36:27+03:00
typo

--HG--
branch : py3.8

- - - - -
93acba01 by Matti Picus at 2021-10-11T10:22:38+03:00
remove pdb

--HG--
branch : py3.8

- - - - -
524b1d40 by Matti Picus at 2021-10-11T16:48:29+03:00
test and fix for issue 3573. a better fix might be to avoid assigning None to __file__

--HG--
branch : py3.8

- - - - -
e38c354a by Matti Picus at 2021-10-11T23:30:59+03:00
add passing test that docstrings end up on the applevel function

--HG--
branch : py3.8

- - - - -
b188e03c by Matti Picus at 2021-10-11T23:31:13+03:00
add a docstring to __import__

--HG--
branch : py3.8

- - - - -
ffdf2512 by Matti Picus at 2021-10-12T09:03:45+03:00
add cpython-compatible error message on windows

--HG--
branch : py3.8

- - - - -
8beb69eb by Matti Picus at 2021-10-12T12:15:16+03:00
Added tag release-pypy2.7-v7.3.6rc3 for changeset b89256933b0b

- - - - -
0a195390 by Matti Picus at 2021-10-12T12:18:16+03:00
Added tag release-pypy3.7-v7.3.6rc3 for changeset fb22c554358b

- - - - -
be037bf0 by Matti Picus at 2021-10-12T12:19:04+03:00
Added tag release-pypy3.8-v7.3.6rc3 for changeset 6c4c0169842e

- - - - -
1ed4121f by Armin Rigo at 2021-10-12T12:48:44+02:00
Performance fix: in ffi.memmove() when the src argument is a bytes object it would painfully copy the bytes out of the nursery, but it doesn't need to

- - - - -
716f0227 by Armin Rigo at 2021-10-13T07:16:11+02:00
Don't declare stdin, stdout and stderr as extern in the generated C files

- - - - -
2bbc76bd by Matti Picus at 2021-10-13T08:37:53+03:00
update versions.json for rc3

- - - - -
e179dc63 by Matti Picus at 2021-10-13T23:55:59+03:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
749a3b77 by Stefano Rivera at 2021-10-13T11:50:08-07:00
imp module: Use the multiarch tag in C extension filenames

The import machinery should use the multiarch tag from
sys.implementation._multiarch / sysconfig.get_config_var('MULTIARCH').

--HG--
branch : py3.7

- - - - -
2f44226f by Matti Picus at 2021-10-13T23:54:39+03:00
fix table

- - - - -
bfae7260 by Carl Friedrich Bolz-Tereick at 2021-10-15T14:59:32+02:00
fix bug in 1138b6754bdd: the "if" of an elif chain was moved, attaching the
elif to the previous if and breaking "once" in the process, under some
circumstances

--HG--
branch : py3.7

- - - - -
99dc1c2f by Carl Friedrich Bolz-Tereick at 2021-10-15T15:01:10+02:00
merge py3.7

--HG--
branch : py3.8

- - - - -
c0eebace by Carl Friedrich Bolz-Tereick at 2021-10-15T15:12:06+02:00
backport 1138b6754bdd (don't leak memory if warnings are ignored) and its bug
fix 32a9dd00ac6a (don't break once in the process)

- - - - -
2e9a9361 by Carl Friedrich Bolz-Tereick at 2021-10-15T15:13:06+02:00
merge default (diff is empty, due to the backport)

--HG--
branch : py3.7

- - - - -
ee8ff092 by Carl Friedrich Bolz-Tereick at 2021-10-15T15:13:20+02:00
merge py3.7

--HG--
branch : py3.8

- - - - -
fe53d9dd by Carl Friedrich Bolz-Tereick at 2021-10-15T21:52:03+02:00
bpo-33375: follow cpython in removing this mess of logic to find the filename
and instead just ask the code object.

--HG--
branch : py3.8

- - - - -
aba1fb65 by Matti Picus at 2021-10-17T08:20:21+03:00
revert 9dcb0815f970 - LDFLAGS should not define -shared (issue 3576)

--HG--
branch : py3.8

- - - - -
ae5a9f7c by Carl Friedrich Bolz-Tereick at 2021-10-20T11:44:18+02:00
#3577 this extra .lineno_set = False is no longer necessary, since we set the
lineno in a lot more places than we used to

--HG--
branch : py3.8

- - - - -
42e103f9 by Carl Friedrich Bolz-Tereick at 2021-10-20T11:44:18+02:00
#3577 this extra .lineno_set = False is no longer necessary, since we set the
lineno in a lot more places than we used to

--HG--
branch : py3.8-fix-for-tracing

- - - - -
3186454a by Carl Friedrich Bolz-Tereick at 2021-10-20T16:03:46+02:00
Backed out changeset 5ff0319ceb27 (breaks stuff)

--HG--
branch : py3.8

- - - - -
96e789f3 by Carl Friedrich Bolz-Tereick at 2021-10-20T17:09:01+02:00
follow CPython's line trace event logic more precisely

--HG--
branch : py3.8-fix-for-tracing

- - - - -
e2a59384 by Carl Friedrich Bolz-Tereick at 2021-10-21T10:08:21+02:00
document branch

--HG--
branch : py3.8-fix-for-tracing

- - - - -
9bb17fed by Carl Friedrich Bolz-Tereick at 2021-10-21T10:08:43+02:00
merge branch

--HG--
branch : py3.8

- - - - -
c9acce86 by mgorny at 2021-10-22T08:43:37+03:00
backport fixes to close ProcessPoolExecutor (issue 3317)

--HG--
branch : py3.8

- - - - -
e663b7fb by Matti Picus at 2021-10-22T08:59:22+03:00
apply the rest of the changes in the fix to cpython bpo-39104

--HG--
branch : py3.8

- - - - -
82c9c432 by Matti Picus at 2021-10-22T09:12:01+03:00
fix broken dependency on gc.collect to collect the object and kill the weakref (issue 3317)

--HG--
branch : py3.8

- - - - -
0ef350d0 by Matti Picus at 2021-10-22T11:11:15+03:00
merge py3.8 into branch (this makes it py3.8-specific)

--HG--
branch : conda

- - - - -
c15b4f2c by Matti Picus at 2021-10-22T12:05:41+03:00
merge conda-specific patches in the feedstock

--HG--
branch : conda

- - - - -
a102eb20 by Matti Picus at 2021-10-24T14:19:38+03:00
add patch for conda dll search paths

--HG--
branch : conda

- - - - -


30 changed files:

- .hgignore
- .hgtags
- LICENSE
- + dotviewer/__main__.py
- dotviewer/dotviewer.py
- dotviewer/drawgraph.py
- + dotviewer/font/FiraMath-Regular.otf
- + dotviewer/font/LICENSE
- dotviewer/font/README.txt
- dotviewer/graphclient.py
- dotviewer/graphdisplay.py
- dotviewer/graphpage.py
- dotviewer/graphparse.py
- dotviewer/graphserver.py
- dotviewer/msgstruct.py
- dotviewer/sshgraphserver.py
- dotviewer/strunicode.py
- + dotviewer/test/test_record.py
- extra_tests/cffi_tests/cffi0/test_function.py
- extra_tests/cffi_tests/cffi1/test_recompiler.py
- extra_tests/cffi_tests/support.py
- extra_tests/cffi_tests/test_c.py
- extra_tests/ctypes_tests/test_pointers.py
- + extra_tests/hpy_tests/_vendored/__init__.py
- + extra_tests/hpy_tests/_vendored/check_py27_compat.py
- + extra_tests/hpy_tests/_vendored/conftest.py
- + extra_tests/hpy_tests/_vendored/debug/__init__.py
- + extra_tests/hpy_tests/_vendored/debug/test_handles.py
- + extra_tests/hpy_tests/_vendored/support.py
- + extra_tests/hpy_tests/_vendored/test_00_basic.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/ba8179c1fdd6d046b0bd09b8fb48dfd764c5b2e4...a102eb200258685e074db9ff32a6a0961db0345b

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20211024/55894eb5/attachment-0001.html>


More information about the pypy-commit mailing list