Files
RustPython/vm
Dean Li d46f5ba7ab Implement __str__ for OSError
In CPython, __str__ and __repr__ for OSError show different results.
This PR try to match this behavior but without the part after the
message (in following example is "'123' -> '456'").

```
In : exc.__repr__()
Out: "FileNotFoundError(2, 'No such file or directory')"

In : exc.__str__()
Out: "[Errno 2] No such file or directory: '123' -> '456'"

In : exc.args
Out: (2, 'No such file or directory')
```
2021-10-31 09:24:18 +08:00
..
2021-04-11 17:38:44 -05:00
2021-10-21 11:46:24 -05:00
2021-10-31 09:24:18 +08:00
2018-07-07 17:14:45 +02:00
2021-10-01 01:54:04 +09:00
2021-10-26 23:10:10 +09:00