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 serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2018-12-09.12:34:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544358869.69.0.788709270274.issue35445@psf.upfronthosting.co.za>
In-reply-to
Content
Currently most errors during creating posix.environ are ignored except an error of creating an empty dict.

The initial revision 85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d contained the comment "XXX This part ignores errors". Later changes removed "XXX" from the comment and added explicit error clearing. Later the POSIX code was duplicated for Windows. It looks to me that that comment was not declared the intentional behavior, but just described existing code, and was left as a reminder for implementing error handling.

The proposed PR implements proper error handling in this code.
History
Date User Action Args
2018-12-09 12:34:29serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2018-12-09 12:34:29serhiy.storchakasetmessageid: <1544358869.69.0.788709270274.issue35445@psf.upfronthosting.co.za>
2018-12-09 12:34:29serhiy.storchakalinkissue35445 messages
2018-12-09 12:34:29serhiy.storchakacreate