Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/getpass.cpython-314.pyc

+
��h�!��(�Rt^RIt^RIt^RIt^RIt.ROt!RR]4tR
RR/RlltR
RR/Rllt	R
RR/Rllt
RtRR	ltR
t
Rt^RIt]P ]P"3]tR# ]]3d^RIt]	tR# ]d]
tR#i;ii;i)a�Utilities to get a password and/or the current user name.

getpass(prompt[, stream[, echo_char]]) - Prompt for a password, with echo
turned off and optional keyboard feedback.
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�GetPassWarningc��]tRt^tRtR#)r�N)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r��CC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\getpass.pyrrs��4r
�	echo_charc	���\V4Rp\P!4;_uu_4p\P!R\P
\P,4p\P!VR4pVPV4\P!V4pVPV4V'gTpTe�\(P*!T4pTR,p	T	^;;,\(P,(,uu&T'd%T	^;;,\(P.(,uu&\(P0p
\3\(R4'dT
\(P4,p
\(P6!YZT	4\9YTTR7p\(P6!YZT4TP;4TP?R4TuuRRR4# \d�TP4\PP4pM$ \ \"3dRp\%Y4pMi;i\PpT'g\P&pEL�i;i \(P6!YZT4TP;4i;i \(P<d*TehYJdTP4\%Y4pELi;i +'giR#;i)a;Prompt for a password, with echo turned off.

Args:
  prompt: Written on stream to ask for the input.  Default: 'Password: '
  stream: A writable file object to display the prompt.  Defaults to
          the tty.  If no tty is available defaults to sys.stderr.
  echo_char: A single ASCII character to mask input (e.g., '*').
          If None, input is hidden.
Returns:
  The seKr3t input.
Raises:
  EOFError: If our input tty or stdin was closed.
  GetPassWarning: When we were unable to turn echo off on the input.

Always restores terminal settings before returning.
Nz/dev/ttyzw+:NNN�TCSASOFT)�inputr�
) �_check_echo_char�
contextlib�	ExitStack�os�open�O_RDWR�O_NOCTTY�io�FileIO�
enter_context�
TextIOWrapper�OSError�close�sys�stdin�fileno�AttributeError�
ValueError�fallback_getpass�stderr�termios�	tcgetattr�ECHO�ICANON�	TCSAFLUSH�hasattrr�	tcsetattr�
_raw_input�flush�error�write)�prompt�streamr�passwd�stack�fd�ttyr�old�new�tcsetattr_flagss&&$        r�unix_getpassr9s(��"�Y��
�F�	�	�	�	�	�5�	$�����R�Y�Y�r�{�{�%:�;�B��)�)�B��%�C�����$��$�$�S�)�E�����&�����>�
:��'�'��+���!�f���A��7�<�<�-�'�����F�w�~�~�o�-�F�")�"3�"3���7�J�/�/�#�w�'7�'7�7�O�#��%�%�b�3�?�'��e�2;�=�F��%�%�b�3�?��L�L�N�	���T���k
 �	���
	$��K�K�M�
:��Y�Y�%�%�'���"�J�/�
:���)�&�9��
:���I�I�E�������
	$��8�%�%�b�3�?��L�L�N���=�=�

:��%���&��K�K�M�)�&�9��

:��Q
 �	�	�s��K�BG�K�A
J�A!J�2%I)�'J�>K�I&�7H�I&�H7	�4I&�6H7	�7I&�I&�"K�%I&�&K�))J�J�:K�K�K�K�K'	c��\P\PJd\W4#\	V4VFp\
P!V4K	Rp\
P!4pVR8XgVR8XdM�VR8Xd\hVR8XdZV'dKV'dC\
P!R4\
P!R4\
P!R4VRRpK�WC,pV'gK�\
P!V4K�\
P!R4\
P!R4V#)	z:Prompt for password with echo off, using Windows getwch().��
r��� N���)	rr�	__stdin__r#r�msvcrt�putwch�getwch�KeyboardInterrupt)r0r1r�c�pws&&$  r�win_getpassrHis���
�y�y��
�
�%���/�/��Y��
���
�
�a���	�B�
��M�M�O����9��T�	����;�#�#���9��R��
�
�d�#��
�
�c�"��
�
�d�#��C�R��B���B��y��
�
�i�(�
�M�M�$��
�M�M�$��
�Ir
c��\V4^RIpVPR\^R7V'g\P
p\
RVR7\WVR7#)�Nz%Can not control echo on the terminal.)�
stacklevelz&Warning: Password input may be echoed.)�file�r)r�warnings�warnrrr$�printr,)r0r1rrNs&&$ rr#r#�sJ���Y����M�M�9�>��� ������	�
2��@��f�	�:�:r
c��VfR#\V\4'g"\R\V4P24h\V4^8Xd-VP
4'dVP4'g\RV:24hR#)Nz''echo_char' must be a str or None, not z='echo_char' must be a single printable ASCII character, got: )	�
isinstance�str�	TypeError�typer�len�isprintable�isasciir"rMs&rrr�s�������i��%�%��A��	�?�3�3�4�6�7�	7�	�I��!���!�!�#�#�������,�,5�=�:�;�	;�
 r
