HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/s3transfer/__pycache__/compat.cpython-36.opt-1.pyc
3

\��_��@s�ddlZddlZddlZddlZddlZddlmZejjd�rJdd�Z	nej
Z	ejrhdd�Ze
ZdZndd�ZejZejZd	d
�Zdd�Zd
d�ZddlmZdS)�N)�six�wincCsPytj|�Wn0tk
r>}z|jtjks.�WYdd}~XnXtj||�dS)N)�os�remove�OSError�errno�ENOENT�rename)Zcurrent_filenameZnew_filename�e�r�/usr/lib/python3.6/compat.py�rename_filesr
cCstj|�dS)N�)�inspectZgetfullargspec)�funcrrr�accepts_kwargs&srcCstj|�dS)Nr)rZ
getargspec)rrrrr2scCsTt|d�r|j�St|d�rPt|d�rPy|jdd�dSttfk
rNdSXdS)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)�fileobjrrrr9s	
rcCst|d�r|j�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)rrrrrQs
rcCs,ttd�rtj|j�d|�n
|j|�dS)N�posix_fallocater)rrr�fileno�truncate)r�sizerrr�	fallocate^s
r)�BaseManager)r�sysrrZsocketZbotocore.compatr�platform�
startswithr
r	ZPY3r�ConnectionErrorZSOCKET_ERRORZMAXINT�errorZmaxintrrrZmultiprocessing.managersr rrrr�<module>
s&