a
´if ã @ sÔ d Z ddlZddlZddlZddlZddlZg d¢ZG dd„ deƒZddd„Z dd d
„Z
ddd„Zddd„Zdd„ Z
zddlZejejf W n> eefyÊ zddlZW n eyÀ eZY n0 e
ZY n0 e ZdS )a‡ Utilities to get a password and/or the current user name.
getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
getuser() - Get the user name from the environment or password database.
GetPassWarning - This UserWarning is issued when getpass() cannot prevent
echoing of the password contents while reading.
On Windows, the msvcrt module will be used.
é N)ÚgetpassÚgetuserÚGetPassWarningc @ s e Zd ZdS )r N)Ú__name__Ú
__module__Ú__qualname__© r r ú/usr/lib64/python3.9/getpass.pyr ó r ú
Password: c
C sÐ d}t ¡ ¬}zJt dtjtjB ¡}t |d¡}| |¡ t |¡}| |¡ |sX|}W n^ t
y¸ | ¡ ztj
¡ }W n$ ttfy¢ d}t| |ƒ}Y n0 tj
}|s´tj}Y n0 |duržzšt |¡}|dd… }|d tj M <