ez-a-sync 0.32.9__cp311-cp311-musllinux_1_2_i686.whl → 0.32.11__cp311-cp311-musllinux_1_2_i686.whl
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.
- a_sync/_smart.c +1364 -1482
- a_sync/_smart.cpython-311-i386-linux-musl.so +0 -0
- a_sync/_smart.pyx +17 -6
- a_sync/a_sync/modifiers/manager.c +614 -937
- a_sync/a_sync/modifiers/manager.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/modifiers/manager.pyx +4 -1
- a_sync/a_sync/property.c +2588 -2461
- a_sync/a_sync/property.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/property.pyx +6 -1
- {ez_a_sync-0.32.9.dist-info → ez_a_sync-0.32.11.dist-info}/METADATA +2 -2
- {ez_a_sync-0.32.9.dist-info → ez_a_sync-0.32.11.dist-info}/RECORD +14 -14
- {ez_a_sync-0.32.9.dist-info → ez_a_sync-0.32.11.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.9.dist-info → ez_a_sync-0.32.11.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.9.dist-info → ez_a_sync-0.32.11.dist-info}/top_level.txt +0 -0
|
Binary file
|
a_sync/a_sync/property.pyx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import functools
|
|
3
3
|
import typing
|
|
4
|
+
from copy import copy as _copy
|
|
4
5
|
from logging import getLogger
|
|
5
6
|
from typing import Any, Awaitable, Callable, Generator, Optional, Tuple, Type, Union
|
|
6
7
|
|
|
@@ -35,6 +36,10 @@ cdef object Lock = asyncio.Lock
|
|
|
35
36
|
cdef object Task = asyncio.Task
|
|
36
37
|
del asyncio
|
|
37
38
|
|
|
39
|
+
# cdef copy
|
|
40
|
+
cdef object copy = _copy
|
|
41
|
+
del _copy
|
|
42
|
+
|
|
38
43
|
# cdef functools
|
|
39
44
|
cdef object partial = functools.partial
|
|
40
45
|
del functools
|
|
@@ -497,7 +502,7 @@ class ASyncCachedPropertyDescriptor(
|
|
|
497
502
|
instance_context = {"property": self, "instance": instance}
|
|
498
503
|
if e.args and e.args[-1] != instance_context:
|
|
499
504
|
e.args = *e.args, instance_context
|
|
500
|
-
raise
|
|
505
|
+
raise copy(e).with_traceback(e.__traceback__)
|
|
501
506
|
|
|
502
507
|
if self._fset is not None:
|
|
503
508
|
self._fset(instance, value)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.32.
|
|
2
|
+
Name: ez_a_sync
|
|
3
|
+
Version: 0.32.11
|
|
4
4
|
Summary: A library that makes it easy to define objects that can be used for both sync and async use cases.
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/a-sync
|
|
6
6
|
Author: BobTheBuidler
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
a_sync/ENVIRONMENT_VARIABLES.py,sha256=YgIB8mQRqQBLbD3DdwMjx4ylqO8pK3GUvSNCerWJzx8,1280
|
|
2
2
|
a_sync/__init__.pxd,sha256=ol4jqkvuweaaU8GQU_Mq9rak8IIsagYTdhYhbKK74ac,81
|
|
3
3
|
a_sync/__init__.py,sha256=UrDqNkHGqvSY4O9wM9ObaoOP00cLq1sM-ucRnUvLyKk,5726
|
|
4
|
-
a_sync/_smart.c,sha256=
|
|
5
|
-
a_sync/_smart.cpython-311-i386-linux-musl.so,sha256=
|
|
4
|
+
a_sync/_smart.c,sha256=nTH9yAWTGBSaHvCGsvha9_dEtr-pX-XyVT3EJoDMTAo,913683
|
|
5
|
+
a_sync/_smart.cpython-311-i386-linux-musl.so,sha256=H4K3Q7ggGTBVVxS1A0bnU43lmToSFURn8KdKGEXlzTk,989552
|
|
6
6
|
a_sync/_smart.pxd,sha256=3FlPqSvAtmGXIDFzfm7wpkvL6xt8z8w-vwow4Lura2g,76
|
|
7
7
|
a_sync/_smart.pyi,sha256=mUQwUiiSsMsbtJTKdXm076ua5B2A9USaKgjZq1Se_ZQ,5390
|
|
8
|
-
a_sync/_smart.pyx,sha256=
|
|
8
|
+
a_sync/_smart.pyx,sha256=WqVvzJebLwYynARG5IAB4aZ_HWY_baVUpbGL2qvXzSI,19168
|
|
9
9
|
a_sync/_typing.py,sha256=x24VIVjxz8sUWPmQR072pHAQxJO769Nn02f3eakFpe8,6850
|
|
10
10
|
a_sync/aliases.py,sha256=TbLyuLeFfJEmcC5-NP6h4DQ9QXlQjGny2NUP_x1tflw,212
|
|
11
11
|
a_sync/debugging.c,sha256=0DDVbUYYKbezBHshu4_b-mzZ0cuvxFE6CpfrqsMV00w,589308
|
|
@@ -74,19 +74,19 @@ a_sync/a_sync/method.cpython-311-i386-linux-musl.so,sha256=ZBGFIj1Yi7yLc4zCI0waa
|
|
|
74
74
|
a_sync/a_sync/method.pxd,sha256=3kcpKfsO6rtO8wFokzShcwlAeSKxy9WNq2t710zi8dw,123
|
|
75
75
|
a_sync/a_sync/method.pyi,sha256=DpzdpuYSi7wiZkkX9xB0pg1oFcCYxJbVrWj3J_ISo3M,17815
|
|
76
76
|
a_sync/a_sync/method.pyx,sha256=gTyPQn1znZCsIHnqeXC2nPRoRNBrnpHTx7fAQwW9nEk,35131
|
|
77
|
-
a_sync/a_sync/property.c,sha256=
|
|
78
|
-
a_sync/a_sync/property.cpython-311-i386-linux-musl.so,sha256=
|
|
77
|
+
a_sync/a_sync/property.c,sha256=xNyEG7-rehLJ5sSqjJopkWCkXvDf8CvT6ZAk_emBoJQ,1243816
|
|
78
|
+
a_sync/a_sync/property.cpython-311-i386-linux-musl.so,sha256=gRhPbFyYmzqm9zy_yAaG1_B-zuP9E4PCz7cYZ3AgALo,1580388
|
|
79
79
|
a_sync/a_sync/property.pyi,sha256=GWXCWpJBa_qxBYfbv_Lmt02Md8WK9nJYTu7blO4O2ew,13680
|
|
80
|
-
a_sync/a_sync/property.pyx,sha256=
|
|
80
|
+
a_sync/a_sync/property.pyx,sha256=qEFhqtYQhg2rsoDwXdfyVmtCfKvQa--OUkF89plRSek,27599
|
|
81
81
|
a_sync/a_sync/singleton.py,sha256=WRJ9FEqeFB8T59NSOiLLcm-QmMCI0H7nwEpvDIUp9IQ,2492
|
|
82
82
|
a_sync/a_sync/modifiers/__init__.pxd,sha256=17tPpMY2ByVbMGIpI5kiP3WX8V9IM5ZHJp0Y3eT6LvE,60
|
|
83
83
|
a_sync/a_sync/modifiers/__init__.py,sha256=JXyupO5h2hICMd-ha642ttCEFib_gAA6v-Ll6cyHNCA,4159
|
|
84
84
|
a_sync/a_sync/modifiers/limiter.py,sha256=WjO32P4vZLvyJnwpm2qFgqwRmCM7eEHxcdXzilzLlps,4303
|
|
85
|
-
a_sync/a_sync/modifiers/manager.c,sha256=
|
|
86
|
-
a_sync/a_sync/modifiers/manager.cpython-311-i386-linux-musl.so,sha256=
|
|
85
|
+
a_sync/a_sync/modifiers/manager.c,sha256=GiQBNW8VlS3IOx1EyS7HQ4njW7OGi90J83SPz7eYIbk,626521
|
|
86
|
+
a_sync/a_sync/modifiers/manager.cpython-311-i386-linux-musl.so,sha256=1ii1HPIIwRBfv1mbLFwAjFDtEX6stBOIL1xvBUF2JE8,589712
|
|
87
87
|
a_sync/a_sync/modifiers/manager.pxd,sha256=s7zw1kllYYGpe5uFETRIUFsgbVdtFM8jGh4RxZgm25M,183
|
|
88
88
|
a_sync/a_sync/modifiers/manager.pyi,sha256=oSMpBaZJPxzqaAyLT8ikA1DNHvyPRVqVIXrL0EvDe4A,6222
|
|
89
|
-
a_sync/a_sync/modifiers/manager.pyx,sha256=
|
|
89
|
+
a_sync/a_sync/modifiers/manager.pyx,sha256=PcyGpRnWgTZlPRukzPotwtUn43SYcbiR2TXaKSgEioI,9396
|
|
90
90
|
a_sync/a_sync/modifiers/semaphores.py,sha256=V1_jjxwuXq55y6Lv4yP4mymVj5AOCMIZXSkaZSKwEdw,6916
|
|
91
91
|
a_sync/a_sync/modifiers/cache/__init__.py,sha256=SJlZ1EyyzBkYlWMU4XbiAlW9SCqCQbOAmDgVAP7CDN0,5532
|
|
92
92
|
a_sync/a_sync/modifiers/cache/memory.py,sha256=vON9K6K3nMkGphfUHCTrtURJUXZ3IE9B757wa-H1oFk,5335
|
|
@@ -170,8 +170,8 @@ a_sync/utils/repr.c,sha256=4HDcDzNN4_R5Z_QrhMy9kxWXK7iALDKpa--_D0k6_-Y,571751
|
|
|
170
170
|
a_sync/utils/repr.cpython-311-i386-linux-musl.so,sha256=h0_7VzWP6qRe6_eLjq_PPnito-C4_HCMw-Iiz_CZRcM,574456
|
|
171
171
|
a_sync/utils/repr.pyi,sha256=PWdsa6sF9_3nBqEgLaxtaHty7o7gwL--jPqvcelHY10,131
|
|
172
172
|
a_sync/utils/repr.pyx,sha256=xdsVdK75Zi5pAoh-8qRG0q7F0ySAq1zDkksZw37FoL4,2632
|
|
173
|
-
ez_a_sync-0.32.
|
|
174
|
-
ez_a_sync-0.32.
|
|
175
|
-
ez_a_sync-0.32.
|
|
176
|
-
ez_a_sync-0.32.
|
|
177
|
-
ez_a_sync-0.32.
|
|
173
|
+
ez_a_sync-0.32.11.dist-info/METADATA,sha256=QahycyN6CoF2bnADxQlErZ0QR3cB5xmf2qozAnhyXGU,13197
|
|
174
|
+
ez_a_sync-0.32.11.dist-info/WHEEL,sha256=GqfKL1RwSE3mtls--bWyQUnoqXIB9Hgwxr0AppgmH9g,110
|
|
175
|
+
ez_a_sync-0.32.11.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
|
|
176
|
+
ez_a_sync-0.32.11.dist-info/RECORD,,
|
|
177
|
+
ez_a_sync-0.32.11.dist-info/licenses/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
|
|
File without changes
|
|
File without changes
|
|
File without changes
|