On maandag, aug 18, 2003, at 18:40 Europe/Amsterdam, Tom Emerson wrote: > Thomas Heller writes: > [...] >>>> Is it worth providing an alternative initialization API that allows >>>> these values to be specified explicitly instead of having them >>>> computed? Or is there a reason not to do this? >> >> Wouldn't a Py_SetPath function do the trick, which would initially set >> module_search_path (if it's not already set)? > > Yes, that is essentially what I propose adding: > > 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. -- - Jack Jansen <Jack.Jansen at oratrix.com> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman -
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