title: os.environ doesn't show some variables
body: <p>I have an environment variable that I set (on Centos 6) using profile.d, as follows:</p>
  
  <pre><code>[bankap@tnt-integration-test ~]$ cat /etc/profile.d/tnt.sh
  TNT_SERVER_URL=http://tnt-integration-test:8000/
  </code></pre>
  
  <p>and when I log in, I see the variable:</p>
  
  <pre><code>[bankap@tnt-integration-test ~]$ echo $TNT_SERVER_URL
  http://tnt-integration-test:8000/
  </code></pre>
  
  <p>But when I access the thing with Python, the environment variable doesn't show up!</p>
  
  <pre><code>[bankap@tnt-integration-test ~]$ python -c 'import os;os.environ.get("TNT_SERVER_URL")'
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  NameError: name 'TNT_SERVER_URL' is not defined
  </code></pre>
  
  <p>I've even tried using the ctypes library with the same results:</p>
  
  <pre><code>&gt;&gt;&gt; os.getenv('TNT_SERVER_URL')
  &gt;&gt;&gt; from ctypes import CDLL, c_char_p
  &gt;&gt;&gt; getenv = CDLL('libc.so.6').getenv
  &gt;&gt;&gt; getenv('TNT_SERVER_URL')
  0
  &gt;&gt;&gt;
  </code></pre>
  
  <p>But other variables come through just fine...</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>os.environ
           {'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '139.126.176.137 56535 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'bankap', 'USER': 'bankap', 'QTDIR': '/usr/lib64/qt-3.3', 'PATH': '/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/bankap/bin',</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>Anybody have any ideas? I've never seen this before!</p>