ez-a-sync 0.32.15__cp311-cp311-musllinux_1_2_i686.whl → 0.32.16__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.
Potentially problematic release.
This version of ez-a-sync might be problematic. Click here for more details.
- a_sync/_smart.c +1036 -1382
- a_sync/_smart.cpython-311-i386-linux-musl.so +0 -0
- a_sync/_smart.pyx +10 -18
- a_sync/asyncio/create_task.c +680 -759
- a_sync/asyncio/create_task.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/create_task.pyx +7 -2
- a_sync/asyncio/igather.c +1039 -1389
- a_sync/asyncio/igather.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/igather.pyx +19 -12
- {ez_a_sync-0.32.15.dist-info → ez_a_sync-0.32.16.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.15.dist-info → ez_a_sync-0.32.16.dist-info}/RECORD +14 -14
- {ez_a_sync-0.32.15.dist-info → ez_a_sync-0.32.16.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.15.dist-info → ez_a_sync-0.32.16.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.15.dist-info → ez_a_sync-0.32.16.dist-info}/top_level.txt +0 -0
|
Binary file
|
a_sync/asyncio/igather.pyx
CHANGED
|
@@ -2,6 +2,8 @@ import asyncio
|
|
|
2
2
|
from asyncio import futures, tasks
|
|
3
3
|
from typing import Awaitable, Iterable, List, TypeVar
|
|
4
4
|
|
|
5
|
+
from cpython.version cimport PY_VERSION_HEX
|
|
6
|
+
|
|
5
7
|
from a_sync import _smart
|
|
6
8
|
from a_sync.a_sync._helpers cimport get_event_loop
|
|
7
9
|
|
|
@@ -80,10 +82,11 @@ cdef object cigather(object coros_or_futures, bint return_exceptions = False):
|
|
|
80
82
|
# If gather is being cancelled we must propagate the
|
|
81
83
|
# cancellation regardless of *return_exceptions* argument.
|
|
82
84
|
# See issue 32684.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
exc = (
|
|
86
|
+
CancelledError()
|
|
87
|
+
if PY_VERSION_HEX < 0x03090000 # Python 3.9
|
|
88
|
+
else fut._make_cancelled_error()
|
|
89
|
+
)
|
|
87
90
|
outer.set_exception(exc)
|
|
88
91
|
else:
|
|
89
92
|
outer.set_result([_get_result_or_exc(child) for child in children])
|
|
@@ -105,10 +108,11 @@ cdef object cigather(object coros_or_futures, bint return_exceptions = False):
|
|
|
105
108
|
# Check if 'fut' is cancelled first, as
|
|
106
109
|
# 'fut.exception()' will *raise* a CancelledError
|
|
107
110
|
# instead of returning it.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
exc = (
|
|
112
|
+
CancelledError()
|
|
113
|
+
if PY_VERSION_HEX < 0x03090000 # Python 3.9
|
|
114
|
+
else fut._make_cancelled_error()
|
|
115
|
+
)
|
|
112
116
|
outer.set_exception(exc)
|
|
113
117
|
return
|
|
114
118
|
else:
|
|
@@ -125,10 +129,11 @@ cdef object cigather(object coros_or_futures, bint return_exceptions = False):
|
|
|
125
129
|
# If gather is being cancelled we must propagate the
|
|
126
130
|
# cancellation regardless of *return_exceptions* argument.
|
|
127
131
|
# See issue 32684.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
exc = (
|
|
133
|
+
CancelledError()
|
|
134
|
+
if PY_VERSION_HEX < 0x03090000 # Python 3.9
|
|
135
|
+
else fut._make_cancelled_error()
|
|
136
|
+
)
|
|
132
137
|
outer.set_exception(exc)
|
|
133
138
|
else:
|
|
134
139
|
outer.set_result([_get_result_or_exc(child) for child in children])
|
|
@@ -162,6 +167,8 @@ cdef object _get_empty_result_set_fut(loop):
|
|
|
162
167
|
|
|
163
168
|
cdef object _get_result_or_exc(fut: asyncio.Future):
|
|
164
169
|
if fut.cancelled():
|
|
170
|
+
if PY_VERSION_HEX < 0x03090000:
|
|
171
|
+
return CancelledError()
|
|
165
172
|
# Check if 'fut' is cancelled first, as 'fut.exception()'
|
|
166
173
|
# will *raise* a CancelledError instead of returning it.
|
|
167
174
|
# Also, since we're adding the exception return value
|
|
@@ -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=F6BKemtVy0XMKg4EsgqzIf1oO_kBFHco7RKYRHAh5hk,917706
|
|
5
|
+
a_sync/_smart.cpython-311-i386-linux-musl.so,sha256=M1jB138FaCMrTVYz4CRXxSBOfqnObM1dYo3KM-g4cjY,978532
|
|
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=5ceSxpdh51l36-fKHHW9YI6lmc8_PlarM8fRIqzlI3A,19773
|
|
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=RfJnHds7wZdPmWg5PYc26nqjOQijqdOMMbGk43tvUhU,589339
|
|
@@ -109,20 +109,20 @@ a_sync/asyncio/as_completed.cpython-311-i386-linux-musl.so,sha256=WnoEoT4DXwwqSX
|
|
|
109
109
|
a_sync/asyncio/as_completed.pxd,sha256=mISE2jdb2jOS0q3TKg0F_k-Zf-d3hzdBNKU1PT-Tn40,162
|
|
110
110
|
a_sync/asyncio/as_completed.pyi,sha256=-VdtfMlX0XdkqJbJm8C0gEAi_BfRbkz3Xkdver6vHs4,3753
|
|
111
111
|
a_sync/asyncio/as_completed.pyx,sha256=ar0gJ3iN6-4Jw8xy6i7KVJ54RnAGt1JWE85Wh6kPF48,9052
|
|
112
|
-
a_sync/asyncio/create_task.c,sha256=
|
|
113
|
-
a_sync/asyncio/create_task.cpython-311-i386-linux-musl.so,sha256=
|
|
112
|
+
a_sync/asyncio/create_task.c,sha256=hx8mAgxWMzPEnVLvW8upI7afOc72rlhANXvgkjAF8Pc,603768
|
|
113
|
+
a_sync/asyncio/create_task.cpython-311-i386-linux-musl.so,sha256=yrE8nHSTZXVXnftVUnSHPwYIApj3iYHlLNyaUZc7CTA,630040
|
|
114
114
|
a_sync/asyncio/create_task.pxd,sha256=x-sZVX-26NoqxYb5mH33uh2Mg-3AqqdYGXx4Ai7xZwU,143
|
|
115
115
|
a_sync/asyncio/create_task.pyi,sha256=5H2z4k_2dGG2QTGjGEgP1N6ITuClYYWzkPbzaeQwKks,1864
|
|
116
|
-
a_sync/asyncio/create_task.pyx,sha256=
|
|
116
|
+
a_sync/asyncio/create_task.pyx,sha256=xB_f3WrTxaJ2h2zgy16VzDTMJtfc-GcTbjeGTGbz7f4,8771
|
|
117
117
|
a_sync/asyncio/gather.c,sha256=MLhPvLSGGCpxgMNtiA8Xcx3nniDOLzMSVYnFbSFWukE,637555
|
|
118
118
|
a_sync/asyncio/gather.cpython-311-i386-linux-musl.so,sha256=qbyve2axcrcTM1MjD1s9oEcH9jfdilwJvfTH_rHZfB4,654992
|
|
119
119
|
a_sync/asyncio/gather.pyi,sha256=7P_GapnZAz4z3xDZeg4wKpM1zD-6nVd15tRzG6b_jKk,4515
|
|
120
120
|
a_sync/asyncio/gather.pyx,sha256=4ALHvhJPQsNtw7b9dsbhwmKpXEbiRzOCjMqagi3sTXs,8566
|
|
121
|
-
a_sync/asyncio/igather.c,sha256=
|
|
122
|
-
a_sync/asyncio/igather.cpython-311-i386-linux-musl.so,sha256=
|
|
121
|
+
a_sync/asyncio/igather.c,sha256=467zCelfZro_nvIgmwbYFmceE45Cibb8JvpTMsKofM8,471337
|
|
122
|
+
a_sync/asyncio/igather.cpython-311-i386-linux-musl.so,sha256=biYOkQ81lT8caj4oOTf2u1OKxk86CVVOSV-2903hnj0,528932
|
|
123
123
|
a_sync/asyncio/igather.pxd,sha256=M9hMUtgp6118pa0ddR9daQubvnceefnbt4pbvEl0doE,71
|
|
124
124
|
a_sync/asyncio/igather.pyi,sha256=ms6FY78h_8D3aiuPsPo0h3AheTzLGy-73ja-s2gmW_A,201
|
|
125
|
-
a_sync/asyncio/igather.pyx,sha256=
|
|
125
|
+
a_sync/asyncio/igather.pyx,sha256=reJZ0Jkbx2MLu-LTrQ_hOPfhEdbFlPEQ9ro98sAcRRA,6574
|
|
126
126
|
a_sync/asyncio/sleep.c,sha256=vrlY1_8dMSyk1ggO6tk5Td43gujjXiJAt2FFUgMMpoU,342937
|
|
127
127
|
a_sync/asyncio/sleep.cpython-311-i386-linux-musl.so,sha256=3_AGh_dgAnRDlZZaq6yQQL8g8glbSjlVpEImzbkqomA,236908
|
|
128
128
|
a_sync/asyncio/sleep.pyi,sha256=ab8OtiZm4Py0-sVQA2pzGVZiHUoTItkJG_Nd02xduuE,537
|
|
@@ -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.16.dist-info/METADATA,sha256=77pIoXhGV52-rxzjyu5uLI0Cry77u9WpKZCB7RpHaiQ,13197
|
|
174
|
+
ez_a_sync-0.32.16.dist-info/WHEEL,sha256=Tvo3dPyAZeB4pKSMLyEy9dJwCWISj00zkZVfm-ErvBw,110
|
|
175
|
+
ez_a_sync-0.32.16.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
|
|
176
|
+
ez_a_sync-0.32.16.dist-info/RECORD,,
|
|
177
|
+
ez_a_sync-0.32.16.dist-info/licenses/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
|
|
File without changes
|
|
File without changes
|
|
File without changes
|