Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/s3transfer/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/s3transfer/__pycache__/compat.cpython-38.pyc
U

P��g��@s�ddlZddlZddlZddlZddlZddlmZej�d�rJdd�Z	nej
Z	dd�ZeZ
dZdd	�Zd
d�Zdd
�ZddlmZdS)�N)�six�winc
CsPzt�|�Wn0tk
r>}z|jtjks.�W5d}~XYnXt�||�dS)N)�os�remove�OSError�errno�ENOENT�rename)Zcurrent_filenameZnew_filename�e�r�>/opt/cppython/lib/python3.8/site-packages/s3transfer/compat.py�rename_filesr
cCst�|�dS)N�)�inspect�getfullargspec)�funcrrr�accepts_kwargs%srcCsTt|d�r|��St|d�rPt|d�rPz|�dd�WdStk
rNYdSXdS)z�Backwards compat function to determine if a fileobj is seekable

    :param fileobj: The file-like object to determine if seekable

    :returns: True, if seekable. False, otherwise.
    �seekable�seek�tellr�TF)�hasattrrrr��fileobjrrrr1s	
rcCst|d�r|��St|d�S)z�Determines whether or not a file-like object is readable.

    :param fileobj: The file-like object to determine if readable

    :returns: True, if readable. False otherwise.
    �readable�read)rrrrrrrIs
rcCs,ttd�rt�|��d|�n
|�|�dS)N�posix_fallocater)rrr�fileno�truncate)r�sizerrr�	fallocateVs
r )�BaseManager)rrr�socket�sysZbotocore.compatr�platform�
startswithr
r	r�ConnectionErrorZSOCKET_ERROR�MAXINTrrr Zmultiprocessing.managersr!rrrr�<module>
s



F1le Man4ger