3
[Z£  ã               @   sä   d Z ddlZejd dk r`dZdd„ Zdd„ ZddlZej ZZe	Z
eZefZeefZeZeZnxd	Zejdd
… dkr„ddlmZ nddlmZ ddlZdd„ Zdd„ ZddlZejZejZeZ
eZefZefZdd„ Zed ZdS )zPython 3 compatibility shims
é    Né   Fc             C   s   | S )N© )Úsr   r   ú3/usr/lib/python3/dist-packages/simplejson/compat.pyÚb   s    r   c             C   s
   t | dƒS )NZunicode_escape)Úunicode)r   r   r   r   Úu   s    r   Té   é   )Úreloadc             C   s   t j| ƒd S )Nr   )ÚcodecsÚlatin_1_encode)r   r   r   r   r      s    c             C   s   | S )Nr   )r   r   r   r   r      s    c             C   s   t t| ƒƒS )N)r   Úchr)r   r   r   r   Úunichr%   s    r   é   )r   r
   éÿÿÿÿ)Ú__doc__ÚsysÚversion_infoZPY3r   r   Ú	cStringIOÚStringIOÚBytesIOr   Z	text_typeÚstrZbinary_typeZ
basestringZstring_typesÚintZlongZinteger_typesr   r   Zreload_moduleÚ	importlibÚimpr   ÚioÚbytesZ	long_typer   r   r   r   Ú<module>   s:   
