Author pkoning
Recipients berker.peksag, michael.foord, pkoning, python-dev, quasipedia, rbcollins
Date 2015-07-22.15:04:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Section 26.7.7 of the library manual describes mock_open with the words:

A helper function to create a mock to replace the use of open. It works for open called directly or used as a context manager.

which implies that it works just like open.  Given that it doesn't (not if you do two opens and use both streams concurrently) that difference should be called out as a difference, or limitation.
Date User Action Args
2015-07-22 15:04:59pkoningsetrecipients: + pkoning, rbcollins, michael.foord, python-dev, quasipedia, berker.peksag
2015-07-22 15:04:59pkoningsetmessageid: <>
2015-07-22 15:04:59pkoninglinkissue21750 messages
2015-07-22 15:04:59pkoningcreate