Graham Dumpleton
grahamd at dscpl.com.au
Fri Aug 11 17:56:59 EDT 2006
On 12/08/2006, at 1:48 AM, Deron Meranda wrote: > If you're curious to dive deeper (perhaps Graham?) and have the python > source code, the initial paths for loading modules is determined by > the > Py_GetPath() function in the source file Modules/getpath.c. Oh, I have looked numerous times and that is why I say it is magic. I have contemplated whether we should implement a PythonHome directive, which sets PYTHONHOME environment variable before calling Py_Initialize(), to try and influence where it looks for those hard cases, but the incidence of them is at the moment low enough not to seem to warrant the effort. Graham -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060812/e47b0a7f/attachment.html
|