11CHANGES
22=======
33
4- 4.0.0 (2019 -11-XX )
4+ 4.0.0 (2021 -11-01 )
55------------------
66
7- * Add the elapsed property (#24 )
7+ * Implemented `` timeout_at(deadline) `` (#117 )
88
9- * Implement ` timeout.at(when) ` (#117)
9+ * Supported `` timeout.deadline `` and `` timeout.expired `` properties.
1010
11- * Deprecate synchronous context manager usage
11+ * Drooped ``timeout.remaining `` property: it can be calculated as
12+ ``timeout.deadline - loop.time() ``
13+
14+ * Dropped ``timeout.timeout `` property that returns a relative timeout based on the
15+ timeout object creation time; the absolute ``timeout.deadline `` should be used
16+ instead.
17+
18+ * Added the deadline modification methods: ``timeout.reject() ``,
19+ ``timeout.shift(delay) ``, ``timeout.update(deadline) ``.
20+
21+ * Deprecated synchronous context manager usage
1222
13233.0.1 (2018-10-09)
1424------------------
@@ -31,29 +41,29 @@ CHANGES
31412.0.0 (2017-10-09)
3242------------------
3343
34- * Changed `timeout <= 0 ` behaviour
44+ * Changed `` timeout <= 0 ` ` behaviour
3545
36- * Backward incompatibility change, prior this version `0 ` was
37- shortcut for `None `
38- * when timeout <= 0 `TimeoutError ` raised faster
46+ * Backward incompatibility change, prior this version `` 0 ` ` was
47+ shortcut for `` None ` `
48+ * when timeout <= 0 `` TimeoutError ` ` raised faster
3949
40501.4.0 (2017-09-09)
4151------------------
4252
43- * Implement `remaining ` property (#20)
53+ * Implement `` remaining ` ` property (#20)
4454
4555 * If timeout is not started yet or started unconstrained:
46- `remaining ` is `None `
47- * If timeout is expired: `remaining ` is `0.0 `
48- * All others: roughly amount of time before `TimeoutError ` is triggered
56+ `` remaining `` is `` None ` `
57+ * If timeout is expired: `` remaining `` is `` 0.0 ` `
58+ * All others: roughly amount of time before `` TimeoutError ` ` is triggered
4959
50601.3.0 (2017-08-23)
5161------------------
5262
5363* Don't suppress nested exception on timeout. Exception context points
54- on cancelled line with suspended `await ` (#13)
64+ on cancelled line with suspended `` await ` ` (#13)
5565
56- * Introduce `.timeout ` property (#16)
66+ * Introduce `` .timeout ` ` property (#16)
5767
5868* Add methods for using as async context manager (#9)
5969
@@ -74,7 +84,7 @@ CHANGES
74841.1.0 (2016-10-20)
7585------------------
7686
77- * Rename to `async-timeout `
87+ * Rename to `` async-timeout ` `
7888
79891.0.0 (2016-09-09)
8090------------------
0 commit comments