Matti Picus pushed to branch branch/py3.7 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.

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

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

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

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

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

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

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

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

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

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

- - - - -
55afcedc by Matti Picus at 2020-08-25T17:16:01+03:00
merge py3.6 into py3.7

--HG--
branch : py3.7

- - - - -


30 changed files:

- extra_tests/README.txt
- extra_tests/cffi_tests/cffi1/test_recompiler.py
- pypy/module/test_lib_pypy/test_testcapi.py → extra_tests/test_capi.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/recompiler.py
- lib_pypy/cffi/setuptools_ext.py
- pypy/conftest.py
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/app_main.py
- pypy/interpreter/test/test_app_main.py
- pypy/module/_cffi_backend/__init__.py
- pypy/module/_cffi_backend/test/_backend_test_c.py
- pypy/module/_cffi_backend/test/test_recompiler.py
- pypy/module/_continuation/test/test_translated.py
- pypy/module/_demo/test/test_import.py
- pypy/module/_io/interp_bufferedio.py
- pypy/module/_io/test/test_bufferedio.py
- pypy/module/_multiprocessing/test/test_semaphore.py
- pypy/module/_multiprocessing/test/test_win32.py
- pypy/module/cpyext/slotdefs.py
- pypy/module/cpyext/test/test_iterator.py
- pypy/module/posix/app_posix.py
- pypy/module/posix/interp_posix.py
- pypy/module/posix/moduledef.py
- pypy/module/posix/test/test_posix2.py
- pypy/module/test_lib_pypy/test_structseq.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/f99249bf8b1ae1cfc8c230567f1c59fcc402de47...55afcedc09fe44872920abe81496638b75862da3

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


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to