Serhiy Storchaka added the comment:

> It looks like multiprocessing.get_context() exists, but I don't see how it
> is defined.

It is defined by:

globals().update((name, getattr(context._default_context, name))
                 for name in context._default_context.__all__)

> For main(), it should maybe be replaced with _main()?

_main() has different signature.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20990>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to