[pypy-commit] [Git][pypy/pypy][branch/hpy] 209 commits: Check whether stream is closed in BufferedMixin.truncate_w().

Ronan Lamy foss at heptapod.net
Tue Aug 25 12:02:27 EDT 2020



Ronan Lamy pushed to branch branch/hpy at PyPy / pypy


Commits:
02d287ec by Manuel Jacob at 2020-03-08T02:21:14+01:00
Check whether stream is closed in BufferedMixin.truncate_w().

Before this, the method was failing later on a closed stream when accessing the
underlying raw stream. It is more consistent and robust to check for a closed
stream earlier.

Starting with the next changeset, closing the stream will set the buffer to
None. Given that the buffer is potentially accessed by truncate_w(), it is
a very good idea to check that the stream is not closed, although it is hard
to make truncate_w() actually access the buffer when the stream is closed
(because closing it will flush the unwritten data from the buffer).

- - - - -
8d022e19 by Manuel Jacob at 2020-03-07T23:08:57+01:00
Set buffer of buffered IO classes to None in close().

This helps to reclaim the memory used by the buffer earlier.

- - - - -
0a10e74f by Matti Picus at 2020-07-14T10:51:17+03:00
fix 0a6fc92dba19, add missing import

- - - - -
13582da4 by Matti Picus at 2020-07-14T14:22:57+03:00
typo (thanks nulano)

- - - - -
b802d0ab by Matti Picus at 2020-07-16T15:03:19+03:00
backport test (issue 3269)

- - - - -
a8896e1a by Matti Picus at 2020-07-17T08:36:08+03:00
another errorhandler signature fix

--HG--
branch : py3.6

- - - - -
10620d7c by Armin Rigo at 2020-07-17T13:10:06+02:00
Older versions of CPython 2.7.x (like 2.7.6) don't support this new syntax
when called in a function involving nested scopes.  These fixes are enough
for me to translate pypy on some strange machine, but I agree that we're
not really aiming to support CPython 2.7.6 any more---so, no test for that

- - - - -
ca920b27 by Matti Picus at 2020-08-03T08:04:51+03:00
/O2 or /Ox on MSVC does tail call optimization

- - - - -
c78bdbab by Matti Picus at 2020-08-02T19:52:22+03:00
rsocket tests - win32 has no recvmsg; socketgetsockname needs to be bound

- - - - -
73300620 by Matti Picus at 2020-08-03T21:14:16+03:00
backout 690ed94d970b and do PYPY_INHIBIT_TAIL_CALL for MSVC properly

- - - - -
d145555d by Armin Rigo at 2020-08-07T12:13:38+02:00
When "pypy -m pip" fails to find pip, give an error message that hints at "pypy
-m ensurepip"

- - - - -
2eb845af by Matti Picus at 2020-08-08T22:50:48+03:00
start release note, optimistically include hpy Universal mode

- - - - -
95a26954 by Julian Berman at 2020-07-18T15:52:08-04:00
Use timespec on macOS too.

It's present, the fields are just named slightly differently.

I think this fixes all but one test in rlib.rposix_stat, which
previously were failing.

The last one just needs some bifurcation due again to the
differing names in the timespec struct.

More broadly, the bug here is that this code has different
behavior on PyPy and CPython + macOS:

    touch foo
    for each in pypy3 python3.6; do
        echo $each; $each -c 'import os; print(os.stat("foo").st_mtime)'
    done

where on PyPy the *time attributes only give integer precision.

And yeah this actually came up -- a test I wrote for other code failed
on PyPy because the mtime of a file was changing by less than a second
of precision.

- - - - -
4d69d1aa by Julian Berman at 2020-07-18T16:03:40-04:00
Uglily fix test_high_precision_stat_time on macOS

Copypaste + modify the differing struct field names.

- - - - -
99a24228 by Julian Berman at 2020-07-18T16:12:47-04:00
Fixup the comments around timespec field naming.

- - - - -
3241c482 by Armin Rigo at 2020-07-19T08:52:49+02:00
Issue #3246

Got it once on aarch64.  Cannot reproduce, of course, so I'm still in the dark.
Trying to add a couple of extra asserts

- - - - -
f6fef6fd by Matti Picus at 2020-07-19T13:28:37+03:00
fix and run update_vendored

--HG--
branch : hpy-update-vendored

- - - - -
d7f66ce3 by Matti Picus at 2020-07-19T13:55:51+03:00
make test_ztranslation start to work

--HG--
branch : hpy-update-vendored

- - - - -
518c25a2 by Matti Picus at 2020-07-20T10:01:09+03:00
fix building wstr and usc4 buffers when sizeof(Py_UNICODE) == 2 (windows)

--HG--
branch : win-unicode

