https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/core/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/core/files/locks.pyc
�
r�\c@s8dZdZdZyRddlZddlZddlZejZdZ	ej
Zej�Z
d	ZWneefk
r}nXy1ddlZejZej	Z	ejZd
ZWneefk
r�nXd�Zed	kr�d�Zd
�ZnAed
krd�Zd�Zn dZZ	Zd�Zd�ZdS(s�
Portable file locking utilities.

Based partially on example by Jonathan Feignberg <jdf@pobox.com> in the Python
Cookbook, licensed under the Python Software License.

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203

Example Usage::

    >>> from django.core.files import locks
    >>> with open('./file', 'wb') as f:
    ...     locks.lock(f, locks.LOCK_EX)
    ...     f.write('Django')
tLOCK_EXtLOCK_SHtLOCK_NBtlocktunlocki����NitnttposixcCst|d�r|j�S|S(sCGet a filedescriptor from something which could be a file or an fd.tfileno(thasattrR(tf((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pytfd*scCs2tjt|��}tj||ddt�dS(Nii��(t	win32filet_get_osfhandleR
t
LockFileExt__overlapped(tfiletflagsthfile((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyR/scCs/tjt|��}tj|ddt�dS(Nii��(RRR
tUnlockFileExR(RR((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyR3scCstjt|�|�dS(N(tfcntltlockfR
(RR((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyR7scCstjt|�tj�dS(N(RRR
tLOCK_UN(R((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyR:scCsdS(N((RR((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyRAscCsdS(N((R((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyRDs(sLOCK_EXsLOCK_SHsLOCK_NBslocksunlock(t__doc__t__all__tNonetsystem_typetwin32conRt
pywintypestLOCKFILE_EXCLUSIVE_LOCKRRtLOCKFILE_FAIL_IMMEDIATELYRt
OVERLAPPEDRtImportErrortAttributeErrorRR
RR(((s9/tmp/pip-install-XxeQeY/django/django/core/files/locks.pyt<module>s>		
			
				

https://t.me/AnonymousX5 - 2025