Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.117.71.135
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : py3k.cpython-312.pyc
�

wf����dZgd�ZddlZddlZddlmZddlZ	ddlZe
Ze
fZe
Ze
ZeZd�Zd�Zd�Zd�Zdd	�Zd
�ZdZd�Zd
�Zd�Zd�ZGd�d�Zdd�Zej<Zej@Z!y#e	$rddlZY�^wxYw)a�
Python 3.X compatibility tools.

While this file was originally intended for Python 2 -> 3 transition,
it is now used to create a compatibility layer between different
minor versions of Python 3.

While the active version of numpy may not support a given version of python, we
allow downstream libraries to continue to use these shims for forward
compatibility with numpy while they transition their code to newer versions of
Python.
)�bytes�asbytes�	isfileobj�getexception�strchar�unicode�	asunicode�asbytes_nested�asunicode_nested�asstr�open_latin1�long�
basestring�sixu�
integer_types�is_pathlib_path�npy_load_module�Path�pickle�contextlib_nullcontext�	os_fspath�os_PathLike�N)rc�Z�t|t�r|jd�St|�S�N�latin1��
isinstancer�decode�str��ss �H/usr/local/python-3.12/lib/python3.12/site-packages/numpy/compat/py3k.pyrr"�$���!�U���x�x��!�!��q�6�M�c�Z�t|t�r|St|�jd�Sr)rrr�encoder s r"rr's$���!�U�����q�6�=�=��"�"r$c�Z�t|t�r|jd�St|�Srrr s r"rr,r#r$c��t|tjtjtjf�sy	|j�y#t$rYywxYw)NFT)r�io�FileIO�BufferedReader�BufferedWriter�fileno�OSError)�fs r"rr1sK���a�"�)�)�R�%6�%6��8I�8I�J�K���	
���
�������s�A
�
	A�Ac��t||d��S)Nz
iso-8859-1)�mode�encoding)�open)�filenamer1s  r"rr<s����t�l�;�;r$c��|S�N�r s r"rr?s���Hr$�Uc�0�tj�dS)N�)�sys�exc_infor7r$r"rrDs���<�<�>�!��r$c��t|d�r/t|ttf�s|D�cgc]
}t	|���c}St|�Scc}w�N�__iter__)�hasattrrrrr	r��x�ys  r"r	r	Gs?���q�*��j��U�G�4D�&E�+,�-�a��q�!�-�-��q�z���.��Ac��t|d�r/t|ttf�s|D�cgc]
}t	|���c}St|�Scc}wr>)r@rrrr
rrAs  r"r
r
Ms@���q�*��j��U�G�4D�&E�-.�/�� ��#�/�/���|���0rDc�"�t|t�S)z�
    Check whether obj is a `pathlib.Path` object.

    Prefer using ``isinstance(obj, os.PathLike)`` instead of this function.
    )rr)�objs r"rrSs���c�4� � r$c�$�eZdZdZdd�Zd�Zd�Zy)ra�Context manager that does no additional processing.

    Used as a stand-in for a normal context manager, when a particular
    block of code is only sometimes used with a normal context manager:

    cm = optional_cm if condition else nullcontext()
    with cm:
        # Perform operation, using optional_cm if condition is True

    .. note::
        Prefer using `contextlib.nullcontext` instead of this context manager.
    Nc��||_yr6��enter_result)�selfrKs  r"�__init__zcontextlib_nullcontext.__init__js
��(��r$c��|jSr6rJ)rLs r"�	__enter__z contextlib_nullcontext.__enter__ms��� � � r$c��yr6r7)rL�excinfos  r"�__exit__zcontextlib_nullcontext.__exit__ps��r$r6)�__name__�
__module__�__qualname__�__doc__rMrOrRr7r$r"rr\s���)�!�
r$rc�<�ddlm}|||�j�S)a�
    Load a module. Uses ``load_module`` which will be deprecated in python
    3.12. An alternative that uses ``exec_module`` is in
    numpy.distutils.misc_util.exec_mod_from_location

    .. versionadded:: 1.11.2

    Parameters
    ----------
    name : str
        Full module name.
    fn : str
        Path to module file.
    info : tuple, optional
        Only here for backward compatibility with Python 2.*.

    Returns
    -------
    mod : module

    r)�SourceFileLoader)�importlib.machineryrX�load_module)�name�fn�inforXs    r"rrts��05��D�"�%�1�1�3�3r$)�rr6)"rV�__all__r;�os�pathlibrr)�pickle5r�ImportError�intr
rrrrrrrrrrrrrr	r
rrr�fspathr�PathLikerr7r$r"�<module>rgs����K���	��	�������
�
�
�

��
���
#�
�
	�<�
������!�
�
�04�8
�I�I�	��k�k���q����s�A1�1	A=�<A=
© 2025 GrazzMean