File: //opt/alt/python37/lib64/python3.7/__pycache__/getpass.cpython-37.pyc
B
    � fj  �               @   s�   d Z ddlZddlZddlZddlZddlZdddgZG dd� de�Zddd	�Z	dd
d�Z
ddd
�Zddd�Zdd� Z
yddlZejejf W nB eefk
r�   yddlZW n ek
r�   eZY nX e
ZY nX 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   �,/opt/alt/python37/lib64/python3.7/getpass.pyr      s    �
Password: c          
   C   s�  d}t �� ���}yJt�dtjtjB �}t�|d�}|�|� t�	|�}|�|� |sX|}W np t
k
r� } zR|��  ytj
�� }W n& ttfk
r�   d}t| |�}Y nX tj
}|s�tj}W dd}~X Y nX |dk	�r�y�t�|�}|dd� }	|	d  tj M  <