moat-lib-micro 0.3.3__tar.gz → 0.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moat-lib-micro
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Compatibility layer for CPython/anyio and MicroPython/uasyncio
5
5
  Maintainer-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://m-o-a-t.org
@@ -1,20 +1,8 @@
1
- moat-lib-micro (0.3.3-1) unstable; urgency=medium
1
+ moat-lib-micro (0.3.4-2) unstable; urgency=medium
2
2
 
3
- * New release for 26.2.8
3
+ * New release for 26.2.13
4
4
 
5
- -- Matthias Urlichs <matthias@urlichs.de> Sat, 11 Jul 2026 03:15:29 +0200
6
-
7
- moat-lib-micro (0.3.2-3) unstable; urgency=medium
8
-
9
- * New release for 26.2.3
10
-
11
- -- Matthias Urlichs <matthias@urlichs.de> Mon, 15 Jun 2026 17:44:46 +0200
12
-
13
- moat-lib-micro (0.3.2-2) unstable; urgency=medium
14
-
15
- * New release for 26.1.12
16
-
17
- -- Matthias Urlichs <matthias@urlichs.de> Fri, 24 Apr 2026 15:38:47 +0200
5
+ -- Matthias Urlichs <matthias@urlichs.de> Wed, 23 Sep 2026 18:01:20 +0200
18
6
 
19
7
  moat-lib-micro (0.3.2-1) unstable; urgency=medium
20
8
 
@@ -21,7 +21,7 @@ name = "moat-lib-micro"
21
21
  maintainers = [{email = "matthias@urlichs.de",name = "Matthias Urlichs"}]
22
22
  description='Compatibility layer for CPython/anyio and MicroPython/uasyncio'
23
23
  readme = "README.md"
24
- version = "0.3.3"
24
+ version = "0.3.4"
25
25
 
26
26
  [project.urls]
27
27
  homepage = "https://m-o-a-t.org"
@@ -26,6 +26,7 @@ from moat.util import Queue as _Queue
26
26
  from moat.util import QueueEmpty, QueueFull, merge
27
27
 
28
28
  from collections.abc import ( # noqa: TC002
29
+ AsyncGenerator,
29
30
  AsyncIterator,
30
31
  Iterable,
31
32
  Mapping,
@@ -50,7 +51,7 @@ if TYPE_CHECKING:
50
51
  @overload
51
52
  def __call__(
52
53
  self, t: float, p: None = None, /, *a: Any, **k: Any
53
- ) -> AsyncIterator[None]: ...
54
+ ) -> AsyncGenerator[None, None]: ...
54
55
 
55
56
  @overload
56
57
  def __call__(
@@ -60,7 +61,7 @@ if TYPE_CHECKING:
60
61
  /,
61
62
  *a: P.args,
62
63
  **k: P.kwargs,
63
- ) -> AsyncIterator[R]: ...
64
+ ) -> AsyncGenerator[R | None, None]: ...
64
65
 
65
66
  class _RunProto(Protocol):
66
67
  def __call__(
@@ -321,7 +322,7 @@ async def wait_for_ms(timeout: float, p: Callable[..., Awaitable[R]], *a, **k) -
321
322
 
322
323
  async def every_ms(
323
324
  t: float, p: Callable[..., Awaitable[R]] | None = None, *a, **k
324
- ) -> AsyncIterator[R | None]:
325
+ ) -> AsyncGenerator[R | None, None]:
325
326
  "every t milliseconds, call ``p(*a,**k)``"
326
327
  tt = ticks_add(ticks_ms(), int(t))
327
328
  while True:
@@ -339,7 +340,7 @@ async def every_ms(
339
340
  tt = ticks_add(tn, int(t))
340
341
 
341
342
 
342
- def every(t: float, *a, **k) -> AsyncIterator[Any]:
343
+ def every(t: float, *a, **k) -> AsyncGenerator[Any, None]:
343
344
  "every t seconds, call ``p(*a,**k)``"
344
345
  return every_ms(t * 1000, *a, **k)
345
346
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moat-lib-micro
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Compatibility layer for CPython/anyio and MicroPython/uasyncio
5
5
  Maintainer-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://m-o-a-t.org
File without changes
File without changes
File without changes