[issue19946] Have multiprocessing raise ImportError when spawning a process that can't find the "main" module
Olivier Grisel
report at bugs.python.org
Wed Dec 11 09:44:37 CET 2013
Olivier Grisel added the comment:
Note however that the problem is not specific to nose. If I rename my initial 'check_forserver.py' script to 'check_forserver', add the '#!/usr/bin/env python' header and make it 'chmod +x' I get the same crash.
So the problem is related to the fact that under posix, valid Python programs can be executable scripts without the '.py' extension.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19946>
_______________________________________
More information about the Python-bugs-list
mailing list