28 Apr
2022
28 Apr
'22
12:30 a.m.
On Tue, Apr 26, 2022 at 11:46 AM Victor Stinner <vstinner@python.org> wrote:
I propose adding a -P option to Python command line interface to "not add sys.path[0]": https://github.com/python/cpython/pull/31542
My plan is to merge this change at 2022-05-05, the day before the Python 3.11 feature freeze, unless someone has a good reason to not add this option or if you consider that we need more time to think about this issue. This issue is being discussed for 11 years, see for example: * https://bugs.python.org/issue13475 * https://discuss.python.org/t/python-flag-envvar-to-not-put-current-directory... Victor