Message205904
| Author |
ncoghlan |
| Recipients |
Olivier.Grisel, brett.cannon, eric.snow, ncoghlan, pitrou, sbt |
| Date |
2013年12月11日.12:34:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CADiSq7euwR5P3=xEEe5S1eF0=d7CkLBWkWxyaUn--V1iyCuidg@mail.gmail.com> |
| In-reply-to |
<1386755576.26.0.691843445998.issue19946@psf.upfronthosting.co.za> |
| Content |
Rerunning main in the subprocess has always been a slightly dubious feature
of multiprocessing, but IIRC it's a necessary hack to ensure pickle
compatibility for things defined in __main__. Using "runpy.run_path" would
be a better solution, but we'll need to add the "target" parameter that
missed the beta1 deadline. |
|