Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
pyzor
/
hacks
/
File Content:
py26.pyc
� YF�Tc @ s: d Z d d d g Z e e d � Z d � Z d � Z d S( s Hacks for Python 2.6t hack_allt hack_emailt hack_selectc C s$ | r t � n | r t � n d S( s Apply all Python 2.6 patches.N( R R ( t emailt select( ( s4 /usr/lib/python2.7/site-packages/pyzor/hacks/py26.pyR s c C s. d d l } t | d � s* | j | _ n d S( s� 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. i����Nt message_from_bytes( R t hasattrt message_from_stringR ( R ( ( s4 /usr/lib/python2.7/site-packages/pyzor/hacks/py26.pyR s c sx d d l } | j d d k rt | j d d k rt d d l � d d l � � j � � � � f d � } | � _ n d S( s� The python2.6 version of SocketServer does not handle interrupt calls from signals. Patch the select call if necessary. i����Ni i i i c sZ xS t rU y � | � SWq t � j f k rQ } | j d � j k rR � qR q Xq Wd S( s* restart a system call interrupted by EINTRi N( t Truet OSErrort errort argst EINTR( R t ex( t errnot real_selectR ( s4 /usr/lib/python2.7/site-packages/pyzor/hacks/py26.pyt _eintr_retry$ s ( t syst version_infoR R ( R R ( ( R R R s4 /usr/lib/python2.7/site-packages/pyzor/hacks/py26.pyR s & N( t __doc__t __all__R R R R ( ( ( s4 /usr/lib/python2.7/site-packages/pyzor/hacks/py26.pyt <module> s
Submit
FILE
FOLDER
Name
Size
Permission
Action
__init__.py
76 bytes
0644
__init__.pyc
235 bytes
0644
py26.py
1258 bytes
0644
py26.pyc
1839 bytes
0644
N4ST4R_ID | Naxtarrr