| 1 |
cp -rf pypy3.10/examples . |
| 2 |
cp -rf pypy3.10/doc . |
| 3 |
cp -f pypy3.10/index.html . |
| 4 |
cp -rf pypy3.10/module . |
| 5 |
cp -rf pypy3.10/_multiprocess . |
| 6 |
cp -rf py3.11/multiprocess . |
| 7 |
# ---------------------------------------------------------------------- |
| 8 |
diff Python-3.11.9/Lib/multiprocessing/popen_spawn_win32.py pypy3.11-v7.3.18-src/lib-python/3/multiprocessing/popen_spawn_win32.py |
| 9 |
26c26,28 |
| 10 |
< WINENV = not _path_eq(sys.executable, sys._base_executable) |
| 11 |
--- |
| 12 |
> # PyPy is not affected by bpo-35797 |
| 13 |
> # WINENV = not _path_eq(sys.executable, sys._base_executable) |
| 14 |
> WINENV = False |
| 15 |
diff Python-3.11.9/Lib/test/_test_multiprocessing.py pypy3.11-v7.3.18-src/lib-python/3/test/_test_multiprocessing.py |
| 16 |
40c40,44 |
| 17 |
< |
| 18 |
--- |
| 19 |
> if sys.implementation.name == 'pypy': |
| 20 |
> def noop(*args): |
| 21 |
> return [] |
| 22 |
> gc.get_threshold = noop |
| 23 |
> gc.set_threshold = noop |
| 24 |
2902a2907,2909 |
| 25 |
> sm = multiprocessing.get_start_method() |
| 26 |
> if sm == 'fork' and sys.implementation.name == 'pypy': |
| 27 |
> self.skipTest("race condition on PyPy") |
| 28 |
3117c3124,3125 |
| 29 |
< self.assertRaises(Exception, queue.put, time.sleep) |
| 30 |
--- |
| 31 |
> # Changed on PyPy: passing functions to xmlrpc is broken |
| 32 |
> #self.assertRaises(Exception, queue.put, time.sleep) |
| 33 |
3842a3851,3852 |
| 34 |
> support.gc_collect() # for PyPy and other GCs |
| 35 |
> |
| 36 |
3848a3859 |
| 37 |
> @test.support.cpython_only |