[issue7627] mailbox.MH.remove() lock handling is broken

A.M. Kuchling report at bugs.python.org
Mon Feb 22 19:43:22 CET 2010


A.M. Kuchling <lists at amk.ca> added the comment:

Thanks for your bug report!

Unfortunately, the fix isn't quite right, because on Windows you can't delete files that are open.  I think an even simpler fix is just to remove that locking; if self._locked is true, this process presumably has exclusive access to the mailbox and can just go ahead and remove the file.

I've committed this to 2.7 trunk as rev78332.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7627>
_______________________________________


More information about the Python-bugs-list mailing list