Matti Picus pushed to branch branch/default 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 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 - - - - - 30 changed files: - extra_tests/ctypes_tests/test_buffers.py - lib-python/2.7/HTMLParser.py - lib-python/2.7/SocketServer.py - lib-python/2.7/_pyio.py - lib-python/2.7/_strptime.py - lib-python/2.7/_threading_local.py - lib-python/2.7/aifc.py - lib-python/2.7/argparse.py - lib-python/2.7/asynchat.py - lib-python/2.7/asyncore.py - lib-python/2.7/bsddb/test/test_associate.py - lib-python/2.7/bsddb/test/test_basics.py - lib-python/2.7/bsddb/test/test_dbenv.py - lib-python/2.7/bsddb/test/test_dbshelve.py - lib-python/2.7/bsddb/test/test_dbtables.py - lib-python/2.7/bsddb/test/test_distributed_transactions.py - lib-python/2.7/bsddb/test/test_lock.py - lib-python/2.7/bsddb/test/test_misc.py - lib-python/2.7/bsddb/test/test_recno.py - lib-python/2.7/bsddb/test/test_replication.py - lib-python/2.7/bsddb/test/test_sequence.py - lib-python/2.7/bsddb/test/test_thread.py - lib-python/2.7/cProfile.py - lib-python/2.7/cgi.py - lib-python/2.7/cgitb.py - lib-python/2.7/codecs.py - lib-python/2.7/compiler/pyassem.py - lib-python/2.7/compiler/transformer.py - lib-python/2.7/cookielib.py - lib-python/2.7/copy_reg.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/da4d2ab51ac470de3e8588fb78396e1dc84da4cb...3d0ea6aa78fb271d9f2818c80790bd0bdbe14288 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/da4d2ab51ac470de3e8588fb78396e1dc84da4cb...3d0ea6aa78fb271d9f2818c80790bd0bdbe14288 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit