## Feature CPython fills attributes for OSError ``` >>> q = OSError('foo', 'bar', 'baz', None, 'quux') >>> q.args ('foo', 'bar') >>> q.errno 'foo' >>> q.strerror 'bar' >>> q.filename 'baz' >>> q.filename2 'quux' >>> ``` RustPython doesn't yet: ``` >>>>> p = OSError('foo', 'bar', 'baz') >>>>> p.args ('foo', 'bar', 'baz') >>>>> p.errno 'foo' >>>>> p.strerror 'bar' >>>>> p.filename >>>>> p.filename2 >>>>> ``` ## Python Documentation <!-- Give a link to the feature in the CPython documentation (https://docs.python.org/3/) in order to assist in its implementation. --> Here's the doc for OSError : https://docs.python.org/3/library/exceptions.html?highlight=oserror#OSError
Activity