[Ironpython-users] Missing os.getuid()

Doug Blank doug.blank at gmail.com
Fri Feb 7 14:45:20 CET 2014


I'm trying to figure out if the missing os.getuid() is a bug in IronPython.

On the one hand, this is to be defined for Unix, where os.name == "posix"
(when running IronPython on Unix).  On the other hand, what should it
return when sys.platform == "cli" and os.name == "nt"?

It seems that many programs in the wild will check to see if os.name is
"posix", and if it is, then it assumes all functions valid for Unix will be
available.

What is IronPython's strategy for situations like this?

-Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140207/f31aaf2a/attachment.html>


More information about the Ironpython-users mailing list