31 May
2018
31 May
'18
4:45 a.m.
Vladimir Chebotarev <vladimir.chebotarev@gmail.com> added the comment: Unfortunately this is not true: "Blank lines and lines beginning with # are skipped." (https://docs.python.org/3/library/site.html#index-1) I'm not sure we should change this behavior as it would make huge impact on usage of `pth` files by users (`._pth`, on the contrary, is the only one per distribution and managed by the distribution). I could easily add `''` to `sys.path` manually if I had one script or even dozen of them, but as the solution that alternative is not acceptable. :( ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33698> _______________________________________