ez-a-sync 0.32.16__cp310-cp310-win32.whl → 0.32.18__cp310-cp310-win32.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.cp310-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +4 -0
- a_sync/a_sync/_descriptor.cp310-win32.pyd +0 -0
- a_sync/a_sync/_flags.cp310-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +4 -0
- a_sync/a_sync/_helpers.cp310-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.cp310-win32.pyd +0 -0
- a_sync/a_sync/_meta.py +2 -2
- a_sync/a_sync/abstract.cp310-win32.pyd +0 -0
- a_sync/a_sync/base.cp310-win32.pyd +0 -0
- a_sync/a_sync/flags.cp310-win32.pyd +0 -0
- a_sync/a_sync/function.c +3494 -3054
- a_sync/a_sync/function.cp310-win32.pyd +0 -0
- a_sync/a_sync/function.pxd +5 -1
- a_sync/a_sync/function.pyx +97 -81
- a_sync/a_sync/method.c +9838 -7638
- a_sync/a_sync/method.cp310-win32.pyd +0 -0
- a_sync/a_sync/method.pxd +8 -1
- a_sync/a_sync/method.pyx +108 -84
- a_sync/a_sync/modifiers/manager.cp310-win32.pyd +0 -0
- a_sync/a_sync/property.c +435 -384
- a_sync/a_sync/property.cp310-win32.pyd +0 -0
- a_sync/a_sync/property.pyx +9 -7
- a_sync/async_property/cached.cp310-win32.pyd +0 -0
- a_sync/async_property/proxy.cp310-win32.pyd +0 -0
- a_sync/asyncio/as_completed.cp310-win32.pyd +0 -0
- a_sync/asyncio/create_task.cp310-win32.pyd +0 -0
- a_sync/asyncio/gather.cp310-win32.pyd +0 -0
- a_sync/asyncio/igather.cp310-win32.pyd +0 -0
- a_sync/asyncio/sleep.cp310-win32.pyd +0 -0
- a_sync/debugging.cp310-win32.pyd +0 -0
- a_sync/exceptions.cp310-win32.pyd +0 -0
- a_sync/functools.cp310-win32.pyd +0 -0
- a_sync/iter.cp310-win32.pyd +0 -0
- a_sync/primitives/_debug.cp310-win32.pyd +0 -0
- a_sync/primitives/_loggable.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/counter.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/event.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.cp310-win32.pyd +0 -0
- a_sync/task.py +1 -1
- a_sync/utils/repr.cp310-win32.pyd +0 -0
- {ez_a_sync-0.32.16.dist-info → ez_a_sync-0.32.18.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.16.dist-info → ez_a_sync-0.32.18.dist-info}/RECORD +47 -47
- {ez_a_sync-0.32.16.dist-info → ez_a_sync-0.32.18.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.16.dist-info → ez_a_sync-0.32.18.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.16.dist-info → ez_a_sync-0.32.18.dist-info}/top_level.txt +0 -0
a_sync/a_sync/property.c
CHANGED
|
@@ -1485,6 +1485,7 @@ static const char *__pyx_f[] = {
|
|
|
1485
1485
|
"a_sync\\\\a_sync\\\\property.pyx",
|
|
1486
1486
|
"a_sync\\\\a_sync\\\\modifiers\\\\manager.pxd",
|
|
1487
1487
|
"a_sync\\\\a_sync\\\\function.pxd",
|
|
1488
|
+
"a_sync\\\\a_sync\\\\method.pxd",
|
|
1488
1489
|
"a_sync\\\\async_property\\\\cached.pxd",
|
|
1489
1490
|
"a_sync\\\\functools.pxd",
|
|
1490
1491
|
};
|
|
@@ -1509,6 +1510,7 @@ static const char *__pyx_f[] = {
|
|
|
1509
1510
|
struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager;
|
|
1510
1511
|
struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin;
|
|
1511
1512
|
struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction;
|
|
1513
|
+
struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod;
|
|
1512
1514
|
struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState;
|
|
1513
1515
|
struct __pyx_obj_6a_sync_9functools_cached_property_unsafe;
|
|
1514
1516
|
struct __pyx_obj_6a_sync_6a_sync_8property___pyx_scope_struct__get;
|
|
@@ -1596,6 +1598,20 @@ struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction {
|
|
|
1596
1598
|
};
|
|
1597
1599
|
|
|
1598
1600
|
|
|
1601
|
+
/* "a_sync/a_sync/method.pxd":2
|
|
1602
|
+
* from a_sync.a_sync.function cimport _ASyncFunction
|
|
1603
|
+
* cdef class _ASyncBoundMethod(_ASyncFunction): # <<<<<<<<<<<<<<
|
|
1604
|
+
* cdef readonly object __weakself__
|
|
1605
|
+
* cdef readonly bint _is_async_def
|
|
1606
|
+
*/
|
|
1607
|
+
struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod {
|
|
1608
|
+
struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction __pyx_base;
|
|
1609
|
+
PyObject *__weakself__;
|
|
1610
|
+
int _is_async_def;
|
|
1611
|
+
PyObject *_cache_handle;
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
|
|
1599
1615
|
/* "a_sync/async_property/cached.pxd":6
|
|
1600
1616
|
* cdef public str ASYNC_PROPERTY_ATTR = "__async_property__"
|
|
1601
1617
|
*
|
|
@@ -1717,10 +1733,29 @@ static struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin *__pyx_v
|
|
|
1717
1733
|
|
|
1718
1734
|
struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction {
|
|
1719
1735
|
struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin __pyx_base;
|
|
1736
|
+
PyObject *(*get_fn)(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction *);
|
|
1737
|
+
int (*is_async_def)(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction *, int __pyx_skip_dispatch);
|
|
1738
|
+
int (*is_sync_default)(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction *, int __pyx_skip_dispatch);
|
|
1739
|
+
int (*_run_sync)(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction *, PyObject *);
|
|
1720
1740
|
};
|
|
1721
1741
|
static struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction *__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction;
|
|
1722
1742
|
|
|
1723
1743
|
|
|
1744
|
+
/* "a_sync/a_sync/method.pxd":2
|
|
1745
|
+
* from a_sync.a_sync.function cimport _ASyncFunction
|
|
1746
|
+
* cdef class _ASyncBoundMethod(_ASyncFunction): # <<<<<<<<<<<<<<
|
|
1747
|
+
* cdef readonly object __weakself__
|
|
1748
|
+
* cdef readonly bint _is_async_def
|
|
1749
|
+
*/
|
|
1750
|
+
|
|
1751
|
+
struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod {
|
|
1752
|
+
struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction __pyx_base;
|
|
1753
|
+
PyObject *(*c_map)(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *, PyObject *, PyObject *, PyObject *, PyObject *);
|
|
1754
|
+
PyObject *(*__pyx___c_self__)(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *);
|
|
1755
|
+
};
|
|
1756
|
+
static struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod;
|
|
1757
|
+
|
|
1758
|
+
|
|
1724
1759
|
/* "a_sync/async_property/cached.pxd":6
|
|
1725
1760
|
* cdef public str ASYNC_PROPERTY_ATTR = "__async_property__"
|
|
1726
1761
|
*
|
|
@@ -2947,7 +2982,7 @@ static PyObject *(*__pyx_f_6a_sync_6a_sync_8_helpers__asyncify)(PyObject *, PyOb
|
|
|
2947
2982
|
|
|
2948
2983
|
/* Module declarations from "a_sync.a_sync.method" */
|
|
2949
2984
|
static int (*__pyx_f_6a_sync_6a_sync_6method__is_a_sync_instance)(PyObject *); /*proto*/
|
|
2950
|
-
static void (*__pyx_f_6a_sync_6a_sync_6method__update_cache_timer)(PyObject *, PyObject *,
|
|
2985
|
+
static void (*__pyx_f_6a_sync_6a_sync_6method__update_cache_timer)(PyObject *, PyObject *, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *); /*proto*/
|
|
2951
2986
|
|
|
2952
2987
|
/* Module declarations from "a_sync.async_property.cached" */
|
|
2953
2988
|
static PyObject **__pyx_vp_6a_sync_14async_property_6cached_ASYNC_PROPERTY_ATTR = 0;
|
|
@@ -3000,7 +3035,6 @@ static const char __pyx_k_e[] = "e";
|
|
|
3000
3035
|
static const char __pyx_k__2[] = "__";
|
|
3001
3036
|
static const char __pyx_k__7[] = "";
|
|
3002
3037
|
static const char __pyx_k_ap[] = "ap";
|
|
3003
|
-
static const char __pyx_k_fn[] = "fn";
|
|
3004
3038
|
static const char __pyx_k_gc[] = "gc";
|
|
3005
3039
|
static const char __pyx_k_Any[] = "Any";
|
|
3006
3040
|
static const char __pyx_k__46[] = "`.";
|
|
@@ -3074,7 +3108,6 @@ static const char __pyx_k_module[] = "__module__";
|
|
|
3074
3108
|
static const char __pyx_k_name_2[] = "__name__";
|
|
3075
3109
|
static const char __pyx_k_return[] = "return";
|
|
3076
3110
|
static const char __pyx_k_retval[] = "retval";
|
|
3077
|
-
static const char __pyx_k_self_2[] = "__self__";
|
|
3078
3111
|
static const char __pyx_k_setter[] = "setter";
|
|
3079
3112
|
static const char __pyx_k_typing[] = "typing";
|
|
3080
3113
|
static const char __pyx_k_Literal[] = "Literal";
|
|
@@ -3310,8 +3343,8 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_50__defaults__(CYTHON_UNUSED
|
|
|
3310
3343
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_42a_sync_cached_property(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_func, CYTHON_UNUSED PyObject *__pyx_v_default, CYTHON_UNUSED PyObject *__pyx_v_modifiers); /* proto */
|
|
3311
3344
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_44a_sync_cached_property(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_func, PyObject *__pyx_v_modifiers); /* proto */
|
|
3312
3345
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_instance, PyObject *__pyx_v_unbound, PyObject *__pyx_v_async_def, PyObject *__pyx_v_field_name, PyObject *__pyx_v_modifiers); /* proto */
|
|
3313
|
-
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYTHON_UNUSED PyObject *__pyx_self,
|
|
3314
|
-
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CYTHON_UNUSED PyObject *__pyx_self,
|
|
3346
|
+
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self); /* proto */
|
|
3347
|
+
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self); /* proto */
|
|
3315
3348
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v__fget, PyObject *__pyx_v_field_name, PyObject *__pyx_v_modifiers); /* proto */
|
|
3316
3349
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__get__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin *__pyx_v_self, PyObject *__pyx_v_instance, CYTHON_UNUSED PyObject *__pyx_v_owner); /* proto */
|
|
3317
3350
|
static PyObject *__pyx_tp_new_6a_sync_6a_sync_8property___pyx_scope_struct__get(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
|
|
@@ -3358,6 +3391,7 @@ typedef struct {
|
|
|
3358
3391
|
PyTypeObject *__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction;
|
|
3359
3392
|
#if CYTHON_USE_MODULE_STATE
|
|
3360
3393
|
#endif
|
|
3394
|
+
PyTypeObject *__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod;
|
|
3361
3395
|
#if CYTHON_USE_MODULE_STATE
|
|
3362
3396
|
#endif
|
|
3363
3397
|
PyTypeObject *__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState;
|
|
@@ -3564,7 +3598,6 @@ typedef struct {
|
|
|
3564
3598
|
PyObject *__pyx_n_s_fget;
|
|
3565
3599
|
PyObject *__pyx_n_u_fget;
|
|
3566
3600
|
PyObject *__pyx_n_s_field_name;
|
|
3567
|
-
PyObject *__pyx_n_s_fn;
|
|
3568
3601
|
PyObject *__pyx_kp_u_for_property_bound_to;
|
|
3569
3602
|
PyObject *__pyx_n_s_format;
|
|
3570
3603
|
PyObject *__pyx_n_s_fset;
|
|
@@ -3634,7 +3667,6 @@ typedef struct {
|
|
|
3634
3667
|
PyObject *__pyx_kp_u_returning_s_for_s_for_instance_s;
|
|
3635
3668
|
PyObject *__pyx_n_s_retval;
|
|
3636
3669
|
PyObject *__pyx_n_s_self;
|
|
3637
|
-
PyObject *__pyx_n_s_self_2;
|
|
3638
3670
|
PyObject *__pyx_n_s_send;
|
|
3639
3671
|
PyObject *__pyx_n_s_set_name;
|
|
3640
3672
|
PyObject *__pyx_n_u_setter;
|
|
@@ -3769,6 +3801,7 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
3769
3801
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
|
|
3770
3802
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin);
|
|
3771
3803
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction);
|
|
3804
|
+
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod);
|
|
3772
3805
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState);
|
|
3773
3806
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_9functools_cached_property_unsafe);
|
|
3774
3807
|
Py_CLEAR(clear_module_state->__pyx_ptype_6a_sync_6a_sync_8property___pyx_scope_struct__get);
|
|
@@ -3967,7 +4000,6 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
3967
4000
|
Py_CLEAR(clear_module_state->__pyx_n_s_fget);
|
|
3968
4001
|
Py_CLEAR(clear_module_state->__pyx_n_u_fget);
|
|
3969
4002
|
Py_CLEAR(clear_module_state->__pyx_n_s_field_name);
|
|
3970
|
-
Py_CLEAR(clear_module_state->__pyx_n_s_fn);
|
|
3971
4003
|
Py_CLEAR(clear_module_state->__pyx_kp_u_for_property_bound_to);
|
|
3972
4004
|
Py_CLEAR(clear_module_state->__pyx_n_s_format);
|
|
3973
4005
|
Py_CLEAR(clear_module_state->__pyx_n_s_fset);
|
|
@@ -4037,7 +4069,6 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
4037
4069
|
Py_CLEAR(clear_module_state->__pyx_kp_u_returning_s_for_s_for_instance_s);
|
|
4038
4070
|
Py_CLEAR(clear_module_state->__pyx_n_s_retval);
|
|
4039
4071
|
Py_CLEAR(clear_module_state->__pyx_n_s_self);
|
|
4040
|
-
Py_CLEAR(clear_module_state->__pyx_n_s_self_2);
|
|
4041
4072
|
Py_CLEAR(clear_module_state->__pyx_n_s_send);
|
|
4042
4073
|
Py_CLEAR(clear_module_state->__pyx_n_s_set_name);
|
|
4043
4074
|
Py_CLEAR(clear_module_state->__pyx_n_u_setter);
|
|
@@ -4150,6 +4181,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4150
4181
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
|
|
4151
4182
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin);
|
|
4152
4183
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction);
|
|
4184
|
+
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod);
|
|
4153
4185
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState);
|
|
4154
4186
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_9functools_cached_property_unsafe);
|
|
4155
4187
|
Py_VISIT(traverse_module_state->__pyx_ptype_6a_sync_6a_sync_8property___pyx_scope_struct__get);
|
|
@@ -4348,7 +4380,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4348
4380
|
Py_VISIT(traverse_module_state->__pyx_n_s_fget);
|
|
4349
4381
|
Py_VISIT(traverse_module_state->__pyx_n_u_fget);
|
|
4350
4382
|
Py_VISIT(traverse_module_state->__pyx_n_s_field_name);
|
|
4351
|
-
Py_VISIT(traverse_module_state->__pyx_n_s_fn);
|
|
4352
4383
|
Py_VISIT(traverse_module_state->__pyx_kp_u_for_property_bound_to);
|
|
4353
4384
|
Py_VISIT(traverse_module_state->__pyx_n_s_format);
|
|
4354
4385
|
Py_VISIT(traverse_module_state->__pyx_n_s_fset);
|
|
@@ -4418,7 +4449,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4418
4449
|
Py_VISIT(traverse_module_state->__pyx_kp_u_returning_s_for_s_for_instance_s);
|
|
4419
4450
|
Py_VISIT(traverse_module_state->__pyx_n_s_retval);
|
|
4420
4451
|
Py_VISIT(traverse_module_state->__pyx_n_s_self);
|
|
4421
|
-
Py_VISIT(traverse_module_state->__pyx_n_s_self_2);
|
|
4422
4452
|
Py_VISIT(traverse_module_state->__pyx_n_s_send);
|
|
4423
4453
|
Py_VISIT(traverse_module_state->__pyx_n_s_set_name);
|
|
4424
4454
|
Py_VISIT(traverse_module_state->__pyx_n_u_setter);
|
|
@@ -4549,6 +4579,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4549
4579
|
#define __pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction __pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction
|
|
4550
4580
|
#if CYTHON_USE_MODULE_STATE
|
|
4551
4581
|
#endif
|
|
4582
|
+
#define __pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod __pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod
|
|
4552
4583
|
#if CYTHON_USE_MODULE_STATE
|
|
4553
4584
|
#endif
|
|
4554
4585
|
#define __pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState __pyx_mstate_global->__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState
|
|
@@ -4755,7 +4786,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4755
4786
|
#define __pyx_n_s_fget __pyx_mstate_global->__pyx_n_s_fget
|
|
4756
4787
|
#define __pyx_n_u_fget __pyx_mstate_global->__pyx_n_u_fget
|
|
4757
4788
|
#define __pyx_n_s_field_name __pyx_mstate_global->__pyx_n_s_field_name
|
|
4758
|
-
#define __pyx_n_s_fn __pyx_mstate_global->__pyx_n_s_fn
|
|
4759
4789
|
#define __pyx_kp_u_for_property_bound_to __pyx_mstate_global->__pyx_kp_u_for_property_bound_to
|
|
4760
4790
|
#define __pyx_n_s_format __pyx_mstate_global->__pyx_n_s_format
|
|
4761
4791
|
#define __pyx_n_s_fset __pyx_mstate_global->__pyx_n_s_fset
|
|
@@ -4825,7 +4855,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
4825
4855
|
#define __pyx_kp_u_returning_s_for_s_for_instance_s __pyx_mstate_global->__pyx_kp_u_returning_s_for_s_for_instance_s
|
|
4826
4856
|
#define __pyx_n_s_retval __pyx_mstate_global->__pyx_n_s_retval
|
|
4827
4857
|
#define __pyx_n_s_self __pyx_mstate_global->__pyx_n_s_self
|
|
4828
|
-
#define __pyx_n_s_self_2 __pyx_mstate_global->__pyx_n_s_self_2
|
|
4829
4858
|
#define __pyx_n_s_send __pyx_mstate_global->__pyx_n_s_send
|
|
4830
4859
|
#define __pyx_n_s_set_name __pyx_mstate_global->__pyx_n_s_set_name
|
|
4831
4860
|
#define __pyx_n_u_setter __pyx_mstate_global->__pyx_n_u_setter
|
|
@@ -13752,48 +13781,48 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod___init__(CYTH
|
|
|
13752
13781
|
__Pyx_RefNannySetupContext("__init__", 1);
|
|
13753
13782
|
__Pyx_TraceCall("__init__", __pyx_f[0], 693, 0, __PYX_ERR(0, 693, __pyx_L1_error));
|
|
13754
13783
|
|
|
13755
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13756
|
-
* **modifiers: Additional modifier arguments.
|
|
13784
|
+
/* "a_sync/a_sync/property.pyx":711
|
|
13757
13785
|
* """
|
|
13786
|
+
* # TODO: copy __init_subclass__ to this class and then use _ASyncBoundMethod.__init__ instead
|
|
13758
13787
|
* ASyncBoundMethod.__init__(self, instance, unbound, async_def, **modifiers) # <<<<<<<<<<<<<<
|
|
13759
13788
|
* self.__name__ = field_name
|
|
13760
13789
|
* """The name of the hidden method."""
|
|
13761
13790
|
*/
|
|
13762
|
-
__Pyx_TraceLine(
|
|
13763
|
-
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_6a_sync_6a_sync_8property_ASyncBoundMethod, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
13791
|
+
__Pyx_TraceLine(711,0,__PYX_ERR(0, 711, __pyx_L1_error))
|
|
13792
|
+
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_6a_sync_6a_sync_8property_ASyncBoundMethod, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 711, __pyx_L1_error)
|
|
13764
13793
|
__Pyx_GOTREF(__pyx_t_1);
|
|
13765
|
-
__pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
13794
|
+
__pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 711, __pyx_L1_error)
|
|
13766
13795
|
__Pyx_GOTREF(__pyx_t_2);
|
|
13767
13796
|
__Pyx_INCREF(__pyx_v_self);
|
|
13768
13797
|
__Pyx_GIVEREF(__pyx_v_self);
|
|
13769
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self)) __PYX_ERR(0,
|
|
13798
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self)) __PYX_ERR(0, 711, __pyx_L1_error);
|
|
13770
13799
|
__Pyx_INCREF(__pyx_v_instance);
|
|
13771
13800
|
__Pyx_GIVEREF(__pyx_v_instance);
|
|
13772
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_instance)) __PYX_ERR(0,
|
|
13801
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_instance)) __PYX_ERR(0, 711, __pyx_L1_error);
|
|
13773
13802
|
__Pyx_INCREF(__pyx_v_unbound);
|
|
13774
13803
|
__Pyx_GIVEREF(__pyx_v_unbound);
|
|
13775
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_unbound)) __PYX_ERR(0,
|
|
13804
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_unbound)) __PYX_ERR(0, 711, __pyx_L1_error);
|
|
13776
13805
|
__Pyx_INCREF(__pyx_v_async_def);
|
|
13777
13806
|
__Pyx_GIVEREF(__pyx_v_async_def);
|
|
13778
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_async_def)) __PYX_ERR(0,
|
|
13779
|
-
__pyx_t_3 = PyDict_Copy(__pyx_v_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
13807
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_async_def)) __PYX_ERR(0, 711, __pyx_L1_error);
|
|
13808
|
+
__pyx_t_3 = PyDict_Copy(__pyx_v_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 711, __pyx_L1_error)
|
|
13780
13809
|
__Pyx_GOTREF(__pyx_t_3);
|
|
13781
|
-
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
13810
|
+
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 711, __pyx_L1_error)
|
|
13782
13811
|
__Pyx_GOTREF(__pyx_t_4);
|
|
13783
13812
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
13784
13813
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
13785
13814
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
13786
13815
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
13787
13816
|
|
|
13788
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13789
|
-
*
|
|
13817
|
+
/* "a_sync/a_sync/property.pyx":712
|
|
13818
|
+
* # TODO: copy __init_subclass__ to this class and then use _ASyncBoundMethod.__init__ instead
|
|
13790
13819
|
* ASyncBoundMethod.__init__(self, instance, unbound, async_def, **modifiers)
|
|
13791
13820
|
* self.__name__ = field_name # <<<<<<<<<<<<<<
|
|
13792
13821
|
* """The name of the hidden method."""
|
|
13793
13822
|
*
|
|
13794
13823
|
*/
|
|
13795
|
-
__Pyx_TraceLine(
|
|
13796
|
-
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name_2, __pyx_v_field_name) < 0) __PYX_ERR(0,
|
|
13824
|
+
__Pyx_TraceLine(712,0,__PYX_ERR(0, 712, __pyx_L1_error))
|
|
13825
|
+
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name_2, __pyx_v_field_name) < 0) __PYX_ERR(0, 712, __pyx_L1_error)
|
|
13797
13826
|
|
|
13798
13827
|
/* "a_sync/a_sync/property.pyx":693
|
|
13799
13828
|
* """
|
|
@@ -13820,12 +13849,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod___init__(CYTH
|
|
|
13820
13849
|
return __pyx_r;
|
|
13821
13850
|
}
|
|
13822
13851
|
|
|
13823
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13852
|
+
/* "a_sync/a_sync/property.pyx":715
|
|
13824
13853
|
* """The name of the hidden method."""
|
|
13825
13854
|
*
|
|
13826
|
-
* def __repr__(self) -> str: # <<<<<<<<<<<<<<
|
|
13855
|
+
* def __repr__(_ASyncBoundMethod self) -> str: # <<<<<<<<<<<<<<
|
|
13827
13856
|
* """Returns a string representation of the HiddenMethod."""
|
|
13828
|
-
*
|
|
13857
|
+
* instance = self.__c_self__()
|
|
13829
13858
|
*/
|
|
13830
13859
|
|
|
13831
13860
|
/* Python wrapper */
|
|
@@ -13836,7 +13865,7 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
|
|
|
13836
13865
|
PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
13837
13866
|
#endif
|
|
13838
13867
|
); /*proto*/
|
|
13839
|
-
PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__, "HiddenMethod.__repr__(self) -> str\nReturns a string representation of the HiddenMethod.");
|
|
13868
|
+
PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__, "HiddenMethod.__repr__(_ASyncBoundMethod self) -> str\nReturns a string representation of the HiddenMethod.");
|
|
13840
13869
|
static PyMethodDef __pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_3__repr__ = {"__repr__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_8property_12HiddenMethod_3__repr__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__};
|
|
13841
13870
|
static PyObject *__pyx_pw_6a_sync_6a_sync_8property_12HiddenMethod_3__repr__(PyObject *__pyx_self,
|
|
13842
13871
|
#if CYTHON_METH_FASTCALL
|
|
@@ -13845,7 +13874,7 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
|
|
|
13845
13874
|
PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
13846
13875
|
#endif
|
|
13847
13876
|
) {
|
|
13848
|
-
|
|
13877
|
+
struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self = 0;
|
|
13849
13878
|
#if !CYTHON_METH_FASTCALL
|
|
13850
13879
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
13851
13880
|
#endif
|
|
@@ -13882,23 +13911,23 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
13882
13911
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
|
|
13883
13912
|
kw_args--;
|
|
13884
13913
|
}
|
|
13885
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
13914
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 715, __pyx_L3_error)
|
|
13886
13915
|
else goto __pyx_L5_argtuple_error;
|
|
13887
13916
|
}
|
|
13888
13917
|
if (unlikely(kw_args > 0)) {
|
|
13889
13918
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
13890
|
-
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__repr__") < 0)) __PYX_ERR(0,
|
|
13919
|
+
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__repr__") < 0)) __PYX_ERR(0, 715, __pyx_L3_error)
|
|
13891
13920
|
}
|
|
13892
13921
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
13893
13922
|
goto __pyx_L5_argtuple_error;
|
|
13894
13923
|
} else {
|
|
13895
13924
|
values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
|
|
13896
13925
|
}
|
|
13897
|
-
__pyx_v_self = values[0];
|
|
13926
|
+
__pyx_v_self = ((struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)values[0]);
|
|
13898
13927
|
}
|
|
13899
13928
|
goto __pyx_L6_skip;
|
|
13900
13929
|
__pyx_L5_argtuple_error:;
|
|
13901
|
-
__Pyx_RaiseArgtupleInvalid("__repr__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
13930
|
+
__Pyx_RaiseArgtupleInvalid("__repr__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 715, __pyx_L3_error)
|
|
13902
13931
|
__pyx_L6_skip:;
|
|
13903
13932
|
goto __pyx_L4_argument_unpacking_done;
|
|
13904
13933
|
__pyx_L3_error:;
|
|
@@ -13912,9 +13941,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
13912
13941
|
__Pyx_RefNannyFinishContext();
|
|
13913
13942
|
return NULL;
|
|
13914
13943
|
__pyx_L4_argument_unpacking_done:;
|
|
13944
|
+
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_self), __pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod, 1, "self", 0))) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
13915
13945
|
__pyx_r = __pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(__pyx_self, __pyx_v_self);
|
|
13916
13946
|
|
|
13917
13947
|
/* function exit code */
|
|
13948
|
+
goto __pyx_L0;
|
|
13949
|
+
__pyx_L1_error:;
|
|
13950
|
+
__pyx_r = NULL;
|
|
13951
|
+
__pyx_L0:;
|
|
13918
13952
|
{
|
|
13919
13953
|
Py_ssize_t __pyx_temp;
|
|
13920
13954
|
for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
|
|
@@ -13925,7 +13959,8 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
13925
13959
|
return __pyx_r;
|
|
13926
13960
|
}
|
|
13927
13961
|
|
|
13928
|
-
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYTHON_UNUSED PyObject *__pyx_self,
|
|
13962
|
+
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self) {
|
|
13963
|
+
PyObject *__pyx_v_instance = NULL;
|
|
13929
13964
|
PyTypeObject *__pyx_v_instance_type = NULL;
|
|
13930
13965
|
PyObject *__pyx_r = NULL;
|
|
13931
13966
|
__Pyx_TraceDeclarations
|
|
@@ -13937,148 +13972,154 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYT
|
|
|
13937
13972
|
PyObject *__pyx_t_5 = NULL;
|
|
13938
13973
|
PyObject *__pyx_t_6 = NULL;
|
|
13939
13974
|
PyObject *__pyx_t_7 = NULL;
|
|
13940
|
-
|
|
13941
|
-
unsigned int __pyx_t_9;
|
|
13975
|
+
unsigned int __pyx_t_8;
|
|
13942
13976
|
int __pyx_lineno = 0;
|
|
13943
13977
|
const char *__pyx_filename = NULL;
|
|
13944
13978
|
int __pyx_clineno = 0;
|
|
13945
13979
|
__Pyx_TraceFrameInit(__pyx_codeobj__42)
|
|
13946
13980
|
__Pyx_RefNannySetupContext("__repr__", 1);
|
|
13947
|
-
__Pyx_TraceCall("__repr__", __pyx_f[0],
|
|
13981
|
+
__Pyx_TraceCall("__repr__", __pyx_f[0], 715, 0, __PYX_ERR(0, 715, __pyx_L1_error));
|
|
13948
13982
|
|
|
13949
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13950
|
-
* def __repr__(self) -> str:
|
|
13983
|
+
/* "a_sync/a_sync/property.pyx":717
|
|
13984
|
+
* def __repr__(_ASyncBoundMethod self) -> str:
|
|
13951
13985
|
* """Returns a string representation of the HiddenMethod."""
|
|
13952
|
-
*
|
|
13986
|
+
* instance = self.__c_self__() # <<<<<<<<<<<<<<
|
|
13987
|
+
* instance_type = type(instance)
|
|
13953
13988
|
* return "<{} for property {}.{}.{} bound to {}>".format(
|
|
13954
|
-
* self.__class__.__name__,
|
|
13955
13989
|
*/
|
|
13956
|
-
__Pyx_TraceLine(
|
|
13957
|
-
__pyx_t_1 =
|
|
13990
|
+
__Pyx_TraceLine(717,0,__PYX_ERR(0, 717, __pyx_L1_error))
|
|
13991
|
+
__pyx_t_1 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx___c_self__(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 717, __pyx_L1_error)
|
|
13958
13992
|
__Pyx_GOTREF(__pyx_t_1);
|
|
13959
|
-
|
|
13960
|
-
|
|
13961
|
-
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
13993
|
+
__pyx_v_instance = __pyx_t_1;
|
|
13994
|
+
__pyx_t_1 = 0;
|
|
13962
13995
|
|
|
13963
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13996
|
+
/* "a_sync/a_sync/property.pyx":718
|
|
13964
13997
|
* """Returns a string representation of the HiddenMethod."""
|
|
13965
|
-
*
|
|
13998
|
+
* instance = self.__c_self__()
|
|
13999
|
+
* instance_type = type(instance) # <<<<<<<<<<<<<<
|
|
14000
|
+
* return "<{} for property {}.{}.{} bound to {}>".format(
|
|
14001
|
+
* self.__class__.__name__,
|
|
14002
|
+
*/
|
|
14003
|
+
__Pyx_TraceLine(718,0,__PYX_ERR(0, 718, __pyx_L1_error))
|
|
14004
|
+
__Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_instance)));
|
|
14005
|
+
__pyx_v_instance_type = ((PyTypeObject*)((PyObject *)Py_TYPE(__pyx_v_instance)));
|
|
14006
|
+
|
|
14007
|
+
/* "a_sync/a_sync/property.pyx":719
|
|
14008
|
+
* instance = self.__c_self__()
|
|
14009
|
+
* instance_type = type(instance)
|
|
13966
14010
|
* return "<{} for property {}.{}.{} bound to {}>".format( # <<<<<<<<<<<<<<
|
|
13967
14011
|
* self.__class__.__name__,
|
|
13968
14012
|
* instance_type.__module__,
|
|
13969
14013
|
*/
|
|
13970
|
-
__Pyx_TraceLine(
|
|
14014
|
+
__Pyx_TraceLine(719,0,__PYX_ERR(0, 719, __pyx_L1_error))
|
|
13971
14015
|
__Pyx_XDECREF(__pyx_r);
|
|
13972
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_for_property_bound_to, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14016
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_for_property_bound_to, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 719, __pyx_L1_error)
|
|
13973
14017
|
__Pyx_GOTREF(__pyx_t_2);
|
|
13974
14018
|
|
|
13975
|
-
/* "a_sync/a_sync/property.pyx":
|
|
13976
|
-
* instance_type = type(
|
|
14019
|
+
/* "a_sync/a_sync/property.pyx":720
|
|
14020
|
+
* instance_type = type(instance)
|
|
13977
14021
|
* return "<{} for property {}.{}.{} bound to {}>".format(
|
|
13978
14022
|
* self.__class__.__name__, # <<<<<<<<<<<<<<
|
|
13979
14023
|
* instance_type.__module__,
|
|
13980
14024
|
* instance_type.__name__,
|
|
13981
14025
|
*/
|
|
13982
|
-
__Pyx_TraceLine(
|
|
13983
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14026
|
+
__Pyx_TraceLine(720,0,__PYX_ERR(0, 720, __pyx_L1_error))
|
|
14027
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 720, __pyx_L1_error)
|
|
13984
14028
|
__Pyx_GOTREF(__pyx_t_3);
|
|
13985
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14029
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 720, __pyx_L1_error)
|
|
13986
14030
|
__Pyx_GOTREF(__pyx_t_4);
|
|
13987
14031
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
13988
14032
|
|
|
13989
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14033
|
+
/* "a_sync/a_sync/property.pyx":721
|
|
13990
14034
|
* return "<{} for property {}.{}.{} bound to {}>".format(
|
|
13991
14035
|
* self.__class__.__name__,
|
|
13992
14036
|
* instance_type.__module__, # <<<<<<<<<<<<<<
|
|
13993
14037
|
* instance_type.__name__,
|
|
13994
14038
|
* self.__name__[2:-2],
|
|
13995
14039
|
*/
|
|
13996
|
-
__Pyx_TraceLine(
|
|
13997
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_instance_type), __pyx_n_s_module); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14040
|
+
__Pyx_TraceLine(721,0,__PYX_ERR(0, 721, __pyx_L1_error))
|
|
14041
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_instance_type), __pyx_n_s_module); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 721, __pyx_L1_error)
|
|
13998
14042
|
__Pyx_GOTREF(__pyx_t_3);
|
|
13999
14043
|
|
|
14000
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14044
|
+
/* "a_sync/a_sync/property.pyx":722
|
|
14001
14045
|
* self.__class__.__name__,
|
|
14002
14046
|
* instance_type.__module__,
|
|
14003
14047
|
* instance_type.__name__, # <<<<<<<<<<<<<<
|
|
14004
14048
|
* self.__name__[2:-2],
|
|
14005
|
-
*
|
|
14049
|
+
* instance,
|
|
14006
14050
|
*/
|
|
14007
|
-
__Pyx_TraceLine(
|
|
14008
|
-
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_instance_type), __pyx_n_s_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
14051
|
+
__Pyx_TraceLine(722,0,__PYX_ERR(0, 722, __pyx_L1_error))
|
|
14052
|
+
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_instance_type), __pyx_n_s_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 722, __pyx_L1_error)
|
|
14009
14053
|
__Pyx_GOTREF(__pyx_t_5);
|
|
14010
14054
|
|
|
14011
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14055
|
+
/* "a_sync/a_sync/property.pyx":723
|
|
14012
14056
|
* instance_type.__module__,
|
|
14013
14057
|
* instance_type.__name__,
|
|
14014
14058
|
* self.__name__[2:-2], # <<<<<<<<<<<<<<
|
|
14015
|
-
*
|
|
14059
|
+
* instance,
|
|
14016
14060
|
* )
|
|
14017
14061
|
*/
|
|
14018
|
-
__Pyx_TraceLine(
|
|
14019
|
-
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
14062
|
+
__Pyx_TraceLine(723,0,__PYX_ERR(0, 723, __pyx_L1_error))
|
|
14063
|
+
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 723, __pyx_L1_error)
|
|
14020
14064
|
__Pyx_GOTREF(__pyx_t_6);
|
|
14021
|
-
__pyx_t_7 = __Pyx_PyObject_GetSlice(__pyx_t_6, 2, -2L, NULL, NULL, &__pyx_slice__43, 1, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
14065
|
+
__pyx_t_7 = __Pyx_PyObject_GetSlice(__pyx_t_6, 2, -2L, NULL, NULL, &__pyx_slice__43, 1, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 723, __pyx_L1_error)
|
|
14022
14066
|
__Pyx_GOTREF(__pyx_t_7);
|
|
14023
14067
|
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
14024
14068
|
|
|
14025
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14069
|
+
/* "a_sync/a_sync/property.pyx":724
|
|
14026
14070
|
* instance_type.__name__,
|
|
14027
14071
|
* self.__name__[2:-2],
|
|
14028
|
-
*
|
|
14072
|
+
* instance, # <<<<<<<<<<<<<<
|
|
14029
14073
|
* )
|
|
14030
14074
|
*
|
|
14031
14075
|
*/
|
|
14032
|
-
__Pyx_TraceLine(
|
|
14033
|
-
__pyx_t_6 =
|
|
14034
|
-
|
|
14035
|
-
__pyx_t_8 = NULL;
|
|
14036
|
-
__pyx_t_9 = 0;
|
|
14076
|
+
__Pyx_TraceLine(724,0,__PYX_ERR(0, 724, __pyx_L1_error))
|
|
14077
|
+
__pyx_t_6 = NULL;
|
|
14078
|
+
__pyx_t_8 = 0;
|
|
14037
14079
|
#if CYTHON_UNPACK_METHODS
|
|
14038
14080
|
if (likely(PyMethod_Check(__pyx_t_2))) {
|
|
14039
|
-
|
|
14040
|
-
if (likely(
|
|
14081
|
+
__pyx_t_6 = PyMethod_GET_SELF(__pyx_t_2);
|
|
14082
|
+
if (likely(__pyx_t_6)) {
|
|
14041
14083
|
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
|
|
14042
|
-
__Pyx_INCREF(
|
|
14084
|
+
__Pyx_INCREF(__pyx_t_6);
|
|
14043
14085
|
__Pyx_INCREF(function);
|
|
14044
14086
|
__Pyx_DECREF_SET(__pyx_t_2, function);
|
|
14045
|
-
|
|
14087
|
+
__pyx_t_8 = 1;
|
|
14046
14088
|
}
|
|
14047
14089
|
}
|
|
14048
14090
|
#endif
|
|
14049
14091
|
{
|
|
14050
|
-
PyObject *__pyx_callargs[6] = {
|
|
14051
|
-
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-
|
|
14052
|
-
__Pyx_XDECREF(
|
|
14092
|
+
PyObject *__pyx_callargs[6] = {__pyx_t_6, __pyx_t_4, __pyx_t_3, __pyx_t_5, __pyx_t_7, __pyx_v_instance};
|
|
14093
|
+
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_8, 5+__pyx_t_8);
|
|
14094
|
+
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
14053
14095
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14054
14096
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14055
14097
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
14056
14098
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
14057
|
-
|
|
14058
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 717, __pyx_L1_error)
|
|
14099
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 719, __pyx_L1_error)
|
|
14059
14100
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14060
14101
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14061
14102
|
}
|
|
14062
14103
|
|
|
14063
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14064
|
-
*
|
|
14065
|
-
* instance_type = type(
|
|
14104
|
+
/* "a_sync/a_sync/property.pyx":719
|
|
14105
|
+
* instance = self.__c_self__()
|
|
14106
|
+
* instance_type = type(instance)
|
|
14066
14107
|
* return "<{} for property {}.{}.{} bound to {}>".format( # <<<<<<<<<<<<<<
|
|
14067
14108
|
* self.__class__.__name__,
|
|
14068
14109
|
* instance_type.__module__,
|
|
14069
14110
|
*/
|
|
14070
|
-
__Pyx_TraceLine(
|
|
14071
|
-
if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0,
|
|
14111
|
+
__Pyx_TraceLine(719,0,__PYX_ERR(0, 719, __pyx_L1_error))
|
|
14112
|
+
if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0, 719, __pyx_L1_error)
|
|
14072
14113
|
__pyx_r = ((PyObject*)__pyx_t_1);
|
|
14073
14114
|
__pyx_t_1 = 0;
|
|
14074
14115
|
goto __pyx_L0;
|
|
14075
14116
|
|
|
14076
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14117
|
+
/* "a_sync/a_sync/property.pyx":715
|
|
14077
14118
|
* """The name of the hidden method."""
|
|
14078
14119
|
*
|
|
14079
|
-
* def __repr__(self) -> str: # <<<<<<<<<<<<<<
|
|
14120
|
+
* def __repr__(_ASyncBoundMethod self) -> str: # <<<<<<<<<<<<<<
|
|
14080
14121
|
* """Returns a string representation of the HiddenMethod."""
|
|
14081
|
-
*
|
|
14122
|
+
* instance = self.__c_self__()
|
|
14082
14123
|
*/
|
|
14083
14124
|
|
|
14084
14125
|
/* function exit code */
|
|
@@ -14090,10 +14131,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYT
|
|
|
14090
14131
|
__Pyx_XDECREF(__pyx_t_5);
|
|
14091
14132
|
__Pyx_XDECREF(__pyx_t_6);
|
|
14092
14133
|
__Pyx_XDECREF(__pyx_t_7);
|
|
14093
|
-
__Pyx_XDECREF(__pyx_t_8);
|
|
14094
14134
|
__Pyx_AddTraceback("a_sync.a_sync.property.HiddenMethod.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
14095
14135
|
__pyx_r = NULL;
|
|
14096
14136
|
__pyx_L0:;
|
|
14137
|
+
__Pyx_XDECREF(__pyx_v_instance);
|
|
14097
14138
|
__Pyx_XDECREF((PyObject *)__pyx_v_instance_type);
|
|
14098
14139
|
__Pyx_XGIVEREF(__pyx_r);
|
|
14099
14140
|
__Pyx_TraceReturn(__pyx_r, 0);
|
|
@@ -14101,10 +14142,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_2__repr__(CYT
|
|
|
14101
14142
|
return __pyx_r;
|
|
14102
14143
|
}
|
|
14103
14144
|
|
|
14104
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14145
|
+
/* "a_sync/a_sync/property.pyx":727
|
|
14105
14146
|
* )
|
|
14106
14147
|
*
|
|
14107
|
-
* def __await__(self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
14148
|
+
* def __await__(_ASyncBoundMethod self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
14108
14149
|
* """Returns an awaitable for the method."""
|
|
14109
14150
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
14110
14151
|
*/
|
|
@@ -14117,7 +14158,7 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
|
|
|
14117
14158
|
PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
14118
14159
|
#endif
|
|
14119
14160
|
); /*proto*/
|
|
14120
|
-
PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_4__await__, "HiddenMethod.__await__(self) -> Generator[Any, None, T]\nReturns an awaitable for the method.");
|
|
14161
|
+
PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_4__await__, "HiddenMethod.__await__(_ASyncBoundMethod self) -> Generator[Any, None, T]\nReturns an awaitable for the method.");
|
|
14121
14162
|
static PyMethodDef __pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_5__await__ = {"__await__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_8property_12HiddenMethod_5__await__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_8property_12HiddenMethod_4__await__};
|
|
14122
14163
|
static PyObject *__pyx_pw_6a_sync_6a_sync_8property_12HiddenMethod_5__await__(PyObject *__pyx_self,
|
|
14123
14164
|
#if CYTHON_METH_FASTCALL
|
|
@@ -14126,7 +14167,7 @@ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
|
|
|
14126
14167
|
PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
14127
14168
|
#endif
|
|
14128
14169
|
) {
|
|
14129
|
-
|
|
14170
|
+
struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self = 0;
|
|
14130
14171
|
#if !CYTHON_METH_FASTCALL
|
|
14131
14172
|
CYTHON_UNUSED Py_ssize_t __pyx_nargs;
|
|
14132
14173
|
#endif
|
|
@@ -14163,23 +14204,23 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14163
14204
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
|
|
14164
14205
|
kw_args--;
|
|
14165
14206
|
}
|
|
14166
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14207
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 727, __pyx_L3_error)
|
|
14167
14208
|
else goto __pyx_L5_argtuple_error;
|
|
14168
14209
|
}
|
|
14169
14210
|
if (unlikely(kw_args > 0)) {
|
|
14170
14211
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
14171
|
-
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__await__") < 0)) __PYX_ERR(0,
|
|
14212
|
+
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__await__") < 0)) __PYX_ERR(0, 727, __pyx_L3_error)
|
|
14172
14213
|
}
|
|
14173
14214
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
14174
14215
|
goto __pyx_L5_argtuple_error;
|
|
14175
14216
|
} else {
|
|
14176
14217
|
values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
|
|
14177
14218
|
}
|
|
14178
|
-
__pyx_v_self = values[0];
|
|
14219
|
+
__pyx_v_self = ((struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)values[0]);
|
|
14179
14220
|
}
|
|
14180
14221
|
goto __pyx_L6_skip;
|
|
14181
14222
|
__pyx_L5_argtuple_error:;
|
|
14182
|
-
__Pyx_RaiseArgtupleInvalid("__await__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
14223
|
+
__Pyx_RaiseArgtupleInvalid("__await__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 727, __pyx_L3_error)
|
|
14183
14224
|
__pyx_L6_skip:;
|
|
14184
14225
|
goto __pyx_L4_argument_unpacking_done;
|
|
14185
14226
|
__pyx_L3_error:;
|
|
@@ -14193,9 +14234,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14193
14234
|
__Pyx_RefNannyFinishContext();
|
|
14194
14235
|
return NULL;
|
|
14195
14236
|
__pyx_L4_argument_unpacking_done:;
|
|
14237
|
+
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_self), __pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod, 1, "self", 0))) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
14196
14238
|
__pyx_r = __pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(__pyx_self, __pyx_v_self);
|
|
14197
14239
|
|
|
14198
14240
|
/* function exit code */
|
|
14241
|
+
goto __pyx_L0;
|
|
14242
|
+
__pyx_L1_error:;
|
|
14243
|
+
__pyx_r = NULL;
|
|
14244
|
+
__pyx_L0:;
|
|
14199
14245
|
{
|
|
14200
14246
|
Py_ssize_t __pyx_temp;
|
|
14201
14247
|
for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
|
|
@@ -14206,7 +14252,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14206
14252
|
return __pyx_r;
|
|
14207
14253
|
}
|
|
14208
14254
|
|
|
14209
|
-
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CYTHON_UNUSED PyObject *__pyx_self,
|
|
14255
|
+
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_self) {
|
|
14210
14256
|
PyObject *__pyx_r = NULL;
|
|
14211
14257
|
__Pyx_TraceDeclarations
|
|
14212
14258
|
__Pyx_RefNannyDeclarations
|
|
@@ -14221,16 +14267,16 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CY
|
|
|
14221
14267
|
int __pyx_clineno = 0;
|
|
14222
14268
|
__Pyx_TraceFrameInit(__pyx_codeobj__44)
|
|
14223
14269
|
__Pyx_RefNannySetupContext("__await__", 1);
|
|
14224
|
-
__Pyx_TraceCall("__await__", __pyx_f[0],
|
|
14270
|
+
__Pyx_TraceCall("__await__", __pyx_f[0], 727, 0, __PYX_ERR(0, 727, __pyx_L1_error));
|
|
14225
14271
|
|
|
14226
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14272
|
+
/* "a_sync/a_sync/property.pyx":730
|
|
14227
14273
|
* """Returns an awaitable for the method."""
|
|
14228
14274
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
14229
14275
|
* _logger_debug("awaiting %s", self) # <<<<<<<<<<<<<<
|
|
14230
|
-
* return self.
|
|
14276
|
+
* return self.get_fn()(self.__c_self__(), sync=False).__await__()
|
|
14231
14277
|
*
|
|
14232
14278
|
*/
|
|
14233
|
-
__Pyx_TraceLine(
|
|
14279
|
+
__Pyx_TraceLine(730,0,__PYX_ERR(0, 730, __pyx_L1_error))
|
|
14234
14280
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_8property__logger_debug);
|
|
14235
14281
|
__pyx_t_2 = __pyx_v_6a_sync_6a_sync_8property__logger_debug; __pyx_t_3 = NULL;
|
|
14236
14282
|
__pyx_t_4 = 0;
|
|
@@ -14247,42 +14293,42 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CY
|
|
|
14247
14293
|
}
|
|
14248
14294
|
#endif
|
|
14249
14295
|
{
|
|
14250
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_kp_u_awaiting_s, __pyx_v_self};
|
|
14296
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_kp_u_awaiting_s, ((PyObject *)__pyx_v_self)};
|
|
14251
14297
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 2+__pyx_t_4);
|
|
14252
14298
|
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14253
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14299
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 730, __pyx_L1_error)
|
|
14254
14300
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14255
14301
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14256
14302
|
}
|
|
14257
14303
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14258
14304
|
|
|
14259
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14305
|
+
/* "a_sync/a_sync/property.pyx":731
|
|
14260
14306
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
14261
14307
|
* _logger_debug("awaiting %s", self)
|
|
14262
|
-
* return self.
|
|
14308
|
+
* return self.get_fn()(self.__c_self__(), sync=False).__await__() # <<<<<<<<<<<<<<
|
|
14263
14309
|
*
|
|
14264
14310
|
*
|
|
14265
14311
|
*/
|
|
14266
|
-
__Pyx_TraceLine(
|
|
14312
|
+
__Pyx_TraceLine(731,0,__PYX_ERR(0, 731, __pyx_L1_error))
|
|
14267
14313
|
__Pyx_XDECREF(__pyx_r);
|
|
14268
|
-
__pyx_t_2 =
|
|
14314
|
+
__pyx_t_2 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.get_fn(((struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction *)__pyx_v_self)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14269
14315
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14270
|
-
__pyx_t_3 =
|
|
14316
|
+
__pyx_t_3 = ((struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx___c_self__(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14271
14317
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14272
|
-
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
14318
|
+
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14273
14319
|
__Pyx_GOTREF(__pyx_t_5);
|
|
14274
14320
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
14275
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3)) __PYX_ERR(0,
|
|
14321
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error);
|
|
14276
14322
|
__pyx_t_3 = 0;
|
|
14277
|
-
__pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14323
|
+
__pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14278
14324
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14279
|
-
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_sync, Py_False) < 0) __PYX_ERR(0,
|
|
14280
|
-
__pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
14325
|
+
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_sync, Py_False) < 0) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14326
|
+
__pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14281
14327
|
__Pyx_GOTREF(__pyx_t_6);
|
|
14282
14328
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14283
14329
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
14284
14330
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14285
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_await); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14331
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_await); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14286
14332
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14287
14333
|
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
14288
14334
|
__pyx_t_6 = NULL;
|
|
@@ -14303,7 +14349,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CY
|
|
|
14303
14349
|
PyObject *__pyx_callargs[2] = {__pyx_t_6, NULL};
|
|
14304
14350
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4);
|
|
14305
14351
|
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
14306
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14352
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 731, __pyx_L1_error)
|
|
14307
14353
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14308
14354
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14309
14355
|
}
|
|
@@ -14311,10 +14357,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CY
|
|
|
14311
14357
|
__pyx_t_1 = 0;
|
|
14312
14358
|
goto __pyx_L0;
|
|
14313
14359
|
|
|
14314
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14360
|
+
/* "a_sync/a_sync/property.pyx":727
|
|
14315
14361
|
* )
|
|
14316
14362
|
*
|
|
14317
|
-
* def __await__(self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
14363
|
+
* def __await__(_ASyncBoundMethod self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
14318
14364
|
* """Returns an awaitable for the method."""
|
|
14319
14365
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
14320
14366
|
*/
|
|
@@ -14335,7 +14381,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_12HiddenMethod_4__await__(CY
|
|
|
14335
14381
|
return __pyx_r;
|
|
14336
14382
|
}
|
|
14337
14383
|
|
|
14338
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14384
|
+
/* "a_sync/a_sync/property.pyx":743
|
|
14339
14385
|
* """
|
|
14340
14386
|
*
|
|
14341
14387
|
* def __init__( # <<<<<<<<<<<<<<
|
|
@@ -14388,7 +14434,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14388
14434
|
{
|
|
14389
14435
|
PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_fget,&__pyx_n_s_field_name,0};
|
|
14390
14436
|
|
|
14391
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14437
|
+
/* "a_sync/a_sync/property.pyx":746
|
|
14392
14438
|
* self,
|
|
14393
14439
|
* _fget: AnyFn[Concatenate[I, P], Awaitable[T]],
|
|
14394
14440
|
* field_name: Optional[str] = None, # <<<<<<<<<<<<<<
|
|
@@ -14415,7 +14461,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14415
14461
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
|
|
14416
14462
|
kw_args--;
|
|
14417
14463
|
}
|
|
14418
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14464
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14419
14465
|
else goto __pyx_L5_argtuple_error;
|
|
14420
14466
|
CYTHON_FALLTHROUGH;
|
|
14421
14467
|
case 1:
|
|
@@ -14423,21 +14469,21 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14423
14469
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
|
|
14424
14470
|
kw_args--;
|
|
14425
14471
|
}
|
|
14426
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14472
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14427
14473
|
else {
|
|
14428
|
-
__Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, 1); __PYX_ERR(0,
|
|
14474
|
+
__Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, 1); __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14429
14475
|
}
|
|
14430
14476
|
CYTHON_FALLTHROUGH;
|
|
14431
14477
|
case 2:
|
|
14432
14478
|
if (kw_args > 0) {
|
|
14433
14479
|
PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_field_name);
|
|
14434
14480
|
if (value) { values[2] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; }
|
|
14435
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14481
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14436
14482
|
}
|
|
14437
14483
|
}
|
|
14438
14484
|
if (unlikely(kw_args > 0)) {
|
|
14439
14485
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
14440
|
-
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_modifiers, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0,
|
|
14486
|
+
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_modifiers, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14441
14487
|
}
|
|
14442
14488
|
} else {
|
|
14443
14489
|
switch (__pyx_nargs) {
|
|
@@ -14455,7 +14501,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14455
14501
|
}
|
|
14456
14502
|
goto __pyx_L6_skip;
|
|
14457
14503
|
__pyx_L5_argtuple_error:;
|
|
14458
|
-
__Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, __pyx_nargs); __PYX_ERR(0,
|
|
14504
|
+
__Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, __pyx_nargs); __PYX_ERR(0, 743, __pyx_L3_error)
|
|
14459
14505
|
__pyx_L6_skip:;
|
|
14460
14506
|
goto __pyx_L4_argument_unpacking_done;
|
|
14461
14507
|
__pyx_L3_error:;
|
|
@@ -14470,10 +14516,10 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14470
14516
|
__Pyx_RefNannyFinishContext();
|
|
14471
14517
|
return NULL;
|
|
14472
14518
|
__pyx_L4_argument_unpacking_done:;
|
|
14473
|
-
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field_name), (&PyUnicode_Type), 1, "field_name", 1))) __PYX_ERR(0,
|
|
14519
|
+
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field_name), (&PyUnicode_Type), 1, "field_name", 1))) __PYX_ERR(0, 746, __pyx_L1_error)
|
|
14474
14520
|
__pyx_r = __pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___init__(__pyx_self, __pyx_v_self, __pyx_v__fget, __pyx_v_field_name, __pyx_v_modifiers);
|
|
14475
14521
|
|
|
14476
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14522
|
+
/* "a_sync/a_sync/property.pyx":743
|
|
14477
14523
|
* """
|
|
14478
14524
|
*
|
|
14479
14525
|
* def __init__( # <<<<<<<<<<<<<<
|
|
@@ -14514,61 +14560,61 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14514
14560
|
int __pyx_clineno = 0;
|
|
14515
14561
|
__Pyx_TraceFrameInit(__pyx_codeobj__45)
|
|
14516
14562
|
__Pyx_RefNannySetupContext("__init__", 1);
|
|
14517
|
-
__Pyx_TraceCall("__init__", __pyx_f[0],
|
|
14563
|
+
__Pyx_TraceCall("__init__", __pyx_f[0], 743, 0, __PYX_ERR(0, 743, __pyx_L1_error));
|
|
14518
14564
|
|
|
14519
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14565
|
+
/* "a_sync/a_sync/property.pyx":760
|
|
14520
14566
|
* ValueError: If _fget is not callable.
|
|
14521
14567
|
* """
|
|
14522
14568
|
* ASyncDescriptor.__init__(self, _fget, field_name, **modifiers) # <<<<<<<<<<<<<<
|
|
14523
14569
|
* if self.__doc__ is None:
|
|
14524
14570
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14525
14571
|
*/
|
|
14526
|
-
__Pyx_TraceLine(
|
|
14527
|
-
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_6a_sync_6a_sync_8property_ASyncDescriptor, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14572
|
+
__Pyx_TraceLine(760,0,__PYX_ERR(0, 760, __pyx_L1_error))
|
|
14573
|
+
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_6a_sync_6a_sync_8property_ASyncDescriptor, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 760, __pyx_L1_error)
|
|
14528
14574
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14529
|
-
__pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14575
|
+
__pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 760, __pyx_L1_error)
|
|
14530
14576
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14531
14577
|
__Pyx_INCREF(__pyx_v_self);
|
|
14532
14578
|
__Pyx_GIVEREF(__pyx_v_self);
|
|
14533
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self)) __PYX_ERR(0,
|
|
14579
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self)) __PYX_ERR(0, 760, __pyx_L1_error);
|
|
14534
14580
|
__Pyx_INCREF(__pyx_v__fget);
|
|
14535
14581
|
__Pyx_GIVEREF(__pyx_v__fget);
|
|
14536
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v__fget)) __PYX_ERR(0,
|
|
14582
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v__fget)) __PYX_ERR(0, 760, __pyx_L1_error);
|
|
14537
14583
|
__Pyx_INCREF(__pyx_v_field_name);
|
|
14538
14584
|
__Pyx_GIVEREF(__pyx_v_field_name);
|
|
14539
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_field_name)) __PYX_ERR(0,
|
|
14540
|
-
__pyx_t_3 = PyDict_Copy(__pyx_v_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14585
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_field_name)) __PYX_ERR(0, 760, __pyx_L1_error);
|
|
14586
|
+
__pyx_t_3 = PyDict_Copy(__pyx_v_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 760, __pyx_L1_error)
|
|
14541
14587
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14542
|
-
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14588
|
+
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 760, __pyx_L1_error)
|
|
14543
14589
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14544
14590
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14545
14591
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14546
14592
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14547
14593
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14548
14594
|
|
|
14549
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14595
|
+
/* "a_sync/a_sync/property.pyx":761
|
|
14550
14596
|
* """
|
|
14551
14597
|
* ASyncDescriptor.__init__(self, _fget, field_name, **modifiers)
|
|
14552
14598
|
* if self.__doc__ is None: # <<<<<<<<<<<<<<
|
|
14553
14599
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14554
14600
|
* elif not self.__doc__:
|
|
14555
14601
|
*/
|
|
14556
|
-
__Pyx_TraceLine(
|
|
14557
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14602
|
+
__Pyx_TraceLine(761,0,__PYX_ERR(0, 761, __pyx_L1_error))
|
|
14603
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 761, __pyx_L1_error)
|
|
14558
14604
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14559
14605
|
__pyx_t_5 = (__pyx_t_4 == Py_None);
|
|
14560
14606
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14561
14607
|
if (__pyx_t_5) {
|
|
14562
14608
|
|
|
14563
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14609
|
+
/* "a_sync/a_sync/property.pyx":762
|
|
14564
14610
|
* ASyncDescriptor.__init__(self, _fget, field_name, **modifiers)
|
|
14565
14611
|
* if self.__doc__ is None:
|
|
14566
14612
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`." # <<<<<<<<<<<<<<
|
|
14567
14613
|
* elif not self.__doc__:
|
|
14568
14614
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14569
14615
|
*/
|
|
14570
|
-
__Pyx_TraceLine(
|
|
14571
|
-
__pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14616
|
+
__Pyx_TraceLine(762,0,__PYX_ERR(0, 762, __pyx_L1_error))
|
|
14617
|
+
__pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14572
14618
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14573
14619
|
__pyx_t_6 = 0;
|
|
14574
14620
|
__pyx_t_7 = 127;
|
|
@@ -14576,12 +14622,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14576
14622
|
__pyx_t_6 += 45;
|
|
14577
14623
|
__Pyx_GIVEREF(__pyx_kp_u_A_class_HiddenMethodDescriptor_f);
|
|
14578
14624
|
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_A_class_HiddenMethodDescriptor_f);
|
|
14579
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14625
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14580
14626
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14581
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_qualname); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14627
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_qualname); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14582
14628
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14583
14629
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14584
|
-
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_2, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14630
|
+
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_2, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14585
14631
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14586
14632
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14587
14633
|
__pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) : __pyx_t_7;
|
|
@@ -14593,13 +14639,13 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14593
14639
|
__pyx_t_6 += 2;
|
|
14594
14640
|
__Pyx_GIVEREF(__pyx_kp_u__46);
|
|
14595
14641
|
PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u__46);
|
|
14596
|
-
__pyx_t_3 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14642
|
+
__pyx_t_3 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14597
14643
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14598
14644
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14599
|
-
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
14645
|
+
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_3) < 0) __PYX_ERR(0, 762, __pyx_L1_error)
|
|
14600
14646
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14601
14647
|
|
|
14602
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14648
|
+
/* "a_sync/a_sync/property.pyx":761
|
|
14603
14649
|
* """
|
|
14604
14650
|
* ASyncDescriptor.__init__(self, _fget, field_name, **modifiers)
|
|
14605
14651
|
* if self.__doc__ is None: # <<<<<<<<<<<<<<
|
|
@@ -14609,32 +14655,32 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14609
14655
|
goto __pyx_L3;
|
|
14610
14656
|
}
|
|
14611
14657
|
|
|
14612
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14658
|
+
/* "a_sync/a_sync/property.pyx":763
|
|
14613
14659
|
* if self.__doc__ is None:
|
|
14614
14660
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14615
14661
|
* elif not self.__doc__: # <<<<<<<<<<<<<<
|
|
14616
14662
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14617
14663
|
* if self.__wrapped__.__doc__:
|
|
14618
14664
|
*/
|
|
14619
|
-
__Pyx_TraceLine(
|
|
14620
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14665
|
+
__Pyx_TraceLine(763,0,__PYX_ERR(0, 763, __pyx_L1_error))
|
|
14666
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 763, __pyx_L1_error)
|
|
14621
14667
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14622
|
-
__pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0,
|
|
14668
|
+
__pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 763, __pyx_L1_error)
|
|
14623
14669
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14624
14670
|
__pyx_t_8 = (!__pyx_t_5);
|
|
14625
14671
|
if (__pyx_t_8) {
|
|
14626
14672
|
|
|
14627
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14673
|
+
/* "a_sync/a_sync/property.pyx":764
|
|
14628
14674
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14629
14675
|
* elif not self.__doc__:
|
|
14630
14676
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`." # <<<<<<<<<<<<<<
|
|
14631
14677
|
* if self.__wrapped__.__doc__:
|
|
14632
14678
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
14633
14679
|
*/
|
|
14634
|
-
__Pyx_TraceLine(
|
|
14635
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14680
|
+
__Pyx_TraceLine(764,0,__PYX_ERR(0, 764, __pyx_L1_error))
|
|
14681
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14636
14682
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14637
|
-
__pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14683
|
+
__pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14638
14684
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14639
14685
|
__pyx_t_6 = 0;
|
|
14640
14686
|
__pyx_t_7 = 127;
|
|
@@ -14642,12 +14688,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14642
14688
|
__pyx_t_6 += 45;
|
|
14643
14689
|
__Pyx_GIVEREF(__pyx_kp_u_A_class_HiddenMethodDescriptor_f);
|
|
14644
14690
|
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_A_class_HiddenMethodDescriptor_f);
|
|
14645
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14691
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14646
14692
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14647
|
-
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_qualname); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14693
|
+
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_qualname); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14648
14694
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14649
14695
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14650
|
-
__pyx_t_2 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14696
|
+
__pyx_t_2 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14651
14697
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14652
14698
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14653
14699
|
__pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2) : __pyx_t_7;
|
|
@@ -14659,17 +14705,17 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14659
14705
|
__pyx_t_6 += 2;
|
|
14660
14706
|
__Pyx_GIVEREF(__pyx_kp_u__46);
|
|
14661
14707
|
PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u__46);
|
|
14662
|
-
__pyx_t_2 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14708
|
+
__pyx_t_2 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14663
14709
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14664
14710
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14665
|
-
__pyx_t_4 = PyNumber_InPlaceAdd(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14711
|
+
__pyx_t_4 = PyNumber_InPlaceAdd(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14666
14712
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14667
14713
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14668
14714
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14669
|
-
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_4) < 0) __PYX_ERR(0,
|
|
14715
|
+
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_4) < 0) __PYX_ERR(0, 764, __pyx_L1_error)
|
|
14670
14716
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14671
14717
|
|
|
14672
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14718
|
+
/* "a_sync/a_sync/property.pyx":763
|
|
14673
14719
|
* if self.__doc__ is None:
|
|
14674
14720
|
* self.__doc__ = f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14675
14721
|
* elif not self.__doc__: # <<<<<<<<<<<<<<
|
|
@@ -14679,34 +14725,34 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14679
14725
|
}
|
|
14680
14726
|
__pyx_L3:;
|
|
14681
14727
|
|
|
14682
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14728
|
+
/* "a_sync/a_sync/property.pyx":765
|
|
14683
14729
|
* elif not self.__doc__:
|
|
14684
14730
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14685
14731
|
* if self.__wrapped__.__doc__: # <<<<<<<<<<<<<<
|
|
14686
14732
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
14687
14733
|
*
|
|
14688
14734
|
*/
|
|
14689
|
-
__Pyx_TraceLine(
|
|
14690
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14735
|
+
__Pyx_TraceLine(765,0,__PYX_ERR(0, 765, __pyx_L1_error))
|
|
14736
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 765, __pyx_L1_error)
|
|
14691
14737
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14692
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_doc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14738
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_doc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 765, __pyx_L1_error)
|
|
14693
14739
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14694
14740
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14695
|
-
__pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0,
|
|
14741
|
+
__pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 765, __pyx_L1_error)
|
|
14696
14742
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14697
14743
|
if (__pyx_t_8) {
|
|
14698
14744
|
|
|
14699
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14745
|
+
/* "a_sync/a_sync/property.pyx":766
|
|
14700
14746
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14701
14747
|
* if self.__wrapped__.__doc__:
|
|
14702
14748
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}" # <<<<<<<<<<<<<<
|
|
14703
14749
|
*
|
|
14704
14750
|
* def __get__(_ModifiedMixin self, instance: I, owner: Type[I]) -> HiddenMethod[I, T]:
|
|
14705
14751
|
*/
|
|
14706
|
-
__Pyx_TraceLine(
|
|
14707
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
14752
|
+
__Pyx_TraceLine(766,0,__PYX_ERR(0, 766, __pyx_L1_error))
|
|
14753
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_doc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14708
14754
|
__Pyx_GOTREF(__pyx_t_2);
|
|
14709
|
-
__pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14755
|
+
__pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14710
14756
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14711
14757
|
__pyx_t_6 = 0;
|
|
14712
14758
|
__pyx_t_7 = 127;
|
|
@@ -14714,12 +14760,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14714
14760
|
__pyx_t_6 += 37;
|
|
14715
14761
|
__Pyx_GIVEREF(__pyx_kp_u_The_original_docstring_for_meth);
|
|
14716
14762
|
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_The_original_docstring_for_meth);
|
|
14717
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14763
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14718
14764
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14719
|
-
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_qualname); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14765
|
+
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_qualname); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14720
14766
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14721
14767
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14722
|
-
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14768
|
+
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14723
14769
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14724
14770
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14725
14771
|
__pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) : __pyx_t_7;
|
|
@@ -14731,12 +14777,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14731
14777
|
__pyx_t_6 += 19;
|
|
14732
14778
|
__Pyx_GIVEREF(__pyx_kp_u_is_shown_below);
|
|
14733
14779
|
PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_is_shown_below);
|
|
14734
|
-
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14780
|
+
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wrapped); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14735
14781
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14736
|
-
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_doc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
14782
|
+
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_doc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14737
14783
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14738
14784
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14739
|
-
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14785
|
+
__pyx_t_3 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14740
14786
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14741
14787
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14742
14788
|
__pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) : __pyx_t_7;
|
|
@@ -14744,17 +14790,17 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14744
14790
|
__Pyx_GIVEREF(__pyx_t_3);
|
|
14745
14791
|
PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_t_3);
|
|
14746
14792
|
__pyx_t_3 = 0;
|
|
14747
|
-
__pyx_t_3 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
14793
|
+
__pyx_t_3 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14748
14794
|
__Pyx_GOTREF(__pyx_t_3);
|
|
14749
14795
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14750
|
-
__pyx_t_4 = PyNumber_InPlaceAdd(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
14796
|
+
__pyx_t_4 = PyNumber_InPlaceAdd(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14751
14797
|
__Pyx_GOTREF(__pyx_t_4);
|
|
14752
14798
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
14753
14799
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
14754
|
-
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_4) < 0) __PYX_ERR(0,
|
|
14800
|
+
if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_doc, __pyx_t_4) < 0) __PYX_ERR(0, 766, __pyx_L1_error)
|
|
14755
14801
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
14756
14802
|
|
|
14757
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14803
|
+
/* "a_sync/a_sync/property.pyx":765
|
|
14758
14804
|
* elif not self.__doc__:
|
|
14759
14805
|
* self.__doc__ += f"A :class:`HiddenMethodDescriptor` for :meth:`{self.__wrapped__.__qualname__}`."
|
|
14760
14806
|
* if self.__wrapped__.__doc__: # <<<<<<<<<<<<<<
|
|
@@ -14763,7 +14809,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14763
14809
|
*/
|
|
14764
14810
|
}
|
|
14765
14811
|
|
|
14766
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14812
|
+
/* "a_sync/a_sync/property.pyx":743
|
|
14767
14813
|
* """
|
|
14768
14814
|
*
|
|
14769
14815
|
* def __init__( # <<<<<<<<<<<<<<
|
|
@@ -14788,7 +14834,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor___i
|
|
|
14788
14834
|
return __pyx_r;
|
|
14789
14835
|
}
|
|
14790
14836
|
|
|
14791
|
-
/* "a_sync/a_sync/property.pyx":
|
|
14837
|
+
/* "a_sync/a_sync/property.pyx":768
|
|
14792
14838
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
14793
14839
|
*
|
|
14794
14840
|
* def __get__(_ModifiedMixin self, instance: I, owner: Type[I]) -> HiddenMethod[I, T]: # <<<<<<<<<<<<<<
|
|
@@ -14856,7 +14902,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14856
14902
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
|
|
14857
14903
|
kw_args--;
|
|
14858
14904
|
}
|
|
14859
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14905
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14860
14906
|
else goto __pyx_L5_argtuple_error;
|
|
14861
14907
|
CYTHON_FALLTHROUGH;
|
|
14862
14908
|
case 1:
|
|
@@ -14864,9 +14910,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14864
14910
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
|
|
14865
14911
|
kw_args--;
|
|
14866
14912
|
}
|
|
14867
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14913
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14868
14914
|
else {
|
|
14869
|
-
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, 1); __PYX_ERR(0,
|
|
14915
|
+
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, 1); __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14870
14916
|
}
|
|
14871
14917
|
CYTHON_FALLTHROUGH;
|
|
14872
14918
|
case 2:
|
|
@@ -14874,14 +14920,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14874
14920
|
(void)__Pyx_Arg_NewRef_FASTCALL(values[2]);
|
|
14875
14921
|
kw_args--;
|
|
14876
14922
|
}
|
|
14877
|
-
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
14923
|
+
else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14878
14924
|
else {
|
|
14879
|
-
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, 2); __PYX_ERR(0,
|
|
14925
|
+
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, 2); __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14880
14926
|
}
|
|
14881
14927
|
}
|
|
14882
14928
|
if (unlikely(kw_args > 0)) {
|
|
14883
14929
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
14884
|
-
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__get__") < 0)) __PYX_ERR(0,
|
|
14930
|
+
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__get__") < 0)) __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14885
14931
|
}
|
|
14886
14932
|
} else if (unlikely(__pyx_nargs != 3)) {
|
|
14887
14933
|
goto __pyx_L5_argtuple_error;
|
|
@@ -14896,7 +14942,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14896
14942
|
}
|
|
14897
14943
|
goto __pyx_L6_skip;
|
|
14898
14944
|
__pyx_L5_argtuple_error:;
|
|
14899
|
-
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0,
|
|
14945
|
+
__Pyx_RaiseArgtupleInvalid("__get__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 768, __pyx_L3_error)
|
|
14900
14946
|
__pyx_L6_skip:;
|
|
14901
14947
|
goto __pyx_L4_argument_unpacking_done;
|
|
14902
14948
|
__pyx_L3_error:;
|
|
@@ -14910,7 +14956,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14910
14956
|
__Pyx_RefNannyFinishContext();
|
|
14911
14957
|
return NULL;
|
|
14912
14958
|
__pyx_L4_argument_unpacking_done:;
|
|
14913
|
-
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_self), __pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, 1, "self", 0))) __PYX_ERR(0,
|
|
14959
|
+
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_self), __pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, 1, "self", 0))) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
14914
14960
|
__pyx_r = __pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__get__(__pyx_self, __pyx_v_self, __pyx_v_instance, __pyx_v_owner);
|
|
14915
14961
|
|
|
14916
14962
|
/* function exit code */
|
|
@@ -14929,7 +14975,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
14929
14975
|
}
|
|
14930
14976
|
|
|
14931
14977
|
static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__get__(CYTHON_UNUSED PyObject *__pyx_self, struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin *__pyx_v_self, PyObject *__pyx_v_instance, CYTHON_UNUSED PyObject *__pyx_v_owner) {
|
|
14932
|
-
|
|
14978
|
+
struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *__pyx_v_bound = 0;
|
|
14933
14979
|
PyObject *__pyx_v_field_name = 0;
|
|
14934
14980
|
PyObject *__pyx_r = NULL;
|
|
14935
14981
|
__Pyx_TraceDeclarations
|
|
@@ -14952,33 +14998,33 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
14952
14998
|
int __pyx_clineno = 0;
|
|
14953
14999
|
__Pyx_TraceFrameInit(__pyx_codeobj__47)
|
|
14954
15000
|
__Pyx_RefNannySetupContext("__get__", 1);
|
|
14955
|
-
__Pyx_TraceCall("__get__", __pyx_f[0],
|
|
15001
|
+
__Pyx_TraceCall("__get__", __pyx_f[0], 768, 0, __PYX_ERR(0, 768, __pyx_L1_error));
|
|
14956
15002
|
|
|
14957
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15003
|
+
/* "a_sync/a_sync/property.pyx":778
|
|
14958
15004
|
* The hidden method.
|
|
14959
15005
|
* """
|
|
14960
15006
|
* if instance is None: # <<<<<<<<<<<<<<
|
|
14961
15007
|
* return self
|
|
14962
15008
|
*
|
|
14963
15009
|
*/
|
|
14964
|
-
__Pyx_TraceLine(
|
|
15010
|
+
__Pyx_TraceLine(778,0,__PYX_ERR(0, 778, __pyx_L1_error))
|
|
14965
15011
|
__pyx_t_1 = (__pyx_v_instance == Py_None);
|
|
14966
15012
|
if (__pyx_t_1) {
|
|
14967
15013
|
|
|
14968
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15014
|
+
/* "a_sync/a_sync/property.pyx":779
|
|
14969
15015
|
* """
|
|
14970
15016
|
* if instance is None:
|
|
14971
15017
|
* return self # <<<<<<<<<<<<<<
|
|
14972
15018
|
*
|
|
14973
|
-
* cdef
|
|
15019
|
+
* cdef _ASyncBoundMethod bound
|
|
14974
15020
|
*/
|
|
14975
|
-
__Pyx_TraceLine(
|
|
15021
|
+
__Pyx_TraceLine(779,0,__PYX_ERR(0, 779, __pyx_L1_error))
|
|
14976
15022
|
__Pyx_XDECREF(__pyx_r);
|
|
14977
15023
|
__Pyx_INCREF((PyObject *)__pyx_v_self);
|
|
14978
15024
|
__pyx_r = ((PyObject *)__pyx_v_self);
|
|
14979
15025
|
goto __pyx_L0;
|
|
14980
15026
|
|
|
14981
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15027
|
+
/* "a_sync/a_sync/property.pyx":778
|
|
14982
15028
|
* The hidden method.
|
|
14983
15029
|
* """
|
|
14984
15030
|
* if instance is None: # <<<<<<<<<<<<<<
|
|
@@ -14987,28 +15033,28 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
14987
15033
|
*/
|
|
14988
15034
|
}
|
|
14989
15035
|
|
|
14990
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15036
|
+
/* "a_sync/a_sync/property.pyx":782
|
|
14991
15037
|
*
|
|
14992
|
-
* cdef
|
|
15038
|
+
* cdef _ASyncBoundMethod bound
|
|
14993
15039
|
* cdef str field_name = self.field_name # <<<<<<<<<<<<<<
|
|
14994
15040
|
* try:
|
|
14995
15041
|
* bound = instance.__dict__[field_name]
|
|
14996
15042
|
*/
|
|
14997
|
-
__Pyx_TraceLine(
|
|
14998
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_field_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
15043
|
+
__Pyx_TraceLine(782,0,__PYX_ERR(0, 782, __pyx_L1_error))
|
|
15044
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_field_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 782, __pyx_L1_error)
|
|
14999
15045
|
__Pyx_GOTREF(__pyx_t_2);
|
|
15000
|
-
if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_2))) __PYX_ERR(0,
|
|
15046
|
+
if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_2))) __PYX_ERR(0, 782, __pyx_L1_error)
|
|
15001
15047
|
__pyx_v_field_name = ((PyObject*)__pyx_t_2);
|
|
15002
15048
|
__pyx_t_2 = 0;
|
|
15003
15049
|
|
|
15004
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15005
|
-
* cdef
|
|
15050
|
+
/* "a_sync/a_sync/property.pyx":783
|
|
15051
|
+
* cdef _ASyncBoundMethod bound
|
|
15006
15052
|
* cdef str field_name = self.field_name
|
|
15007
15053
|
* try: # <<<<<<<<<<<<<<
|
|
15008
15054
|
* bound = instance.__dict__[field_name]
|
|
15009
15055
|
* except KeyError:
|
|
15010
15056
|
*/
|
|
15011
|
-
__Pyx_TraceLine(
|
|
15057
|
+
__Pyx_TraceLine(783,0,__PYX_ERR(0, 783, __pyx_L1_error))
|
|
15012
15058
|
{
|
|
15013
15059
|
__Pyx_PyThreadState_declare
|
|
15014
15060
|
__Pyx_PyThreadState_assign
|
|
@@ -15018,24 +15064,25 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15018
15064
|
__Pyx_XGOTREF(__pyx_t_5);
|
|
15019
15065
|
/*try:*/ {
|
|
15020
15066
|
|
|
15021
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15067
|
+
/* "a_sync/a_sync/property.pyx":784
|
|
15022
15068
|
* cdef str field_name = self.field_name
|
|
15023
15069
|
* try:
|
|
15024
15070
|
* bound = instance.__dict__[field_name] # <<<<<<<<<<<<<<
|
|
15025
15071
|
* except KeyError:
|
|
15026
15072
|
* bound = HiddenMethod(
|
|
15027
15073
|
*/
|
|
15028
|
-
__Pyx_TraceLine(
|
|
15029
|
-
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_dict); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
15074
|
+
__Pyx_TraceLine(784,0,__PYX_ERR(0, 784, __pyx_L4_error))
|
|
15075
|
+
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_dict); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 784, __pyx_L4_error)
|
|
15030
15076
|
__Pyx_GOTREF(__pyx_t_2);
|
|
15031
|
-
__pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_t_2, __pyx_v_field_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
15077
|
+
__pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_t_2, __pyx_v_field_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 784, __pyx_L4_error)
|
|
15032
15078
|
__Pyx_GOTREF(__pyx_t_6);
|
|
15033
15079
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
15034
|
-
|
|
15080
|
+
if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod))))) __PYX_ERR(0, 784, __pyx_L4_error)
|
|
15081
|
+
__pyx_v_bound = ((struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_t_6);
|
|
15035
15082
|
__pyx_t_6 = 0;
|
|
15036
15083
|
|
|
15037
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15038
|
-
* cdef
|
|
15084
|
+
/* "a_sync/a_sync/property.pyx":783
|
|
15085
|
+
* cdef _ASyncBoundMethod bound
|
|
15039
15086
|
* cdef str field_name = self.field_name
|
|
15040
15087
|
* try: # <<<<<<<<<<<<<<
|
|
15041
15088
|
* bound = instance.__dict__[field_name]
|
|
@@ -15050,119 +15097,120 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15050
15097
|
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
15051
15098
|
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
15052
15099
|
|
|
15053
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15100
|
+
/* "a_sync/a_sync/property.pyx":785
|
|
15054
15101
|
* try:
|
|
15055
15102
|
* bound = instance.__dict__[field_name]
|
|
15056
15103
|
* except KeyError: # <<<<<<<<<<<<<<
|
|
15057
15104
|
* bound = HiddenMethod(
|
|
15058
15105
|
* instance,
|
|
15059
15106
|
*/
|
|
15060
|
-
__Pyx_TraceLine(
|
|
15107
|
+
__Pyx_TraceLine(785,0,__PYX_ERR(0, 785, __pyx_L6_except_error))
|
|
15061
15108
|
__pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_KeyError);
|
|
15062
15109
|
if (__pyx_t_7) {
|
|
15063
15110
|
__Pyx_AddTraceback("a_sync.a_sync.property.HiddenMethodDescriptor.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
15064
|
-
if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_2, &__pyx_t_8) < 0) __PYX_ERR(0,
|
|
15111
|
+
if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_2, &__pyx_t_8) < 0) __PYX_ERR(0, 785, __pyx_L6_except_error)
|
|
15065
15112
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
15066
15113
|
__Pyx_XGOTREF(__pyx_t_2);
|
|
15067
15114
|
__Pyx_XGOTREF(__pyx_t_8);
|
|
15068
15115
|
|
|
15069
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15116
|
+
/* "a_sync/a_sync/property.pyx":786
|
|
15070
15117
|
* bound = instance.__dict__[field_name]
|
|
15071
15118
|
* except KeyError:
|
|
15072
15119
|
* bound = HiddenMethod( # <<<<<<<<<<<<<<
|
|
15073
15120
|
* instance,
|
|
15074
15121
|
* self.__wrapped__,
|
|
15075
15122
|
*/
|
|
15076
|
-
__Pyx_TraceLine(
|
|
15077
|
-
__Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_HiddenMethod); if (unlikely(!__pyx_t_9)) __PYX_ERR(0,
|
|
15123
|
+
__Pyx_TraceLine(786,0,__PYX_ERR(0, 786, __pyx_L6_except_error))
|
|
15124
|
+
__Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_HiddenMethod); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 786, __pyx_L6_except_error)
|
|
15078
15125
|
__Pyx_GOTREF(__pyx_t_9);
|
|
15079
15126
|
|
|
15080
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15127
|
+
/* "a_sync/a_sync/property.pyx":789
|
|
15081
15128
|
* instance,
|
|
15082
15129
|
* self.__wrapped__,
|
|
15083
15130
|
* self.__is_async_def__, # <<<<<<<<<<<<<<
|
|
15084
15131
|
* field_name,
|
|
15085
15132
|
* **self.modifiers._modifiers,
|
|
15086
15133
|
*/
|
|
15087
|
-
__Pyx_TraceLine(
|
|
15088
|
-
__pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_def); if (unlikely(!__pyx_t_10)) __PYX_ERR(0,
|
|
15134
|
+
__Pyx_TraceLine(789,0,__PYX_ERR(0, 789, __pyx_L6_except_error))
|
|
15135
|
+
__pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_def); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 789, __pyx_L6_except_error)
|
|
15089
15136
|
__Pyx_GOTREF(__pyx_t_10);
|
|
15090
15137
|
|
|
15091
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15138
|
+
/* "a_sync/a_sync/property.pyx":786
|
|
15092
15139
|
* bound = instance.__dict__[field_name]
|
|
15093
15140
|
* except KeyError:
|
|
15094
15141
|
* bound = HiddenMethod( # <<<<<<<<<<<<<<
|
|
15095
15142
|
* instance,
|
|
15096
15143
|
* self.__wrapped__,
|
|
15097
15144
|
*/
|
|
15098
|
-
__Pyx_TraceLine(
|
|
15099
|
-
__pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0,
|
|
15145
|
+
__Pyx_TraceLine(786,0,__PYX_ERR(0, 786, __pyx_L6_except_error))
|
|
15146
|
+
__pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 786, __pyx_L6_except_error)
|
|
15100
15147
|
__Pyx_GOTREF(__pyx_t_11);
|
|
15101
15148
|
__Pyx_INCREF(__pyx_v_instance);
|
|
15102
15149
|
__Pyx_GIVEREF(__pyx_v_instance);
|
|
15103
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_instance)) __PYX_ERR(0,
|
|
15150
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_instance)) __PYX_ERR(0, 786, __pyx_L6_except_error);
|
|
15104
15151
|
__Pyx_INCREF(__pyx_v_self->__wrapped__);
|
|
15105
15152
|
__Pyx_GIVEREF(__pyx_v_self->__wrapped__);
|
|
15106
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_v_self->__wrapped__)) __PYX_ERR(0,
|
|
15153
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_v_self->__wrapped__)) __PYX_ERR(0, 786, __pyx_L6_except_error);
|
|
15107
15154
|
__Pyx_GIVEREF(__pyx_t_10);
|
|
15108
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 2, __pyx_t_10)) __PYX_ERR(0,
|
|
15155
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 2, __pyx_t_10)) __PYX_ERR(0, 786, __pyx_L6_except_error);
|
|
15109
15156
|
__Pyx_INCREF(__pyx_v_field_name);
|
|
15110
15157
|
__Pyx_GIVEREF(__pyx_v_field_name);
|
|
15111
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 3, __pyx_v_field_name)) __PYX_ERR(0,
|
|
15158
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 3, __pyx_v_field_name)) __PYX_ERR(0, 786, __pyx_L6_except_error);
|
|
15112
15159
|
__pyx_t_10 = 0;
|
|
15113
15160
|
|
|
15114
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15161
|
+
/* "a_sync/a_sync/property.pyx":791
|
|
15115
15162
|
* self.__is_async_def__,
|
|
15116
15163
|
* field_name,
|
|
15117
15164
|
* **self.modifiers._modifiers, # <<<<<<<<<<<<<<
|
|
15118
15165
|
* )
|
|
15119
15166
|
* instance.__dict__[field_name] = bound
|
|
15120
15167
|
*/
|
|
15121
|
-
__Pyx_TraceLine(
|
|
15168
|
+
__Pyx_TraceLine(791,0,__PYX_ERR(0, 791, __pyx_L6_except_error))
|
|
15122
15169
|
if (unlikely(__pyx_v_self->modifiers->_modifiers == Py_None)) {
|
|
15123
15170
|
PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType");
|
|
15124
|
-
__PYX_ERR(0,
|
|
15171
|
+
__PYX_ERR(0, 791, __pyx_L6_except_error)
|
|
15125
15172
|
}
|
|
15126
|
-
__pyx_t_10 = PyDict_Copy(__pyx_v_self->modifiers->_modifiers); if (unlikely(!__pyx_t_10)) __PYX_ERR(0,
|
|
15173
|
+
__pyx_t_10 = PyDict_Copy(__pyx_v_self->modifiers->_modifiers); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 791, __pyx_L6_except_error)
|
|
15127
15174
|
__Pyx_GOTREF(__pyx_t_10);
|
|
15128
15175
|
|
|
15129
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15176
|
+
/* "a_sync/a_sync/property.pyx":786
|
|
15130
15177
|
* bound = instance.__dict__[field_name]
|
|
15131
15178
|
* except KeyError:
|
|
15132
15179
|
* bound = HiddenMethod( # <<<<<<<<<<<<<<
|
|
15133
15180
|
* instance,
|
|
15134
15181
|
* self.__wrapped__,
|
|
15135
15182
|
*/
|
|
15136
|
-
__Pyx_TraceLine(
|
|
15137
|
-
__pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_11, __pyx_t_10); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
15183
|
+
__Pyx_TraceLine(786,0,__PYX_ERR(0, 786, __pyx_L6_except_error))
|
|
15184
|
+
__pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_11, __pyx_t_10); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 786, __pyx_L6_except_error)
|
|
15138
15185
|
__Pyx_GOTREF(__pyx_t_12);
|
|
15139
15186
|
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
|
|
15140
15187
|
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
|
|
15141
15188
|
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
|
|
15142
|
-
|
|
15189
|
+
if (!(likely(((__pyx_t_12) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_12, __pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod))))) __PYX_ERR(0, 786, __pyx_L6_except_error)
|
|
15190
|
+
__Pyx_XDECREF_SET(__pyx_v_bound, ((struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)__pyx_t_12));
|
|
15143
15191
|
__pyx_t_12 = 0;
|
|
15144
15192
|
|
|
15145
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15193
|
+
/* "a_sync/a_sync/property.pyx":793
|
|
15146
15194
|
* **self.modifiers._modifiers,
|
|
15147
15195
|
* )
|
|
15148
15196
|
* instance.__dict__[field_name] = bound # <<<<<<<<<<<<<<
|
|
15149
15197
|
* _logger_debug("new hidden method: %s", bound)
|
|
15150
15198
|
* _update_cache_timer(field_name, instance, bound)
|
|
15151
15199
|
*/
|
|
15152
|
-
__Pyx_TraceLine(
|
|
15153
|
-
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_dict); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
15200
|
+
__Pyx_TraceLine(793,0,__PYX_ERR(0, 793, __pyx_L6_except_error))
|
|
15201
|
+
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_dict); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 793, __pyx_L6_except_error)
|
|
15154
15202
|
__Pyx_GOTREF(__pyx_t_12);
|
|
15155
|
-
if (unlikely((PyObject_SetItem(__pyx_t_12, __pyx_v_field_name, __pyx_v_bound) < 0))) __PYX_ERR(0,
|
|
15203
|
+
if (unlikely((PyObject_SetItem(__pyx_t_12, __pyx_v_field_name, ((PyObject *)__pyx_v_bound)) < 0))) __PYX_ERR(0, 793, __pyx_L6_except_error)
|
|
15156
15204
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
15157
15205
|
|
|
15158
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15206
|
+
/* "a_sync/a_sync/property.pyx":794
|
|
15159
15207
|
* )
|
|
15160
15208
|
* instance.__dict__[field_name] = bound
|
|
15161
15209
|
* _logger_debug("new hidden method: %s", bound) # <<<<<<<<<<<<<<
|
|
15162
15210
|
* _update_cache_timer(field_name, instance, bound)
|
|
15163
15211
|
* return bound
|
|
15164
15212
|
*/
|
|
15165
|
-
__Pyx_TraceLine(
|
|
15213
|
+
__Pyx_TraceLine(794,0,__PYX_ERR(0, 794, __pyx_L6_except_error))
|
|
15166
15214
|
__Pyx_INCREF(__pyx_v_6a_sync_6a_sync_8property__logger_debug);
|
|
15167
15215
|
__pyx_t_10 = __pyx_v_6a_sync_6a_sync_8property__logger_debug; __pyx_t_11 = NULL;
|
|
15168
15216
|
__pyx_t_13 = 0;
|
|
@@ -15179,10 +15227,10 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15179
15227
|
}
|
|
15180
15228
|
#endif
|
|
15181
15229
|
{
|
|
15182
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_11, __pyx_kp_u_new_hidden_method_s, __pyx_v_bound};
|
|
15230
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_11, __pyx_kp_u_new_hidden_method_s, ((PyObject *)__pyx_v_bound)};
|
|
15183
15231
|
__pyx_t_12 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_13, 2+__pyx_t_13);
|
|
15184
15232
|
__Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
|
|
15185
|
-
if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
15233
|
+
if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 794, __pyx_L6_except_error)
|
|
15186
15234
|
__Pyx_GOTREF(__pyx_t_12);
|
|
15187
15235
|
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
|
|
15188
15236
|
}
|
|
@@ -15194,8 +15242,8 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15194
15242
|
}
|
|
15195
15243
|
goto __pyx_L6_except_error;
|
|
15196
15244
|
|
|
15197
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15198
|
-
* cdef
|
|
15245
|
+
/* "a_sync/a_sync/property.pyx":783
|
|
15246
|
+
* cdef _ASyncBoundMethod bound
|
|
15199
15247
|
* cdef str field_name = self.field_name
|
|
15200
15248
|
* try: # <<<<<<<<<<<<<<
|
|
15201
15249
|
* bound = instance.__dict__[field_name]
|
|
@@ -15215,30 +15263,30 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15215
15263
|
__pyx_L9_try_end:;
|
|
15216
15264
|
}
|
|
15217
15265
|
|
|
15218
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15266
|
+
/* "a_sync/a_sync/property.pyx":795
|
|
15219
15267
|
* instance.__dict__[field_name] = bound
|
|
15220
15268
|
* _logger_debug("new hidden method: %s", bound)
|
|
15221
15269
|
* _update_cache_timer(field_name, instance, bound) # <<<<<<<<<<<<<<
|
|
15222
15270
|
* return bound
|
|
15223
15271
|
*
|
|
15224
15272
|
*/
|
|
15225
|
-
__Pyx_TraceLine(
|
|
15226
|
-
__pyx_f_6a_sync_6a_sync_6method__update_cache_timer(__pyx_v_field_name, __pyx_v_instance, __pyx_v_bound); if (unlikely(PyErr_Occurred())) __PYX_ERR(0,
|
|
15273
|
+
__Pyx_TraceLine(795,0,__PYX_ERR(0, 795, __pyx_L1_error))
|
|
15274
|
+
__pyx_f_6a_sync_6a_sync_6method__update_cache_timer(__pyx_v_field_name, __pyx_v_instance, __pyx_v_bound); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 795, __pyx_L1_error)
|
|
15227
15275
|
|
|
15228
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15276
|
+
/* "a_sync/a_sync/property.pyx":796
|
|
15229
15277
|
* _logger_debug("new hidden method: %s", bound)
|
|
15230
15278
|
* _update_cache_timer(field_name, instance, bound)
|
|
15231
15279
|
* return bound # <<<<<<<<<<<<<<
|
|
15232
15280
|
*
|
|
15233
15281
|
*
|
|
15234
15282
|
*/
|
|
15235
|
-
__Pyx_TraceLine(
|
|
15283
|
+
__Pyx_TraceLine(796,0,__PYX_ERR(0, 796, __pyx_L1_error))
|
|
15236
15284
|
__Pyx_XDECREF(__pyx_r);
|
|
15237
|
-
__Pyx_INCREF(__pyx_v_bound);
|
|
15238
|
-
__pyx_r = __pyx_v_bound;
|
|
15285
|
+
__Pyx_INCREF((PyObject *)__pyx_v_bound);
|
|
15286
|
+
__pyx_r = ((PyObject *)__pyx_v_bound);
|
|
15239
15287
|
goto __pyx_L0;
|
|
15240
15288
|
|
|
15241
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15289
|
+
/* "a_sync/a_sync/property.pyx":768
|
|
15242
15290
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
15243
15291
|
*
|
|
15244
15292
|
* def __get__(_ModifiedMixin self, instance: I, owner: Type[I]) -> HiddenMethod[I, T]: # <<<<<<<<<<<<<<
|
|
@@ -15258,7 +15306,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15258
15306
|
__Pyx_AddTraceback("a_sync.a_sync.property.HiddenMethodDescriptor.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
15259
15307
|
__pyx_r = NULL;
|
|
15260
15308
|
__pyx_L0:;
|
|
15261
|
-
__Pyx_XDECREF(__pyx_v_bound);
|
|
15309
|
+
__Pyx_XDECREF((PyObject *)__pyx_v_bound);
|
|
15262
15310
|
__Pyx_XDECREF(__pyx_v_field_name);
|
|
15263
15311
|
__Pyx_XGIVEREF(__pyx_r);
|
|
15264
15312
|
__Pyx_TraceReturn(__pyx_r, 0);
|
|
@@ -15266,7 +15314,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_2__
|
|
|
15266
15314
|
return __pyx_r;
|
|
15267
15315
|
}
|
|
15268
15316
|
|
|
15269
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15317
|
+
/* "a_sync/a_sync/property.pyx":799
|
|
15270
15318
|
*
|
|
15271
15319
|
*
|
|
15272
15320
|
* cdef object _parse_args( # <<<<<<<<<<<<<<
|
|
@@ -15285,67 +15333,67 @@ static PyObject *__pyx_f_6a_sync_6a_sync_8property__parse_args(PyObject *__pyx_v
|
|
|
15285
15333
|
const char *__pyx_filename = NULL;
|
|
15286
15334
|
int __pyx_clineno = 0;
|
|
15287
15335
|
__Pyx_RefNannySetupContext("_parse_args", 1);
|
|
15288
|
-
__Pyx_TraceCall("_parse_args", __pyx_f[0],
|
|
15336
|
+
__Pyx_TraceCall("_parse_args", __pyx_f[0], 799, 0, __PYX_ERR(0, 799, __pyx_L1_error));
|
|
15289
15337
|
|
|
15290
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15338
|
+
/* "a_sync/a_sync/property.pyx":812
|
|
15291
15339
|
* Tuple[Optional[AsyncGetterFunction[I, T]], ModifierKwargs] A tuple containing the parsed function and modifiers.
|
|
15292
15340
|
* """
|
|
15293
15341
|
* if func in ("sync", "async"): # <<<<<<<<<<<<<<
|
|
15294
15342
|
* modifiers["default"] = func
|
|
15295
15343
|
* return None, modifiers
|
|
15296
15344
|
*/
|
|
15297
|
-
__Pyx_TraceLine(
|
|
15345
|
+
__Pyx_TraceLine(812,0,__PYX_ERR(0, 812, __pyx_L1_error))
|
|
15298
15346
|
__Pyx_INCREF(__pyx_v_func);
|
|
15299
15347
|
__pyx_t_1 = __pyx_v_func;
|
|
15300
|
-
__pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_sync, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0,
|
|
15348
|
+
__pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_sync, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 812, __pyx_L1_error)
|
|
15301
15349
|
if (!__pyx_t_3) {
|
|
15302
15350
|
} else {
|
|
15303
15351
|
__pyx_t_2 = __pyx_t_3;
|
|
15304
15352
|
goto __pyx_L4_bool_binop_done;
|
|
15305
15353
|
}
|
|
15306
|
-
__pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_async, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0,
|
|
15354
|
+
__pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_async, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 812, __pyx_L1_error)
|
|
15307
15355
|
__pyx_t_2 = __pyx_t_3;
|
|
15308
15356
|
__pyx_L4_bool_binop_done:;
|
|
15309
15357
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
15310
15358
|
__pyx_t_3 = __pyx_t_2;
|
|
15311
15359
|
if (__pyx_t_3) {
|
|
15312
15360
|
|
|
15313
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15361
|
+
/* "a_sync/a_sync/property.pyx":813
|
|
15314
15362
|
* """
|
|
15315
15363
|
* if func in ("sync", "async"):
|
|
15316
15364
|
* modifiers["default"] = func # <<<<<<<<<<<<<<
|
|
15317
15365
|
* return None, modifiers
|
|
15318
15366
|
* return func, modifiers
|
|
15319
15367
|
*/
|
|
15320
|
-
__Pyx_TraceLine(
|
|
15368
|
+
__Pyx_TraceLine(813,0,__PYX_ERR(0, 813, __pyx_L1_error))
|
|
15321
15369
|
if (unlikely(__pyx_v_modifiers == Py_None)) {
|
|
15322
15370
|
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
|
|
15323
|
-
__PYX_ERR(0,
|
|
15371
|
+
__PYX_ERR(0, 813, __pyx_L1_error)
|
|
15324
15372
|
}
|
|
15325
|
-
if (unlikely((PyDict_SetItem(__pyx_v_modifiers, __pyx_n_u_default, __pyx_v_func) < 0))) __PYX_ERR(0,
|
|
15373
|
+
if (unlikely((PyDict_SetItem(__pyx_v_modifiers, __pyx_n_u_default, __pyx_v_func) < 0))) __PYX_ERR(0, 813, __pyx_L1_error)
|
|
15326
15374
|
|
|
15327
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15375
|
+
/* "a_sync/a_sync/property.pyx":814
|
|
15328
15376
|
* if func in ("sync", "async"):
|
|
15329
15377
|
* modifiers["default"] = func
|
|
15330
15378
|
* return None, modifiers # <<<<<<<<<<<<<<
|
|
15331
15379
|
* return func, modifiers
|
|
15332
15380
|
*
|
|
15333
15381
|
*/
|
|
15334
|
-
__Pyx_TraceLine(
|
|
15382
|
+
__Pyx_TraceLine(814,0,__PYX_ERR(0, 814, __pyx_L1_error))
|
|
15335
15383
|
__Pyx_XDECREF(__pyx_r);
|
|
15336
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
15384
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 814, __pyx_L1_error)
|
|
15337
15385
|
__Pyx_GOTREF(__pyx_t_1);
|
|
15338
15386
|
__Pyx_INCREF(Py_None);
|
|
15339
15387
|
__Pyx_GIVEREF(Py_None);
|
|
15340
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, Py_None)) __PYX_ERR(0,
|
|
15388
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, Py_None)) __PYX_ERR(0, 814, __pyx_L1_error);
|
|
15341
15389
|
__Pyx_INCREF(__pyx_v_modifiers);
|
|
15342
15390
|
__Pyx_GIVEREF(__pyx_v_modifiers);
|
|
15343
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_modifiers)) __PYX_ERR(0,
|
|
15391
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_modifiers)) __PYX_ERR(0, 814, __pyx_L1_error);
|
|
15344
15392
|
__pyx_r = __pyx_t_1;
|
|
15345
15393
|
__pyx_t_1 = 0;
|
|
15346
15394
|
goto __pyx_L0;
|
|
15347
15395
|
|
|
15348
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15396
|
+
/* "a_sync/a_sync/property.pyx":812
|
|
15349
15397
|
* Tuple[Optional[AsyncGetterFunction[I, T]], ModifierKwargs] A tuple containing the parsed function and modifiers.
|
|
15350
15398
|
* """
|
|
15351
15399
|
* if func in ("sync", "async"): # <<<<<<<<<<<<<<
|
|
@@ -15354,28 +15402,28 @@ static PyObject *__pyx_f_6a_sync_6a_sync_8property__parse_args(PyObject *__pyx_v
|
|
|
15354
15402
|
*/
|
|
15355
15403
|
}
|
|
15356
15404
|
|
|
15357
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15405
|
+
/* "a_sync/a_sync/property.pyx":815
|
|
15358
15406
|
* modifiers["default"] = func
|
|
15359
15407
|
* return None, modifiers
|
|
15360
15408
|
* return func, modifiers # <<<<<<<<<<<<<<
|
|
15361
15409
|
*
|
|
15362
15410
|
*
|
|
15363
15411
|
*/
|
|
15364
|
-
__Pyx_TraceLine(
|
|
15412
|
+
__Pyx_TraceLine(815,0,__PYX_ERR(0, 815, __pyx_L1_error))
|
|
15365
15413
|
__Pyx_XDECREF(__pyx_r);
|
|
15366
|
-
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
15414
|
+
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 815, __pyx_L1_error)
|
|
15367
15415
|
__Pyx_GOTREF(__pyx_t_1);
|
|
15368
15416
|
__Pyx_INCREF(__pyx_v_func);
|
|
15369
15417
|
__Pyx_GIVEREF(__pyx_v_func);
|
|
15370
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func)) __PYX_ERR(0,
|
|
15418
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func)) __PYX_ERR(0, 815, __pyx_L1_error);
|
|
15371
15419
|
__Pyx_INCREF(__pyx_v_modifiers);
|
|
15372
15420
|
__Pyx_GIVEREF(__pyx_v_modifiers);
|
|
15373
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_modifiers)) __PYX_ERR(0,
|
|
15421
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_modifiers)) __PYX_ERR(0, 815, __pyx_L1_error);
|
|
15374
15422
|
__pyx_r = __pyx_t_1;
|
|
15375
15423
|
__pyx_t_1 = 0;
|
|
15376
15424
|
goto __pyx_L0;
|
|
15377
15425
|
|
|
15378
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15426
|
+
/* "a_sync/a_sync/property.pyx":799
|
|
15379
15427
|
*
|
|
15380
15428
|
*
|
|
15381
15429
|
* cdef object _parse_args( # <<<<<<<<<<<<<<
|
|
@@ -15395,7 +15443,7 @@ static PyObject *__pyx_f_6a_sync_6a_sync_8property__parse_args(PyObject *__pyx_v
|
|
|
15395
15443
|
return __pyx_r;
|
|
15396
15444
|
}
|
|
15397
15445
|
|
|
15398
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15446
|
+
/* "a_sync/a_sync/property.pyx":818
|
|
15399
15447
|
*
|
|
15400
15448
|
*
|
|
15401
15449
|
* cdef inline void _import_TaskMapping(): # <<<<<<<<<<<<<<
|
|
@@ -15412,29 +15460,29 @@ static CYTHON_INLINE void __pyx_f_6a_sync_6a_sync_8property__import_TaskMapping(
|
|
|
15412
15460
|
const char *__pyx_filename = NULL;
|
|
15413
15461
|
int __pyx_clineno = 0;
|
|
15414
15462
|
__Pyx_RefNannySetupContext("_import_TaskMapping", 1);
|
|
15415
|
-
__Pyx_TraceCall("_import_TaskMapping", __pyx_f[0],
|
|
15463
|
+
__Pyx_TraceCall("_import_TaskMapping", __pyx_f[0], 818, 0, __PYX_ERR(0, 818, __pyx_L1_error));
|
|
15416
15464
|
|
|
15417
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15465
|
+
/* "a_sync/a_sync/property.pyx":820
|
|
15418
15466
|
* cdef inline void _import_TaskMapping():
|
|
15419
15467
|
* global TaskMapping
|
|
15420
15468
|
* from a_sync import TaskMapping # <<<<<<<<<<<<<<
|
|
15421
15469
|
*/
|
|
15422
|
-
__Pyx_TraceLine(
|
|
15423
|
-
__pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
15470
|
+
__Pyx_TraceLine(820,0,__PYX_ERR(0, 820, __pyx_L1_error))
|
|
15471
|
+
__pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 820, __pyx_L1_error)
|
|
15424
15472
|
__Pyx_GOTREF(__pyx_t_1);
|
|
15425
15473
|
__Pyx_INCREF(__pyx_n_s_TaskMapping);
|
|
15426
15474
|
__Pyx_GIVEREF(__pyx_n_s_TaskMapping);
|
|
15427
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_TaskMapping)) __PYX_ERR(0,
|
|
15428
|
-
__pyx_t_2 = __Pyx_Import(__pyx_n_s_a_sync, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
15475
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_TaskMapping)) __PYX_ERR(0, 820, __pyx_L1_error);
|
|
15476
|
+
__pyx_t_2 = __Pyx_Import(__pyx_n_s_a_sync, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 820, __pyx_L1_error)
|
|
15429
15477
|
__Pyx_GOTREF(__pyx_t_2);
|
|
15430
15478
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
15431
|
-
__pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_TaskMapping); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
15479
|
+
__pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_TaskMapping); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 820, __pyx_L1_error)
|
|
15432
15480
|
__Pyx_GOTREF(__pyx_t_1);
|
|
15433
|
-
if (PyDict_SetItem(__pyx_d, __pyx_n_s_TaskMapping, __pyx_t_1) < 0) __PYX_ERR(0,
|
|
15481
|
+
if (PyDict_SetItem(__pyx_d, __pyx_n_s_TaskMapping, __pyx_t_1) < 0) __PYX_ERR(0, 820, __pyx_L1_error)
|
|
15434
15482
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
15435
15483
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
15436
15484
|
|
|
15437
|
-
/* "a_sync/a_sync/property.pyx":
|
|
15485
|
+
/* "a_sync/a_sync/property.pyx":818
|
|
15438
15486
|
*
|
|
15439
15487
|
*
|
|
15440
15488
|
* cdef inline void _import_TaskMapping(): # <<<<<<<<<<<<<<
|
|
@@ -16220,7 +16268,6 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
16220
16268
|
{&__pyx_n_s_fget, __pyx_k_fget, sizeof(__pyx_k_fget), 0, 0, 1, 1},
|
|
16221
16269
|
{&__pyx_n_u_fget, __pyx_k_fget, sizeof(__pyx_k_fget), 0, 1, 0, 1},
|
|
16222
16270
|
{&__pyx_n_s_field_name, __pyx_k_field_name, sizeof(__pyx_k_field_name), 0, 0, 1, 1},
|
|
16223
|
-
{&__pyx_n_s_fn, __pyx_k_fn, sizeof(__pyx_k_fn), 0, 0, 1, 1},
|
|
16224
16271
|
{&__pyx_kp_u_for_property_bound_to, __pyx_k_for_property_bound_to, sizeof(__pyx_k_for_property_bound_to), 0, 1, 0, 0},
|
|
16225
16272
|
{&__pyx_n_s_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 0, 1, 1},
|
|
16226
16273
|
{&__pyx_n_s_fset, __pyx_k_fset, sizeof(__pyx_k_fset), 0, 0, 1, 1},
|
|
@@ -16290,7 +16337,6 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
16290
16337
|
{&__pyx_kp_u_returning_s_for_s_for_instance_s, __pyx_k_returning_s_for_s_for_instance_s, sizeof(__pyx_k_returning_s_for_s_for_instance_s), 0, 1, 0, 0},
|
|
16291
16338
|
{&__pyx_n_s_retval, __pyx_k_retval, sizeof(__pyx_k_retval), 0, 0, 1, 1},
|
|
16292
16339
|
{&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1},
|
|
16293
|
-
{&__pyx_n_s_self_2, __pyx_k_self_2, sizeof(__pyx_k_self_2), 0, 0, 1, 1},
|
|
16294
16340
|
{&__pyx_n_s_send, __pyx_k_send, sizeof(__pyx_k_send), 0, 0, 1, 1},
|
|
16295
16341
|
{&__pyx_n_s_set_name, __pyx_k_set_name, sizeof(__pyx_k_set_name), 0, 0, 1, 1},
|
|
16296
16342
|
{&__pyx_n_u_setter, __pyx_k_setter, sizeof(__pyx_k_setter), 0, 1, 0, 1},
|
|
@@ -16319,7 +16365,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
16319
16365
|
/* #### Code section: cached_builtins ### */
|
|
16320
16366
|
static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) {
|
|
16321
16367
|
__pyx_builtin_super = __Pyx_GetBuiltinName(__pyx_n_s_super); if (!__pyx_builtin_super) __PYX_ERR(0, 154, __pyx_L1_error)
|
|
16322
|
-
__pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) __PYX_ERR(0,
|
|
16368
|
+
__pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) __PYX_ERR(0, 785, __pyx_L1_error)
|
|
16323
16369
|
return 0;
|
|
16324
16370
|
__pyx_L1_error:;
|
|
16325
16371
|
return -1;
|
|
@@ -16342,14 +16388,14 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
16342
16388
|
__Pyx_GIVEREF(__pyx_tuple__26);
|
|
16343
16389
|
__pyx_codeobj__27 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_COROUTINE, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_loader, 488, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__27)) __PYX_ERR(0, 488, __pyx_L1_error)
|
|
16344
16390
|
|
|
16345
|
-
/* "a_sync/a_sync/property.pyx":
|
|
16391
|
+
/* "a_sync/a_sync/property.pyx":723
|
|
16346
16392
|
* instance_type.__module__,
|
|
16347
16393
|
* instance_type.__name__,
|
|
16348
16394
|
* self.__name__[2:-2], # <<<<<<<<<<<<<<
|
|
16349
|
-
*
|
|
16395
|
+
* instance,
|
|
16350
16396
|
* )
|
|
16351
16397
|
*/
|
|
16352
|
-
__pyx_slice__43 = PySlice_New(__pyx_int_2, __pyx_int_neg_2, Py_None); if (unlikely(!__pyx_slice__43)) __PYX_ERR(0,
|
|
16398
|
+
__pyx_slice__43 = PySlice_New(__pyx_int_2, __pyx_int_neg_2, Py_None); if (unlikely(!__pyx_slice__43)) __PYX_ERR(0, 723, __pyx_L1_error)
|
|
16353
16399
|
__Pyx_GOTREF(__pyx_slice__43);
|
|
16354
16400
|
__Pyx_GIVEREF(__pyx_slice__43);
|
|
16355
16401
|
|
|
@@ -16753,53 +16799,53 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
|
|
|
16753
16799
|
__Pyx_GIVEREF(__pyx_tuple__66);
|
|
16754
16800
|
__pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_init, 693, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(0, 693, __pyx_L1_error)
|
|
16755
16801
|
|
|
16756
|
-
/* "a_sync/a_sync/property.pyx":
|
|
16802
|
+
/* "a_sync/a_sync/property.pyx":715
|
|
16757
16803
|
* """The name of the hidden method."""
|
|
16758
16804
|
*
|
|
16759
|
-
* def __repr__(self) -> str: # <<<<<<<<<<<<<<
|
|
16805
|
+
* def __repr__(_ASyncBoundMethod self) -> str: # <<<<<<<<<<<<<<
|
|
16760
16806
|
* """Returns a string representation of the HiddenMethod."""
|
|
16761
|
-
*
|
|
16807
|
+
* instance = self.__c_self__()
|
|
16762
16808
|
*/
|
|
16763
|
-
__pyx_tuple__67 = PyTuple_Pack(
|
|
16809
|
+
__pyx_tuple__67 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_instance, __pyx_n_s_instance_type); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
16764
16810
|
__Pyx_GOTREF(__pyx_tuple__67);
|
|
16765
16811
|
__Pyx_GIVEREF(__pyx_tuple__67);
|
|
16766
|
-
__pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(1, 0, 0,
|
|
16812
|
+
__pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__67, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_repr, 715, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
16767
16813
|
|
|
16768
|
-
/* "a_sync/a_sync/property.pyx":
|
|
16814
|
+
/* "a_sync/a_sync/property.pyx":727
|
|
16769
16815
|
* )
|
|
16770
16816
|
*
|
|
16771
|
-
* def __await__(self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
16817
|
+
* def __await__(_ASyncBoundMethod self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
16772
16818
|
* """Returns an awaitable for the method."""
|
|
16773
16819
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
16774
16820
|
*/
|
|
16775
|
-
__pyx_tuple__68 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0,
|
|
16821
|
+
__pyx_tuple__68 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
16776
16822
|
__Pyx_GOTREF(__pyx_tuple__68);
|
|
16777
16823
|
__Pyx_GIVEREF(__pyx_tuple__68);
|
|
16778
|
-
__pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_await,
|
|
16824
|
+
__pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_await, 727, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__44)) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
16779
16825
|
|
|
16780
|
-
/* "a_sync/a_sync/property.pyx":
|
|
16826
|
+
/* "a_sync/a_sync/property.pyx":743
|
|
16781
16827
|
* """
|
|
16782
16828
|
*
|
|
16783
16829
|
* def __init__( # <<<<<<<<<<<<<<
|
|
16784
16830
|
* self,
|
|
16785
16831
|
* _fget: AnyFn[Concatenate[I, P], Awaitable[T]],
|
|
16786
16832
|
*/
|
|
16787
|
-
__pyx_tuple__69 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_fget, __pyx_n_s_field_name, __pyx_n_s_modifiers); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0,
|
|
16833
|
+
__pyx_tuple__69 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_fget, __pyx_n_s_field_name, __pyx_n_s_modifiers); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
16788
16834
|
__Pyx_GOTREF(__pyx_tuple__69);
|
|
16789
16835
|
__Pyx_GIVEREF(__pyx_tuple__69);
|
|
16790
|
-
__pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_init,
|
|
16836
|
+
__pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_init, 743, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
16791
16837
|
|
|
16792
|
-
/* "a_sync/a_sync/property.pyx":
|
|
16838
|
+
/* "a_sync/a_sync/property.pyx":768
|
|
16793
16839
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
16794
16840
|
*
|
|
16795
16841
|
* def __get__(_ModifiedMixin self, instance: I, owner: Type[I]) -> HiddenMethod[I, T]: # <<<<<<<<<<<<<<
|
|
16796
16842
|
* """Retrieves the hidden method for the property.
|
|
16797
16843
|
*
|
|
16798
16844
|
*/
|
|
16799
|
-
__pyx_tuple__70 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_instance, __pyx_n_s_owner, __pyx_n_s_bound, __pyx_n_s_field_name); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(0,
|
|
16845
|
+
__pyx_tuple__70 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_instance, __pyx_n_s_owner, __pyx_n_s_bound, __pyx_n_s_field_name); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
16800
16846
|
__Pyx_GOTREF(__pyx_tuple__70);
|
|
16801
16847
|
__Pyx_GIVEREF(__pyx_tuple__70);
|
|
16802
|
-
__pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_get_2,
|
|
16848
|
+
__pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_property_pyx, __pyx_n_s_get_2, 768, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
16803
16849
|
__Pyx_RefNannyFinishContext();
|
|
16804
16850
|
return 0;
|
|
16805
16851
|
__pyx_L1_error:;
|
|
@@ -16969,14 +17015,19 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
16969
17015
|
__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction", sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
|
|
16970
17016
|
__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction*)__Pyx_GetVtable(__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction)) __PYX_ERR(2, 13, __pyx_L1_error)
|
|
16971
17017
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
16972
|
-
__pyx_t_1 = PyImport_ImportModule("a_sync.
|
|
17018
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.method"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 2, __pyx_L1_error)
|
|
16973
17019
|
__Pyx_GOTREF(__pyx_t_1);
|
|
16974
|
-
|
|
16975
|
-
|
|
17020
|
+
__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.a_sync.method", "_ASyncBoundMethod", sizeof(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod) __PYX_ERR(3, 2, __pyx_L1_error)
|
|
17021
|
+
__pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod = (struct __pyx_vtabstruct_6a_sync_6a_sync_6method__ASyncBoundMethod*)__Pyx_GetVtable(__pyx_ptype_6a_sync_6a_sync_6method__ASyncBoundMethod); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_6method__ASyncBoundMethod)) __PYX_ERR(3, 2, __pyx_L1_error)
|
|
16976
17022
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
16977
|
-
__pyx_t_1 = PyImport_ImportModule("a_sync.
|
|
17023
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.async_property.cached"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 6, __pyx_L1_error)
|
|
16978
17024
|
__Pyx_GOTREF(__pyx_t_1);
|
|
16979
|
-
|
|
17025
|
+
__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.async_property.cached", "AsyncCachedPropertyInstanceState", sizeof(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState) __PYX_ERR(4, 6, __pyx_L1_error)
|
|
17026
|
+
__pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState = (struct __pyx_vtabstruct_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState*)__Pyx_GetVtable(__pyx_ptype_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState); if (unlikely(!__pyx_vtabptr_6a_sync_14async_property_6cached_AsyncCachedPropertyInstanceState)) __PYX_ERR(4, 6, __pyx_L1_error)
|
|
17027
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17028
|
+
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(5, 1, __pyx_L1_error)
|
|
17029
|
+
__Pyx_GOTREF(__pyx_t_1);
|
|
17030
|
+
__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.functools", "cached_property_unsafe", sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(5, 1, __pyx_L1_error)
|
|
16980
17031
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
16981
17032
|
__Pyx_RefNannyFinishContext();
|
|
16982
17033
|
return 0;
|
|
@@ -17026,7 +17077,7 @@ static int __Pyx_modinit_function_import_code(void) {
|
|
|
17026
17077
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.method"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17027
17078
|
__Pyx_GOTREF(__pyx_t_1);
|
|
17028
17079
|
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_is_a_sync_instance", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__is_a_sync_instance, "int (PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17029
|
-
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_update_cache_timer", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__update_cache_timer, "void (PyObject *, PyObject *,
|
|
17080
|
+
if (__Pyx_ImportFunction_3_0_12(__pyx_t_1, "_update_cache_timer", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6method__update_cache_timer, "void (PyObject *, PyObject *, struct __pyx_obj_6a_sync_6a_sync_6method__ASyncBoundMethod *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17030
17081
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
17031
17082
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
17032
17083
|
__Pyx_GOTREF(__pyx_t_1);
|
|
@@ -17656,7 +17707,7 @@ if (!__Pyx_RefNanny) {
|
|
|
17656
17707
|
|
|
17657
17708
|
/* "a_sync/a_sync/property.pyx":19
|
|
17658
17709
|
* from a_sync.a_sync.function cimport _ModifiedMixin
|
|
17659
|
-
* from a_sync.a_sync.method cimport _is_a_sync_instance, _update_cache_timer
|
|
17710
|
+
* from a_sync.a_sync.method cimport _ASyncBoundMethod, _is_a_sync_instance, _update_cache_timer
|
|
17660
17711
|
* from a_sync.async_property import cached # <<<<<<<<<<<<<<
|
|
17661
17712
|
* from a_sync.async_property.cached cimport AsyncCachedPropertyInstanceState
|
|
17662
17713
|
* from a_sync.asyncio.create_task cimport ccreate_task_simple
|
|
@@ -20313,40 +20364,40 @@ if (!__Pyx_RefNanny) {
|
|
|
20313
20364
|
if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_init, __pyx_t_5) < 0) __PYX_ERR(0, 693, __pyx_L1_error)
|
|
20314
20365
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20315
20366
|
|
|
20316
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20367
|
+
/* "a_sync/a_sync/property.pyx":715
|
|
20317
20368
|
* """The name of the hidden method."""
|
|
20318
20369
|
*
|
|
20319
|
-
* def __repr__(self) -> str: # <<<<<<<<<<<<<<
|
|
20370
|
+
* def __repr__(_ASyncBoundMethod self) -> str: # <<<<<<<<<<<<<<
|
|
20320
20371
|
* """Returns a string representation of the HiddenMethod."""
|
|
20321
|
-
*
|
|
20372
|
+
* instance = self.__c_self__()
|
|
20322
20373
|
*/
|
|
20323
|
-
__Pyx_TraceLine(
|
|
20324
|
-
__pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20374
|
+
__Pyx_TraceLine(715,0,__PYX_ERR(0, 715, __pyx_L1_error))
|
|
20375
|
+
__pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
20325
20376
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20326
|
-
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_return, __pyx_n_s_str) < 0) __PYX_ERR(0,
|
|
20327
|
-
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_3__repr__, 0, __pyx_n_s_HiddenMethod___repr, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__42)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
20377
|
+
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_return, __pyx_n_s_str) < 0) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
20378
|
+
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_3__repr__, 0, __pyx_n_s_HiddenMethod___repr, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__42)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
20328
20379
|
__Pyx_GOTREF(__pyx_t_3);
|
|
20329
20380
|
__Pyx_CyFunction_SetAnnotationsDict(__pyx_t_3, __pyx_t_5);
|
|
20330
20381
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20331
|
-
if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
20382
|
+
if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0, 715, __pyx_L1_error)
|
|
20332
20383
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20333
20384
|
|
|
20334
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20385
|
+
/* "a_sync/a_sync/property.pyx":727
|
|
20335
20386
|
* )
|
|
20336
20387
|
*
|
|
20337
|
-
* def __await__(self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
20388
|
+
* def __await__(_ASyncBoundMethod self) -> Generator[Any, None, T]: # <<<<<<<<<<<<<<
|
|
20338
20389
|
* """Returns an awaitable for the method."""
|
|
20339
20390
|
* # NOTE: self(sync=False).__await__() would be cleaner but requires way more compute for no real gain
|
|
20340
20391
|
*/
|
|
20341
|
-
__Pyx_TraceLine(
|
|
20342
|
-
__pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
20392
|
+
__Pyx_TraceLine(727,0,__PYX_ERR(0, 727, __pyx_L1_error))
|
|
20393
|
+
__pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
20343
20394
|
__Pyx_GOTREF(__pyx_t_3);
|
|
20344
|
-
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_Generator_Any_None_T) < 0) __PYX_ERR(0,
|
|
20345
|
-
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_5__await__, 0, __pyx_n_s_HiddenMethod___await, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__44)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20395
|
+
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_Generator_Any_None_T) < 0) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
20396
|
+
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_12HiddenMethod_5__await__, 0, __pyx_n_s_HiddenMethod___await, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__44)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
20346
20397
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20347
20398
|
__Pyx_CyFunction_SetAnnotationsDict(__pyx_t_5, __pyx_t_3);
|
|
20348
20399
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20349
|
-
if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_await, __pyx_t_5) < 0) __PYX_ERR(0,
|
|
20400
|
+
if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_await, __pyx_t_5) < 0) __PYX_ERR(0, 727, __pyx_L1_error)
|
|
20350
20401
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20351
20402
|
|
|
20352
20403
|
/* "a_sync/a_sync/property.pyx":684
|
|
@@ -20365,129 +20416,129 @@ if (!__Pyx_RefNanny) {
|
|
|
20365
20416
|
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
20366
20417
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
20367
20418
|
|
|
20368
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20419
|
+
/* "a_sync/a_sync/property.pyx":734
|
|
20369
20420
|
*
|
|
20370
20421
|
*
|
|
20371
20422
|
* class HiddenMethodDescriptor(ASyncMethodDescriptorAsyncDefault[I, Tuple[()], T]): # <<<<<<<<<<<<<<
|
|
20372
20423
|
* """Descriptor for hidden methods associated with asynchronous properties.
|
|
20373
20424
|
*
|
|
20374
20425
|
*/
|
|
20375
|
-
__Pyx_TraceLine(
|
|
20376
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_I); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
20426
|
+
__Pyx_TraceLine(734,0,__PYX_ERR(0, 734, __pyx_L1_error))
|
|
20427
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_I); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20377
20428
|
__Pyx_GOTREF(__pyx_t_8);
|
|
20378
|
-
__Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_Tuple); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
20429
|
+
__Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_Tuple); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20379
20430
|
__Pyx_GOTREF(__pyx_t_6);
|
|
20380
|
-
__pyx_t_2 = __Pyx_PyObject_GetItem(__pyx_t_6, __pyx_empty_tuple); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
20431
|
+
__pyx_t_2 = __Pyx_PyObject_GetItem(__pyx_t_6, __pyx_empty_tuple); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20381
20432
|
__Pyx_GOTREF(__pyx_t_2);
|
|
20382
20433
|
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
20383
|
-
__Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_T); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
20434
|
+
__Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_T); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20384
20435
|
__Pyx_GOTREF(__pyx_t_6);
|
|
20385
|
-
__pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20436
|
+
__pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20386
20437
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20387
20438
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
20388
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_8)) __PYX_ERR(0,
|
|
20439
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_8)) __PYX_ERR(0, 734, __pyx_L1_error);
|
|
20389
20440
|
__Pyx_GIVEREF(__pyx_t_2);
|
|
20390
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0,
|
|
20441
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 734, __pyx_L1_error);
|
|
20391
20442
|
__Pyx_GIVEREF(__pyx_t_6);
|
|
20392
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_6)) __PYX_ERR(0,
|
|
20443
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error);
|
|
20393
20444
|
__pyx_t_8 = 0;
|
|
20394
20445
|
__pyx_t_2 = 0;
|
|
20395
20446
|
__pyx_t_6 = 0;
|
|
20396
|
-
__pyx_t_6 = __Pyx_PyObject_GetItem(__pyx_v_6a_sync_6a_sync_8property_ASyncMethodDescriptorAsyncDefault, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
20447
|
+
__pyx_t_6 = __Pyx_PyObject_GetItem(__pyx_v_6a_sync_6a_sync_8property_ASyncMethodDescriptorAsyncDefault, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20397
20448
|
__Pyx_GOTREF(__pyx_t_6);
|
|
20398
20449
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20399
|
-
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20450
|
+
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20400
20451
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20401
20452
|
__Pyx_GIVEREF(__pyx_t_6);
|
|
20402
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_6)) __PYX_ERR(0,
|
|
20453
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error);
|
|
20403
20454
|
__pyx_t_6 = 0;
|
|
20404
|
-
__pyx_t_6 = __Pyx_PEP560_update_bases(__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0,
|
|
20455
|
+
__pyx_t_6 = __Pyx_PEP560_update_bases(__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20405
20456
|
__Pyx_GOTREF(__pyx_t_6);
|
|
20406
|
-
__pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
20457
|
+
__pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20407
20458
|
__Pyx_GOTREF(__pyx_t_2);
|
|
20408
|
-
__pyx_t_8 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_6, __pyx_n_s_HiddenMethodDescriptor, __pyx_n_s_HiddenMethodDescriptor, (PyObject *) NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_kp_s_Descriptor_for_hidden_methods_as); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
20459
|
+
__pyx_t_8 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_6, __pyx_n_s_HiddenMethodDescriptor, __pyx_n_s_HiddenMethodDescriptor, (PyObject *) NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_kp_s_Descriptor_for_hidden_methods_as); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20409
20460
|
__Pyx_GOTREF(__pyx_t_8);
|
|
20410
20461
|
if (__pyx_t_6 != __pyx_t_5) {
|
|
20411
|
-
if (unlikely((PyDict_SetItemString(__pyx_t_8, "__orig_bases__", __pyx_t_5) < 0))) __PYX_ERR(0,
|
|
20462
|
+
if (unlikely((PyDict_SetItemString(__pyx_t_8, "__orig_bases__", __pyx_t_5) < 0))) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20412
20463
|
}
|
|
20413
20464
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20414
20465
|
|
|
20415
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20466
|
+
/* "a_sync/a_sync/property.pyx":743
|
|
20416
20467
|
* """
|
|
20417
20468
|
*
|
|
20418
20469
|
* def __init__( # <<<<<<<<<<<<<<
|
|
20419
20470
|
* self,
|
|
20420
20471
|
* _fget: AnyFn[Concatenate[I, P], Awaitable[T]],
|
|
20421
20472
|
*/
|
|
20422
|
-
__Pyx_TraceLine(
|
|
20423
|
-
__pyx_t_5 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20473
|
+
__Pyx_TraceLine(743,0,__PYX_ERR(0, 743, __pyx_L1_error))
|
|
20474
|
+
__pyx_t_5 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20424
20475
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20425
|
-
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_fget, __pyx_kp_s_AnyFn_Concatenate_I_P_Awaitable) < 0) __PYX_ERR(0,
|
|
20426
|
-
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_field_name, __pyx_kp_s_Optional_str) < 0) __PYX_ERR(0,
|
|
20427
|
-
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_modifiers, __pyx_kp_s_Unpack_ModifierKwargs) < 0) __PYX_ERR(0,
|
|
20428
|
-
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0,
|
|
20429
|
-
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_1__init__, 0, __pyx_n_s_HiddenMethodDescriptor___init, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
20476
|
+
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_fget, __pyx_kp_s_AnyFn_Concatenate_I_P_Awaitable) < 0) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20477
|
+
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_field_name, __pyx_kp_s_Optional_str) < 0) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20478
|
+
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_modifiers, __pyx_kp_s_Unpack_ModifierKwargs) < 0) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20479
|
+
if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20480
|
+
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_1__init__, 0, __pyx_n_s_HiddenMethodDescriptor___init, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20430
20481
|
__Pyx_GOTREF(__pyx_t_3);
|
|
20431
20482
|
__Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_tuple__52);
|
|
20432
20483
|
__Pyx_CyFunction_SetAnnotationsDict(__pyx_t_3, __pyx_t_5);
|
|
20433
20484
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20434
|
-
if (__Pyx_SetNameInClass(__pyx_t_8, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
20485
|
+
if (__Pyx_SetNameInClass(__pyx_t_8, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 743, __pyx_L1_error)
|
|
20435
20486
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20436
20487
|
|
|
20437
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20488
|
+
/* "a_sync/a_sync/property.pyx":768
|
|
20438
20489
|
* self.__doc__ += f"\n\nThe original docstring for :meth:`~{self.__wrapped__.__qualname__}` is shown below:\n\n{self.__wrapped__.__doc__}"
|
|
20439
20490
|
*
|
|
20440
20491
|
* def __get__(_ModifiedMixin self, instance: I, owner: Type[I]) -> HiddenMethod[I, T]: # <<<<<<<<<<<<<<
|
|
20441
20492
|
* """Retrieves the hidden method for the property.
|
|
20442
20493
|
*
|
|
20443
20494
|
*/
|
|
20444
|
-
__Pyx_TraceLine(
|
|
20445
|
-
__pyx_t_3 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
20495
|
+
__Pyx_TraceLine(768,0,__PYX_ERR(0, 768, __pyx_L1_error))
|
|
20496
|
+
__pyx_t_3 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20446
20497
|
__Pyx_GOTREF(__pyx_t_3);
|
|
20447
|
-
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_instance, __pyx_n_s_I) < 0) __PYX_ERR(0,
|
|
20448
|
-
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_owner, __pyx_kp_s_Type_I) < 0) __PYX_ERR(0,
|
|
20449
|
-
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_HiddenMethod_I_T) < 0) __PYX_ERR(0,
|
|
20450
|
-
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_3__get__, 0, __pyx_n_s_HiddenMethodDescriptor___get, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20498
|
+
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_instance, __pyx_n_s_I) < 0) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20499
|
+
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_owner, __pyx_kp_s_Type_I) < 0) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20500
|
+
if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_HiddenMethod_I_T) < 0) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20501
|
+
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8property_22HiddenMethodDescriptor_3__get__, 0, __pyx_n_s_HiddenMethodDescriptor___get, NULL, __pyx_n_s_a_sync_a_sync_property, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20451
20502
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20452
20503
|
__Pyx_CyFunction_SetAnnotationsDict(__pyx_t_5, __pyx_t_3);
|
|
20453
20504
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
20454
|
-
if (__Pyx_SetNameInClass(__pyx_t_8, __pyx_n_s_get_2, __pyx_t_5) < 0) __PYX_ERR(0,
|
|
20505
|
+
if (__Pyx_SetNameInClass(__pyx_t_8, __pyx_n_s_get_2, __pyx_t_5) < 0) __PYX_ERR(0, 768, __pyx_L1_error)
|
|
20455
20506
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20456
20507
|
|
|
20457
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20508
|
+
/* "a_sync/a_sync/property.pyx":734
|
|
20458
20509
|
*
|
|
20459
20510
|
*
|
|
20460
20511
|
* class HiddenMethodDescriptor(ASyncMethodDescriptorAsyncDefault[I, Tuple[()], T]): # <<<<<<<<<<<<<<
|
|
20461
20512
|
* """Descriptor for hidden methods associated with asynchronous properties.
|
|
20462
20513
|
*
|
|
20463
20514
|
*/
|
|
20464
|
-
__Pyx_TraceLine(
|
|
20465
|
-
__pyx_t_5 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_HiddenMethodDescriptor, __pyx_t_6, __pyx_t_8, NULL, 0, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
20515
|
+
__Pyx_TraceLine(734,0,__PYX_ERR(0, 734, __pyx_L1_error))
|
|
20516
|
+
__pyx_t_5 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_HiddenMethodDescriptor, __pyx_t_6, __pyx_t_8, NULL, 0, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20466
20517
|
__Pyx_GOTREF(__pyx_t_5);
|
|
20467
|
-
if (PyDict_SetItem(__pyx_d, __pyx_n_s_HiddenMethodDescriptor, __pyx_t_5) < 0) __PYX_ERR(0,
|
|
20518
|
+
if (PyDict_SetItem(__pyx_d, __pyx_n_s_HiddenMethodDescriptor, __pyx_t_5) < 0) __PYX_ERR(0, 734, __pyx_L1_error)
|
|
20468
20519
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
20469
20520
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
20470
20521
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
20471
20522
|
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
|
|
20472
20523
|
|
|
20473
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20524
|
+
/* "a_sync/a_sync/property.pyx":799
|
|
20474
20525
|
*
|
|
20475
20526
|
*
|
|
20476
20527
|
* cdef object _parse_args( # <<<<<<<<<<<<<<
|
|
20477
20528
|
* func: Union[None, DefaultMode, AsyncGetterFunction[I, T]],
|
|
20478
20529
|
* dict modifiers,
|
|
20479
20530
|
*/
|
|
20480
|
-
__Pyx_TraceLine(
|
|
20531
|
+
__Pyx_TraceLine(799,0,__PYX_ERR(0, 799, __pyx_L1_error))
|
|
20481
20532
|
|
|
20482
20533
|
|
|
20483
|
-
/* "a_sync/a_sync/property.pyx":
|
|
20534
|
+
/* "a_sync/a_sync/property.pyx":818
|
|
20484
20535
|
*
|
|
20485
20536
|
*
|
|
20486
20537
|
* cdef inline void _import_TaskMapping(): # <<<<<<<<<<<<<<
|
|
20487
20538
|
* global TaskMapping
|
|
20488
20539
|
* from a_sync import TaskMapping
|
|
20489
20540
|
*/
|
|
20490
|
-
__Pyx_TraceLine(
|
|
20541
|
+
__Pyx_TraceLine(818,0,__PYX_ERR(0, 818, __pyx_L1_error))
|
|
20491
20542
|
|
|
20492
20543
|
|
|
20493
20544
|
/* "a_sync/a_sync/property.pyx":1
|