This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients docs@python, giampaolo.rodola
Date 2010-11-22.13:42:40
SpamBayes Score 0.00021683412
Marked as misclassified No
Message-id <1290433364.17.0.655498376057.issue10503@psf.upfronthosting.co.za>
In-reply-to
Content
Update: I think also os.getlogin() doc is wrong.
This is what it states (2.7 doc):


> Return the name of the user logged in on the controlling terminal of 
> the process. For most purposes, it is more useful to use the 
> environment variable LOGNAME to find out who the user is, or 
> pwd.getpwuid(os.getuid())[0] to get the login name of the currently 
> effective user id.

Since os.getuid() refers to _real_ uid the last sentence should be changed as such:

- ... to get the login name of the currently effective user id.
+ ... to get the login name of the currently real user id.
History
Date User Action Args
2010-11-22 13:42:44giampaolo.rodolasetrecipients: + giampaolo.rodola, docs@python
2010-11-22 13:42:44giampaolo.rodolasetmessageid: <1290433364.17.0.655498376057.issue10503@psf.upfronthosting.co.za>
2010-11-22 13:42:40giampaolo.rodolalinkissue10503 messages
2010-11-22 13:42:40giampaolo.rodolacreate