$97 GRAYBYTE WORDPRESS FILE MANAGER $33

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/__pycache__/

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/__pycache__//_helpers.cpython-311.pyc
�

��i���X�ddlmZddlmZmZddlmZmZddlm	Z	m
Z
d
d�Zd
d�Zd�Z
d	S)���wraps)�PMap�pmap)�PSet�pset)�PVector�pvectorTc����t|��}|tus�rBt|t��r-t	�fd�|���D����S|tus�r7t|t��r"�fd�}tt||����S|tur"�fd�}tt||����S|turt|��S|S)a}
    Recursively convert simple Python containers into pyrsistent versions
    of those containers.

    - list is converted to pvector, recursively
    - dict is converted to pmap, recursively on values (but not keys)
    - set is converted to pset, but not recursively
    - tuple is converted to tuple, recursively.

    If strict == True (default):

    - freeze is called on elements of pvectors
    - freeze is called on values of pmaps

    Sets and dict keys are not recursively frozen because they do not contain
    mutable data by convention. The main exception to this rule is that
    dict keys and set elements are often instances of mutable objects that
    support hash-by-id, which this function can't convert anyway.

    >>> freeze(set([1, 2]))
    pset([1, 2])
    >>> freeze([1, {'a': 3}])
    pvector([1, pmap({'a': 3})])
    >>> freeze((1, []))
    (1, pvector([]))
    c�8��i|]\}}|t|�����S���freeze��.0�k�v�stricts   ��s/builddir/build/BUILD/imunify360-venv-2.6.1/opt/imunify360/venv/lib/python3.11/site-packages/pyrsistent/_helpers.py�
<dictcomp>zfreeze.<locals>.<dictcomp>#s)���@�@�@�d�a��Q��q�&�)�)�@�@�@�c�$��t|���S�Nr��xrs �r�<lambda>zfreeze.<locals>.<lambda>%����6�!�V�#4�#4�rc�$��t|���Srrrs �rrzfreeze.<locals>.<lambda>(rr)
�type�dict�
isinstancerr�items�listr	r
�map�tuple�setr)�or�typ�curried_freezes `  rrrs����6�q�'�'�C�
�d�{�{�v�{�*�Q��"5�"5�{��@�@�@�@�a�g�g�i�i�@�@�@�A�A�A�
�d�{�{�v�{�*�Q��"8�"8�{�4�4�4�4���s�>�1�-�-�.�.�.�
�e�|�|�4�4�4�4���S���+�+�,�,�,�
�c�z�z��A�w�w���Hrc����t|��}t|t��s�r+|tur"�fd�}tt	||����St|t
��s�r)|tur �fd�|���D��S|tur"�fd�}tt	||����St|t��rt|��S|S)a?
    Recursively convert pyrsistent containers into simple Python containers.

    - pvector is converted to list, recursively
    - pmap is converted to dict, recursively on values (but not keys)
    - pset is converted to set, but not recursively
    - tuple is converted to tuple, recursively.

    If strict == True (the default):

    - thaw is called on elements of lists
    - thaw is called on values in dicts

    >>> from pyrsistent import s, m, v
    >>> thaw(s(1, 2))
    {1, 2}
    >>> thaw(v(1, m(a=3)))
    [1, {'a': 3}]
    >>> thaw((1, v()))
    (1, [])
    c�$��t|���Sr��thawrs �rrzthaw.<locals>.<lambda>H�����a����rc�8��i|]\}}|t|�����Sr
r,rs   �rrzthaw.<locals>.<dictcomp>Ks'���9�9�9�t�q�!��4��6�?�?�9�9�9rc�$��t|���Srr,rs �rrzthaw.<locals>.<lambda>Mr.r)rr!r	r#r$rr r"r%rr&)r'rr(�curried_thaws `  rr-r-0s����,�q�'�'�C��!�W���*�&�*�S�D�[�[�0�0�0�0���C��a�(�(�)�)�)��!�T���:�v�:�#��+�+�9�9�9�9�q�w�w�y�y�9�9�9�9�
�e�|�|�0�0�0�0���S��q�)�)�*�*�*��!�T�����1�v�v�
��Hrc�<��t����fd���}|S)a
    Convenience decorator to isolate mutation to within the decorated function (with respect
    to the input arguments).

    All arguments to the decorated function will be frozen so that they are guaranteed not to change.
    The return value is also frozen.
    c���t�d�|D��itd�|���D��������S)Nc�,�g|]}t|����Sr
r)r�es  r�
<listcomp>z+mutant.<locals>.inner_f.<locals>.<listcomp>_s��3�3�3��6�!�9�9�3�3�3rc3�4K�|]}t|��V��dSrr)r�items  r�	<genexpr>z*mutant.<locals>.inner_f.<locals>.<genexpr>_s(����;d�;d�T�F�4�L�L�;d�;d�;d�;d�;d�;dr)rr r")�args�kwargs�fns  �r�inner_fzmutant.<locals>.inner_f]sS����b�b�3�3�d�3�3�3�e�t�;d�;d�U[�Ua�Ua�Uc�Uc�;d�;d�;d�7d�7d�e�e�f�f�frr)r<r=s` r�mutantr>Us:����2�Y�Y�g�g�g�g��Y�g��NrN)T)�	functoolsr�pyrsistent._pmaprr�pyrsistent._psetrr�pyrsistent._pvectorr	r
rr-r>r
rr�<module>rCs���������'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�0�0�0�0�0�0�0�0�'
�'
�'
�'
�T"
�"
�"
�"
�J����r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 8.59 AM
root / root
0755
__init__.cpython-311.pyc
2.109 KB
13 Feb 2026 12.40 PM
root / root
0644
_checked_types.cpython-311.pyc
36.058 KB
13 Feb 2026 12.40 PM
root / root
0644
_field_common.cpython-311.pyc
17.072 KB
13 Feb 2026 12.40 PM
root / root
0644
_helpers.cpython-311.pyc
5.927 KB
13 Feb 2026 12.40 PM
root / root
0644
_immutable.cpython-311.pyc
4.563 KB
13 Feb 2026 12.40 PM
root / root
0644
_pbag.cpython-311.pyc
10.421 KB
13 Feb 2026 12.40 PM
root / root
0644
_pclass.cpython-311.pyc
15.522 KB
13 Feb 2026 12.40 PM
root / root
0644
_pdeque.cpython-311.pyc
17.095 KB
13 Feb 2026 12.40 PM
root / root
0644
_plist.cpython-311.pyc
13.053 KB
13 Feb 2026 12.40 PM
root / root
0644
_pmap.cpython-311.pyc
27.836 KB
13 Feb 2026 12.40 PM
root / root
0644
_precord.cpython-311.pyc
12.064 KB
13 Feb 2026 12.40 PM
root / root
0644
_pset.cpython-311.pyc
9.553 KB
13 Feb 2026 12.40 PM
root / root
0644
_pvector.cpython-311.pyc
33.285 KB
13 Feb 2026 12.40 PM
root / root
0644
_toolz.cpython-311.pyc
3.802 KB
13 Feb 2026 12.40 PM
root / root
0644
_transformations.cpython-311.pyc
6.452 KB
13 Feb 2026 12.40 PM
root / root
0644
typing.cpython-311.pyc
3.694 KB
13 Feb 2026 12.40 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF