Paolo Lammens <lammenspa...@gmail.com> added the comment: Hmm I think that’s unrelated; it’s a discussion about whether to add or not the working directory at all. Here the issue is that the way it *is* added differs between -c and -m (which isn’t documented). In both cases it is added (I’m not discussing that) but with -c it is added as an empty string while with -m it’s expanded to the full path beforehand, which results in different behaviour.
On Fri, 27 Nov 2020 at 20:33, STINNER Victor <rep...@bugs.python.org> wrote: > > STINNER Victor <vstin...@python.org> added the comment: > > See > https://discuss.python.org/t/python-flag-envvar-not-to-put-current-directory-to-sys-path-but-dont-ignore-pythonpath/4235 > discussion. > > ---------- > nosy: +vstinner > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <https://bugs.python.org/issue42483> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42483> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com