[Python-Dev] Embedded python module search path
theller at python.net
Tue Aug 19 22:26:47 EDT 2003
Tom Emerson <tree at basistech.com> writes:
> Jack Jansen writes:
>> > void Py_SetPaths(modulepath, prefix, execprefix, fullpath);
>> Note that if we're going to tackle this I think we should also have
>> a way to disable the other code that looks at the environment to set
>> the various flags.
> I think you get this for free because calculate_path is never called
> when module_search_path is set.
IMO Jack meant variables like Py_OptimizeFlag and Py_DebugFlag which
are set at the beginning of Py_Initialize from some env vars.
More information about the Python-Dev