zepheira / pybibframe

Open-source tools for working with BIBFRAME (see: http://bibframe.org), by default BIBFRAME Lite (see: http://bibfra.me) and more generally Library Linked Data. For some background thoughts see: https://medium.com/library-link-network/libraries-jet-fuel-and-the-information-age-8b28d5eb1339
Apache License 2.0
23 stars 13 forks source link

ensure coroutine generated exceptions are propagated #7

Closed dfeeney closed 10 years ago

dfeeney commented 10 years ago

Currently, when an exception occurs in a coroutine method, the event loop exits without notifiying the main process, causing it to hang. This resolves that using the second technique from https://docs.python.org/3/library/asyncio-dev.html#detect-exceptions-never-consumed.

uogbuji commented 10 years ago

Reviewed and accepted. Thanks for researching that problem.