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 lemburg
Recipients lemburg, paul.moore, philthompson10
Date 2016-01-04.17:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451927267.19.0.287230705277.issue26007@psf.upfronthosting.co.za>
In-reply-to
Content
So the use case is that you want to explicitly prevent the file system from being used for imports ?

You might want to look at how eGenix PyRun works, since this does embed the Python stdlib into the executable (including the encodings package). While it does allow imports from the file system, it only looks there for things it cannot find embedded in the binary.

PS: I'd suggest to make the issue title more specific to what you are actually after, which seems to be a way to install importers from C at a very early stage during initialization.
History
Date User Action Args
2016-01-04 17:07:47lemburgsetrecipients: + lemburg, paul.moore, philthompson10
2016-01-04 17:07:47lemburgsetmessageid: <1451927267.19.0.287230705277.issue26007@psf.upfronthosting.co.za>
2016-01-04 17:07:47lemburglinkissue26007 messages
2016-01-04 17:07:47lemburgcreate