[issue10503] os.getuid() documentation should be clear on what kind of uid it is referring

R. David Murray report at bugs.python.org
Mon Nov 22 21:17:17 CET 2010

R. David Murray <rdmurray at bitdance.com> added the comment:

These are wrappers around the posix functions.  As such the unix man pages are a better authority than the Python docs :)  Still, we could certainly improve the docs.

The getlogin error is probably a miscopy from the man page: the man page on my system shows the example as  getpwuid(geteuid()), but it is actually showing a replacement for 'cuserid', not 'getlogin'.

nosy: +r.david.murray
stage:  -> needs patch
type:  -> behavior
versions:  -Python 2.6

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list