nedbat,
@nedbat@hachyderm.io avatar

Anyone on Windows have (or can install) PyPy 3.10 (7.3.15, the latest) and can try to reproduce this coverage.py test suite problem?
https://github.com/nedbat/coveragepy/issues/1737
TIA!

danzin,
@danzin@mastodon.social avatar

@nedbat Got it: print(sys.executable) from multiprocessing prints the system PyPy in 7.3.15, but the venv onein 7.3.14.

A reproducer, no coverage used:

import multiprocessing as mp  
import sys

def worker(a):  
 print(sys.executable, "worker python")

if __name__ == "__main__":  
 print(sys.executable, "main python")  
 mp.set_start_method("spawn")  
 p = mp.Pool(3)  
 outputs = p.imap_unordered(worker, [(x,) for x in range(6)])  
 p.close()  
 p.join()  

https://github.com/pypy/pypy/issues/4876#issuecomment-1908004945

nedbat,
@nedbat@hachyderm.io avatar

@danzin I am incredibly impressed and grateful for the time you've put into this!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines