Closed
Description
>>> import os
>>> os.mkdir("foo34")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: 30
>>> os.rename("main.py", "foo.py")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: 30
It would be better to give some indication that the filesystem was read-only instead of a numeric error.