Your IP : 3.145.80.247


Current Path : /opt/alt/python312/lib64/python3.12/xml/dom/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/xml/dom/__pycache__/domreg.cpython-312.opt-2.pyc

�

�Q�f{
��6�	ddlZddd�ZiZd�Zd�Zd	d�Zd�Zy)
�Nzxml.dom.minidomzxml.dom.DOMImplementation)�minidom�4DOMc��	|t|<y)N)�
registered)�name�factorys  �5/opt/alt/python312/lib64/python3.12/xml/dom/domreg.py�registerDOMImplementationr
s����J�t��c�B�	|D]\}}|j||�r�yy)Nr�)�
hasFeature)�dom�features�f�vs    r	�_good_enoughr s)��L����!��~�~�a��"���
rc�R�	ddl}d}tj|�}|rt|iidg�}|j	�S|r
t|�Stjjs'd|jvrt	|jd��St|t�rt|�}t
j�D]}|�}t||�s�|cStj�D]}	t	|��}t||�s�|cSt#d��#t $rY�8wxYw)Nr�getDOMImplementation�
PYTHON_DOM)rz$no suitable DOM implementation found)�os�well_known_implementations�get�
__import__rr�sys�flags�ignore_environment�environ�
isinstance�str�_parse_feature_string�valuesr�keys�	Exception�ImportError)rrr�creator�modrs      r	rr's��
C���G�
$�
(�
(��
.�C�
���b�"�'=�&>�?���'�'�)�)�	
��$��!�!�
�Y�Y�
)�
)�l�b�j�j�.H�#�2�:�:�l�+C�D�D��(�C� �(��2���$�$�&���i����X�&��J�'�
.�2�2�4��	�&�g�6�C���X�&��J�
5��<�
=�=���	��	�s�1D�	D&�%D&c��g}|j�}d}t|�}||krR||}|ddvrtd|����|dz}d}||kr||}|ddvr|dz}|}|j||f�||kr�Rt	|�S)Nr�
0123456789zbad feature name: r
)�split�len�
ValueError�append�tuple)�sr�parts�i�length�feature�versionrs        r	r!r!Rs����H�
�G�G�I�E�	�A�
��Z�F�
�f�*���(���1�:��%��w�@�A�A�
��E�����v�:��a��A���t�|�#���E��������'�*�+��f�*���?�r)N�)rrrr
rrr!r5rr	�<module>r6s;��>�� �'����
�	�
�)>�Vr

?>