New submission from Mary Stern <maryst...@yahoo.com>: 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. ---------- messages: 81963 nosy: marystern severity: normal status: open title: os.environ.get() doesn't handle default value type: feature request versions: Python 2.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com