[issue12243] getpass.getuser works on OSX

Bryce Verdier report at bugs.python.org
Thu Jun 2 17:48:24 CEST 2011


New submission from Bryce Verdier <bryceverdier at gmail.com>:

In the docs for getpass:
http://docs.python.org/release/2.6.6/library/getpass.html (as an example).

It hints that getuser() doesn't work on OSX. I tried this out and it works fine for python 2.6 on 10.6.

I have included a patch for this. I believe the cleanest way to handle this is to remove the "Availability" entry as it's no longer necessary.

----------
assignee: docs at python
components: Documentation
files: getuser.patch
keywords: patch
messages: 137483
nosy: docs at python, louiscipher
priority: normal
severity: normal
status: open
title: getpass.getuser works on OSX
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file22222/getuser.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12243>
_______________________________________


More information about the Python-bugs-list mailing list