[issue32671] redesign Windows os.getlogin, and add os.getuser

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> rejected stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32671] redesign Windows os.getlogin, and add os.getuser

2018-01-25 Thread Eryk Sun
New submission from Eryk Sun : os.getlogin() is supposed to return the name of the user logged in on the "controlling terminal" of the process. Windows doesn't have POSIX terminals; however, every process does belong to a terminal/desktop session that can be connected