Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExtend the os module #1175
Extend the os module #1175
Comments
Ok, I'm working on get/set uid, guid etc. stuff |
I'm going to take a stab at Also, as a general question, is the current goal to match CPython functionality here? Currently it doesn't seem that the os module is implemented in C for CPython. Is the goal here to implement the Python os module in Rust as, for example, the sys module in CPython is implemented in C and not in Python? Or am I completely missing something here? |
Because Rust's cross-platform support is so much better than C's, we decided to implement a single |
Ah, gotcha..so for |
Yep, and you can use the |
cool cool, thanks! |
PR #1524 has an implementation of |
I would like to do a quick summary of what is API still missing.
... I just scroll thought 10% on the os docs. There are still so many interfaces left to implement. |
Currently, the python
os
module is missing many methods. Try adding a method to this module by editing the filevm/src/stdlib/os.rs
.This is an issue for new contributors, so please do not implement everything at once, so other people have a chance to go for it (or, actually, please implement all! >:)! ).