/usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks
Edit: /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyc (1966B)
Ñò
H<Vc @ 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( | o t ƒ n | o t ƒ n d S( s Apply all Python 2.6 patches.N( R R ( t emailt select( ( sJ /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyR s c C s0 d d k } t | d ƒ p | i | _ 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 ( ( sJ /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyR s c s{ d d k } | i d d j oW | i d d j oC d d k ‰ d d k ‰ ˆ i ‰ ‡ ‡ ‡ 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 s` xY t oQ y ˆ | Œ SWq t ˆ i f j
o' } | i d ˆ i j o ‚ qW q Xq Wd S( s* restart a system call interrupted by EINTRi N( t Truet OSErrort errort argst EINTR( R t ex( t real_selectt errnoR ( sJ /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyt _eintr_retry$ s ( t syst version_infoR R ( R R ( ( R R R sJ /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyR s ( N( t __doc__t __all__R R R R ( ( ( sJ /usr/lib/python2.6/site-packages/pyzor-1.0.0-py2.6.egg/pyzor/hacks/py26.pyt
s