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 marystern
Recipients marystern
Date 2009-02-13.18:54:58
SpamBayes Score 0.002792681
Marked as misclassified No
Message-id <1234551300.69.0.752467323752.issue5253@psf.upfronthosting.co.za>
In-reply-to
Content
os.environ.get('ENV_VAR, 'mydefault')

returns '' rather than 'mydefault' if not set.

It would be nice if this standard dict-style behavior was supported.
History
Date User Action Args
2009-02-13 18:55:00marysternsetrecipients: + marystern
2009-02-13 18:55:00marysternsetmessageid: <1234551300.69.0.752467323752.issue5253@psf.upfronthosting.co.za>
2009-02-13 18:54:59marysternlinkissue5253 messages
2009-02-13 18:54:58marysterncreate