Xonsh calls unavailable call getrusage resource.getrusage(resource.RUSAGE_SELF)[:2]
- Dominant language
- Python
- Stars
- 14.8k
- Forks
- 1k
- Avg merge
- 20h 29m
- Merged PRs (30d)
- 19
Description
I attempted to start Xonsh the python based shell.
It dies trying to call - `resource.getrusage(resource.RUSAGE_SELF)[:2]`
[1]
This field is to get time since the start of the process - of all the fields, this one seems like it may be straightforward to fake since start time is the time code for pyodides starts.
It would be good if `resource.getusage` was at least partially implemented - it seems like it used to be with fake values, but trying to import it doesn't show anything in `resource` now.

[1]

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.