[issue11306] mailbox should test for errno.EROFS

R. David Murray report at bugs.python.org
Thu Mar 3 19:19:26 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Committed to py3k in r88730, 3.2 in r88731, and 2.7 in r88732.

I tested it by hand; mbox open failed before patch, succeeded (read-only) after patch.  I also changed two other cases of EACCES tests without testing them; I don't see how it could hurt to add EROFS.  I did not touch the os2-specific cases as there it looks like EROFS might require a different semantic from EACCES.

----------
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
versions: +Python 2.7, Python 3.2

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


More information about the Python-bugs-list mailing list