This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Olivier.Grisel
Recipients Olivier.Grisel, brett.cannon, eric.snow, ncoghlan, pitrou, python-dev, sbt
Date 2013-12-13.19:40:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386963613.66.0.3358346399.issue19946@psf.upfronthosting.co.za>
In-reply-to
Content
For Python 3.4:

Maybe rather than raising ImportError, we could issue warning to notify the users that names from the __main__ namespace could not be loaded and make the init_module_attrs return early.

This way a multiprocessing program that only calls functions defined in non-main namespaces could still use the new "start method" feature introduced in Python 3.4 while not changing the Python 3.3 semantics for windows programs and not relying on any deprecated hack.
History
Date User Action Args
2013-12-13 19:40:13Olivier.Griselsetrecipients: + Olivier.Grisel, brett.cannon, ncoghlan, pitrou, python-dev, sbt, eric.snow
2013-12-13 19:40:13Olivier.Griselsetmessageid: <1386963613.66.0.3358346399.issue19946@psf.upfronthosting.co.za>
2013-12-13 19:40:13Olivier.Grisellinkissue19946 messages
2013-12-13 19:40:13Olivier.Griselcreate