Hi, I made some progress to reduce the differences between Tulip and Trollius:
- Trollius: Trollius now uses "yield From(...)" instead of "yield ..." (Tulip uses "yield from ..."): "yield ..." raises an error in debug mode, From(obj) returns obj in release mode (reduce the overhead of the useless From()). - Tulip: unit tests use mock instead of unittest.mock - Trollius: I replaced "raise asyncio.Return(...)" with "raise Return(...)" - Trollius: drain() is no more a coroutine - Tulip: I simplified test_events.py to avoid nonlocal keyword when possible (nonlocal is not supported in Python 2) - Trollius: I fixed some functions (issues with old merges) - Trollius: acquire() method of Lock, Condition, Semaphore don't return a context manager anymore - Tulip: Tulip has also a COPYING file (Apache license 2.0) - Trollius: Add/remove empty lines Victor
