[pypy-issue] [issue841] [PATCH] Implement 'os.getlogin'

Mitchell Hashimoto tracker at bugs.pypy.org
Mon Aug 22 20:57:08 CEST 2011

Mitchell Hashimoto <mitchell.hashimoto at gmail.com> added the comment:

Ah, you're right, I was accidentally porting getlogin from the 3.2 branch, which 
does implement it for Windows. I've started tracking 2.7 now.

I've attached a new patch (os-getlogin2.patch) which makes it available for 
posix only.

As for the "LOGNAME" environ, the CPython source doesn't use this. Instead, I 
think the documentation is merely hinting that that is another option.

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list