[docs] [issue33698] `._pth` does not allow to populate `sys.path` with empty entry
report at bugs.python.org
Wed May 30 17:45:56 EDT 2018
Steve Dower <steve.dower at python.org> added the comment:
If your ._pth includes `import site`, then including a blank line in a `anything.pth` file should add the entry.
Alternatively, if you can add "import sys; sys.path.insert(0, '')" to the start of your code that depends on it you should be fine.
Python tracker <report at bugs.python.org>
More information about the docs