[pypy-commit] [Git][pypy/pypy][branch/py3.7] 186 commits: update to v2.7.16

Matti Picus foss at heptapod.net
Fri Oct 16 10:26:22 EDT 2020



Matti Picus pushed to branch branch/py3.7 at PyPy / pypy


Commits:
1794dd2c by Matti Picus at 2019-05-20T12:55:24+03:00
update to v2.7.16

--HG--
branch : vendor/stdlib

- - - - -
62d4a706 by Matti Picus at 2019-05-20T12:56:07+03:00
add how-to-update

--HG--
branch : vendor/stdlib

- - - - -
4c2d1029 by Michał Górny at 2020-09-28T09:28:36+02:00
update stdlib to v2.7.18-3-g138e2caeb4

--HG--
branch : vendor/stdlib

- - - - -
2e7012c8 by Michał Górny at 2020-09-28T10:51:59+02:00
start stdlib-2.7.18-3 branch

--HG--
branch : stdlib-2.7.18-3

- - - - -
f67b9ed9 by Michał Górny at 2020-09-28T10:45:03+02:00
merge vendor/stdlib

--HG--
branch : stdlib-2.7.18-3

- - - - -
f0618030 by Michał Górny at 2020-09-29T15:24:42+02:00
fix mistakenly readded py2.7 import from weakref.py

--HG--
branch : stdlib-2.7.18-3

- - - - -
049ea398 by Michał Górny at 2020-09-29T15:25:00+02:00
add new py2.7 tests to conftest

--HG--
branch : stdlib-2.7.18-3

- - - - -
94e8d8ee by Michał Górny at 2020-09-29T16:31:50+02:00
test_syntax: Fix doctest exception message to match pypy

--HG--
branch : stdlib-2.7.18-3

- - - - -
5ee9c187 by Michał Górny at 2020-09-29T17:31:21+02:00
test_thread: fix pypy gc collection lost on update, caused test to hang

--HG--
branch : stdlib-2.7.18-3

- - - - -
2f9bea3f by Michał Górny at 2020-09-29T21:39:55+02:00
test_time: fix exception compatibility with pypy

--HG--
branch : stdlib-2.7.18-3

- - - - -
07d02be9 by Michał Górny at 2020-09-29T21:43:20+02:00
test_xml_etree.py: fix test failure due to refcounting impl detail

--HG--
branch : stdlib-2.7.18-3

- - - - -
d45eb67d by Stefano Rivera at 2020-10-02T13:06:56-07:00
bpo-38535: Fix positions for AST nodes for calls without arguments in decorators

--HG--
branch : stdlib-2.7.18-3

- - - - -
eef497d7 by Stefano Rivera at 2015-06-05T20:32:17+02:00
bytearray(obj) should call obj.__index__() instead of obj.__int__().

adapted from b84f64795e2b in the py3k branch

--HG--
branch : stdlib-2.7.18-3

- - - - -
5374494e by Stefano Rivera at 2020-10-02T17:40:25-07:00
Update _testcapimodule to 2.7.18

Skip test_long_as_unsigned_long_long_mask as it currently segfaults

--HG--
branch : stdlib-2.7.18-3

- - - - -
8a37c310 by Ronan Lamy at 2019-10-16T16:48:28+01:00
Fix range checking in GB18030 decoder (bpo-29990)

--HG--
branch : stdlib-2.7.18-3

- - - - -
64ab68e9 by Ronan Lamy at 2019-10-16T17:57:57+01:00
Fix handling escape characters in HZ codec (bpo-30003)

--HG--
branch : stdlib-2.7.18-3

- - - - -
a9fb5988 by Stefano Rivera at 2020-10-02T22:06:02-07:00
Handle NULL argument to PyLong_AsUnsignedLongLongMask

As used in test_long_as_unsigned_long_long_mask in _testcapimodule

--HG--
branch : stdlib-2.7.18-3

- - - - -
457bbd3b by Stefano Rivera at 2020-10-02T21:39:21-07:00
Swallow exceptions in PySlice_GetIndices

PySlice_GetIndicesEx is the improved version that raises exceptions.

As the cPython docs say:

> Returns 0 on success and -1 on error with no exception set (unless one of the
> indices was not None and failed to be converted to an integer, in
> which case -1 is returned with an exception set).
>
> You probably do not want to use this function. If you want to use slice
> objects in versions of Python prior to 2.3, you would probably do well to
> incorporate the source of PySlice_GetIndicesEx(), suitably renamed, in the
> source of your extension.

--HG--
branch : stdlib-2.7.18-3

- - - - -
d4de7d26 by Stefano Rivera at 2020-10-02T21:24:16-07:00
PyBuffer_To/FromContiguous were implemented in 94ab09b73962

--HG--
branch : stdlib-2.7.18-3

- - - - -
32d0cb16 by Stefano Rivera at 2020-10-02T18:15:37-07:00
Update _ctypes_test to 2.7.18

--HG--
branch : stdlib-2.7.18-3