- - - - -
d1019841 by Armin Rigo at 2020-07-20T13:26:54+02:00
A branch for issue #3250: W_LongObject causes missed opportunity to use
IntegerListStrategy

--HG--
branch : list-with-longs

- - - - -
51f78ec0 by Armin Rigo at 2020-07-20T15:30:19+02:00
Accept W_LongObject inside integer lists as long as they are within range

--HG--
branch : list-with-longs

- - - - -
e8f1908f by Armin Rigo at 2020-07-20T15:40:33+02:00
same with dicts

--HG--
branch : list-with-longs

- - - - -
fca4ffd2 by Armin Rigo at 2020-07-20T15:52:59+02:00
same with sets

--HG--
branch : list-with-longs

- - - - -
19b4ae2d by Armin Rigo at 2020-07-20T15:56:01+02:00
oops

--HG--
branch : list-with-longs

- - - - -
ddc501a5 by Armin Rigo at 2020-07-20T15:57:27+02:00
same with specialized tuples

--HG--
branch : list-with-longs

- - - - -
3fc843c3 by Armin Rigo at 2020-07-20T16:04:06+02:00
same with versioned types

--HG--
branch : list-with-longs

- - - - -
5bff8fc9 by Armin Rigo at 2020-07-20T16:11:35+02:00
another case for rbigint.fits_int()

--HG--
branch : list-with-longs

- - - - -
e31fcfd2 by Armin Rigo at 2020-07-20T16:26:27+02:00
fix this test for the BadUtf8 exception we get now

--HG--
branch : py3.6

- - - - -
7290a0c0 by Matti Picus at 2020-07-20T18:20:56+03:00
close branch to be merged

--HG--
branch : win-unicode

- - - - -
da92ba59 by Matti Picus at 2020-07-20T18:22:03+03:00
merge win-unicode which fixes PyUnicode for sizeof(wchar_t) ==2

--HG--
branch : py3.6

- - - - -
6462d7c7 by Matti Picus at 2020-07-20T18:47:16+03:00
remove files that were deleted from upstream

--HG--
branch : hpy-update-vendored

- - - - -
a5fb54a0 by Armin Rigo at 2020-07-20T19:31:04+02:00
Don't use space.int_w() on plain ints, because this is a generic method that
contain many cases including recursion.  A recursion test fails at the moment,
probably because of that.

--HG--
branch : list-with-longs

- - - - -
20b96819 by Armin Rigo at 2020-07-20T20:44:21+02:00
document branch

--HG--
branch : list-with-longs

- - - - -
e23154e5 by Armin Rigo at 2020-07-20T22:26:52+02:00
merge branch list-with-longs

--HG--
branch : py3.6

- - - - -
191cacc2 by Armin Rigo at 2020-07-21T16:18:36+02:00
#3220 in-progress

Support the RPython-level pypysig_set_wakeup_fd() optionally using send()
instead of write()

- - - - -
15b82b07 by Armin Rigo at 2020-07-21T16:46:05+02:00
Revert the direction in which I was taking this, and instead just check
in the C code if the fd appears to be a socket on Windows

- - - - -
5f142e6c by Armin Rigo at 2020-07-21T16:54:06+02:00
add a win64 comment here

- - - - -
c04de469 by Armin Rigo at 2020-07-21T17:17:27+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
059a3593 by Armin Rigo at 2020-07-21T17:19:08+02:00
For now, don't do any checking in the app-level signal.set_wakeup_fd() on
Windows

--HG--
branch : py3.6

- - - - -
8e1d16dd by Armin Rigo at 2020-07-21T17:33:30+02:00
missing include

- - - - -
5d0b3e77 by Armin Rigo at 2020-07-21T17:34:08+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
a13a3bdb by Armin Rigo at 2020-07-21T17:47:39+02:00
fix

- - - - -
9be4ab8c by Armin Rigo at 2020-07-21T17:47:56+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
c510b896 by Ronan Lamy at 2020-07-21T18:07:56+01:00
Fix skipping of backend-specific jit tests to not crash test collection on the other platforms

- - - - -
51a0030d by Ronan Lamy at 2020-07-21T21:22:42+01:00
Add different way of skipping for when pytest is called on a single file (sadness)

- - - - -
bc611d51 by Matti Picus at 2020-07-22T12:39:27+03:00
disable WinConsoleIO

--HG--
branch : py3.6

- - - - -
2119d0af by Armin Rigo at 2020-07-22T15:30:37+02:00
Issue #3188: need FORBID_TEMP_BOXES on aarch64, like on arm32

Otherwise there is no guarantee that calling make_sure_var_in_reg()
twice, with [const, box] respectively, will work: it will allocate a
temporary register and load it with the value of 'const', but then
the second call might spill this same register.