c��V'g\PpV'g\Pp\V4pV'd#VP	V4VP4V'd
\WV4#VP4pV'g\hVR,R8XdVRRpV# \
dLTP
TPR4pTPTP4pTP	T4L�i;i)�replacerNr@)
rr$rrSr/�UnicodeEncodeError�encode�encoding�decoder-�_readline_with_echo_char�readline�EOFError)r0r1rr�lines&&&& rr,r,�s����������	�	��
��[�F�
�	!��L�L�� �	�����'��y�A�A��>�>��D�����B�x�4���C�R�y���K��"�	!��]�]�6�?�?�I�>�F��]�]�6�?�?�3�F��L�L�� �		!�s�B-�-AD�Dc�~�RpRpVP^4pVR8XgVR8XdV#VR8Xd\hVR8XgVR8Xd1V'd"VPR4VP4VR	RpKnVR
8XdV'dV#RpK�VR8XdK�W5,
pVPV4VP4RpK�)
r;FTrr<r=�r>z N��r@)�readrEr/r-)r1rrr2�eof_pressed�chars&&&   rr_r_�s���
�F��K�
��z�z�!�}���4�<�4�4�<��(�M�'�V�^�#�#�
�V�^�t�t�|�����W�%������C�R�[�F�
�V�^����M�#��
�V�^���N�F��L�L��#��L�L�N��Kr
c��RF.p\PPV4pV'gK,Vu#	^RIpVP	\P
!44^,# \\3dp\R4ThRp?ii;i)aMGet the username from the environment or password database.

First try various environment variables, then the password
database.  This works on Windows as long as USERNAME is set.
Any failure to find a username raises OSError.

.. versionchanged:: 3.13
    Previously, various exceptions beyond just :exc:`OSError`
    were raised.
Nz"No username set in the environment)�LOGNAME�USER�LNAME�USERNAME)	r�environ�get�pwd�getpwuid�getuid�ImportError�KeyErrorr)�name�userrq�es    r�getuserry�sr��9���z�z�~�~�d�#���4��K�9�
C���|�|�B�I�I�K�(��+�+����"�C��:�;��B��C�s�.A%�%B�6B�B)�getpassryr)z
Password: N)r;NNN)�__doc__rrrr�__all__�UserWarningrr9rHr#rr,r_ryr%r&r+rzrtr!rBrr
r�<module>r~s����"�	�	�
�
0��(�[�'�I��I�X�t��<;�D�;�
;� �6�:C�2
�����w�(�(�(��G��	�^�$��������#�"��#���s0�A,�,	B�6A?�:B�?	B
�B�B
�
B