Sindbad~EG File Manager
�
%Μg4��l� ddlmZddlmZdgZGd�d�Zed��ZGd�d�Zddlm Z m
Z
y )
�)�ref)�contextmanager�localc�$�eZdZ dZd�Zd�Zd�Zy)�
_localimpl)�key�dicts� localargs� locallock�__weakref__c�J�dtt|��z|_i|_y)Nz_threading_local._localimpl.)�str�idrr )�selfs �-/usr/local/lib/python3.12/_threading_local.py�__init__z_localimpl.__init__�s��2�C��4��M�A�����
�c�N� t�}|jt|�dS)N�)�current_threadr r)r�threads r�get_dictz_localimpl.get_dict�s'�� ��!���z�z�"�V�*�%�a�(�(rc����� i}|j}t�}t|�}|f�fd� }|f�fd� }t||��t||���|j|<�|f|j
|<|S)Nc�4����}|�|j|=yy�N)�__dict__)�_rr�wrthreads �r�
local_deletedz-_localimpl.create_dict.<locals>.local_deleted�s!����Z�F��!��O�O�C�(�"rc�P����}|�|jj|�}yyr)r �pop)r�idtr�dct�wrlocals �r�thread_deletedz._localimpl.create_dict.<locals>.thread_deleted�s)���
�I�E�� ��k�k�o�o�c�*��!r)rrrrrr ) r� localdictrrr"rr%r$rs @@r�create_dictz_localimpl.create_dict�sw���F�� ��h�h���!����j��!$� )�
#&� +��d�M�*���v�~�.��&������"�I�-��
�
�3���rN)�__name__�
__module__�__qualname__� __slots__rrr'�rrrr�s��-�G�I��)�rrc#�RK�tj|d�} |j�}|j5tj|d|�d��ddd�y#t$r4|j �}|j
\}}|j|i|��Y�mwxYw#1swYyxYw�w)N�_local__implr) �object�__getattribute__r�KeyErrorr'r
rr�__setattr__)r�implr#�args�kws r�_patchr6�s������"�"�4��8�D�#��m�m�o��
������4��S�1�
�
��� �#���� ���>�>���b���
�
�t�"�r�"�#��
��s>�B'�A�B'�B� B'�:B�B'�B�B'�B$� B'c�(�eZdZdZd�Zd�Zd�Zd�Zy)r)r.rc��|s|r'|jtjurtd��tj|�}t �}||f|_t
�|_tj|d|�|j�|S)Nz*Initialization arguments are not supportedr.)
rr/� TypeError�__new__rr
�RLockrr2r')�clsr4r5rr3s rr:z
local.__new__�sp���B�S�\�\�V�_�_�<��H�I�I��~�~�c�"���|��������������4���6�
�����rc�p�t|�5tj||�cddd�S#1swYyxYwr)r6r/r0�r�names rr0zlocal.__getattribute__�s#��
�D�\��*�*�4��6��\�\�s�,�5c��|dk(r"td|jjz��t|�5tj|||�cddd�S#1swYyxYw�Nrz+%r object attribute '__dict__' is read-only)�AttributeError� __class__r(r6r/r2)rr?�values rr2zlocal.__setattr__�sQ���:�� �=��.�.�)�)�*�+�
+��D�\��%�%�d�D�%�8��\�\�s�A�Ac��|dk(r"td|jjz��t|�5tj||�cddd�S#1swYyxYwrA)rBrCr(r6r/�__delattr__r>s rrFzlocal.__delattr__�sO���:�� �=��.�.�)�)�*�+�
+��D�\��%�%�d�D�1��\�\�s�A�AN)r(r)r*r+r:r0r2rFr,rrrr�s��*�I��7�9�2r)rr;N)�weakrefr�
contextlibr�__all__rr6r� threadingrr;r,rr�<module>rKsM��@�D�%��)��)�)�X�
��
�#2�#2�L,�+r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists