pyzor.hacks.py26¶
Hacks for Python 2.6
- pyzor.hacks.py26.hack_all(email=True, select=True)¶
Apply all Python 2.6 patches.
- pyzor.hacks.py26.hack_email()¶
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.
- pyzor.hacks.py26.hack_select()¶
The python2.6 version of SocketServer does not handle interrupt calls from signals. Patch the select call if necessary.