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
components: Documentation
messages: 226139
nosy: Carlo, docs@python
priority: normal
severity: normal
status: open
title: os.getlogin() documentation has misleading side note
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22307>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to