File: //opt/alt/python311/lib64/python3.11/__pycache__/getpass.cpython-311.pyc
�
    !A?hf  �                   ��   � d Z ddlZddlZddlZddlZddlZg d�Z G d� de�  �        Zd
d�Z	d
d�Z
d
d	�Zdd�Zd� Z
	 ddlZej        ej        f e	ZdS # eef$ r 	 ddlZe
ZY dS # e$ r eZY Y dS w xY ww xY w)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                   �   � e Zd ZdS )r   N)�__name__�
__module__�__qualname__� �    �./opt/alt/python311/lib64/python3.11/getpass.pyr   r      s   � � � � � � � r   r   �
Password: c                 �  � d}t          j        �   �         5 }	 t          j        dt          j        t          j        z  �  �        }t
          j        |d�  �        }|�                    |�  �         t
          j	        |�  �        }|�                    |�  �         |s|}n�# t          $ rz |�                    �   �          	 t          j
        �                    �   �         }n)# t          t           f$ r d}t#          | |�  �        }Y nw xY wt          j
        }|st          j        }Y nw xY w|��.	 t'