[issue7360] [mailbox] race: mbox may lose data with concurrent access
report at bugs.python.org
Thu Nov 19 18:06:46 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
> I don't think this class aims at being safe against concurrent access,
> so having it fail loudly is a good thing.
I now understand that the problem is that it doesn't fail loudly. That's
what I get for replying too quickly.
Still, I don't think the suggested fix is ok. Perhaps we should simply
state in the documentation that flush() discards the old file, so that
other processes accessing it may get a surprise.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list