Files
RustPython/Lib
Dean Li db212d80ff os: implement os-error-str according to CPython
As was: "FileNotFoundError: [Errno 2] No such file or directory (os
error 2)"
To be: "FileNotFoundError: [Errno 2] No such file or directory (os
error 2): 'filename' -> 'filename2'"

Reference CPython implementation
```
if (self->filename) {
    if (self->filename2) {
        return PyUnicode_FromFormat("[Errno %S] %S: %R -> %R",
                                    OR_NONE(self->myerrno),
                                    OR_NONE(self->strerror),
                                    self->filename,
                                    self->filename2);
    } else {
        return PyUnicode_FromFormat("[Errno %S] %S: %R",
                                    OR_NONE(self->myerrno),
                                    OR_NONE(self->strerror),
                                    self->filename);
    }
}
if (self->myerrno && self->strerror)
    return PyUnicode_FromFormat("[Errno %S] %S",
                                self->myerrno, self->strerror);
```
2021-11-03 17:30:28 +08:00
..
2021-08-21 17:09:48 +03:00
2021-04-22 08:08:19 -05:00
2020-09-18 12:00:24 -05:00
2021-06-02 18:18:58 -04:00
2021-10-17 21:55:28 -05:00
2021-01-23 01:10:52 -05:00
2021-03-14 12:49:59 -05:00
2020-10-07 19:29:41 -05:00
2021-05-21 01:32:55 -05:00
2021-02-14 14:47:41 -05:00
2021-01-28 12:34:04 -05:00
2021-10-17 21:54:52 -05:00
2020-08-09 16:33:24 +09:00
2020-08-09 16:33:24 +09:00
2020-08-11 16:38:35 -03:00
2021-10-01 14:10:58 +09:00
2020-08-11 16:38:35 -03:00
2021-09-04 18:24:25 -04:00
2021-01-29 18:10:15 -05:00
2021-01-25 17:08:04 -06:00
2019-08-19 16:26:00 +09:00
2021-08-23 08:54:12 +09:00
2021-03-14 12:49:59 -05:00
2019-07-19 22:38:09 -05:00
2020-03-20 17:35:11 +02:00
2021-01-23 01:10:52 -05:00
2020-01-12 22:57:19 -06:00
2021-08-11 21:29:22 +09:00
2020-07-18 17:04:35 +03:00
2020-03-15 11:00:23 +09:00
2021-03-14 12:49:59 -05:00
2021-04-14 19:22:07 -04:00
2021-02-20 21:04:29 -06:00
2020-05-03 18:13:09 -05:00
2021-05-20 20:40:11 -04:00
2020-08-11 16:38:35 -03:00
2019-09-13 01:27:23 -05:00
2021-07-20 14:36:02 +03:00
2021-08-17 13:59:07 +09:00
2021-04-11 17:38:44 -05:00
2020-03-01 14:36:01 -06:00
2019-07-16 19:13:07 -05:00
2019-09-13 01:27:23 -05:00
2021-06-07 21:12:22 -04:00
2019-07-11 09:38:13 -05:00
2020-10-27 22:14:07 -05:00
2020-09-21 10:41:58 -05:00
2021-01-27 15:20:52 -06:00
2021-04-27 08:15:13 -05:00
2021-01-27 15:20:52 -06:00
2021-01-31 19:26:44 -05:00
2021-05-23 16:15:49 -04:00
2019-06-22 13:13:34 +02:00
2021-09-30 15:55:48 -05:00
2021-10-01 14:10:58 +09:00
2021-04-11 17:38:44 -05:00
2021-09-19 03:36:24 +09:00
2019-06-29 14:44:39 +02:00
2021-10-01 14:10:58 +09:00
2021-09-30 15:55:47 -05:00
2020-12-07 21:19:46 -06:00

Standard Library for RustPython

This directory contains all of the Python files that make up the standard library for RustPython.

Most of these files are copied over from the CPython repository (the 3.7 branch), with slight modifications to allow them to work under RustPython. The current goal is to complete the standard library with as few modifications as possible. Current modifications are just temporary workarounds for bugs/missing feature within the RustPython implementation.

The first big module we are targeting is unittest, so we can leverage the CPython test suite.