A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-August/037763.html below:

[Python-Dev] Embedded python module search path

[Python-Dev] Embedded python module search path [Python-Dev] Embedded python module search pathJack Jansen Jack.Jansen at cwi.nl
Wed Aug 20 13:26:48 EDT 2003
On Tuesday, August 19, 2003, at 05:00 PM, Tom Emerson wrote:

> 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.

Nope... Look at the top of Py_Initialize() in pythonrun.c. It's
looking at all the environment variables itself.
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4