| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/setuptools/__pycache__/ |
Upload File : |
�
_�dN � � � d Z ddlZddlZddlZddlZddlZddlmZ ddl Z ddl
Z
g Z d� Zd� Z
d� Zd� Zd� Zd � Zd
� Zd� Zy)z
Monkey patching of distutils.
� N)�
import_modulec �z � t j � dk( r| f| j z S t j | � S )am
Returns the bases classes for cls sorted by the MRO.
Works around an issue on Jython where inspect.getmro will not return all
base classes if multiple classes share the same name. Instead, this
function will return a tuple containing the class itself, and the contents
of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024.
�Jython)�platform�python_implementation� __bases__�inspect�getmro)�clss �3/usr/lib/python3/dist-packages/setuptools/monkey.py�_get_mror
s5 � � �%�%�'�8�3��v��
�
�%�%��>�>�#��� c � � t | t � rt n"t | t j � rt
nd� } || � S )Nc � � y )N� )�items r �<lambda>zget_unpatched.<locals>.<lambda>* s � r )�
isinstance�type�get_unpatched_class�types�FunctionType�get_unpatched_function)r �lookups r �
get_unpatchedr $ s>