Your IP : 18.220.13.15


Current Path : /opt/alt/python311/lib64/python3.11/xml/sax/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/xml/sax/__pycache__/__init__.cpython-311.opt-2.pyc

�

c��f:���	ddlmZddlmZmZddlmZmZmZm	Z	m
Z
e��fd�Ze��fd�ZdgZ
dZerddlZddlZddlZejjs)d	ejvr ejd	�d
��Z
[dZejdd�d
krGej�e��r-ej�e���d
��Z
dd�Zejdd�d
krd�Znd�Z[dS)�)�InputSource)�ContentHandler�ErrorHandler)�SAXException�SAXNotRecognizedException�SAXParseException�SAXNotSupportedException�SAXReaderNotAvailablec��t��}|�|��|�|��|�|��dS)N)�make_parser�setContentHandler�setErrorHandler�parse)�source�handler�errorHandler�parsers    �7/opt/alt/python311/lib64/python3.11/xml/sax/__init__.pyrrsK��
�]�]�F�
���W�%�%�%�
���<�(�(�(�
�L�L�������c��ddl}|�t��}t��}|�|��|�|��t��}t
|t��r)|�|�	|����n(|�
|�|����|�|��dS)N�)
�iorrr
rr�
isinstance�str�setCharacterStream�StringIO�
setByteStream�BytesIOr)�stringrrrr�inpsrcs      r�parseStringr!#s���
�I�I�I���#�~�~��
�]�]�F�
���W�%�%�%�
���<�(�(�(�
�]�]�F��&�#���1��!�!�"�+�+�f�"5�"5�6�6�6�6����R�Z�Z��/�/�0�0�0�
�L�L������rzxml.sax.expatreaderrN�
PY_SAX_PARSER�,zpython.xml.sax.parser��java�c���	t|��tzD]<}	t|��cS#t$rddl}||jvr�Y�.t$rY�9wxYwt
dd���)NrzNo parsers found)�list�default_parser_list�_create_parser�ImportError�sys�modulesr
)�parser_list�parser_namer,s   rrrFs���J��K�(�(�+>�>����	�!�+�.�.�.�.�.���	�	�	��J�J�J��c�k�)�)��*�)�%�	�	�	�
�D�	����
 � 2�D�
9�
9�9s�-�A�	A�Ac�|�ddlm}|�|dt����}|���S)Nr)�imp)�org.python.corer1�
importName�globals�
create_parser)r/r1�
drv_modules   rr*r*as?��'�'�'�'�'�'��^�^�K��G�I�I�>�>�
��'�'�)�)�)rc�P�t|iidg��}|���S)Nr5)�
__import__r5)r/r6s  rr*r*gs*����B�r�?�2C�D�D�
��'�'�)�)�)r)r&)�	xmlreaderrrrr�_exceptionsrrrr	r
rr!r)�_false�xml.sax.expatreader�xml�osr,�flags�ignore_environment�environ�split�_key�platform�registry�containsKey�getPropertyrr*r&rr�<module>rHs����*#�"�"�"�"�"�1�1�1�1�1�1�1�1�.�.�.�.�.�.�.�.�.�.�.�.�.�.�
)5��������/;�l�n�n�
�
�
�
�$-�-��
��	��������������
�y�#�A��2�:�(E�(E��*�_�5�;�;�C�@�@������<�����v���#�,�":�":�4�"@�"@���,�2�2�4�8�8�>�>�s�C�C��:�:�:�:�4�<��1������*�*�*�*�*�*�*��C�Cr

?>