[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 09:20:06 EDT 2018


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

Initial fix has been merged to master, CI runs pending for the backport to 3.7 and a follow-up master branch PR to remove a debugging print I noticed when resolving a test_import conflict in the backport.

I won't get to merging those until some time after work tomorrow (probably 8 pm'ish in UTC+10), so if anyone wanted to merge them before that, it would likely be a good idea :)

----------

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


More information about the Python-bugs-list mailing list