[issue16737] Different behaviours in script run directly and via runpy.run_module

Jason R. Coombs report at bugs.python.org
Sat Oct 21 09:08:05 EDT 2017


Jason R. Coombs <jaraco at jaraco.com> added the comment:

The other major difference and the only one that's affected me is the presence of sys.path[0] == ''.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue16737>
_______________________________________


More information about the Python-bugs-list mailing list