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 DennisJensen
Recipients DennisJensen, docs@python, ned.deily
Date 2016-09-21.16:27:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474475261.71.0.579207510608.issue28242@psf.upfronthosting.co.za>
In-reply-to
Content
Okay well thanks for that information but after investigating this then I have to ask what is the difference between:

os.environ.get()

and

os.getenv()

As these 2 functions now appear to do exactly the same thing?  If this is the case then should there not be something added to either os.environ or to os.getenv() that states something to this effect.

Something along the lines of:  Since version: "whatever version that changed how .get() works" made the os.environ.get() work exactly the same as the os.getenv() -- this way since there are still references floating around that state that these 2 do not function the same and nothing outlined clearly within documentation stating that this is no longer the case.  Creates a bit of confusion on what should and should not be.
History
Date User Action Args
2016-09-21 16:27:41DennisJensensetrecipients: + DennisJensen, ned.deily, docs@python
2016-09-21 16:27:41DennisJensensetmessageid: <1474475261.71.0.579207510608.issue28242@psf.upfronthosting.co.za>
2016-09-21 16:27:41DennisJensenlinkissue28242 messages
2016-09-21 16:27:41DennisJensencreate