[docs] [issue33698] `._pth` does not allow to populate `sys.path` with empty entry

Paul Moore report at bugs.python.org
Thu May 31 05:02:46 EDT 2018

Paul Moore <p.f.moore at gmail.com> added the comment:

You could add the line

    import sys; sys.path.insert(0, '')

to a .pth file. The documentation you pointed out states that lines starting with "import" are executed...


Python tracker <report at bugs.python.org>

More information about the docs mailing list