File: //usr/lib64/python3.9/__pycache__/getpass.cpython-39.pyc
a
    �DOgf  �                   @   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 |du�r�z�t�|�}|dd� }|d  tj M  <