Skip to content

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