Re: Read-only error

2026-07-12 Thread Random832
On Sun, Jul 12, 2026, at 21:13, Rob Cliffe via Python-list wrote: > It seems to be that it would be useful to have a FileReadOnly error. > Currently trying to delete a read-only file raises a PermissionError, > which not especially informative, and arguably even misleading. First of all, how is it

Read-only error

2026-07-12 Thread Rob Cliffe via Python-list
The built-in subclasses of OSError (Python 3.13) are     BlockingIOError     BrokenPipeError     ChildProcessError     ConnectionAbortedError     ConnectionError     ConnectionRefusedError     ConnectionResetError     EnvironmentError     FileExistsError     FileNotFoundError     IOError     Inter