ez-a-sync 0.32.26__cp311-cp311-win32.whl → 0.32.27__cp311-cp311-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.c +44 -29
- a_sync/_smart.cp311-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +69 -54
- a_sync/a_sync/_descriptor.cp311-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp311-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +62 -47
- a_sync/a_sync/_helpers.cp311-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +33 -18
- a_sync/a_sync/_kwargs.cp311-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +18 -11
- a_sync/a_sync/abstract.cp311-win32.pyd +0 -0
- a_sync/a_sync/base.c +168 -153
- a_sync/a_sync/base.cp311-win32.pyd +0 -0
- a_sync/a_sync/flags.c +6 -3
- a_sync/a_sync/flags.cp311-win32.pyd +0 -0
- a_sync/a_sync/function.c +80 -65
- a_sync/a_sync/function.cp311-win32.pyd +0 -0
- a_sync/a_sync/method.c +122 -107
- a_sync/a_sync/method.cp311-win32.pyd +0 -0
- a_sync/a_sync/modifiers/manager.c +46 -31
- a_sync/a_sync/modifiers/manager.cp311-win32.pyd +0 -0
- a_sync/a_sync/property.c +82 -67
- a_sync/a_sync/property.cp311-win32.pyd +0 -0
- a_sync/async_property/cached.c +52 -37
- a_sync/async_property/cached.cp311-win32.pyd +0 -0
- a_sync/async_property/proxy.c +25 -10
- a_sync/async_property/proxy.cp311-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +21 -6
- a_sync/asyncio/as_completed.cp311-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +23 -8
- a_sync/asyncio/create_task.cp311-win32.pyd +0 -0
- a_sync/asyncio/gather.c +30 -15
- a_sync/asyncio/gather.cp311-win32.pyd +0 -0
- a_sync/asyncio/igather.c +24 -9
- a_sync/asyncio/igather.cp311-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +19 -4
- a_sync/asyncio/sleep.cp311-win32.pyd +0 -0
- a_sync/debugging.c +45 -30
- a_sync/debugging.cp311-win32.pyd +0 -0
- a_sync/exceptions.c +18 -11
- a_sync/exceptions.cp311-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +24 -9
- a_sync/functools.cp311-win32.pyd +0 -0
- a_sync/iter.c +85 -70
- a_sync/iter.cp311-win32.pyd +0 -0
- a_sync/primitives/_debug.c +49 -34
- a_sync/primitives/_debug.cp311-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +25 -10
- a_sync/primitives/_loggable.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +65 -50
- a_sync/primitives/locks/counter.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +61 -45
- a_sync/primitives/locks/event.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +82 -67
- a_sync/primitives/locks/prio_semaphore.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.c +72 -57
- a_sync/primitives/locks/semaphore.cp311-win32.pyd +0 -0
- a_sync/utils/repr.c +41 -26
- a_sync/utils/repr.cp311-win32.pyd +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/RECORD +66 -66
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -30,8 +30,8 @@ END: Cython Metadata */
|
|
|
30
30
|
#elif PY_VERSION_HEX < 0x03080000
|
|
31
31
|
#error Cython requires Python 3.8+.
|
|
32
32
|
#else
|
|
33
|
-
#define __PYX_ABI_VERSION "
|
|
34
|
-
#define CYTHON_HEX_VERSION
|
|
33
|
+
#define __PYX_ABI_VERSION "3_1_3"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
35
35
|
#define CYTHON_FUTURE_DIVISION 1
|
|
36
36
|
/* CModulePreamble */
|
|
37
37
|
#include <stddef.h>
|
|
@@ -394,6 +394,9 @@ END: Cython Metadata */
|
|
|
394
394
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
395
395
|
#endif
|
|
396
396
|
#endif
|
|
397
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
398
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
399
|
+
#endif
|
|
397
400
|
#ifndef __has_attribute
|
|
398
401
|
#define __has_attribute(x) 0
|
|
399
402
|
#endif
|
|
@@ -3120,22 +3123,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
|
|
|
3120
3123
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
3121
3124
|
|
|
3122
3125
|
/* TypeImport.proto */
|
|
3123
|
-
#ifndef
|
|
3124
|
-
#define
|
|
3126
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
3127
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
3125
3128
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
3126
3129
|
#include <stdalign.h>
|
|
3127
3130
|
#endif
|
|
3128
3131
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
3129
|
-
#define
|
|
3132
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
|
|
3130
3133
|
#else
|
|
3131
|
-
#define
|
|
3134
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
3132
3135
|
#endif
|
|
3133
|
-
enum
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3136
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
3137
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
3138
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
3139
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
3137
3140
|
};
|
|
3138
|
-
static PyTypeObject *
|
|
3141
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size);
|
|
3139
3142
|
#endif
|
|
3140
3143
|
|
|
3141
3144
|
/* GetVTable.proto */
|
|
@@ -3695,11 +3698,11 @@ static const char __pyx_k_potential_lost_waiters[] = "_potential_lost_waiters";
|
|
|
3695
3698
|
static const char __pyx_k_context_manager_class_2[] = "_context_manager_class";
|
|
3696
3699
|
static const char __pyx_k_s_has_no_waiters_to_wake[] = "%s has no waiters to wake";
|
|
3697
3700
|
static const char __pyx_k_we_found_a_lost_waiter_s[] = "we found a lost waiter %s";
|
|
3698
|
-
static const char __pyx_k_A_r_d_D_PTTffjj_C_C_D_D_E[] = "\200A\340\010\017\210r\220\025\220d\230*\320$<\270D\300\010\310\010\320PT\320Tf\320fj\320j
|
|
3701
|
+
static const char __pyx_k_A_r_d_D_PTTffjj_C_C_D_D_E[] = "\200A\340\010\017\210r\220\025\220d\230*\320$<\270D\300\010\310\010\320PT\320Tf\320fj\320j\177\360\000\000@\002C\002\360\000\000C\002D\002\360\000\000D\002E\002";
|
|
3699
3702
|
static const char __pyx_k_AbstractPrioritySemaphore[] = "_AbstractPrioritySemaphore";
|
|
3700
3703
|
static const char __pyx_k_r_d_5T9J_Naae_f_C_C_G_G_V_V_W[] = "\320\004\032\230!\340\010\017\210r\220\025\220d\230*\320$5\260T\3209J\310$\320Na\320ae\360\000\000f\001C\002\360\000\000C\002G\002\360\000\000G\002V\002\360\000\000V\002W\002";
|
|
3701
3704
|
static const char __pyx_k_MQ0_3c_5_Kr_e1_1_5_Ks_uA_1_5_1[] = "\320\004M\310Q\3600\000\t\014\2103\210c\220\021\330\014\023\2205\230\004\230K\240r\250\025\250e\2601\330\r\020\220\003\2201\330\014\023\2205\230\004\230K\240s\250%\250u\260A\330\r\020\220\003\2201\330\014\023\2205\230\003\2301\330\r\020\220\003\2201\330\014\023\2205\230\007\230q\330\r\020\220\003\2201\330\014\023\2205\230\004\230K\240r\250\025\250e\2601\330\r\020\220\003\2201\330\014\023\2205\230\004\230K\240s\250%\250u\260A\330\010\017\210q";
|
|
3702
|
-
static const char __pyx_k_T_A_E___iimmzz_M_M_Q_Q_____g_g[] = "\200\001\360\010\000\005\016\210T\320\021)\250\024\320-A\300\024\320E[\320[_\320_i\320im\320mz\320z~\360\000\000
|
|
3705
|
+
static const char __pyx_k_T_A_E___iimmzz_M_M_Q_Q_____g_g[] = "\200\001\360\010\000\005\016\210T\320\021)\250\024\320-A\300\024\320E[\320[_\320_i\320im\320mz\320z~\360\000\000\177\001M\002\360\000\000M\002Q\002\360\000\000Q\002[\002\360\000\000[\002_\002\360\000\000_\002g\002\360\000\000g\002k\002\360\000\000k\002u\002\360\000\000u\002y\002\360\000\000y\002E\003\360\000\000E\003I\003\360\000\000I\003J\003\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220A\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\0332\260'\270\025\270c\300\024\320EZ\320Za\320af\320fi\320im\320mv\320v}\360\000\000~\001C\002\360\000\000C\002F\002\360\000\000F\002J\002\360\000\000J\002V\002\360\000\000V\002]\002\360\000\000]\002b\002\360\000\000b\002e\002\360\000\000e\002i\002\360\000\000i\002r\002\360\000\000r\002y\002\360\000\000y\002~\002\360\000\000~\002A\003\360\000\000A\003E\003\360\000\000E\003N\003\360\000\000N\003U\003\360\000\000U\003Z\003\360\000\000Z\003]\003\360\000\000]\003a\003\360\000\000a\003l\003\360\000\000l\003s\003\360\000\000s\003x\003\360\000\000x\003{\003\360\000\000{\003\177\003\360\000\000\177\003O\004\360\000\000O\004V\004\360\000\000V\004W\004\330\004\007\200q\330\010\017\320\017I\310\024\310Q\310g\320U`\320`g\320gh\340\010\017\320\017I\310\024\310Q\310g\320U`\320`a";
|
|
3703
3706
|
static const char __pyx_k_pyx_unpickle__AbstractPriority[] = "__pyx_unpickle__AbstractPrioritySemaphoreContextManager";
|
|
3704
3707
|
static const char __pyx_k_AT_EZZeeffjjv_w_N_N_Y_Y_Z_Z_j_j[] = "\200\001\330\004\020\320\020)\250\033\260A\260T\270\034\320EZ\320Ze\320ef\320fj\320jv\360\000\000w\001N\002\360\000\000N\002Y\002\360\000\000Y\002Z\002\360\000\000Z\002^\002\360\000\000^\002j\002\360\000\000j\002u\002\360\000\000u\002@\003\360\000\000@\003A\003\360\000\000A\003E\003\360\000\000E\003Q\003\360\000\000Q\003_\003\360\000\000_\003j\003\360\000\000j\003k\003\360\000\000k\003o\003\360\000\000o\003{\003\360\000\000{\003J\004\360\000\000J\004U\004\360\000\000U\004V\004\360\000\000V\004Z\004\360\000\000Z\004f\004\360\000\000f\004q\004\360\000\000q\004|\004\360\000\000|\004}\004\360\000\000}\004A\005\360\000\000A\005M\005\360\000\000M\005V\005\360\000\000V\005a\005\360\000\000a\005b\005\360\000\000b\005f\005\360\000\000f\005r\005\360\000\000r\005}\005\360\000\000}\005H\006\360\000\000H\006I\006\360\000\000I\006M\006\360\000\000M\006Y\006\360\000\000Y\006f\006\360\000\000f\006q\006\360\000\000q\006r\006\360\000\000r\006v\006\360\000\000v\006B\007\360\000\000B\007T\007\360\000\000T\007_\007\360\000\000_\007`\007\360\000\000`\007a\007\330\004\007\200s\210!\210=\230\002\230#\230T\240\027\250\001\250\036\260q\330\010\024\220I\230W\240A\240[\260\001\260\021";
|
|
3705
3708
|
static const char __pyx_k_AbstractPrioritySemaphoreContex[] = "_AbstractPrioritySemaphoreContextManager__acquire";
|
|
@@ -3719,11 +3722,11 @@ static const char __pyx_k_PrioritySemaphoreContextManager[] = "_PrioritySemaphor
|
|
|
3719
3722
|
static const char __pyx_k_Releases_the_semaphore_for_this[] = "Releases the semaphore for this context manager.\n\n This method overrides :meth:`Semaphore.release` to handle priority-based logic.\n\n Examples:\n >>> context_manager = _AbstractPrioritySemaphoreContextManager(parent, priority=1)\n >>> context_manager.release()\n ";
|
|
3720
3723
|
static const char __pyx_k_This_module_provides_priority_b[] = "\nThis module provides priority-based semaphore implementations. These semaphores allow \nwaiters to be assigned priorities, ensuring that higher priority waiters are \nprocessed before lower priority ones.\n";
|
|
3721
3724
|
static const char __pyx_k_UUV0_3c_4_E_1_4_U_1_5_1_1_5_q_1[] = "\320\004U\320UV\3600\000\t\014\2103\210c\220\021\330\014\023\2204\220{\240\"\240E\250\021\330\r\020\220\003\2201\330\014\023\2204\220{\240#\240U\250!\330\r\020\220\003\2201\330\014\023\2205\230\003\2301\330\r\020\220\003\2201\330\014\023\2205\230\007\230q\330\r\020\220\003\2201\330\014\023\2204\220{\240\"\240E\250\021\330\r\020\220\003\2201\330\014\023\2204\220{\240#\240U\250!\330\010\017\210q";
|
|
3722
|
-
static const char __pyx_k_hk_A_1_A_A_B_81A_7_J_Kv_w_E_E_F[] = "\200\001\360\006\000\005\010\200
|
|
3725
|
+
static const char __pyx_k_hk_A_1_A_A_B_81A_7_J_Kv_w_E_E_F[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\360\000\000\"\177\003\360\000\000\177\003A\004\360\000\000A\004B\004\330\004\023\320\023;\2708\3001\300A\330\004\007\200|\2207\230!\330\010J\310!\320Kv\360\000\000w\001E\002\360\000\000E\002F\002\330\004\013\2101";
|
|
3723
3726
|
static const char __pyx_k_not_manager__Semaphore__waiters[] = "not manager._Semaphore__waiters";
|
|
3724
3727
|
static const char __pyx_k_A_4_Q_AT_4q_aq_3a_avU_TYY_AT_q_A[] = "\200A\330\010\013\2104\320\017\"\240#\240Q\330\014\022\220*\230A\230T\240\021\360\n\000\t\034\2304\230q\330\010\032\320\032*\250$\250a\250q\330\010\013\320\013\033\2303\230a\330\014\036\320\036>\270a\270v\300U\310*\320TY\320Y]\320]^\330\014\024\220A\220T\320\031/\250q\330\014\034\230A\230U\240,\250a\330\010\017\210q";
|
|
3725
3728
|
static const char __pyx_k_A_9CuCy_4q_4q_4q_aq_3a_d_9_j_T_A[] = "\200A\360\010\000\t\014\2109\220C\220u\230C\230y\250\003\2504\250q\330\014\023\2204\220q\340\010\033\2304\230q\330\010\032\320\032*\250$\250a\250q\330\010\013\320\013\033\2303\230a\330\014\036\230d\320\"9\270\021\330\020\026\220j\240\005\240T\250\021\340\014\024\220A\220T\320\031/\250q\330\014\034\230A\230\\\250\021\330\010\017\210q";
|
|
3726
|
-
static const char __pyx_k_A_a_Q_q_1_a_haq_q_Qa_q_a_XQ_1_1A[] = "\200A\360&\000\t\023\220$\220a\330\010\032\230'\240\021\330\010!\240\024\240Q\330\010\025\320\025'\240q\250\001\330\010\013\2101\330\014\027\220
|
|
3729
|
+
static const char __pyx_k_A_a_Q_q_1_a_haq_q_Qa_q_a_XQ_1_1A[] = "\200A\360&\000\t\023\220$\220a\330\010\032\230'\240\021\330\010!\240\024\240Q\330\010\025\320\025'\240q\250\001\330\010\013\2101\330\014\027\220\177\240a\330\014\022\220!\330\020\031\230\030\240\021\330\020&\240h\250a\250q\330\020\023\220<\230q\240\001\330\024\032\230+\240Q\240a\330\024\027\220q\330\030!\240\021\240/\260\021\330\024\025\340\010\016\210a\330\014\025\220X\230Q\330\014\"\240(\250!\2501\330\014\017\210|\2301\230A\330\020\026\220k\240\021\240!\330\020\023\2201\330\024\035\230Q\230o\250Q\330\020\021\340\010!\240\024\240Q\330\010\016\210a\330\014\026\220g\230Q\230a\330\014\017\210s\220!\2209\230C\230q\340\020\023\2201\330\024\035\230Q\330\030\031\330\031 \320 1\260\024\260Q\340\020\024\320\024&\240d\250!\2507\260!\330\020\021\340\014\026\220a\330\014\030\230\003\2301\230A\340\014\036\230g\240Q\330\014\017\210q\330\020\031\230\021\320\0324\260G\320;L\310A\330\020\023\2204\220q\330\024\035\230Q\320\036A\300\021\340\014\017\210q\330\020\033\230?\250!\330\020\031\230\030\240\021\330\020&\240h\250a\250q\330\020\023\220<\230q\240\001\330\024\032\230+\240Q\240a\330\024\036\230a\330\024\027\220q\330\030!\240\021\240/\260\021\330\024\025\340\020\023\2204\220q\330\024\032\230!\330\030!\240\030\250\021\330\030.\250h\260a\260q\330\030\033\230<\240q\250\001\330\034\"\240+\250Q\250a\330\034&\240a\330\034\037\230q\330 )\250\021\250/\270\021\330\034\035\340\014\017\210t\2201\330\020\024\320\024&\240d\250!\2507\260!\330\020\021\340\014\026\220c\230\021\230!\340\014\023\220:\230R\230y\250\002\250*\3204D\300A\340\014\017\210q\340\020\030\230\001\230\036\240q\360\006\000\021\025\320\024&\240d\250!\2507\260!\330\014\r\360\006\000\t\014\2104\210q\330\014\022\220!\330\020\031\320\031/\250t\2601\330\020\023\220<\230q\240\001\330\024\032\230+\240Q\240a\330\024\025\330\014\r\340\010\016\210a\330\014\025\320\025+\2504\250q\330\014\025\220Q\320\0264\260A\330\014\017\210|\2301\230A\330\020\026\220k\240\021\240!\330\020\031\230\021\320\0325\260Q\330\020\021\340\010\021\220\021\320\0220""\260\001";
|
|
3727
3730
|
static const char __pyx_k_Checks_if_the_semaphore_is_locke[] = "Checks if the semaphore is locked.\n\n Returns:\n True if the semaphore cannot be acquired immediately, False otherwise.\n\n Examples:\n >>> semaphore = _AbstractPrioritySemaphore(5)\n >>> semaphore.locked()\n ";
|
|
3728
3731
|
static const char __pyx_k_Enters_the_semaphore_context_acq[] = "Enters the semaphore context, acquiring it with the top priority.\n\n This method is part of the asynchronous context management protocol.\n\n Examples:\n >>> semaphore = _AbstractPrioritySemaphore(5)\n >>> async with semaphore:\n ... await do_stuff()\n ";
|
|
3729
3732
|
static const char __pyx_k_Exits_the_semaphore_context_rele[] = "Exits the semaphore context, releasing it with the top priority.\n\n This method is part of the asynchronous context management protocol.\n\n Examples:\n >>> semaphore = _AbstractPrioritySemaphore(5)\n >>> async with semaphore:\n ... await do_stuff()\n ";
|
|
@@ -14684,15 +14687,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
14684
14687
|
/*--- Type init code ---*/
|
|
14685
14688
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives.locks.semaphore"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14686
14689
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14687
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_Semaphore =
|
|
14690
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_Semaphore = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives.locks.semaphore", "Semaphore",
|
|
14688
14691
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14689
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14692
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14690
14693
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14691
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14694
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14692
14695
|
#else
|
|
14693
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14696
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_Semaphore),
|
|
14694
14697
|
#endif
|
|
14695
|
-
|
|
14698
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_Semaphore) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14696
14699
|
__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_Semaphore = (struct __pyx_vtabstruct_6a_sync_10primitives_5locks_9semaphore_Semaphore*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_Semaphore); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_Semaphore)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
14697
14700
|
__pyx_vtabptr_6a_sync_10primitives_5locks_14prio_semaphore__AbstractPrioritySemaphore = &__pyx_vtable_6a_sync_10primitives_5locks_14prio_semaphore__AbstractPrioritySemaphore;
|
|
14698
14701
|
__pyx_vtable_6a_sync_10primitives_5locks_14prio_semaphore__AbstractPrioritySemaphore.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_Semaphore;
|
|
@@ -14921,61 +14924,61 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
14921
14924
|
/*--- Type import code ---*/
|
|
14922
14925
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
14923
14926
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14924
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin =
|
|
14927
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
|
|
14925
14928
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14926
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14929
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14927
14930
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14928
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14931
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14929
14932
|
#else
|
|
14930
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14933
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
14931
14934
|
#endif
|
|
14932
|
-
|
|
14935
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
14933
14936
|
__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_9_loggable__LoggerMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
14934
14937
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14935
14938
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
14936
14939
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14937
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin =
|
|
14940
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
|
|
14938
14941
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14939
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14942
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14940
14943
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14941
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14944
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14942
14945
|
#else
|
|
14943
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14946
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
14944
14947
|
#endif
|
|
14945
|
-
|
|
14948
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
14946
14949
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__LoopBoundMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin)) __PYX_ERR(4, 3, __pyx_L1_error)
|
|
14947
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin =
|
|
14950
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
|
|
14948
14951
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14949
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14952
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14950
14953
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14951
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14954
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14952
14955
|
#else
|
|
14953
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14956
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
14954
14957
|
#endif
|
|
14955
|
-
|
|
14958
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(4, 8, __pyx_L1_error)
|
|
14956
14959
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__DebugDaemonMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin)) __PYX_ERR(4, 8, __pyx_L1_error)
|
|
14957
14960
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14958
14961
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives.locks.semaphore"); if (unlikely(!__pyx_t_1)) __PYX_ERR(5, 15, __pyx_L1_error)
|
|
14959
14962
|
__Pyx_GOTREF(__pyx_t_1);
|
|
14960
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_DummySemaphore =
|
|
14963
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_DummySemaphore = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives.locks.semaphore", "DummySemaphore",
|
|
14961
14964
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14962
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14965
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14963
14966
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14964
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14967
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14965
14968
|
#else
|
|
14966
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14969
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_DummySemaphore),
|
|
14967
14970
|
#endif
|
|
14968
|
-
|
|
14971
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_DummySemaphore) __PYX_ERR(5, 15, __pyx_L1_error)
|
|
14969
14972
|
__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_DummySemaphore = (struct __pyx_vtabstruct_6a_sync_10primitives_5locks_9semaphore_DummySemaphore*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_DummySemaphore); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_DummySemaphore)) __PYX_ERR(5, 15, __pyx_L1_error)
|
|
14970
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore =
|
|
14973
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives.locks.semaphore", "ThreadsafeSemaphore",
|
|
14971
14974
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
14972
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14975
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14973
14976
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
14974
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14977
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14975
14978
|
#else
|
|
14976
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14979
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore),
|
|
14977
14980
|
#endif
|
|
14978
|
-
|
|
14981
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore) __PYX_ERR(5, 18, __pyx_L1_error)
|
|
14979
14982
|
__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore = (struct __pyx_vtabstruct_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_5locks_9semaphore_ThreadsafeSemaphore)) __PYX_ERR(5, 18, __pyx_L1_error)
|
|
14980
14983
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
14981
14984
|
__Pyx_RefNannyFinishContext();
|
|
@@ -15291,7 +15294,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15291
15294
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
15292
15295
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
15293
15296
|
/*--- Execution code ---*/
|
|
15294
|
-
__Pyx_TraceStartFunc("PyInit_prio_semaphore", __pyx_f[0], 1,
|
|
15297
|
+
__Pyx_TraceStartFunc("PyInit_prio_semaphore", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
15295
15298
|
|
|
15296
15299
|
/* "a_sync/primitives/locks/prio_semaphore.pyx":8
|
|
15297
15300
|
* """
|
|
@@ -15780,7 +15783,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15780
15783
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
15781
15784
|
* def __setstate_cython__(self, __pyx_state):
|
|
15782
15785
|
*/
|
|
15783
|
-
__Pyx_TraceLine(1,
|
|
15786
|
+
__Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
15784
15787
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_26_AbstractPrioritySemaphore_21__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AbstractPrioritySemaphore___red, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[18])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
15785
15788
|
__Pyx_GOTREF(__pyx_t_3);
|
|
15786
15789
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -15792,7 +15795,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15792
15795
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
15793
15796
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
15794
15797
|
*/
|
|
15795
|
-
__Pyx_TraceLine(3,
|
|
15798
|
+
__Pyx_TraceLine(3,8,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
15796
15799
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_26_AbstractPrioritySemaphore_23__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AbstractPrioritySemaphore___set, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[19])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
15797
15800
|
__Pyx_GOTREF(__pyx_t_3);
|
|
15798
15801
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -15863,7 +15866,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15863
15866
|
* cdef tuple state
|
|
15864
15867
|
* cdef object _dict
|
|
15865
15868
|
*/
|
|
15866
|
-
__Pyx_TraceLine(1,
|
|
15869
|
+
__Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
15867
15870
|
__pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_40_AbstractPrioritySemaphoreContextManager_16__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AbstractPrioritySemaphoreContex_8, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[30])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
15868
15871
|
__Pyx_GOTREF(__pyx_t_4);
|
|
15869
15872
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_10primitives_5locks_14prio_semaphore__AbstractPrioritySemaphoreContextManager, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -15916,7 +15919,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15916
15919
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
15917
15920
|
* def __setstate_cython__(self, __pyx_state):
|
|
15918
15921
|
*/
|
|
15919
|
-
__Pyx_TraceLine(1,
|
|
15922
|
+
__Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
15920
15923
|
__pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_32_PrioritySemaphoreContextManager_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PrioritySemaphoreContextManager_2, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[36])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
15921
15924
|
__Pyx_GOTREF(__pyx_t_4);
|
|
15922
15925
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -15949,7 +15952,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15949
15952
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
15950
15953
|
* def __setstate_cython__(self, __pyx_state):
|
|
15951
15954
|
*/
|
|
15952
|
-
__Pyx_TraceLine(1,
|
|
15955
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
15953
15956
|
__pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_17PrioritySemaphore_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PrioritySemaphore___reduce_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[42])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
15954
15957
|
__Pyx_GOTREF(__pyx_t_4);
|
|
15955
15958
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -15961,7 +15964,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15961
15964
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
15962
15965
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
15963
15966
|
*/
|
|
15964
|
-
__Pyx_TraceLine(3,
|
|
15967
|
+
__Pyx_TraceLine(3,7,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
15965
15968
|
__pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_17PrioritySemaphore_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PrioritySemaphore___setstate_cyt, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[43])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
15966
15969
|
__Pyx_GOTREF(__pyx_t_4);
|
|
15967
15970
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -15981,7 +15984,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15981
15984
|
* cdef object __pyx_PickleError
|
|
15982
15985
|
* cdef object __pyx_result
|
|
15983
15986
|
*/
|
|
15984
|
-
__Pyx_TraceLine(1,
|
|
15987
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
15985
15988
|
__pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_14prio_semaphore_1__pyx_unpickle__AbstractPrioritySemaphoreContextManager, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__AbstractPriority, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_prio_sem, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[45])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
15986
15989
|
__Pyx_GOTREF(__pyx_t_4);
|
|
15987
15990
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__AbstractPriority, __pyx_t_4) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -15994,7 +15997,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
15994
15997
|
* __pyx_result._LoopBoundMixin__loop = __pyx_state[0]; __pyx_result._Semaphore__value = __pyx_state[1]; __pyx_result._Semaphore__waiters = __pyx_state[2]; __pyx_result._daemon = __pyx_state[3]; __pyx_result._decorated = __pyx_state[4]; __pyx_result._has_daemon = __pyx_state[5]; __pyx_result._logger = __pyx_state[6]; __pyx_result._name = __pyx_state[7]; __pyx_result._parent = __pyx_state[8]; __pyx_result._priority = __pyx_state[9]; __pyx_result._priority_name = __pyx_state[10]
|
|
15995
15998
|
* if len(__pyx_state) > 11 and hasattr(__pyx_result, '__dict__'):
|
|
15996
15999
|
*/
|
|
15997
|
-
__Pyx_TraceLine(11,
|
|
16000
|
+
__Pyx_TraceLine(11,18,0,__PYX_ERR(1, 11, __pyx_L1_error))
|
|
15998
16001
|
|
|
15999
16002
|
|
|
16000
16003
|
/* "a_sync/primitives/locks/prio_semaphore.pyx":1
|
|
@@ -16002,7 +16005,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
16002
16005
|
* """
|
|
16003
16006
|
* This module provides priority-based semaphore implementations. These semaphores allow
|
|
16004
16007
|
*/
|
|
16005
|
-
__Pyx_TraceLine(1,
|
|
16008
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
16006
16009
|
__pyx_t_4 = __Pyx_PyDict_NewPresized(11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
16007
16010
|
__Pyx_GOTREF(__pyx_t_4);
|
|
16008
16011
|
if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_AbstractPrioritySemaphore___ini, __pyx_mstate_global->__pyx_kp_u_Initializes_the_priority_semapho) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
@@ -16018,7 +16021,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
16018
16021
|
if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_PrioritySemaphore___getitem___li, __pyx_mstate_global->__pyx_kp_u_Gets_the_context_manager_for_a_g) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
16019
16022
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_4) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
16020
16023
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
16021
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
16024
|
+
__Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
16022
16025
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
16023
16026
|
|
|
16024
16027
|
/*--- Wrapped vars code ---*/
|
|
@@ -16031,7 +16034,7 @@ __Pyx_RefNannySetupContext("PyInit_prio_semaphore", 0);
|
|
|
16031
16034
|
__Pyx_XDECREF(__pyx_t_5);
|
|
16032
16035
|
__Pyx_XDECREF(__pyx_t_7);
|
|
16033
16036
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
16034
|
-
__Pyx_TraceExceptionUnwind(
|
|
16037
|
+
__Pyx_TraceExceptionUnwind(2, 0);
|
|
16035
16038
|
if (__pyx_m) {
|
|
16036
16039
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
16037
16040
|
__Pyx_AddTraceback("init a_sync.primitives.locks.prio_semaphore", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -18626,6 +18629,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
18626
18629
|
changed = 1;
|
|
18627
18630
|
}
|
|
18628
18631
|
#endif // CYTHON_METH_FASTCALL
|
|
18632
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
18629
18633
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
18630
18634
|
PyObject *descr;
|
|
18631
18635
|
assert(memb->type == T_OBJECT);
|
|
@@ -18640,11 +18644,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
18640
18644
|
}
|
|
18641
18645
|
changed = 1;
|
|
18642
18646
|
}
|
|
18647
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
18643
18648
|
}
|
|
18644
18649
|
memb++;
|
|
18645
18650
|
}
|
|
18646
18651
|
}
|
|
18647
18652
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
18653
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
18648
18654
|
slot = spec->slots;
|
|
18649
18655
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
18650
18656
|
slot++;
|
|
@@ -18676,6 +18682,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
18676
18682
|
++getset;
|
|
18677
18683
|
}
|
|
18678
18684
|
}
|
|
18685
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
18679
18686
|
if (changed)
|
|
18680
18687
|
PyType_Modified(type);
|
|
18681
18688
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -18808,7 +18815,7 @@ bad:
|
|
|
18808
18815
|
}
|
|
18809
18816
|
|
|
18810
18817
|
/* CommonTypesMetaclass */
|
|
18811
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
18818
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
18812
18819
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
18813
18820
|
}
|
|
18814
18821
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -19232,7 +19239,7 @@ try_unpack:
|
|
|
19232
19239
|
}
|
|
19233
19240
|
|
|
19234
19241
|
/* PyObjectCallMethod1 */
|
|
19235
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
19242
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
19236
19243
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
19237
19244
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
19238
19245
|
Py_DECREF(method);
|
|
@@ -19240,7 +19247,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
19240
19247
|
}
|
|
19241
19248
|
#endif
|
|
19242
19249
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
19243
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
19250
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
19244
19251
|
PyObject *args[2] = {obj, arg};
|
|
19245
19252
|
(void) __Pyx_PyObject_GetMethod;
|
|
19246
19253
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -20915,6 +20922,13 @@ static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObje
|
|
|
20915
20922
|
|
|
20916
20923
|
/* PyObjectCallMethod0 */
|
|
20917
20924
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
20925
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
20926
|
+
PyObject *args[1] = {obj};
|
|
20927
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
20928
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
20929
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
20930
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
20931
|
+
#else
|
|
20918
20932
|
PyObject *method = NULL, *result = NULL;
|
|
20919
20933
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
20920
20934
|
if (likely(is_method)) {
|
|
@@ -20927,6 +20941,7 @@ static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObje
|
|
|
20927
20941
|
Py_DECREF(method);
|
|
20928
20942
|
bad:
|
|
20929
20943
|
return result;
|
|
20944
|
+
#endif
|
|
20930
20945
|
}
|
|
20931
20946
|
|
|
20932
20947
|
/* RaiseNeedMoreValuesToUnpack */
|
|
@@ -21545,10 +21560,10 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
|
|
21545
21560
|
}
|
|
21546
21561
|
|
|
21547
21562
|
/* TypeImport */
|
|
21548
|
-
#ifndef
|
|
21549
|
-
#define
|
|
21550
|
-
static PyTypeObject *
|
|
21551
|
-
size_t size, size_t alignment, enum
|
|
21563
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
21564
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
21565
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
21566
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
21552
21567
|
{
|
|
21553
21568
|
PyObject *result = 0;
|
|
21554
21569
|
Py_ssize_t basicsize;
|
|
@@ -21604,7 +21619,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
21604
21619
|
module_name, class_name, size, basicsize+itemsize);
|
|
21605
21620
|
goto bad;
|
|
21606
21621
|
}
|
|
21607
|
-
if (check_size ==
|
|
21622
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
21608
21623
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
21609
21624
|
PyErr_Format(PyExc_ValueError,
|
|
21610
21625
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -21612,7 +21627,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
21612
21627
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
21613
21628
|
goto bad;
|
|
21614
21629
|
}
|
|
21615
|
-
else if (check_size ==
|
|
21630
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
21616
21631
|
if (PyErr_WarnFormat(NULL, 0,
|
|
21617
21632
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
21618
21633
|
"Expected %zd from C header, got %zd from PyObject",
|
|
Binary file
|