This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author effbot
Recipients
Date 2006-03-02.23:21:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=38376

the os module generally uses the same name as the underlying
POSIX API.  in this case, os.putenv maps to POSIX putenv(3)
and os.getenv maps to POSIX getenv(3).

there is a setenv() function available on some platforms,
which is more like:

  def setenv(key, value, overwrite):
    if not getenv(key) or overwrite:
      putenv(key, value)

(why are you using these functions anyway?  use the environ
dictionary, already!)
History
Date User Action Args
2007-08-23 15:46:10adminlinkissue1440928 messages
2007-08-23 15:46:10admincreate