$99 GRAYBYTE WORDPRESS FILE MANAGER $57

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib64/python3.4/xml/dom/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/xml/dom/__pycache__//domreg.cpython-34.pyc
�
j f{
�@sfdZddlZidd6dd6ZiZdd�Zd	d
�Zdfdd�Zd
d�ZdS)z�Registration facilities for DOM. This module should not be used
directly. Instead, the functions getDOMImplementation and
registerDOMImplementation should be imported from xml.dom.�Nzxml.dom.minidomZminidomzxml.dom.DOMImplementationZ4DOMcCs|t|<dS)aIregisterDOMImplementation(name, factory)

    Register the factory function with the name. The factory function
    should return an object which implements the DOMImplementation
    interface. The factory function can either return the same object,
    or a new one (e.g. if that implementation supports some
    customization).N)�
registered)�nameZfactory�r�3/opt/alt/python34/lib64/python3.4/xml/dom/domreg.py�registerDOMImplementations	rcCs1x*|D]"\}}|j||�sdSqWdS)zF_good_enough(dom, features) -> Return 1 if the dom offers the featuresr�)Z
hasFeature)�dom�features�f�vrrr�_good_enough srcCs@ddl}d}tj|�}|rIt|iidg�}|j�S|rZt|�Stjjr�d|j	kr�td|j	d�St
|t�r�t|�}nx0tj
�D]"}|�}t||�r�|Sq�WxRtj�D]D}ytd|�}Wntk
rw�YnXt||�r�|Sq�Wtd��dS)aSgetDOMImplementation(name = None, features = ()) -> DOM implementation.

    Return a suitable DOM implementation. The name is either
    well-known, the module name of a DOM implementation, or None. If
    it is not None, imports the corresponding module and returns
    DOMImplementation object if the import succeeds.

    If name is not given, consider the available implementations to
    find one with the required feature set. If no implementation can
    be found, raise an ImportError. The features list must be a sequence
    of (feature, version) pairs which are passed to hasFeature.rN�getDOMImplementationZ
PYTHON_DOMrz$no suitable DOM implementation found)�os�well_known_implementations�get�
__import__r
r�sys�flags�ignore_environment�environ�
isinstance�str�_parse_feature_string�valuesr�keys�	Exception�ImportError)rr	rZcreator�modrrrrr
's0

	
r
cCs�g}|j�}d}t|�}x�||kr�||}|ddkrctd|f��n|d}d}||kr�||}|ddkr�|d}|}q�n|j||f�q'Wt|�S)Nr�
0123456789zbad feature name: %rr)�split�len�
ValueError�append�tuple)�sr	�parts�iZlengthZfeature�versionrrrrrRs"



r)�__doc__rrrrrr
rrrrr�<module>s
+


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
NodeFilter.cpython-34.pyc
0.991 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
NodeFilter.cpython-34.pyo
0.991 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyc
5.643 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyo
5.643 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
domreg.cpython-34.pyc
2.954 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
domreg.cpython-34.pyo
2.954 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
expatbuilder.cpython-34.pyc
29.279 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
expatbuilder.cpython-34.pyo
28.689 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
minicompat.cpython-34.pyc
2.901 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
minicompat.cpython-34.pyo
2.804 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
minidom.cpython-34.pyc
60.423 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
minidom.cpython-34.pyo
60.297 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pulldom.cpython-34.pyc
11.343 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pulldom.cpython-34.pyo
11.343 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
xmlbuilder.cpython-34.pyc
13.604 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
xmlbuilder.cpython-34.pyo
13.569 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF