Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7-newtext-const-arg-caching at PyPy / pypy
Commits: 0fd0206b by Antonio Cuni at 2021-04-11T16:13:53+02:00 Fix a bug in objspace.fake.checkmodule which was introduced 5 years ago by e7c6c1c7 The call to module.init() causes module.startup() to be called at translation-time and sets module.startup_called = True. The net effect is that we freeze values which are supposed to be computed at runtime, and this e.g. causes problems to HPy. The original commit added the call to module.init() to be able to ztranslate _multiprocessing: fix it differently by moving the relevant code to startup(). --HG-- branch : fix-checkmodule-2 - - - - - 0e7322d2 by Antonio Cuni at 2021-04-11T18:12:55+02:00 fix whatsnew --HG-- branch : fix-checkmodule-2 - - - - - 48cb6f22 by Matti Picus at 2021-04-18T23:08:14-04:00 add implementation_lower to distutils.command.install (issue 3436) --HG-- branch : distutils-implementation - - - - - ff2adf91 by nulano at 2021-05-01T19:37:25+02:00 implement bpo-30245: avoid overflow in struct.pack_into error message --HG-- branch : py3.7-bpo-30245 - - - - - 72bb13d4 by nulano at 2021-05-01T19:45:07+02:00 add special error messange for '\0' in rstruct.formatiterator for bpo-35714 --HG-- branch : bpo-35714 - - - - - 74e48e3e by Matti Picus at 2021-05-01T21:58:07+03:00 PyUnicode_Contains accepts bytes on python2 (comment to issue 3400) - - - - - 1b59908b by Matti Picus at 2021-05-01T22:54:03+03:00 merge default into py3.7, fixing PyUnicode_Contains for python3 --HG-- branch : py3.7 - - - - - 18320409 by Matti Picus at 2021-05-02T13:07:36+03:00 ip address of python.org changed - - - - - 5ac0a7cb by Carl Friedrich Bolz-Tereick at 2021-05-02T14:18:12+02:00 kill the test, I ended up not implementing int_divmod_int_result - - - - - ed374490 by Matti Picus at 2021-05-02T18:05:32+03:00 Added tag release-pypy2.7-v7.3.5rc1 for changeset e02eba563ef8 - - - - - 4bd07b45 by Matti Picus at 2021-05-02T18:05:54+03:00 Added tag release-pypy3.7-v7.3.5rc1 for changeset d770377ff27b - - - - - a54629c4 by Matti Picus at 2021-05-03T11:21:03+03:00 on windows, use the windows-specific pyconfig.h --HG-- branch : py3.7 - - - - - 07998eab by Matti Picus at 2021-05-03T23:44:50+03:00 Backed out changeset: eb472ac0568e, it requires too much readjustment --HG-- branch : py3.7 - - - - - 070264fa by Matti Picus at 2021-05-04T01:15:55+03:00 directly add the missing defines --HG-- branch : py3.7 - - - - - d646e356 by Matti Picus at 2021-05-04T01:30:23+03:00 redo this change, it is the correct fix --HG-- branch : py3.7 - - - - - f522bb88 by Matti Picus at 2021-05-04T01:30:34+03:00 Backed out changeset: c9e82e9719dd --HG-- branch : py3.7 - - - - - cf03864b by Matti Picus at 2021-05-04T02:42:11+03:00 fix cpyext for using PC/pyconfig.h on windows, change <> to "" for include priority --HG-- branch : py3.7 - - - - - 933e1f36 by Matti Picus at 2021-05-04T10:18:22+03:00 properly define ssize_t and recv() for win64 in _rsocket_ffi - - - - - 23d27c61 by Matti Picus at 2021-05-04T10:18:22+03:00 properly define ssize_t and recv() for win64 in _rsocket_ffi --HG-- branch : py3.7 - - - - - b24811ed by Matti Picus at 2021-05-04T14:40:34+03:00 test, fix partial implementation of PyNumber_AsSsize_t (issue 3456) - - - - - fd99ad79 by Matti Picus at 2021-05-04T18:52:27+03:00 merge bpo-35714 which changes an error message - - - - - 41372446 by Matti Picus at 2021-05-04T18:56:46+03:00 document merged branch - - - - - 94b41728 by Matti Picus at 2021-05-04T19:27:02+03:00 merge distutils-implementation to instaniate install schemes --HG-- branch : py3.7 - - - - - f0671934 by Matti Picus at 2021-05-04T19:31:51+03:00 merge fix for bpo-3245: avoid overflow in struct.pack_into error message --HG-- branch : py3.7 - - - - - 9371d8f2 by Matti Picus at 2021-05-04T19:56:01+03:00 document merged branches --HG-- branch : py3.7 - - - - - 4adfa298 by Matti Picus at 2021-05-04T20:00:10+03:00 merge fix-checkmodule-2 - - - - - 3ad4abe6 by Matti Picus at 2021-05-05T05:40:06+03:00 urllib.parse should sanitize urls containing ASCII newline and tabs (BPO 43882) - - - - - 6c2cf5ef by Matti Picus at 2021-05-05T05:41:49+03:00 Fix ReDoS in urllib AbstractBasicAuthHandler (BPO 43075) - - - - - 255be55e by Matti Picus at 2021-05-05T05:43:13+03:00 Fix ReDoS in urllib AbstractBasicAuthHandler (BPO 43075) --HG-- branch : py3.7 - - - - - 834f561a by Matti Picus at 2021-05-05T05:44:42+03:00 urllib.parse should sanitize urls containing ASCII newline and tabs (BPO 43882) --HG-- branch : py3.7 - - - - - 151802d7 by Matti Picus at 2021-05-05T05:46:21+03:00 fix urllib.parse sanitization --HG-- branch : py3.7 - - - - - 92978579 by Matti Picus at 2021-05-05T05:58:39+03:00 update release note - - - - - ffdae2fd by Matti Picus at 2021-05-05T10:10:55+03:00 merge default into py3.7 --HG-- branch : py3.7 - - - - - 2f5ea4f2 by Matti Picus at 2021-05-05T22:15:17+03:00 Added tag release-pypy2.7-v7.3.5rc2 for changeset cc3e122f7896 - - - - - 2f2a08c0 by Matti Picus at 2021-05-05T22:15:39+03:00 Added tag release-pypy3.7-v7.3.5rc2 for changeset cd00c77c619f - - - - - 954dac6e by Carl Friedrich Bolz-Tereick at 2021-05-06T12:22:43+02:00 use string builder in file IO, which speeds up PyPy2 file.read calls - - - - - ca28097a by Ronan Lamy at 2021-05-06T17:04:27+01:00 blindly fix translation of int(<unicode>) - - - - - 47b0ad9d by Matti Picus at 2021-05-07T11:07:35+03:00 wrong return type for _Py_HashDouble, impacts 64-bit windows - - - - - 238226d1 by Matti Picus at 2021-05-07T11:08:11+03:00 merge default into branch --HG-- branch : py3.7 - - - - - 49e4ed2b by Carl Friedrich Bolz-Tereick at 2021-05-07T13:13:47+02:00 gaaaaah, ByteBuffer.setslice used to use the generic implementation from Buffer! that means a virtual method call per character read from files in pypy3 - - - - - f26af80c by Carl Friedrich Bolz-Tereick at 2021-05-07T14:09:12+02:00 merge default (speads up binary file reading by a factor of 3) --HG-- branch : py3.7 - - - - - 01f37c1c by Carl Friedrich Bolz-Tereick at 2021-05-07T14:10:30+02:00 merge heads --HG-- branch : py3.7 - - - - - b2963a10 by Carl Friedrich Bolz-Tereick at 2021-05-07T16:24:57+02:00 call _advance_codepoint only if we don't already know that we have an ascii char --HG-- branch : py3.7 - - - - - 682d4068 by Carl Friedrich Bolz-Tereick at 2021-05-07T16:35:27+02:00 don't construct this dict for every file --HG-- branch : py3.7 - - - - - de3429c7 by Carl Friedrich Bolz-Tereick at 2021-05-08T16:56:09+02:00 some optimizations: compute the unicode final length during newline translation instead of calling check_utf8 a second time --HG-- branch : py3.7 - - - - - 9b5cdbd3 by Carl Friedrich Bolz-Tereick at 2021-05-08T17:07:47+02:00 small improvement --HG-- branch : py3.7 - - - - - 0d2c4425 by Carl Friedrich Bolz-Tereick at 2021-05-08T19:11:49+02:00 ouch: we were using the needlessly complicated search function when newline translation is turned on --HG-- branch : py3.7 - - - - - 0853afc9 by Carl Friedrich Bolz-Tereick at 2021-05-08T19:18:49+02:00 another small tweak: start translating newlines only after the \r-free prefix --HG-- branch : py3.7 - - - - - 47ee6305 by Carl Friedrich Bolz-Tereick at 2021-05-08T21:39:55+02:00 add fast paths for W_IncrementalNewlineDecoder in W_TextIOWrapper._read_chunk --HG-- branch : py3.7 - - - - - 54ba673c by Carl Friedrich Bolz-Tereick at 2021-05-09T20:17:09+02:00 merge py3.7 --HG-- branch : py3.7-newtext-const-arg-caching - - - - - 30 changed files: - .hgtags - lib-python/3/distutils/command/install.py - lib-python/3/test/test_urlparse.py - lib-python/3/urllib/parse.py - lib-python/3/urllib/request.py - pypy/doc/release-v7.3.5.rst - pypy/doc/whatsnew-head.rst - pypy/doc/whatsnew-pypy3-head.rst - pypy/module/_io/interp_textio.py - pypy/module/_io/test/test_interp_textio.py - pypy/module/_multiprocessing/moduledef.py - + pypy/module/cpyext/PC/pyconfig.h - pypy/module/cpyext/api.py - pypy/module/cpyext/include/Python.h - pypy/module/cpyext/include/pyport.h - pypy/module/cpyext/include/pytime.h - pypy/module/cpyext/number.py - pypy/module/cpyext/object.py - pypy/module/cpyext/src/pymem.c - pypy/module/cpyext/test/test_number.py - pypy/module/cpyext/test/test_unicodeobject.py - pypy/module/struct/interp_struct.py - pypy/module/struct/test/apptest_struct.py - pypy/objspace/fake/checkmodule.py - rpython/rlib/_rsocket_rffi.py - rpython/rlib/buffer.py - rpython/rlib/rstruct/formatiterator.py - rpython/rlib/streamio.py - rpython/rlib/test/test_rbigint.py - rpython/rlib/test/test_rsocket.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c593e2738c84caa0e870f267524d3357e0504c83...54ba673c14df493f42f70b2516ba745aca4a8937 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c593e2738c84caa0e870f267524d3357e0504c83...54ba673c14df493f42f70b2516ba745aca4a8937 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