- - - - -
cb6af5dc by Armin Rigo at 2020-07-22T15:34:32+02:00
Goes with the previous check-in.  See a243e4e0b21c

- - - - -
22ecb4a9 by Armin Rigo at 2020-07-22T15:36:04+02:00
hg merge default

--HG--
branch : py3.6

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

--HG--
branch : py3.6

- - - - -
d3879a19 by Matti Picus at 2020-07-23T15:04:29+03:00
skip test that fails on python>3.6 (skipped rather than delete for easier merge)

--HG--
branch : py3.6

- - - - -
99a5394c by Matti Picus at 2020-07-23T22:01:29+03:00
skip tests that initialize a socket from a file id on windows

--HG--
branch : py3.6

- - - - -
be6b8660 by Matti Picus at 2020-07-23T22:29:30+03:00
these are from an enum, not #define

- - - - -
9abf3936 by Matti Picus at 2020-07-23T22:30:11+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
f11c0d69 by nulano at 2020-07-24T00:32:08+02:00
initialize lock timeout on windows if timeout is infinite

--HG--
branch : initialize_lock_timeout_on_windows

- - - - -
4a898c6e by nulano at 2020-07-24T00:33:34+02:00
Merge default

--HG--
branch : initialize_lock_timeout_on_windows

- - - - -
161664ad by Matti Picus at 2020-07-24T05:27:45+00:00
Merge branch 'branch/initialize_lock_timeout_on_windows' into 'branch/default'

Initialize lock timeout on windows if timeout is infinite

See merge request pypy/pypy!744

- - - - -
c416e339 by Matti Picus at 2020-07-24T08:29:22+03:00
merege default into py3.6

--HG--
branch : py3.6

- - - - -
9312e6c0 by Armin Rigo at 2020-07-24T09:34:29+02:00
follow-up for merge request !744: check in RPython and complain
if a lock.acquire(True) fails to acquire the lock in C

- - - - -
8b423b8c by Matti Picus at 2020-07-24T15:59:45+03:00
add /FS to enable JOM.exe to run compilation on all cores, fix typo

- - - - -
2326253d by Matti Picus at 2020-07-24T16:01:36+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
12350dba by Matti Picus at 2020-07-26T10:03:51+03:00
test, fix for issue 3274 - special case some error handlers

--HG--
branch : py3.6

- - - - -
ccb6e498 by Matti Picus at 2020-07-26T11:03:24+03:00
remove duplicate line

--HG--
branch : py3.6

- - - - -
afc9b4f8 by Matti Picus at 2020-07-26T12:26:07+03:00
document merged branch

- - - - -
68838bba by Armin Rigo at 2020-07-27T08:06:19+02:00
missing includes for getsockopt() and send()

- - - - -
2707d03a by Armin Rigo at 2020-07-27T08:06:45+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
58b3bd28 by Armin Rigo at 2020-07-27T08:11:40+02:00
skip one test if fsencoding can't encode the given unicode file name

--HG--
branch : py3.6

- - - - -
8e69a655 by Matti Picus at 2020-07-27T18:23:01+03:00
typo

- - - - -
2cf75e36 by Armin Rigo at 2020-07-27T17:35:16+02:00
update to cffi/222126b71a49 (v1.14.1)

- - - - -
baeee335 by Armin Rigo at 2020-07-27T17:36:07+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
a5af3b57 by Matti Picus at 2020-07-27T22:44:38+03:00
move lib_pypy/tools -> lib_pypy/pypy_tools: otherwise"tools" appears on the sys.path

- - - - -
d0d8e37e by Matti Picus at 2020-07-27T22:45:15+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
a19df634 by Armin Rigo at 2020-07-28T12:41:32+02:00
missing adds

- - - - -
85c1ef7b by Matti Picus at 2020-07-28T19:22:26+03:00
CPython does not reset the errno, and numpy checks that it errored

--HG--
branch : py3.6

- - - - -
2e1afcfc by Matti Picus at 2020-07-28T20:30:43+03:00
the numpy interaction is a bit more subtle

--HG--
branch : py3.6

- - - - -
e8c801ee by Armin Rigo at 2020-07-29T17:08:06+02:00
update libffi_msvc by copying the fixes done in cffi

- - - - -
4d62734f by Matti Picus at 2020-07-29T19:06:45+03:00
tweak signature

- - - - -
4d43b6d6 by Matti Picus at 2020-07-30T09:53:03+03:00
test, implement PyUnicode_{Find,Read,Write}Char, issue 3272

--HG--
branch : py3.6

- - - - -
27a6dc4d by Matti Picus at 2020-07-30T11:33:33+03:00
export the signature to a header file

- - - - -
06c051ce by Armin Rigo at 2020-07-30T10:46:41+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
35ead98f by Armin Rigo at 2020-07-30T11:12:35+02:00
fix for struct returns on windows

- - - - -
92adcedb by Armin Rigo at 2020-07-30T11:13:20+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
72c6a287 by Armin Rigo at 2020-07-30T11:21:34+02:00
typo

- - - - -
17a4ac23 by Armin Rigo at 2020-07-30T11:21:48+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
e2a1d09a by Armin Rigo at 2020-07-30T11:24:24+02:00
next try

- - - - -
ae2fbb1b by Armin Rigo at 2020-07-30T11:24:37+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
f44c09a9 by Armin Rigo at 2020-07-30T15:30:00+02:00
get rid of the pre-version-80 support.  It was buggy because it expected output from cl.exe in English and wouldn't recognize the output in French, for example

- - - - -
b702119b by Armin Rigo at 2020-07-30T15:30:43+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
81e0c554 by Armin Rigo at 2020-07-30T16:18:24+02:00
let the signal handler set a windows event, like it does in CPython 3.6

- - - - -
aa4a85b8 by Armin Rigo at 2020-07-30T16:19:14+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
13634a91 by Armin Rigo at 2020-07-30T16:19:56+02:00
CtrlHandlerRoutine is not called while we're in a time.sleep().  Use the signal handler to set the event

--HG--
branch : py3.6

- - - - -
5c9c6385 by Matti Picus at 2020-07-30T17:37:29+03:00
tweak c4f64ef3a071 (version is shown on stdout when running tests)

- - - - -
17fcee55 by Matti Picus at 2020-07-30T17:33:16+03:00
fix skip to allow tests to run

- - - - -
f6a00c11 by Matti Picus at 2020-07-31T07:21:48+03:00
"inherit" from rsignal's eci to fix compilation

--HG--
branch : py3.6

- - - - -
bdefcbb1 by Matti Picus at 2020-07-31T07:22:54+03:00
initialize value

- - - - -
932b0cf8 by Matti Picus at 2020-07-31T07:24:49+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
9044806a by Armin Rigo at 2020-07-31T09:05:47+02:00
add a define that we can test for elsewhere

- - - - -
0922206a by Armin Rigo at 2020-07-31T09:06:34+02:00
hg merge default

--HG--
branch : py3.6

- - - - -
d0de10a2 by Armin Rigo at 2020-07-31T09:08:41+02:00
revert a481a04de07c and try to do it in another way

--HG--
branch : py3.6

- - - - -
5df33baa by Matti Picus at 2020-07-31T18:09:26+03:00
change interface for rposix_scandir - on win32 use utf8

- - - - -
88d1b789 by Matti Picus at 2020-07-31T18:10:27+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
31e4242f by Matti Picus at 2020-08-01T20:24:15+03:00
scandir - use new rpython windows interface, refactor code

--HG--
branch : py3.6

- - - - -
bfc6fde8 by Matti Picus at 2020-08-02T00:30:36+03:00
fix for refactor on linux

--HG--
branch : py3.6

- - - - -
1bf89254 by Ronan Lamy at 2020-08-04T16:13:45+02:00
update-vendored to hpy commit 7edf54d5c554639db881793a2b95bcb5c9cbf858

--HG--
branch : hpy-update-vendored

- - - - -
412fdb46 by Ronan Lamy at 2020-08-04T17:15:01+02:00
Adapt to HPy's method refactoring

--HG--
branch : hpy-update-vendored

- - - - -
9d127dbb by Ronan Lamy at 2020-08-04T17:48:14+02:00
update-vendored to hpy commit b8f0878a6e681aa66d5da04fb2d61f30577e4a0d

--HG--
branch : hpy-update-vendored

- - - - -
fb754181 by Ronan Lamy at 2020-08-04T20:07:16+02:00
Add the new functions to HPyContext and stub implementations

--HG--
branch : hpy-update-vendored

- - - - -
6a344b5c by Ronan Lamy at 2020-08-04T20:22:40+02:00
Implement HPyFloat_AsDouble()

--HG--
branch : hpy-update-vendored

- - - - -
377ad601 by Ronan Lamy at 2020-08-05T14:00:04+02:00
Also update argparse.c

--HG--
branch : hpy-update-vendored

- - - - -
b79ea79a by Ronan Lamy at 2020-08-05T14:31:21+02:00
Check that the signature kind is valid

--HG--
branch : hpy-update-vendored

- - - - -
0705f959 by Ronan Lamy at 2020-08-06T12:20:34+02:00
update-vendored to hpy commit 79fefc660e82d38d07a9bad5501ab84decdd5979

--HG--
branch : hpy-update-vendored

