|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/ |
�
C�M�� �z � d Z ddlZddlZddlZddlZddlZddlmZ ddlZ g Z
d� Zd� Zd� Z
d� 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 ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-3.el9.x86_64/opt/alt/python312/lib/python3.12/site-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>