https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/s3transfer/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/s3transfer/__pycache__/compat.cpython-310.pyc
o

�y�`��@s�ddlZddlZddlZddlZddlZddlmZej�d�r%dd�Z	nej
Z	ejr4dd�Ze
ZdZn
dd�ZejZejZd	d
�Zdd�Zd
d�ZddlmZdS)�N)�six�winc
CsRzt�|�Wnty }z
|jtjks�WYd}~nd}~wwt�||�dS)N)�os�remove�OSError�errno�ENOENT�rename)�current_filename�new_filename�e�r
�3/usr/lib/python3/dist-packages/s3transfer/compat.py�rename_files���rcC�t�|�dS�N�)�inspect�getfullargspec��funcr
r
r�accepts_kwargs&srcCrr)r�
getargspecrr
r
rr2sc	CsVt|d�r	|��St|d�r)t|d�r)z	|�dd�WdSttfy(YdSwdS)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�IOError��fileobjr
r
rr9s
	�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)rr!rr
r
rr!Qs

r!cCs.ttd�rt�|��d|�dS|�|�dS)N�posix_fallocater)rrr#�fileno�truncate)r �sizer
r
r�	fallocate^s
r')�BaseManager)r�sysrr�socket�botocore.compatr�platform�
startswithrr	�PY3r�ConnectionError�SOCKET_ERROR�MAXINT�error�maxintrr!r'�multiprocessing.managersr(r
r
r
r�<module>s(
	


https://t.me/RX1948 - 2025