- - - - -
22d01213 by Armin Rigo at 2020-08-06T17:54:25+02:00
(anto, arigo, ronan) in python3.8, PyNumber_Check() will need to check for
__index__

--HG--
branch : py3.6

- - - - -
d568e733 by Armin Rigo at 2020-08-07T12:16:51+02:00
Manual port of 2c5448e043b4

--HG--
branch : py3.6

- - - - -
8f63a74d by Ronan Lamy at 2020-08-07T14:02:17+02:00
update-vendored to hpy commit d83f1a5f187540728e73fd678e4097c6fa391321

--HG--
branch : hpy-update-vendored

- - - - -
d10eee4f by Ronan Lamy at 2020-08-07T14:09:59+02:00
Begin implementing HPyType_FromSpec, only handling methods for now

--HG--
branch : hpy-update-vendored

- - - - -
b9dcc8cd by Ronan Lamy at 2020-08-07T15:16:44+02:00
oops

--HG--
branch : hpy-update-vendored

- - - - -
74b0305e by Ronan Lamy at 2020-08-07T15:42:48+02:00
Add missing constants

--HG--
branch : hpy-update-vendored

- - - - -
8bb3127b by Ronan Lamy at 2020-08-07T16:01:02+02:00
Implement HPy_{Repr,Str,ASCII,Bytes}

--HG--
branch : hpy-update-vendored

- - - - -
90420cbe by Ronan Lamy at 2020-08-07T16:23:44+02:00
HPy_IsTrue

--HG--
branch : hpy-update-vendored

- - - - -
2316d5e5 by Ronan Lamy at 2020-08-07T16:58:39+02:00
Add missing HPyLong_From* functions

--HG--
branch : hpy-update-vendored

- - - - -
898a6964 by Ronan Lamy at 2020-08-07T16:59:08+02:00
HPy_RichCompare

--HG--
branch : hpy-update-vendored

- - - - -
c5066d00 by Ronan Lamy at 2020-08-07T17:04:09+02:00
HPy_Hash

--HG--
branch : hpy-update-vendored

- - - - -
6115e63e by Ronan Lamy at 2020-08-07T17:37:27+02:00
hg merge py3.6

--HG--
branch : hpy-update-vendored

- - - - -
f30236a4 by Ronan Lamy at 2020-08-07T17:49:25+02:00
HPyNumber_Check

--HG--
branch : hpy-update-vendored

- - - - -
4ae2ab32 by Ronan Lamy at 2020-08-07T18:05:49+02:00
Stop trying to support legacy methods for now

--HG--
branch : hpy-update-vendored

- - - - -
49659719 by Ronan Lamy at 2020-08-07T18:09:17+02:00
Fix HPy_Bytes()

--HG--
branch : hpy-update-vendored

- - - - -
f2ad0e12 by Ronan Lamy at 2020-08-07T22:38:12+02:00
reenable legacy methods

--HG--
branch : hpy-update-vendored

- - - - -
5791facb by Ronan Lamy at 2020-08-07T23:35:33+02:00
set up support for more than one kind of HPyDef

--HG--
branch : hpy-update-vendored

- - - - -
cfb16b70 by Ronan Lamy at 2020-08-08T01:00:07+02:00
Find a hackish way to parse enums

--HG--
branch : hpy-update-vendored

- - - - -
02cf4f79 by Ronan Lamy at 2020-08-09T00:15:25+02:00
Start implementing slots

--HG--
branch : hpy-update-vendored

- - - - -
94e15e10 by Ronan Lamy at 2020-08-09T10:57:37+02:00
fix translation

--HG--
branch : hpy-update-vendored

- - - - -
d5f89aee by Ronan Lamy at 2020-08-09T11:38:56+02:00
Don't store the raw hpymeth on W_ExtensionFunctions, so that slots can create them as well

--HG--
branch : hpy-update-vendored

- - - - -
16ddbe1a by Ronan Lamy at 2020-08-09T11:44:24+02:00
Handle tp_new slot

--HG--
branch : hpy-update-vendored

- - - - -
d785b6cf by Matti Picus at 2020-08-09T20:59:31+03:00
update contributors list, 8 new names

- - - - -
2e5227ae by Matti Picus at 2020-08-09T21:10:20+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
bc22748a by Ronan Lamy at 2020-08-10T16:44:05+02:00
Implement _HPy_New

--HG--
branch : hpy-update-vendored

- - - - -
b98ca2df by Matti Picus at 2020-08-11T13:52:21+03:00
refactor: use OS specific files instead of long ifdef sections

- - - - -
d0922aa2 by Matti Picus at 2020-08-11T13:56:57+03:00
merge default into branch

--HG--
branch : py3.6

