[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

STINNER Victor report at bugs.python.org
Thu Mar 20 09:02:35 CET 2014


STINNER Victor added the comment:

Serhiy suggested (msg214136):

"Lib/multiprocessing/synchronize.py:
Add at the start of the file:
from . import get_context"

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

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

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20990>
_______________________________________


More information about the Python-bugs-list mailing list