Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (5h)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 09:41:34 UTC Now

2021-11-23 20:45:01 UTC MAIN commitmail json YAML

py-async-timeout: updated to 4.0.1

4.0.1 (2121-11-10)

Fix regression:

Don't raise TimeoutError from timeout object that doesn't enter into async context manager
Use call_soon() for raising TimeoutError if deadline is reached on entering into async context manager

Make Timeout class available in __all__.

4.0.0 (2021-11-01)

Implemented timeout_at(deadline)
Supported timeout.deadline and timeout.expired properties.
Dropped timeout.remaining property: it can be calculated as timeout.deadline - loop.time()
Dropped timeout.timeout property that returns a relative timeout based on the timeout object creation time; the absolute timeout.deadline should be used instead.
Added the deadline modification methods: timeout.reject(), timeout.shift(delay), timeout.update(deadline).
Deprecated synchronous context manager usage

(adam)