- - - - -
54c76ca0 by Ronan Lamy at 2020-05-27T17:57:16+01:00
Ensure correct PEP3118 codes for primitive ctypes types (cf. bpo-10746)

--HG--
branch : stdlib-2.7.18-3

- - - - -
b47c45b9 by Matti Picus at 2019-08-25T10:36:16+03:00
cpython3 compatibility for raising when calling methods on abstract classes

--HG--
branch : stdlib-2.7.18-3

- - - - -
2b6d8a98 by Stefano Rivera at 2020-10-05T18:42:38-07:00
Return a TypeError like cpython would if a timedelta argument doesn't divmod correctly

Handle the ridiculous __divmod__ results that
test_datetime.TestTimeDelta.test_issue31752 uses.

This doesn't really matters in PyPy, we aren't triggering an interpreter
failure here like cPython.

--HG--
branch : stdlib-2.7.18-3

- - - - -
161339fe by Richard Plangger at 2017-02-27T18:55:01+01:00
(ronan, plan_rich) fix descriptor invocation inside the descr_call of W_TypeObject

--HG--
branch : stdlib-2.7.18-3

- - - - -
8750999f by Stefano Rivera at 2020-10-05T20:06:39-07:00
Fix test_dict failures from bpo-27945 tests

As-applied to py3.6 in 63c246992f08

--HG--
branch : stdlib-2.7.18-3

- - - - -
b0ddceb1 by Stefano Rivera at 2020-10-05T20:14:38-07:00
Handle PyPy's magic offset from cPython (bpo-29514)

--HG--
branch : stdlib-2.7.18-3

- - - - -
1d2da07e by Stefano Rivera at 2020-10-05T20:34:12-07:00
Reapply c8d93fa469ba, dropped in d147d3b422d7

> Fix the cpython test for newer pypy versions, with a comment

--HG--
branch : stdlib-2.7.18-3

- - - - -
28ac5015 by Ronan Lamy at 2019-08-08T15:59:45+01:00
Fix bpo-25862

--HG--
branch : stdlib-2.7.18-3

- - - - -
0ac395cd by Matti Picus at 2020-07-23T21:44:54+03:00
differentiate in tests between sys.maxunicode and sizeof(w_char_t)

- - - - -
290fef6b by Antonio Cuni at 2020-09-22T09:30:26+02:00
./update_vedored to hpy git revision 7cf3e2f

--HG--
branch : hpy

- - - - -
669b93dc by Antonio Cuni at 2020-09-22T10:35:52+02:00
remove duplicate entry and ignore the content of the bin/ directory (which is useful if you ./pypy -m pip install stuff inside your working copy

--HG--
branch : hpy

- - - - -
c6fe3e35 by Antonio Cuni at 2020-09-22T11:06:04+02:00
adapt our support.py to the upstream changes. test_basic.py passes again

--HG--
branch : hpy

- - - - -
419aee31 by Antonio Cuni at 2020-09-22T11:49:22+02:00
update the HPyContext struct

--HG--
branch : hpy

- - - - -
6c30bcd6 by Antonio Cuni at 2020-09-22T11:48:51+02:00
Suppress the cpyext warnings like:
   missing slot '__setattr__'/'tp_setattr', discovered on 'object'
   ...

They have been around forever and nobody looks at them anyway

--HG--
branch : hpy

- - - - -
e4728302 by Antonio Cuni at 2020-09-22T12:01:01+02:00
comment out these SLOTS: they are not included yet in autogen_hpyslot.h, they will be reenabled later when there is a test for them

--HG--
branch : hpy

- - - - -
983cf46c by Antonio Cuni at 2020-09-22T12:14:14+02:00
rename this (no clue why it was called differently)

--HG--
branch : hpy

- - - - -
e210c5b9 by Antonio Cuni at 2020-09-22T18:55:56+02:00
tp_new's calling convention is special, because you need to take the first
__args__.arguments_w and pass it as "self" manually. This logic in CPython is
done by tp_new_wrapper, and here we do it by subclassing W_ExtensionFunction

--HG--
branch : hpy

- - - - -
40bf3e9e by Ronan Lamy at 2020-09-30T17:41:38+01:00
Comment out more missing slots

--HG--
branch : hpy

- - - - -
58354c76 by Ronan Lamy at 2020-09-30T20:17:29+01:00
implement HPyTuple_FromArray

--HG--
branch : hpy

- - - - -
4c6bdc31 by Antonio Cuni at 2020-10-01T11:04:51+02:00
test_nb_ops_binary passes

--HG--
branch : hpy

- - - - -
fe78f8cf by Matti Picus at 2020-10-02T17:57:58+03:00
update repackage script to create .hg_archival.txt, issue 3315

- - - - -
beddbe69 by Antonio Cuni at 2020-10-02T18:08:36+02:00
make it possible to call handles.using() with multiple objects, and use it to simplify a piece of code

--HG--
branch : hpy

- - - - -
54c265b9 by Antonio Cuni at 2020-10-03T00:22:08+02:00
Refactor interp_slots.py

The autogen approach works for simple cases, but it quickly shows its limit
for more complex ones. The problem is that even in CPython the correspondance
between the various *func typedef and wrap_* functions is strong but not
complete.

So, it seems better and easier to follow CPython as close as possible: instead
of autogenerating the W_SlotWrapper from the HPyFunc_* typedef, we write them
manually, following the very same name convention as CPython.

In this commit, kill autogen_interp_slots and move/rename the exiting wrappers
inside interp_slot.py

--HG--
branch : hpy

- - - - -
2e44346b by Antonio Cuni at 2020-10-03T00:28:33+02:00
rename this to follow more closely CPython's naming convention

--HG--
branch : hpy

- - - - -
2d3c084c by Antonio Cuni at 2020-10-03T00:33:42+02:00
kill autogen_interp_slots_py: at the moment we don't need our own autogen script, but we keep it as an example in case we will need it later

--HG--
branch : hpy

- - - - -
0083f318 by Antonio Cuni at 2020-10-03T00:46:26+02:00
implement nb_bool; test_nb_ops_type_conversion passes

--HG--
branch : hpy

- - - - -
8eaf2342 by Antonio Cuni at 2020-10-03T03:07:25+02:00
implement W_wrap_ternaryfunc: test_nb_ops_power passes

--HG--
branch : hpy

- - - - -
287a620f by Antonio Cuni at 2020-10-03T15:41:24+01:00
fix translation

--HG--
branch : hpy

- - - - -
37062a41 by Antonio Cuni at 2020-10-03T16:47:03+02:00
fix test_extra, the API changed

--HG--
branch : hpy

- - - - -
de1d4470 by Antonio Cuni at 2020-10-03T17:00:27+02:00
implement HPyTupleBuilder

--HG--
branch : hpy

- - - - -
7461549e by Matti Picus at 2020-10-03T19:20:51+03:00
move translated os.* tests to extra_tests

- - - - -
64e7a519 by Matti Picus at 2020-10-03T19:32:57+03:00
redo moved tests, flake8

- - - - -
609406d4 by Matti Picus at 2020-10-03T19:33:09+03:00
small fixes

- - - - -
46f1073a by Matti Picus at 2020-10-03T19:58:10+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
21f2bcd1 by Matti Picus at 2020-10-03T20:07:58+03:00
restart whatsnew-pypy3-head.rst

- - - - -
58aad925 by Matti Picus at 2020-10-03T20:09:37+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
e3549d0f by Matti Picus at 2020-10-03T20:33:35+03:00
simplify source repackaging via hg archive, creates .hg_archival.txt, issue 3315

- - - - -
c6364c7d by Antonio Cuni at 2020-10-04T11:07:46+01:00
fix translation, as explained by the comment

--HG--
branch : hpy

- - - - -
007d9e5c by Antonio Cuni at 2020-10-04T15:24:36+02:00
improve the fake objspace so that it fails if you pass a resizable list to newtuple, and to catch the problem which was fixed by 0726e91a1ce1

--HG--
branch : hpy

- - - - -
7f4f78a8 by Antonio Cuni at 2020-10-04T15:24:36+02:00
improve the fake objspace so that it fails if you pass a resizable list to newtuple, and to catch the problem which was fixed by 0726e91a1ce1

- - - - -
5ee29254 by Michał Górny at 2020-10-04T15:46:23+02:00
Fix sethostname() failure when passed bytes

My implementation of sethostname() was broken and failed when passed
bytes on Python 3. Update the implementation to match CPython -- that
is, use bytes if provided, or fsencode() when str is provided.

--HG--
branch : py3.6

- - - - -
f4fe012b by Antonio Cuni at 2020-10-04T15:46:28+02:00
greatly simplify inter_builder.py by unsharing the code between ListBuilder and TupleBuilder; this introduces a bit of code duplication, but removes all the unnecessary code and rpython hacks which were needed to implement the non-shared parts of the code

--HG--
branch : hpy

- - - - -
b814aa95 by Antonio Cuni at 2020-10-04T17:38:57+02:00
./update_vendored.sh to git rev 46f151a

--HG--
branch : hpy-46f151a

- - - - -
d6738f87 by Antonio Cuni at 2020-10-04T17:58:34+02:00
implement hpy.universal.get_version(), using the data which is found inside _vendored/hpy/devel/version.py (which is itself generated by setuptools-scm)

--HG--
branch : hpy-46f151a

- - - - -
e2da95fa by Antonio Cuni at 2020-10-04T18:30:07+02:00
add support for HPyType_SpecParam_Base

--HG--
branch : hpy-46f151a

- - - - -
7b5703f5 by Antonio Cuni at 2020-10-04T18:39:06+02:00
add support for HPyType_SpecParam_BasesTuple

--HG--
branch : hpy-46f151a

- - - - -
cbf4cc42 by Antonio Cuni at 2020-10-04T18:59:41+02:00
fix the case for params==NULL

--HG--
branch : hpy-46f151a

- - - - -
49858015 by Antonio Cuni at 2020-10-04T19:14:38+02:00
fix for test_ztranslation

--HG--
branch : hpy-46f151a

- - - - -
cc2d9575 by Antonio Cuni at 2020-10-05T10:37:12+02:00
translation fix: we need to use 'struct _HPy_s' inside the declaration of HPyType_SpecParam, else it conflicts with the corresponding declaration inside hpy.h

--HG--
branch : hpy-46f151a

- - - - -
76d9a0a5 by Antonio Cuni at 2020-10-05T11:11:25+02:00
close merged branch

--HG--
branch : hpy-46f151a

- - - - -
49109894 by Antonio Cuni at 2020-10-05T11:12:16+02:00
hg merge hpy-46f151a. This updates _hpy_universal to hpy rev 46f151a

--HG--
branch : hpy

- - - - -
d94560f9 by Antonio Cuni at 2020-10-05T13:28:21+01:00
fix translation

--HG--
branch : hpy

- - - - -
4c55e9e2 by Antonio Cuni at 2020-10-05T14:28:11+02:00
use a different way to get the version without importing _vendored.hpy.devel: this makes it possible to translate pypy even if pathlib is not installed (because it's imported by hpy/devel/__init__.py)

--HG--
branch : hpy

- - - - -
1fcf558b by Antonio Cuni at 2020-10-05T14:22:52+00:00
Merge branch 'branch/hpy' into 'branch/py3.6'

Update to HPy 46f151a

See merge request pypy/pypy!767

--HG--
branch : py3.6

- - - - -
36b29935 by Armin Rigo at 2020-10-05T22:14:31+02:00
Fix crypt with a multithread protection lock, similar to the one in grp.py

- - - - -
4bd4f38e by Matti Picus at 2020-10-06T08:48:26+03:00
fix failing tests

- - - - -
77aa9687 by Matti Picus at 2020-10-06T11:06:01+03:00
backport fix for CVE-2019-5010, cpython issue 35746

--HG--
branch : stdlib-2.7.18-3

- - - - -
25a8a06c by Matti Picus at 2020-10-06T11:26:47+03:00
fix incompatibility with ssl context defaults

--HG--
branch : stdlib-2.7.18-3

- - - - -
8067c535 by Stefano Rivera at 2020-10-06T16:11:46-07:00
CPython compatibility: IOBase.readlines() should rely on the iterator protocol instead of calling readline() directly
(grafted from 7b9b2790269b94ca9ade16847146b5f566502b9d)

--HG--
branch : stdlib-2.7.18-3

- - - - -
91436581 by Stefano Rivera at 2020-10-06T16:12:11-07:00
Ensure that IOBase.readlines() uses overridden __iter__ or __next__ in all cases

Grafted from 768e7e44eb1eb061d36c385d7e77be800942f402 and eb1aa8262e34.

--HG--
branch : stdlib-2.7.18-3

- - - - -
0555837d by Matti Picus at 2020-10-07T08:34:21+03:00
more test fixes

- - - - -
3a0aa403 by Matti Picus at 2020-10-07T09:09:48+03:00
update expired testing certificates from latest CPython HEAD

- - - - -
2a6b624d by Stefano Rivera at 2020-10-07T12:10:22-07:00
Reject environmnet variables containing =

Adapted from 1697fc0bff5dd60fd0ed4149b238a21a3485a38d
> Issue 3136: Windows: os.putenv()

--HG--
branch : stdlib-2.7.18-3

- - - - -
cda8f65e by Stefano Rivera at 2020-10-07T12:37:58-07:00
prevent re-entrant use of iterator in itertools.tee, bpo-34410

(adapted from cd1115f6c1fd3f0840a57f26e79dde4fc5e39c99)

--HG--
branch : stdlib-2.7.18-3

- - - - -
467c9f9f by Stefano Rivera at 2020-10-07T17:08:13-07:00
Leave internal state unchanged if _random.Random.setstate() raises an exception (bpo-29960)
(grafted from 2cbe9ff660033e5af4ea7e99b5d6584853fcee53)

--HG--
branch : stdlib-2.7.18-3

- - - - -
6bddfd52 by Stefano Rivera at 2020-10-07T17:13:54-07:00
_sqlite.Cursor: add relevant part of __check_cursor to close()
(grafted from ff4600cfa35e31384ae6c55c7d9b5f21f9aca5bc)

--HG--
branch : stdlib-2.7.18-3

- - - - -
8183c825 by Stefano Rivera at 2020-10-07T17:30:29-07:00
test, fix error message for CPython compatibility

Picked up from bpo-34052's new tests.
(grafted from 2e89e7ae99c0e9568ad1cf8266f6ad10584e8585)

--HG--
branch : stdlib-2.7.18-3

- - - - -
44302b30 by Stefano Rivera at 2020-10-07T17:39:20-07:00
This is Python 2.x not 3, encode unicode filenames (bpo-25404)

--HG--
branch : stdlib-2.7.18-3

- - - - -
82078b62 by Stefano Rivera at 2020-10-07T17:48:38-07:00
test: Skip bpo-33817 test that uses pythonapi

--HG--
branch : stdlib-2.7.18-3

- - - - -
97f8a66d by Stefano Rivera at 2020-10-07T19:24:51-07:00
Fix the bpo-30730 test (invalid env vars in subprocess) in the posix implementation

--HG--
branch : stdlib-2.7.18-3

- - - - -
c23aead4 by Matti Picus at 2020-10-08T05:46:36+03:00
always use NT sysconfig scheme on windows, issue 3321

- - - - -
94cb6d73 by Matti Picus at 2020-10-08T05:48:13+03:00
always use NT sysconfig scheme on windows, issue 3321

--HG--
branch : py3.6

- - - - -
a3b58b5c by Stefano Rivera at 2020-10-07T19:53:31-07:00
test: pypy's exception message differs

--HG--
branch : stdlib-2.7.18-3

- - - - -
6cacdb12 by Stefano Rivera at 2020-10-07T19:53:42-07:00
test: Add an explicit garbage collection to trigger weakref death

--HG--
branch : stdlib-2.7.18-3

- - - - -
5020ad6b by Stefano Rivera at 2020-10-07T20:47:49-07:00
Skip tests: PyPy can pickle iterators

--HG--
branch : stdlib-2.7.18-3

- - - - -
89bb3278 by Stefano Rivera at 2020-10-07T20:48:35-07:00
Explicitly skip cElementTree MiscTests. cElementTree is importable under PyPy, but isn't implemented in C

--HG--
branch : stdlib-2.7.18-3

- - - - -
24f76b1c by Matti Picus at 2020-10-08T07:29:54+03:00
fix (again) avoid python since it needs LD_LIBRARY_PATH on buildbot workers

- - - - -
1c0496fe by Stefano Rivera at 2020-10-07T22:13:31-07:00
Revert 8f04b833f59a, superseded by bpo-30365

--HG--
branch : stdlib-2.7.18-3

- - - - -
1429b4e8 by Stefano Rivera at 2020-10-07T22:32:38-07:00
PyPy's parser has always pointed to the start of the token, not the end

cPython >= 3.8 has now followed in bpo-34683.

--HG--
branch : stdlib-2.7.18-3

- - - - -
e53b3dde by Stefano Rivera at 2020-10-07T22:44:58-07:00
Explicitly disable cElementTree tests more effectively (so @cet_only works)

Backed out changeset 2dbf44ce2b79

--HG--
branch : stdlib-2.7.18-3

- - - - -
aff9c021 by Matti Picus at 2020-10-08T23:05:54+03:00
refactor app_main to delay importing stdlib's os, maybe related to issue 3323

--HG--
branch : app_main

- - - - -
881b7c78 by Stefano Rivera at 2020-10-08T23:48:47-07:00
Temporary: app_test for sys_settrace

--HG--
branch : stdlib-2.7.18-3

- - - - -
75ea3bc4 by Stefano Rivera at 2020-10-08T20:01:05-07:00
cpython compatibility
(grafted from c9039acb3770b3f29467dd7d220d2e7e620f1939)

--HG--
branch : stdlib-2.7.18-3

- - - - -
2b478b0b by Matti Picus at 2020-10-09T08:22:56+03:00
revert a2485177d42e, redo with specific nt_pypy scheme

--HG--
branch : py3.6

- - - - -
0af58f5e by Matti Picus at 2020-10-09T08:25:42+03:00
revert cf2bc3e07e69, redo with specific nt_pypy scheme

- - - - -
25e68735 by Matti Picus at 2020-10-09T08:27:49+03:00
close and document branch for merging

--HG--
branch : app_main

- - - - -
296cbbd1 by Matti Picus at 2020-10-09T08:29:46+03:00
merge app_main which delays 'import os' until after 'import site'

- - - - -
ece2628b by Matti Picus at 2020-10-09T08:39:34+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
18207aa3 by Matti Picus at 2020-10-09T08:44:26+03:00
move initstdio to after "import site" for virtualenvs, test for issue 3323

--HG--
branch : py3.6

- - - - -
27065ba7 by Matti Picus at 2020-10-09T09:09:15+03:00
typo

- - - - -
8c29f859 by Stefano Rivera at 2020-10-09T00:16:56-07:00
bpo-17288: Prevent jumps from 'return' and 'exception' trace events.

Adapted from 29268d8eba51

--HG--
branch : stdlib-2.7.18-3

- - - - -
afa45571 by Stefano Rivera at 2020-10-09T01:02:39-07:00
bpo-33026: Fix jumping out of "with" block by setting f_lineno

Adapted from 29268d8eba51

--HG--
branch : stdlib-2.7.18-3

- - - - -
e20c5ce6 by Stefano Rivera at 2020-10-09T07:54:08-07:00
Backed out changeset 396185377e61

Whoops, meant to strip that before pushing

--HG--
branch : stdlib-2.7.18-3

- - - - -
2cdce53c by Stefano Rivera at 2020-10-09T08:19:20-07:00
Check return value of decoder.getstate()
(grafted from c795f015ed3622fec95ddaba460f87e197a8a736)

--HG--
branch : stdlib-2.7.18-3

- - - - -
e4d87836 by Stefano Rivera at 2020-10-09T08:41:16-07:00
bpo-31271: A TypeError should be raised in case the return value of encoder's encode() is invalid.

--HG--
branch : stdlib-2.7.18-3

- - - - -
9ad9e775 by Stefano Rivera at 2020-10-09T09:56:42-07:00
Replace more test_support with support. Bad merge?

--HG--
branch : stdlib-2.7.18-3

- - - - -
43047ca2 by Stefano Rivera at 2020-10-09T10:02:19-07:00
fix test
(grafted from c8644313626b882272ff489a1a4c8eca55a58426)

--HG--
branch : stdlib-2.7.18-3

- - - - -
ff414866 by Stefano Rivera at 2020-10-09T11:22:08-07:00
test_multiprocessing: pypy's GC doesn't have {get,set}_threshold

--HG--
branch : stdlib-2.7.18-3

- - - - -
d812baf0 by Stefano Rivera at 2020-10-09T11:29:21-07:00
test_multiprocessing: Sprinkle some explicit GC collection into tests expecting weakref cleanup

--HG--
branch : stdlib-2.7.18-3

- - - - -
22f9a6f1 by Stefano Rivera at 2020-10-09T16:31:09-07:00
This is Python 2, no f-strings yet

--HG--
branch : stdlib-2.7.18-3

- - - - -
f69fc4a7 by Stefano Rivera at 2020-10-09T17:58:40-07:00
blind commit: Hopefully fixing test.test_tcl.TclTest.test_getint on linux32

--HG--
branch : stdlib-2.7.18-3

- - - - -
13debb05 by Stefano Rivera at 2020-10-09T18:01:52-07:00
OveflowError is raised on 32bit systems

--HG--
branch : stdlib-2.7.18-3

- - - - -
88f98511 by Stefano Rivera at 2020-10-09T18:14:07-07:00
bpo-30807: signal.setitimer() may disable the timer by mistake

--HG--
branch : stdlib-2.7.18-3

- - - - -
10e4ceca by Matti Picus at 2020-10-11T08:28:41+03:00
copy in stdlib3.6.12, remove stdlib2.7

--HG--
branch : vendor/stdlib-3.6

- - - - -
bcd7ed67 by Matti Picus at 2020-10-11T08:31:30+03:00
add new file

--HG--
branch : vendor/stdlib-3.6

- - - - -
5fa3e52c by Matti Picus at 2020-10-11T08:34:38+03:00
merge vendor/stdlib-3.6 into branch

--HG--
branch : stdlib-3.6.12

- - - - -
1c92f810 by Matti Picus at 2020-10-11T09:16:21+03:00
manually backport f801807de06f - kqueue and bpo 30058

--HG--
branch : stdlib-3.6.12

- - - - -
26a8758f by Stefano Rivera at 2020-10-09T18:14:07-07:00
bpo-30807: signal.setitimer() may disable the timer by mistake

--HG--
branch : stdlib-3.6.12

- - - - -
69cbbe98 by Stefano Rivera at 2020-10-09T22:52:31-07:00
ctypes: Pass structs by value

Picked up on arm64, thanks to the test from bpo-29565.

--HG--
branch : stdlib-2.7.18-3

- - - - -
6d2d7a3d by Stefano Rivera at 2020-10-09T22:52:31-07:00
ctypes: Pass structs by value

Picked up on arm64, thanks to the test from bpo-29565.

--HG--
branch : stdlib-3.6.12

- - - - -
d60906d4 by Stefano Rivera at 2020-10-09T23:34:48-07:00
bpo-30058: Fixed buffer overflow in select.kqueue.control().

--HG--
branch : stdlib-2.7.18-3

- - - - -
3e76cf42 by Stefano Rivera at 2020-10-09T23:47:58-07:00
merge default into stdlib-2.7.18-3

--HG--
branch : stdlib-2.7.18-3

- - - - -
119699b4 by Stefano Rivera at 2020-10-10T00:07:05-07:00
getsockopt(): For boolean options, non-zero vales are true

On MacOS, TCP_NODELAY was returning 4.

- - - - -
6f9118ce by Stefano Rivera at 2020-10-10T00:21:27-07:00
You can't rely on SO_RCVBUF & SO_SNDBUF, MacOS will auto-tune them up to 512k

- - - - -
e8fd41bb by Stefano Rivera at 2020-10-10T00:26:19-07:00
Case-insensitive encoding comparison

>>>> sys.getfilesystemencoding()
'utf-8'

- - - - -
c4f94e47 by Stefano Rivera at 2020-10-10T00:38:10-07:00
wait3() on MacOS ignores invalid options

- - - - -
88a177ce by Stefano Rivera at 2020-10-10T00:52:19-07:00
This test failure is known MacOS issue. We'll just have to live with a more limited test on MacOS

- - - - -
c504a6cd by Stefano Rivera at 2020-10-10T09:02:44-07:00
Drop -n, on MacOS, the builtin echo in sh doesn't support -n

- - - - -
da4d2ab5 by Stefano Rivera at 2020-10-10T09:04:34-07:00
We now have an nt_pypy scheme

- - - - -
d6f75db6 by Stefano Rivera at 2020-10-10T09:38:55-07:00
merge default into stdlib-2.7.18-3

--HG--
branch : stdlib-2.7.18-3

- - - - -
89482fbc by Matti Picus at 2020-10-10T22:03:40+03:00
close branch to be merged

--HG--
branch : stdlib-2.7.18-3

- - - - -
3d0ea6aa by Matti Picus at 2020-10-10T22:04:11+03:00
merge stdlib-2.7.18-3 which updates stdlib

- - - - -
2f1b824f by Stefano Rivera at 2020-10-10T13:13:34-07:00
bpo-35194: Fix a wrong constant in cp932 codec.

- - - - -
3b0a9c0d by Stefano Rivera at 2020-10-10T13:16:02-07:00
bpo-34794: Fix a leak in Tkinter.

- - - - -
39d38bc9 by Stefano Rivera at 2020-10-10T13:18:15-07:00
cpython GH-6028: Fix error message in sqlite connection thread check.

- - - - -
4e8933c4 by Stefano Rivera at 2020-10-10T13:20:32-07:00
bpo-29004: Document binascii.crc_hqx() implements CRC-CCITT

- - - - -
3b3f780d by Stefano Rivera at 2020-10-10T13:54:28-07:00
bpo-33781: audioop: enhance rounding double as int

- - - - -
fad5a5d5 by Matti Picus at 2020-10-11T08:09:54+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
cb30e4d7 by Matti Picus at 2020-10-11T08:11:08+03:00
merge default into py3.6, discarding changes from stdlib-2.7.18-3

--HG--
branch : py3.6

- - - - -
65d6e77f by Matti Picus at 2020-10-11T08:22:46+03:00
check for None in PyLong_AsUnsignedLongLong

- - - - -
9863b5b9 by Matti Picus at 2020-10-11T08:24:29+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
f2505d21 by Matti Picus at 2020-10-11T18:23:06+03:00
fix merge from default

--HG--
branch : py3.6

- - - - -
d1214037 by Matti Picus at 2020-10-11T18:33:32+03:00
removed python2.7 test file

--HG--
branch : py3.6

- - - - -
6b5d7be5 by Matti Picus at 2020-10-11T22:29:37+03:00
test, fix for modifying self.__dict__ in self.__set_name__, issue 3326

--HG--
branch : py3.6

- - - - -
ea5ade57 by Matti Picus at 2020-10-11T23:06:18+03:00
revert move of initstdio till after importing site.py, d6d2e3bd5516

--HG--
branch : py3.6

- - - - -
c01f3930 by Matti Picus at 2020-10-11T23:12:39+03:00
simplify (arigato)

--HG--
branch : py3.6

- - - - -
beab80f6 by Matti Picus at 2020-10-12T09:33:43+03:00
remove redundant test, skip test of SO_SNDBUF on windows

- - - - -
6be3772f by Matti Picus at 2020-10-12T10:15:58+03:00
ensure the venv has a pypy3 (after building, the exe is pypy3-c)

--HG--
branch : py3.6

- - - - -
89ad4aaf by Matti Picus at 2020-10-12T10:17:29+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
d86e0726 by Matti Picus at 2020-10-12T12:13:35+03:00
nt_pypy -> pypy_nt to be compatible with f1aa5bb836b (nulano)

- - - - -
47216f00 by Matti Picus at 2020-10-12T12:16:03+03:00
nt_pypy -> pypy_nt to be compatible with distutils/command/install.py (nulano)

--HG--
branch : py3.6

- - - - -
3a1ba5ae by Matti Picus at 2020-10-12T17:04:25+03:00
update version number after merge of stdlib-2.7.18-3

- - - - -
b16e08f0 by Matti Picus at 2020-10-12T17:08:13+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
c6dcdfa7 by Matti Picus at 2020-10-12T17:11:53+03:00
close branch to be merged

--HG--
branch : stdlib-3.6.12

- - - - -
4bc66649 by Matti Picus at 2020-10-12T17:12:24+03:00
merge stdlib-3.6.12

--HG--
branch : py3.6

- - - - -
3e39e466 by Matti Picus at 2020-10-13T02:44:17+03:00
sort the tuple of wanted names

- - - - -
f2eceb4b by Matti Picus at 2020-10-13T09:55:04+03:00
revert stray change that crept into 07c530a2c5c6

--HG--
branch : py3.6

- - - - -
092ec1e2 by Matti Picus at 2020-10-13T10:06:08+03:00
fix tests in extra_tests/test_os.py

--HG--
branch : py3.6

- - - - -
b836e6f1 by Matti Picus at 2020-10-13T12:19:34+03:00
test, fix execve with no args (reverts 2939d5ee3bf4)

--HG--
branch : py3.6

- - - - -
1c587c14 by Stefano Rivera at 2020-10-13T19:53:55-07:00
bpo-31893: Simplify select.kqueue object comparison

Return NotImplemented in comparison with other types, resulting in a defined
ordering on 2.7, and an exception on 3.x.

- - - - -
dd274e80 by Stefano Rivera at 2020-10-13T16:39:07-07:00
Support current MacOS in this (non-upstream) kqueue test

On MacOS 10.15 (and presumably other recent versions) ENOENT is returned rather
than EBADF. But that's besides the point of the test, so handle it.

- - - - -
ba379e5c by Stefano Rivera at 2020-10-13T18:52:29-07:00
Allow customizing structseq constructors for sched_param() (cPython compatibility)

--HG--
branch : py3.6

- - - - -
31443842 by Matti Picus at 2020-10-14T07:48:34+03:00
fix test_sysconfig by sorting tuple

--HG--
branch : py3.6

- - - - -
b743e79a by Stefano Rivera at 2020-10-13T23:10:14-07:00
bpo-33041: Fixed jumping if the function contains an 'async for' loop.

--HG--
branch : py3.6

- - - - -
b274ff65 by Stefano Rivera at 2020-10-13T23:15:58-07:00
bpo-17288: Prevent jump from a yield statement

--HG--
branch : py3.6

- - - - -
ac8d09ca by Stefano Rivera at 2020-10-14T00:29:24-07:00
test_dis: Drop unnecessary Stack size deltas

--HG--
branch : py3.6

- - - - -
cfc62cdb by Armin Rigo at 2020-10-14T10:04:54+02:00
update to cffi/831e391a969c

- - - - -
820bd34a by Stefano Rivera at 2020-10-14T01:55:13-07:00
bpo-11471: avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause

--HG--
branch : py3.6

- - - - -
119f506b by Stefano Rivera at 2020-10-14T02:08:05-07:00
PyPy doesn't optimize out jumps to jumps in byte-code (yet?)

--HG--
branch : py3.6

- - - - -
54206070 by Armin Rigo at 2020-10-14T11:14:54+02:00
update to cffi/b643ede2c603

- - - - -
e68a6436 by Matti Picus at 2020-10-14T17:14:15+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
9aecf3a4 by Matti Picus at 2020-10-15T07:40:49+03:00
skip hpy tests on linux32

--HG--
branch : py3.6

- - - - -
ceba230e by Matti Picus at 2020-10-15T12:06:40+03:00
typo

--HG--
branch : py3.6

- - - - -
845aa0dd by Matti Picus at 2020-10-15T21:37:16+03:00
backport rpython changes from py3.6

- - - - -
5123893a by Matti Picus at 2020-10-15T21:48:17+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
f752eaa9 by Matti Picus at 2020-10-16T17:25:38+03:00
merge py.37 into py.37

--HG--
branch : py3.7

- - - - -


30 changed files:

- extra_tests/cffi_tests/test_c.py
- + extra_tests/test_os.py
- + extra_tests/test_venv.py
- − lib-python/2.7/test/recursion.tar
- lib-python/3/sysconfig.py
- lib-python/3/test/test_dis.py
- lib-python/3/test/test_sysconfig.py
- lib-python/3/venv/__init__.py
- lib_pypy/_audioop_build.py
- lib_pypy/_crypt/__init__.py
- lib_pypy/_ctypes/structure.py
- lib_pypy/_structseq.py
- lib_pypy/_tkinter/tclobj.py
- pypy/config/pypyoption.py
- pypy/doc/index-of-whatsnew.rst
- pypy/doc/whatsnew-head.rst
- pypy/doc/whatsnew-pypy3-7.3.1.rst
- + pypy/doc/whatsnew-pypy3-7.3.2.rst
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/app_main.py
- pypy/interpreter/astcompiler/codegen.py
- pypy/interpreter/pyframe.py
- pypy/module/_cffi_backend/test/_backend_test_c.py
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/typeslots.h → pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/autogen_hpyslot.h
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/autogen_impl.h
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/hpydef.h
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/hpyfunc.h
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/hpytype.h
- pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/macros.h
- + pypy/module/_hpy_universal/_vendored/hpy/devel/include/common/runtime/ctx_tuple.h


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/9d9b99610164d0eaa05103a61c80de94140eec6b...f752eaa9940ac4bd90215e2bc2c41626b4b0a195

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9d9b99610164d0eaa05103a61c80de94140eec6b...f752eaa9940ac4bd90215e2bc2c41626b4b0a195
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/20201016/536aad8b/attachment-0001.html>


More information about the pypy-commit mailing list