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
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to