Hi,

I just released Trollius 0.2. The version 0.1.6 has two regressions
including an annoying bug in logging errors. The source code of
Trollius 0.2 is even closer to Tulip source code, the new "yield
From(...)" syntax looks closer to "yield from ..." and makes porting
Trollius code to Tulip easier. This version also prepares the work to
coordonate Tulip and Trollius releases and is closer to a version
"1.0".

Trollius 0.2 changes:

Trollius now uses ``yield From(...)`` syntax which looks close to Tulip
``yield from ...`` and allows to port more easily Trollius code to
Tulip. The usage of ``From()`` is not mandatory yet, but it may become
mandatory in a future version.  However, if ``yield`` is used without
``From``, an exception is raised if the event loop is running in debug
mode.

Major changes:

* Replace ``yield ...`` syntax with ``yield From(...)``
* On Python 2, Future.set_exception() now only saves the traceback if
  the debug mode of the event loop is enabled for best performances in
  production mode.  Use ``loop.set_debug(True)`` to save the traceback.

Bugfixes:

* Fix ``BaseEventLoop.default_exception_handler()`` on Python 2: get the
  traceback from ``sys.exc_info()``
* Fix unit tests on SSL sockets on Python older than 2.6.6. Example:
  Mac OS 10.6 with Python 2.6.1 or OpenIndiana 148 with Python 2.6.4.
* Fix error handling in the asyncio.time_monotonic module
* Fix acquire() method of Lock, Condition and Semaphore: don't return a
  context manager but True, as Tulip. Task._step() now does the trick.

Other changes:

* tox.ini: set PYTHONASYNCIODEBUG to 1 to run tests

Victor

Reply via email to