OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : 3
K] @ s d Z ddlZddlZddlZddlZddlZddlmZ ddl Z ddl
mZ ddlZg Z
dd Zdd Zd d
Zdd Zd
d Zdd Zdd Zdd ZdS )z
Monkey patching of distutils.
N)
import_module)sixc C s" t j dkr| f| j S tj| 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.
ZJython)platformZpython_implementation __bases__inspectZgetmro)cls r /usr/lib/python3.6/monkey.py_get_mro s r
c C s0 t | tjrtnt | tjr tndd }|| S )Nc S s d S )Nr )itemr r r