Author ncoghlan
Recipients eric.smith, miss-islington, ncoghlan, serhiy.storchaka, vstinner
Date 2018-07-11.15:03:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Right, the merged PR adds a simpler example that handles "ignore exceptions or not" by selecting between suppress() and nullcontext().

The documentation still needs updating to improve or remove the file-based example, and point out that for resources that get acquired on construction, you either need to delay construction to the start of the with statement, or else use ExitStack instead of nullcontext.
Date User Action Args
2018-07-11 15:03:41ncoghlansetrecipients: + ncoghlan, vstinner, eric.smith, serhiy.storchaka, miss-islington
2018-07-11 15:03:41ncoghlansetmessageid: <>
2018-07-11 15:03:41ncoghlanlinkissue34067 messages
2018-07-11 15:03:41ncoghlancreate