
    \j                    6   U d Z ddlmZ ddlZddlZddlmZmZ ddlm	Z	m
Z
mZmZmZ ddlmZmZ ddlmZmZmZmZ dd	lmZmZ dd
lmZmZ erddlmZmZ ddlm Z  n	 ddlmZmZ ddlm Z  ddl"m#Z# ddl$m%Z%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+ ddl,m-Z-m.Z. ddl/m0Z0 ddl1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8 ddl9m9Z9 e9Z:de;d<   ejx                  dk(  re0Z=de;d<   e7Z>de;d<   n)e.re-Z=de;d<   e6Z>de;d<   ne#Z=e4Z> ej~                  dd       ere#Z@e4ZAne=Z@e>ZAg dZBy# e!$ r	 dZdZdZ Y w xY w)zx
A platform independent file lock that supports the with-statement.

.. autodata:: filelock.__version__
    :no-value:

    )annotationsN)TYPE_CHECKINGFinal   )AcquireReturnProxyBaseFileLockCloseErrorPolicyContextErrorPolicyLockOptions)lock_descriptorunlock_descriptor)LeaseSettingsMismatchSoftFileLockLifetimeWarningSoftFileLockProtocolErrorTimeout)LeaseCompromiseSoftFileLease)MarkerSoftFileLockOwnerRecord) AsyncAcquireReadWriteReturnProxyAsyncReadWriteLock)ReadWriteLock)SoftFileLock)$AsyncAcquireSoftReadWriteReturnProxyAsyncSoftReadWriteLockSoftReadWriteLock)StrictSoftFileClaimStrictSoftFileClaimStateStrictSoftFileLock)UnixFileLock	has_fcntl)WindowsFileLock)AsyncAcquireReturnProxyAsyncSoftFileLeaseAsyncSoftFileLockAsyncStrictSoftFileLockAsyncUnixFileLockAsyncWindowsFileLockBaseAsyncFileLock)versionz
Final[str]__version__win32ztype[BaseFileLock]	_FileLockztype[BaseAsyncFileLock]_AsyncFileLockz only soft file lock is available   )
stacklevel)%r   r   r#   r   AsyncFileLockr   r$   r%   r   r&   r'   r(   r)   r   r	   r
   FileLockr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r"   r+   r   r   )C__doc__
__future__r   syswarningstypingr   r   _apir   r   r	   r
   r   _descriptorr   r   _errorr   r   r   r   _leaser   r   _markerr   r   _async_read_writer   r   _read_writer   ImportError_softr   _soft_rwr   r   r   _strictr   r   r   _unixr    r!   _windowsr"   asyncior#   r$   r%   r&   r'   r(   r)   r*   r+   __annotations__platformr-   r.   warnr2   r1   __all__     D/root/.hermes/venv/lib/python3.12/site-packages/filelock/__init__.py<module>rM      s   # 
  ' e e ; j j 2 4 +[.   e e V V * %    "Z ! <<7$3I!3.BN+B(4	%42C/C 	*8QGH%M H"M&]  +/(!s   D
 
DD