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 Sam Clegg, skoslowski, ssapin, steve.dower
Date 2020-02-04.23:49:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580860148.8.0.484378952556.issue34841@roundup.psfhosted.org>
In-reply-to
Content
This is intentional. When embedding the Python runtime, you should limit the import directories to those you want to allow - we do not infer *any* from how it is started, due to the security risks.

Modifying the ._pth file after you extract the distro and before you redistribute your own installer is encouraged, especially if you aren't using an "everything in one directory" layout for your application.

If that statement doesn't sound like it applies to you, then you probably want the regular installer and not the embeddable package. It is *not* meant to be a "portable" distribution.
History
Date User Action Args
2020-02-04 23:49:08steve.dowersetrecipients: + steve.dower, ssapin, skoslowski, Sam Clegg
2020-02-04 23:49:08steve.dowersetmessageid: <1580860148.8.0.484378952556.issue34841@roundup.psfhosted.org>
2020-02-04 23:49:08steve.dowerlinkissue34841 messages
2020-02-04 23:49:08steve.dowercreate