cp -rf pypy3.9/examples . cp -rf pypy3.9/doc . cp -f pypy3.9/index.html . cp -rf pypy3.9/module . cp -rf py3.10/multiprocess . cp -rf pypy3.9/_multiprocess . # ---------------------------------------------------------------------- $ diff Python-3.10.9/Lib/test/_test_multiprocessing.py pypy3.10-v7.3.12-src/lib-python/3/test/_test_multiprocessing.py 621c621,622 < gc.collect() # For PyPy or other GCs. --- > for i in range(3): > gc.collect() 2678c2679,2680 < gc.collect() # For PyPy or other GCs. --- > for i in range(3): > gc.collect() 2766a2769,2771 > sm = multiprocessing.get_start_method() > if sm == 'fork' and sys.implementation.name == 'pypy': > self.skipTest("race condition on PyPy") 2980c2985,2986 < self.assertRaises(Exception, queue.put, time.sleep) --- > # Changed on PyPy: passing functions to xmlrpc is broken > #self.assertRaises(Exception, queue.put, time.sleep) 3677a3684,3685 > support.gc_collect() # for PyPy and other GCs > 3683a3692 > @test.support.cpython_only 4302c4311,4312 < gc.collect() # For PyPy or other GCs. --- > for i in range(3): > gc.collect() 4356a4367 > @test.support.cpython_only # ---------------------------------------------------------------------- diff pypy3.10-v7.3.15-src/lib-python/3/multiprocessing/managers.py pypy3.10-v7.3.16-src/lib-python/3/multiprocessing/managers.py 729a730 > conn.close() diff pypy3.10-v7.3.15-src/lib-python/3/multiprocessing/popen_spawn_win32.py pypy3.10-v7.3.16-src/lib-python/3/multiprocessing/popen_spawn_win32.py 25c25,27 < WINENV = not _path_eq(sys.executable, sys._base_executable) --- > # PyPy is not affected by bpo-35797 > # WINENV = not _path_eq(sys.executable, sys._base_executable) > WINENV = False # ---------------------------------------------------------------------- diff pypy3.10-v7.3.16-src/lib-python/3/multiprocessing/context.py pypy3.10-v7.3.17-src/lib-python/3/multiprocessing/context.py 229a230 > diff pypy3.10-v7.3.16-src/lib-python/3/test/_test_multiprocessing.py pypy3.10-v7.3.17-src/lib-python/3/test/_test_multiprocessing.py 5738d5737 < 5740d5738 < # ---------------------------------------------------------------------- diff pypy3.10-v7.3.17-src/pypy/module/_multiprocessing/interp_semaphore.py pypy3.10-v7.3.18-src/pypy/module/_multiprocessing/interp_semaphore.py 61a62,65 > TIMEZONE = platform.Struct('struct timezone', [ > ('tz_minuteswest', rffi.INT_real), > ('tz_dsttime', rffi.INT_real), > ]) 69a74 > TIMEZONE = config['TIMEZONE'] 71a77 > TIMEZONEP = rffi.CArrayPtr(TIMEZONE) 105c111 < _sem_getvalue = external('sem_getvalue', [SEM_T, rffi.INTP], rffi.INT, --- > _sem_getvalue = external('sem_getvalue', [SEM_T, rffi.INT_realP], rffi.INT, 196c202 < sval_ptr = lltype.malloc(rffi.INTP.TO, 1, flavor='raw') --- > sval_ptr = lltype.malloc(rffi.INT_realP.TO, 1, flavor='raw') 206a213 > void = lltype.nullptr(rffi.VOIDP.TO) 208c215 < res = _gettimeofday(now, None) --- > res = _gettimeofday(now, void)