From a79a08a215e7708788ed4224eb1854d204256ae6 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sat, 9 Sep 2017 19:51:35 +0300 Subject: [PATCH] Bump to 1.4.0 --- CHANGES.rst | 10 ++++++++++ async_timeout/__init__.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index b6e4b02..bfe8cfa 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,16 @@ CHANGES ======= +1.4.0 (2017-09-09) +------------------ + +* Implement `remaining` property (#20) + + * If timeout is not started yet or started unconstrained: + `remaining` is `None` + * If timeout is expired: `remaining` is `0.0` + * All others: roughly amount of time before `TimeoutError` is triggered + 1.3.0 (2017-08-23) ------------------ diff --git a/async_timeout/__init__.py b/async_timeout/__init__.py index addccb6..8829f8e 100644 --- a/async_timeout/__init__.py +++ b/async_timeout/__init__.py @@ -1,7 +1,7 @@ import asyncio -__version__ = '1.3.0' +__version__ = '1.4.0' class timeout: