[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] cygwin prefix patch: request for eyeballs
From:       "Gregory M. Turner" <gmt () malth ! us>
Date:       2012-03-27 20:15:48
Message-ID: 2d4b564d-34fb-459c-94db-a3f9cb7a0af0 () malth ! us
[Download RAW message or body]

----- Original Message -----
> > 'if not os.environ["PORTAGE_PYTONPATH"]:' 
> If PORTAGE_PYTHONPATH is not in os.environ then it will raise a
> KeyError, that is why we are doing a contains to begin with.

I somehow got the idea that the python gods had sprinkled magical syntax-sugar on \
bool(x[y])?  But maybe that doesn't make sense, it could cause gross surprises.  \
Anyhow I should rtfm rather than post my OT un-educated guesses...

-gmt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic