[Python-checkins] python/dist/src/Lib getopt.py,1.21,1.22
Jack Jansen
Jack.Jansen@oratrix.com
Sun, 28 Jul 2002 23:20:29 +0200
On vrijdag, juli 26, 2002, at 10:46 , Guido van Rossum wrote:
>> Use os.environ.get() in stead of os.getenv() (which is
>> platform-dependent).
>
> Really? That wasn't intended! What are the differences?
The manual states that os.getenv() exists on Posix and Windows.
For os.environ no such statement is made. And indeed the mac
module has os.environ (even though the contents are rather
boring) and no os.getenv().
--
- Jack Jansen <Jack.Jansen@oratrix.com>
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution --
Emma Goldman -