- - - - -
8340a86c by Ronan Lamy at 2020-08-11T13:18:53+02:00
implement _HPy_Cast()

--HG--
branch : hpy-update-vendored

- - - - -
e5bc56bc by Ronan Lamy at 2020-08-11T18:06:39+02:00
HPyType_GenericNew()

--HG--
branch : hpy-update-vendored

- - - - -
7ac7f49f by Ronan Lamy at 2020-08-11T18:52:06+02:00
fix translation

--HG--
branch : hpy-update-vendored

- - - - -
abde961f by Matti Picus at 2020-08-11T20:08:20+03:00
reconstruct bitbucket PR 639 that got closed

--HG--
branch : redo-pr-639

- - - - -
e9ebbcf9 by Ronan Lamy at 2020-08-11T19:09:30+02:00
fix typo

--HG--
branch : hpy-update-vendored

- - - - -
3357fe3e by Ronan Lamy at 2020-08-11T19:46:19+02:00
fix

--HG--
branch : hpy-update-vendored

- - - - -
af0f67f4 by Matti Picus at 2020-08-11T23:47:30+03:00
rework the PR. getgrouplist was already implemented

--HG--
branch : redo-pr-639

- - - - -
5aa9475f by Matti Picus at 2020-08-13T21:21:01+03:00
fix return values, reformat

--HG--
branch : redo-pr-639

- - - - -
811c174f by Matti Picus at 2020-08-14T00:12:29+03:00
pypy2 only: add SOABI to distutils.sysconfig so wheel gets the correct ABI tag

https://github.com/pypa/wheel/issues/363

- - - - -
393baaa5 by Armin Rigo at 2020-08-14T10:33:45+02:00
typo

- - - - -
85041181 by Armin Rigo at 2020-08-15T21:57:43+02:00
update to cffi 1.14.2

- - - - -
411c1c4a by Matti Picus at 2020-08-16T08:40:53+03:00
windows writes addresses with upper case hex

- - - - -
199ce0f9 by Matti Picus at 2020-08-16T11:28:21+03:00
skip tests that need disassembler on windows

- - - - -
05450270 by Matti Picus at 2020-08-16T14:36:45+03:00
carefully add %D to the valid set of accepted strftime formats on windows

--HG--
branch : py3.6

- - - - -
dd692012 by Armin Rigo at 2020-08-16T15:32:08+02:00
Issue #3282

An obscure case where CPython is confused about enumerating bytes or ints

--HG--
branch : py3.6

- - - - -
71e8f49a by Matti Picus at 2020-08-16T19:22:31+03:00
fix test for platforms where default python is python3

- - - - -
07829564 by Matti Picus at 2020-08-16T21:58:37+03:00
add more strftime formatting characters

--HG--
branch : py3.6

- - - - -
97b7cf63 by Matti Picus at 2020-08-17T11:28:31+03:00
remove debug cruft

--HG--
branch : py3.6

- - - - -
daf9f0b5 by Matti Picus at 2020-08-17T14:26:06+03:00
use _chsize_s for ftruncate on windows; CPython BPO 23668

--HG--
branch : py3.6

- - - - -
1d58b8f2 by Matti Picus at 2020-08-17T14:27:43+03:00
backport rpython part of 4255afffa627

- - - - -
3406da27 by Matti Picus at 2020-08-18T10:10:30+03:00
backport sched rposix functions from pr639

- - - - -
0909ebb2 by Matti Picus at 2020-08-19T10:19:08+03:00
fix import in test

- - - - -
a3dab822 by Ronan Lamy at 2020-08-19T19:28:19+01:00
Implement HPy_sq_item

--HG--
branch : hpy-update-vendored

- - - - -
293b50fa by Antonio Cuni at 2020-08-20T19:50:04+02:00
partially fix test_ztranslation, by avoiding annotatin the content of
_create_new_type if we are using the fake objspace. A more proper solution
would be to turn "_create_new_type" into a real space method, but I'm not sure
we want to go fully in that direction.

test_ztranslation still fails, but for another unrelated reason (because it
cannot find the type "HPyDef_Slot" at the stage of C compilation)

--HG--
branch : hpy-update-vendored

- - - - -
764001ba by Matti Picus at 2020-08-21T13:02:53+03:00
fixes for running untranslated tests with pypy2

- - - - -
b209d3f2 by Matti Picus at 2020-08-21T17:10:15+03:00
partial fix: turn a crash into an error on win32

- - - - -
8104da1c by Antonio Cuni at 2020-08-22T10:48:35+02:00
Add a tool which extends hpy's own autogen to generate pypy-specific files. In particular, autogen the W_SlotWrapper_* subclasses, one for every HPyFunc we need

--HG--
branch : hpy-update-vendored

- - - - -
55653e85 by Matti Picus at 2020-08-22T14:23:05+02:00
fix

- - - - -
35452c8d by Matti Picus at 2020-08-22T23:32:01+03:00
use FdValidator not is_valid_fd

- - - - -
090bfda5 by Matti Picus at 2020-08-23T10:02:10+03:00
rename JITLOG when running untranslated since the host python may be pypy

- - - - -
26a2d96b by Antonio Cuni at 2020-08-23T09:27:15+02:00
greatly simplify the code which instantiate the correct W_SlotWrapper subclass and fills correct slots

--HG--
branch : hpy-update-vendored

- - - - -
bedc43db by Antonio Cuni at 2020-08-23T09:30:08+02:00
remove the ugly import *

--HG--
branch : hpy-update-vendored

- - - - -
cdc88b31 by Antonio Cuni at 2020-08-23T09:47:13+02:00
just cosmetics: put placeholders for all the HPy_* slots, in the same order as they are defined in typeslots.h

--HG--
branch : hpy-update-vendored

- - - - -
e557922e by Matti Picus at 2020-08-23T11:18:36+03:00
upgrade 26691d5fd920

- - - - -
c8463f46 by Armin Rigo at 2020-08-23T11:30:50+02:00
Use "JITLOG" in programs translated with rpython/bin/rpython,
and "JITLOG_FORTESTS" in all other cases (i.e. for tests)

- - - - -
f2f7b5a0 by Matti Picus at 2020-08-23T18:37:47+03:00
when running on top of pypy, the test inside app_main fails

- - - - -
f7a88100 by Matti Picus at 2020-08-23T19:02:09+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
6284f012 by Matti Picus at 2020-08-23T19:22:51+03:00
document branch, still not using a structseq in the interfaces

--HG--
branch : redo-pr-639

- - - - -
5b87b479 by Matti Picus at 2020-08-23T22:39:39+03:00
replicate quirky 1-field structseq behavior from CPython

--HG--
branch : redo-pr-639

- - - - -
61aa0f05 by Matti Picus at 2020-08-23T22:40:22+03:00
define and use a posix.sched_param structseq, like CPython

--HG--
branch : redo-pr-639

- - - - -
6a51a223 by Matti Picus at 2020-08-24T05:42:43+00:00
Merge branch 'topic/default/bufferedio-release-buffer' into 'branch/default'

Set buffer to None on close of buffered io classes

See merge request pypy/pypy!711

- - - - -
41d663e4 by Matti Picus at 2020-08-24T11:29:36+03:00
use an environment varialble to detect test_app_main. Is this a security risk?

- - - - -
1a3adda2 by Matti Picus at 2020-08-24T11:31:59+03:00
fix test that fails in a pypy virtualenv untranslated

- - - - -
e90b4728 by Matti Picus at 2020-08-24T12:00:00+03:00
skip test on win32

- - - - -
8e155e26 by Matti Picus at 2020-08-24T12:37:40+03:00
move test to correct class

--HG--
branch : redo-pr-639

- - - - -
8478f135 by Matti Picus at 2020-08-24T12:38:27+03:00
merge redo-pr-639 which provides os.sched* functions

--HG--
branch : py3.6

- - - - -
f0d3e084 by Matti Picus at 2020-08-24T13:07:36+03:00
convert test_ to apptest_, tweak help text

--HG--
branch : py3.6

- - - - -
48cbbfb0 by Matti Picus at 2020-08-24T13:40:20+03:00
this is always skipped on python3

--HG--
branch : py3.6

- - - - -
385e34da by Armin Rigo at 2020-08-24T13:41:21+02:00
app_main: instead of guessing in we_are_translated(), just use a global
flag which is True, but set to False when running tests

- - - - -
a36bbe54 by Matti Picus at 2020-08-24T17:44:51+03:00
suppress IPH in fclose, pclose via new Suppress_IPH context manager

This should be used where CPython uses _Py_BEGIN_SUPPRESS_IPH, _Py_END_SUPPRESS_IPH

- - - - -
9e605908 by Matti Picus at 2020-08-24T18:22:06+03:00
test, implement sq_repeat wrapper (issue 3281)

- - - - -
e3626b84 by Ronan Lamy at 2020-08-24T16:34:31+01:00
Make the HPy_Def hack work after translation as well

--HG--
branch : hpy-update-vendored

- - - - -
9f09c7a4 by Matti Picus at 2020-08-24T19:40:41+03:00
update SOABI to be PEP-3149 compliant, will break wheel<0.35.0

--HG--
branch : py3.6

- - - - -
d5ae69eb by Ronan Lamy at 2020-08-24T19:41:24+01:00
fix translation

--HG--
branch : hpy-update-vendored

