Gregory P. Smith <g...@krypto.org> added the comment:

Adding a check for SUDO_USER would break existing uses as it would no longer be 
reporting the user the process is running as.

----------
assignee:  -> gregory.p.smith
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed
title: Suggestion: make getuser.getpass() also look at SUDO_USER environment 
variable -> Suggestion: make getpass.getuser() also look at SUDO_USER 
environment variable

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

Reply via email to