[issue11306] mailbox should test for errno.EROFS

Senthil Kumaran report at bugs.python.org
Tue Mar 1 04:17:51 CET 2011


Senthil Kumaran <orsenthil at gmail.com> added the comment:

On Thu, Feb 24, 2011 at 03:07:10PM +0000, R. David Murray wrote:
> Creating a test for this may not be practical :(

Then should we just go ahead with this change as it seems reasonable
one.

-            elif e.errno == errno.EACCES:                                                                                                                             
+            elif e.errno == errno.EACCES or e.errno == errno.EROFS:

----------
nosy: +orsenthil

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


More information about the Python-bugs-list mailing list