Skip to content

Implement os.chmod on Windows #2057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2020
Merged

Conversation

BasixKOR
Copy link
Contributor

@BasixKOR BasixKOR commented Aug 2, 2020

This fixes some broken test CPython cases on Windows.

@@ -2291,6 +2291,27 @@ mod nt {
get_stats().map_err(|e| convert_io_error(vm, e))
}

#[pyfunction]
fn os_chmod(
Copy link
Member

@youknowone youknowone Aug 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fn chmod here. Otherwise #[pyfunction(name = "chmod")] is required.

@youknowone youknowone merged commit 23cbf06 into RustPython:master Aug 2, 2020
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.

2 participants