Marc-Andre Lemburg added the comment:

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.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26007>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to