This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author excitoon
Recipients docs@python, excitoon, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-05-31.08:45:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527756308.21.0.682650639539.issue33698@psf.upfronthosting.co.za>
In-reply-to
Content
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. :(
History
Date User Action Args
2018-05-31 08:45:08excitoonsetrecipients: + excitoon, paul.moore, tim.golden, docs@python, zach.ware, steve.dower
2018-05-31 08:45:08excitoonsetmessageid: <1527756308.21.0.682650639539.issue33698@psf.upfronthosting.co.za>
2018-05-31 08:45:08excitoonlinkissue33698 messages
2018-05-31 08:45:08excitooncreate