diff --git a/giambio/core.py b/giambio/core.py index a56e9e4..424a99c 100644 --- a/giambio/core.py +++ b/giambio/core.py @@ -318,7 +318,7 @@ class AsyncScheduler: dict(self.selector.get_map()).values(), ): self.io_release(k.fileobj) - task.last_io = () + task.last_io = () def io_release(self, sock): """ diff --git a/giambio/exceptions.py b/giambio/exceptions.py index f03207d..eb8b91b 100644 --- a/giambio/exceptions.py +++ b/giambio/exceptions.py @@ -18,6 +18,7 @@ limitations under the License. import traceback from typing import List +from giambio.task import Task class GiambioError(Exception): @@ -43,7 +44,7 @@ class CancelledError(GiambioError): at least it should be re-raised and never ignored """ - ... + task: Task class ResourceBusy(GiambioError):