| Server IP : 35.80.110.71 / Your IP : 216.73.216.52 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/IPython/utils/__pycache__/ |
Upload File : |
�
}�e[ � �r � d Z ddlZddlZddlZddlZddlmZ d� Zej fd�Z d� Z
d� Zd� Zd
d �Z
y)z�Common utilities for the various process_* implementations.
This file is only meant to be imported by the platform-specific implementations
of subprocess utilities, and it contains tools that are common to all of them.
� N)� py3compatc � � ddl } | j � S # t $ r$}|j |j k7 r� Y d}~yd}~ww xY w)z�Read from a pipe ignoring EINTR errors.
This is necessary because when reading from pipes with GUI event loops
running in the background, often interrupts are raised that stop the
command from completing.r N)�errno�read�IOError�EINTR)�pr �errs �?/usr/lib/python3/dist-packages/IPython/utils/_process_common.py�read_no_interruptr s? � � ���v�v�x���� ��9�9����#�� $���s � � A�>�Ac �" � t j j � t j j � t j dk7 }t | t � }d}|r8t j dk( r%dt j v rt j d }t j | ||t j t j ||�� } ||� }|j �! |j! � |j# � |j � |j'