Your IP : 52.15.92.58
�
�Q�f� � � � d dl m Z d dlZd dlZd dlZd dlmZmZ d dlmZmZmZ g d�Z d Z
dZdZd Z
d� Zd � Zd
� Zd� Zd� Zd
� Zeefd�Zeefd�Zy)� )�selectN)�close�waitpid)�setraw� tcgetattr� tcsetattr)�openpty�fork�spawn� � c � � t j � S # t t f$ r Y nw xY wt � \ } }t |� }| |fS �N)�osr �AttributeError�OSError�_open_terminal�
slave_open)� master_fd�
slave_name�slave_fds �*/opt/alt/python312/lib64/python3.12/pty.pyr r sR � �E�
��z�z�|����G�$�
��
��*�,��I�z��*�%�H��h��s � �)�)c � � dd l } | j dt d�� t j � \ }}t j
|� }t j |� ||fS # t t f$ r Y t � S w xY w)Nr �Use pty.openpty() instead.r
��
stacklevel)
�warnings�warn�DeprecationWarningr r �ttynamer r r r )r r r r s r �master_openr! &