[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing
Serhiy Storchaka
report at bugs.python.org
Thu Mar 20 09:35:24 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue20990>
_______________________________________
More information about the Python-bugs-list
mailing list