Issue 22307: os.getlogin() documentation has misleading side note (original) (raw)
Issue22307
Created on 2014-08-30 12:23 by Carlo, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg226139 - (view) | Author: Carlo (Carlo) | Date: 2014-08-30 12:23 |
The documentation for os.getlogin() says: ... ``pwd.getpwuid(os.getuid())[0]`` to get the login name of the currently effective user id Either, os.getuid() should be changed to os.geteuid(), or the wording should be changed. | ||
msg226155 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-08-31 01:06 |
New changeset 59f2edeb8443 by Benjamin Peterson in branch '2.7': getuid() returns real process id not effective (closes #22307) http://hg.python.org/cpython/rev/59f2edeb8443 New changeset c30163548f64 by Benjamin Peterson in branch '3.4': getuid() returns real process id not effective (closes #22307) http://hg.python.org/cpython/rev/c30163548f64 New changeset 164a17eca081 by Benjamin Peterson in branch 'default': merge 3.4 (closes #22307) http://hg.python.org/cpython/rev/164a17eca081 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:07 | admin | set | github: 66503 |
2014-08-31 01:06:10 | python-dev | set | status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved |
2014-08-30 12:23:21 | Carlo | create |