Message 267926 - Python tracker (original) (raw)

I also contest the idea that os functions must only be thin shells around system provided calls (even though I don't think that using getrandom instead of reading from /dev/urandom violates that assertion).

There are a number of functions in os.py that add additional logic ontop of the system calls, like:

That's just from a quick scan of the pure Python os.py file.