[Python-Dev] Location of uname in os.py (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Jun 7 09:16:23 CEST 2008


Can anyone give me an idea as to where the function uname is located in os?

This question is out-of-scope for python-dev; please use python-list instead when asking how something is currently implemented. However, there is an easy answer, so I'll give it anyway: it's implemented in Modules/posixmodule.c:posix_uname.

Finding out why it still shows up in os is left as an exercise for the reader.

Regards, Martin



More information about the Python-Dev mailing list