o
    –¨ÊhÝ
  ã                   @   sÞ   d Z ddlZddlZddlZejd dkZerDddlZddlmZ ddl	m
Z
mZmZ dd„ ZeeejfZefZefZefZeefZdS ddlZddl
m
Z
mZmZ dd„ ZeeejefZeefZefZeefZefZeZdS )	zGThis module handles compatibility issues between Python 2 and Python 3.é    Né   )ÚJSONDecodeError)ÚurlparseÚunquoteÚ	parse_qslc                 C   s   t  | ¡ d¡S )úÇReturn the hexadecimal representation of the binary data.

        Args:
            data (str): The binary data.

        Returns:
            bytes: The hexadecimal representation of data.
        zutf-8)ÚbinasciiÚhexlifyÚdecode©Údata© r   ú?/var/www/html/env/lib/python3.10/site-packages/mysqlx/compat.pyr	   -   s   	r	   c                 C   s
   |   d¡S )r   Úhex)Úencoder   r   r   r   r	   C   s   
	)Ú__doc__ÚsysÚdecimalr   Úversion_infoÚPY3ÚqueueÚjson.decoderr   Úurllib.parser   r   r   r	   ÚintÚfloatÚDecimalÚNUMERIC_TYPESÚ	INT_TYPESÚstrÚUNICODE_TYPESÚSTRING_TYPESÚ	bytearrayÚbytesÚ
BYTE_TYPESÚQueueÚlongÚunicodeÚ
ValueErrorr   r   r   r   Ú<module>   s0   