Donald Stufft added the comment:

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:

* os.makedirs
* os.removedirs
* os.renames
* os.walk
* os.popen (which actually imports and uses the entire subprocess module)
* os.scandir

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27266>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to