Message206138
| Author |
pitrou |
| Recipients |
Olivier.Grisel, brett.cannon, eric.snow, ncoghlan, pitrou, python-dev, sbt |
| Date |
2013年12月13日.19:26:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1386962787.33.0.718332639183.issue19946@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Let's reopen, shall we? If not for 3.4, at least for 3.5.
It's likely that multiprocessing needs a __main__ simply because it needs a way to replicate the parent process' state in the child (for example, the set of imported modules, the logging configuration, etc.). Perhaps Richard can elaborate.
But, AFAIU, the __main__ could be imported as a script rather than a "proper" module from sys.path. |
|