Re: [Numpy-discussion] Round 2 with Leopard+Python

2007-11-04 Thread David Cournapeau
Brian Granger wrote: > Hi, > > In the process of working through the issues with sys.path on Leopard, > I have found another potential Leopard bug that is particularly nasty. > > In Tiger, sudo preserves environment variables: > > $ export FOO=/tmp > $ python -c "import os; print os.environ['FOO']"

[Numpy-discussion] Round 2 with Leopard+Python

2007-11-02 Thread Brian Granger
Hi, In the process of working through the issues with sys.path on Leopard, I have found another potential Leopard bug that is particularly nasty. In Tiger, sudo preserves environment variables: $ export FOO=/tmp $ python -c "import os; print os.environ['FOO']" /tmp $ sudo python -c "import os; p