Skip to content

Refactor OSError#3391

Merged
youknowone merged 1 commit into
RustPython:mainfrom
deantvv:os-error-refactor
Oct 30, 2021
Merged

Refactor OSError#3391
youknowone merged 1 commit into
RustPython:mainfrom
deantvv:os-error-refactor

Conversation

@deantvv

@deantvv deantvv commented Oct 30, 2021

Copy link
Copy Markdown
Contributor

Implement raw_os_error_to_exc_type to reduce duplication of errno to
exception type.

@youknowone

Copy link
Copy Markdown
Member

@ChJR could you review this PR?

@ChJR

ChJR commented Oct 30, 2021

Copy link
Copy Markdown
Contributor

I think this PR makes OSError better before.

@ChJR

ChJR commented Oct 30, 2021

Copy link
Copy Markdown
Contributor

If this PR can be merged into 'main' branch, it could be helpful for making errno as attribute, required to pass windows test of #2993.

Implement `raw_os_error_to_exc_type` to reduce duplication of errno to
exception type.
@youknowone youknowone merged commit 8597442 into RustPython:main Oct 30, 2021
@youknowone

Copy link
Copy Markdown
Member

thank you!

@deantvv deantvv deleted the os-error-refactor branch October 31, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants