GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — Implement nt.listvolumes by arihant2math · Pull Request #5730 · RustPython/RustPython Conversation
|
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
was there any related test for listvolumes?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Yes, but it requires a different os function that doesn't exist, so it still fails. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| #[pyfunction] | ||
| fn listvolumes(vm: &VirtualMachine) -> PyResult<PyListRef> { | ||
| let mut volumes = vec![]; | ||
| let mut buffer = [0u16; 257]; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If it is related to constant, is this possible?
| let mut buffer = [0u16; 257]; | |
| let mut buffer = [0u16; MAX_PATH + 1]; |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! #6373 added it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.