- - - - -
10ba3e18 by Matti Picus at 2020-08-24T22:50:49+03:00
test, implemenst sq_inplace_repeat wrapper; cleanup from 0fd79fda9e0a

- - - - -
2f5f42cc by Matti Picus at 2020-08-24T23:11:01+03:00
Backed out fb044708b024, it breaks building wheels

--HG--
branch : py3.6

- - - - -
b7597585 by Matti Picus at 2020-08-25T00:53:36+03:00
prevent LeakChecker from erroring on test exit by moving import to setup

- - - - -
919b3097 by Matti Picus at 2020-08-25T08:40:37+03:00
typo

- - - - -
750ba21e by Matti Picus at 2020-08-25T10:11:38+03:00
move tests to more appropriate class

--HG--
branch : py3.6

- - - - -
f860e81c by Matti Picus at 2020-08-25T10:23:22+03:00
move, simplify test that maybe should just be removed

--HG--
branch : py3.6

- - - - -
024e9b20 by Matti Picus at 2020-08-25T11:03:52+03:00
refactor sched* functions  to only be included where HAVE_SCHED_GETPARAM is true

--HG--
branch : py3.6

- - - - -
e28e4844 by Matti Picus at 2020-08-25T11:26:58+03:00
fix test, remove test for no-op function on MSVC10+

- - - - -
ed25c8a5 by Matti Picus at 2020-08-25T11:27:29+03:00
add SuppressIPH_del to be used inside __del__

- - - - -
e0492842 by Matti Picus at 2020-08-25T12:18:57+03:00
fix leak found by LeakFinder in tests

- - - - -
448ca6a9 by Matti Picus at 2020-08-25T13:02:17+03:00
typo and test rfile not posix

- - - - -
c65af24e by Matti Picus at 2020-08-25T15:15:08+03:00
add gc.collect before ALLOCATED check

- - - - -
8458f49d by Matti Picus at 2020-08-25T15:28:44+03:00
merge default into py3.6

--HG--
branch : py3.6

- - - - -
c03bd019 by Matti Picus at 2020-08-25T17:14:42+03:00
fix merge

--HG--
branch : py3.6

- - - - -
a8613d7f by Ronan Lamy at 2020-08-25T16:58:37+01:00
close branch before merging back into 'hpy'

--HG--
branch : hpy-update-vendored

- - - - -
e3484ebd by Ronan Lamy at 2020-08-25T16:59:12+01:00
Merge branch 'hpy-update-vendored'

--HG--
branch : hpy

- - - - -
be8a982c by Ronan Lamy at 2020-08-25T17:01:43+01:00
hg merge py3.6

--HG--
branch : hpy

- - - - -


30 changed files:

- LICENSE
- extra_tests/README.txt
- extra_tests/cffi_tests/cffi0/test_ffi_backend.py
- extra_tests/cffi_tests/cffi0/test_function.py
- extra_tests/cffi_tests/cffi0/test_ownlib.py
- extra_tests/cffi_tests/cffi0/test_parsing.py
- + extra_tests/cffi_tests/cffi1/test_function_args.py
- extra_tests/cffi_tests/cffi1/test_recompiler.py
- extra_tests/cffi_tests/embedding/test_basic.py
- + extra_tests/cffi_tests/embedding/withunicode.py
- pypy/module/test_lib_pypy/test_testcapi.py → extra_tests/test_capi.py
- lib-python/3/runpy.py
- lib_pypy/_structseq.py
- lib_pypy/cffi.egg-info/PKG-INFO
- lib_pypy/cffi/__init__.py
- lib_pypy/cffi/_cffi_include.h
- lib_pypy/cffi/_embedding.h
- lib_pypy/cffi/cparser.py
- lib_pypy/cffi/recompiler.py
- lib_pypy/cffi/setuptools_ext.py
- lib_pypy/tools/__init__.py → lib_pypy/pypy_tools/__init__.py
- lib_pypy/tools/build_cffi_imports.py → lib_pypy/pypy_tools/build_cffi_imports.py
- pypy/conftest.py
- pypy/doc/build.rst
- pypy/doc/contributor.rst
- pypy/doc/index-of-release-notes.rst
- pypy/doc/release-v7.3.1.rst
- + pypy/doc/release-v7.3.2.rst
- pypy/doc/whatsnew-head.rst
- pypy/doc/whatsnew-pypy3-head.rst


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/291e150322ad2165df585b3b0cfa870591eb7a18...be8a982ca75e60be041f9f9bc1537d9a4103ce6a

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/291e150322ad2165df585b3b0cfa870591eb7a18...be8a982ca75e60be041f9f9bc1537d9a4103ce6a
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-commit/attachments/20200825/b33b4507/attachment-0001.html>


More information about the pypy-commit mailing list