HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/attr/__pycache__/_compat.cpython-38.pyc
U

#IGZ��@s�ddlmZmZmZddlZddlZddlZddlZejddkZ	e�
�dkZe	r�ddlm
Z
dd�ZdZd	d
�ZGdd�de
�Zd
d�Zndd�ZdZdd
�Zdd�Zdd�Ze	s�dd�Zndd�Zdd�Ze�ZdS)�)�absolute_import�division�print_functionN��PyPy)�IterableUserDictcCst|ttjf�S�N)�
isinstance�type�typesZ	ClassType��klass�r�=/opt/alt/python38/lib/python3.8/site-packages/attr/_compat.py�isclasssrr
cCs|��Sr)�	iteritems��drrrrsrc@sTeZdZdZdd�Zdd�Zdd�Zdd	�Zddd�Zd
d�Z	ddd�Z
dd�Zd
S)�ReadOnlyDictz5
        Best-effort read-only dict wrapper.
        cCstd��dS)Nz6'mappingproxy' object does not support item assignment��	TypeError)�self�key�valrrr�__setitem__!szReadOnlyDict.__setitem__cCstd��dS)Nz/'mappingproxy' object has no attribute 'update'��AttributeError�r�_rrr�update&szReadOnlyDict.updatecCstd��dS)Nz4'mappingproxy' object does not support item deletionrrrrr�__delitem__+szReadOnlyDict.__delitem__cCstd��dS)Nz.'mappingproxy' object has no attribute 'clear'r�rrrr�clear0szReadOnlyDict.clearNcCstd��dS)Nz,'mappingproxy' object has no attribute 'pop'r�rr�defaultrrr�pop5szReadOnlyDict.popcCstd��dS)Nz0'mappingproxy' object has no attribute 'popitem'rr!rrr�popitem:szReadOnlyDict.popitemcCstd��dS)Nz3'mappingproxy' object has no attribute 'setdefault'rr#rrr�
setdefault?szReadOnlyDict.setdefaultcCsdt|j�dS)Nz
mappingproxy(�))�repr�datar!rrr�__repr__DszReadOnlyDict.__repr__)N)N)�__name__�
__module__�__qualname__�__doc__rrr r"r%r&r'r+rrrrrs

rcCst�}|j�|�|Sr)rr*r)r�resrrr�metadata_proxyHsr1cCs
t|t�Sr)r	r
rrrrrNs�classcCs|��Sr)�itemsrrrrrSscCst�t|��Sr)r�MappingProxyType�dictrrrrr1VscCs*zddl}|WStk
r$YdSXdS)�0
    Moved into a function for testability.
    rN)�ctypes�ImportError)r7rrr�
import_ctypesZs
r9cOstjdtdd�dS)��
        We only warn on Python 3 because we are not aware of any concrete
        consequences of not setting the cell on Python 2.
        ziMissing ctypes.  Some features like bare super() or accessing __class__ will not work with slots classes.r)�
stacklevelN)�warnings�warn�RuntimeWarning��args�kwrrr�	just_warnfs
�rBcOsdS)r:Nrr?rrrrBrscCsDtrdd�}n2t�}|dk	r<|jj}|j|jf|_|j|_nt}|S)r6cSs|�|f�dSr)�__setstate__)�cell�valuerrr�set_closure_cell~sz/make_set_closure_cell.<locals>.set_closure_cellN)	�PYPYr9�	pythonapiZ
PyCell_Set�	py_object�argtypes�c_int�restyperB)rFr7rrr�make_set_closure_cellys

rM)�
__future__rrr�platform�sysrr<�version_info�PY2�python_implementationrG�UserDictrrZTYPErrr1r9rBrMrFrrrr�<module>s.,