[Python-ideas] getpath differences Linux vs Windows

Charles Solar redcomet87 at gmail.com
Tue Jan 26 22:54:03 CET 2010

Yea it most definitely works when I set PYTHONHOME and PYTHONPATH correctly.
But my goal is 0 environment monkeying.
I do not want my users to have to remember to define those environment
variables to get it running. My trouble is that the framework I am writing
up is going to be hard enough to convince these guys to use at all, and I
want no tricks or gotchas when I present the final solution.

This is just a suggestion since I found the windows behavior extremely


On Tue, Jan 26, 2010 at 3:39 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Charles Solar wrote:
> > I am going to spend the rest of my afternoon editing Modules/getpath.c
> > and I thought I would propose updating the non-windows getpath.c file to
> > be more in line with the windows one.  Or at least, have it take some
> > pointers from windows.
> Probably not going to fly - the current default behaviour follows
> standard Linux idioms, which differ significantly from those of Windows.
> The error message tells you how to fix the problem though: make sure
> PYTHONHOME points to the right place in the environment seen by the
> embedded interpreter.
> Cheers,
> Nick.
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> ---------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100126/bb76f27a/attachment.html>

More information about the Python-ideas mailing list