[issue22307] os.getlogin() documentation has misleading side note

2014-08-30 Thread Roundup Robot
Roundup Robot added the comment: 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 pr

[issue22307] os.getlogin() documentation has misleading side note

2014-08-30 Thread Carlo
New submission from Carlo: 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. -- assignee: docs@python compone