[issue33053] Avoid adding an empty directory to sys.path when running a module with `-m`

Nick Coghlan report at bugs.python.org
Sun Mar 25 16:52:43 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:


New changeset ee3784594b33c72c3fdca6a71892d22f14045ab6 by Nick Coghlan in branch '3.7':
bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) (#6236)
https://github.com/python/cpython/commit/ee3784594b33c72c3fdca6a71892d22f14045ab6


----------

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


More information about the Python-bugs-list mailing list