o
    ôjœ  ã                   @  s  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mZ dd
lmZmZmZ er`ddlmZm Z  ddl!m"Z" n zddlmZm Z  ddl!m"Z" W n e#y   dZdZ dZ"Y nw 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/ ddl.m0Z1 ddl2m3Z3 ddl4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z; ddl<m<Z< e<Z=de>d< e1Z0de>d< ej?dkrâe3Z@de>d< e:ZAde>d< ne0rñe/Z@de>d< e9ZAde>d< ne%Z@e7ZAejBddd � e�re%ZCe7ZDne@ZCeAZDg d!¢ZEdS )"zÃ
A platform independent file lock that supports the with-statement.

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

.. autodata:: filelock.OwnerMode

.. autodata:: filelock.CompromiseReason

é    )ÚannotationsN)ÚTYPE_CHECKINGÚFinalé   )ÚAcquireReturnProxyÚBaseFileLockÚCloseErrorPolicyÚContextErrorPolicyÚLockOptions)Úlock_descriptorÚunlock_descriptor)ÚLeaseSettingsMismatchÚSoftFileLockLifetimeWarningÚSoftFileLockProtocolErrorÚTimeout)ÚCompromiseReasonÚLeaseCompromiseÚSoftFileLease)ÚMarkerSoftFileLockÚ	OwnerModeÚ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__zFinal[bool]r"   Ú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   r	   ÚFileLockr   r   r
   r   r   r   r   r   r   r   r   r   r   r   r    r   r!   r#   r,   r"   r   r   )FÚ__doc__Ú
__future__r   ÚsysÚwarningsÚtypingr   r   Z_apir   r   r   r	   r
   Z_descriptorr   r   Ú_errorr   r   r   r   Z_leaser   r   r   Ú_markerr   r   r   Z_async_read_writer   r   Z_read_writer   ÚImportErrorZ_softr   Z_soft_rwr   r   r   Ú_strictr   r   r    Z_unixr!   r"   Z
_has_fcntlZ_windowsr#   Úasyncior$   r%   r&   r'   r(   r)   r*   r+   r,   Ú__annotations__Úplatformr.   r/   Úwarnr3   r2   Ú__all__© rB   rB   úd/var/www/html/academy/tools/voices/clone/cosy-venv/lib/python3.10/site-packages/filelock/__init__.pyÚ<module>   s\    ý$
