Message206180
Long term fix: runpy.run_path and runpy.run_module need to accept a "target" parameter, multiprocessing needs to use the appropriate one based on whether or not __main__.__spec__ is None.
Short term (3.4) fix: we can expose a private API in runpy akin to the _run_module_as_main that we use to implement the -m switch that will do the right thing for multiprocessing. |
|
Date |
User |
Action |
Args |
2013-12-14 13:17:37 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, pitrou, python-dev, sbt, eric.snow, Olivier.Grisel |
2013-12-14 13:17:37 | ncoghlan | set | messageid: <1387027057.66.0.640665170986.issue19946@psf.upfronthosting.co.za> |
2013-12-14 13:17:37 | ncoghlan | link | issue19946 messages |
2013-12-14 13:17:37 | ncoghlan | create | |
|