Matti Picus pushed to branch branch/py3.6 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. - - - - - 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 - - - - - 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 - - - - - 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) - - - - - 10ba3e18 by Matti Picus at 2020-08-24T22:50:49+03:00 test, implemenst sq_inplace_repeat wrapper; cleanup from 0fd79fda9e0a - - - - - 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 - - - - - 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 - - - - - 21 changed files: - pypy/interpreter/app_main.py - pypy/interpreter/test/test_app_main.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 - rpython/config/translationoption.py - rpython/jit/backend/test/jitlog_test.py - rpython/rlib/rfile.py - rpython/rlib/rjitlog/rjitlog.py - rpython/rlib/rjitlog/src/rjitlog.c - rpython/rlib/rposix.py - rpython/rlib/rsocket.py - rpython/rlib/test/test_libffi.py - rpython/rlib/test/test_rfile.py - rpython/rlib/test/test_rposix.py - rpython/rlib/test/test_rposix_stat.py - rpython/translator/c/genc.py - rpython/translator/goal/translate.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/024e9b2004ee2bdd1a9f82617e3f633dd5c4076c...c03bd01923492ae534321406a44cf884fcfa4fc8 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/024e9b2004ee2bdd1a9f82617e3f633dd5c4076c...c03bd01923492ae534321406a44cf884fcfa4fc8 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
