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 steve.dower
Recipients Matthias v/d Meent, docs@python, ethan smith, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-12-08.16:32:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481214743.45.0.629459348914.issue28901@psf.upfronthosting.co.za>
In-reply-to
Content
If you go to the 3.6 version of that doc page and also read the section on finding modules, you'll see that the presence of a "python._pth" file causes -S (skip importing site) to be implied unless the ._pth file includes "import site":

https://docs.python.org/3.6/using/windows.html#finding-modules

You'll then notice that the embeddable distro includes a ._pth file by default (though you don't have to distribute that with your app, just as you may want to omit the exe files). That could certainly be called out more clearly in the section on the embeddable distro, though so far it hasn't come up with anyone who's using it for its proper purpose (that I'm aware of).
History
Date User Action Args
2016-12-08 16:32:23steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, docs@python, zach.ware, Matthias v/d Meent, ethan smith
2016-12-08 16:32:23steve.dowersetmessageid: <1481214743.45.0.629459348914.issue28901@psf.upfronthosting.co.za>
2016-12-08 16:32:23steve.dowerlinkissue28901 messages
2016-12-08 16:32:23steve.dowercreate