867b12b05cd42f6b4679923fa446677cec85b4cc
Add the following code at the top of your file to support Trollius and Tulip:
try:
# Use Trollius on Python <= 3.2
import trollius as asyncio
except ImportError:
# Use Tulip on Python 3.3, or builtin asyncio on Python 3.4+
import asyncio
Trollius is a portage of the Tulip project (asyncio module, PEP 3156) on Python 2. Trollius works on Python 2.6-3.4. It has been tested on Windows, Linux, Mac OS X, FreeBSD and OpenIndiana. * Trollius website and documentation: http://trollius.readthedocs.org/ * Tulip project: http://code.google.com/p/tulip/ * Copyright/license: Open source, Apache 2.0. Enjoy. See the "doc" subdirectory for more information.
Description
Languages
Python
95.7%
C
4%
Makefile
0.2%
Shell
0.1%