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

Nick Coghlan report at bugs.python.org
Sun Mar 18 01:58:43 EDT 2018


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

I've also separated out https://bugs.python.org/issue33095 (a docs issue about making isolated mode more discoverable) based on the jwilk's comment that it wasn't clear how to disable the default "add the current directory to sys.path" behaviour.

----------

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


More information about the Python-bugs-list mailing list