cchecksum 0.3.7.dev0__tar.gz → 0.3.8.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.github/workflows/black.yaml +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.github/workflows/compile.yaml +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.github/workflows/deploy-docs.yaml +2 -2
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.github/workflows/pytest.yaml +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.github/workflows/release.yaml +2 -2
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/PKG-INFO +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/_checksum.c +44 -32
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/PKG-INFO +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/pyproject.toml +1 -1
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/.gitignore +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/LICENSE +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/Makefile +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/README.md +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/__init__.py +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/_checksum.pyi +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/_checksum.pyx +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/monkey_patch.py +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum/py.typed +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/SOURCES.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/dependency_links.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/not-zip-safe +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/requires.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/cchecksum.egg-info/top_level.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/Makefile +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/alabaster.css +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/basic.css +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/custom.css +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/doctools.js +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/file.png +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/language_data.js +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/minus.png +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/plus.png +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/pygments.css +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/searchtools.js +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/conf.py +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/index.rst +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/make.bat +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/renovate.json +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/requirements-dev.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/requirements.txt +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/setup.cfg +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/setup.py +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/tests/test_checksum.py +0 -0
- {cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/tests/test_monkey_patch.py +0 -0
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- name: Check out code
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v6
|
|
26
26
|
with:
|
|
27
27
|
persist-credentials: false
|
|
28
28
|
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
publish_dir: ./docs/_build/html
|
|
55
55
|
|
|
56
56
|
- name: Checkout
|
|
57
|
-
uses: actions/checkout@
|
|
57
|
+
uses: actions/checkout@v6
|
|
58
58
|
with:
|
|
59
59
|
ref: gh-pages
|
|
60
60
|
persist-credentials: false
|
|
@@ -79,7 +79,7 @@ jobs:
|
|
|
79
79
|
|
|
80
80
|
steps:
|
|
81
81
|
- name: Check out code
|
|
82
|
-
uses: actions/checkout@
|
|
82
|
+
uses: actions/checkout@v6
|
|
83
83
|
with:
|
|
84
84
|
fetch-depth: 0
|
|
85
85
|
|
|
@@ -113,7 +113,7 @@ jobs:
|
|
|
113
113
|
runs-on: ubuntu-latest
|
|
114
114
|
steps:
|
|
115
115
|
- name: Check out code
|
|
116
|
-
uses: actions/checkout@
|
|
116
|
+
uses: actions/checkout@v6
|
|
117
117
|
with:
|
|
118
118
|
fetch-depth: 0
|
|
119
119
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cchecksum
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8.dev0
|
|
4
4
|
Summary: A ~8x faster drop-in replacement for eth_utils.to_checksum_address. Raises the exact same Exceptions. Implemented in C.
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/cchecksum
|
|
6
6
|
Author: BobTheBuidler
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.2.
|
|
1
|
+
/* Generated by Cython 3.2.2 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -35,8 +35,8 @@ END: Cython Metadata */
|
|
|
35
35
|
#elif PY_VERSION_HEX < 0x03080000
|
|
36
36
|
#error Cython requires Python 3.8+.
|
|
37
37
|
#else
|
|
38
|
-
#define __PYX_ABI_VERSION "
|
|
39
|
-
#define CYTHON_HEX_VERSION
|
|
38
|
+
#define __PYX_ABI_VERSION "3_2_2"
|
|
39
|
+
#define CYTHON_HEX_VERSION 0x030202F0
|
|
40
40
|
#define CYTHON_FUTURE_DIVISION 1
|
|
41
41
|
/* CModulePreamble */
|
|
42
42
|
#include <stddef.h>
|
|
@@ -2290,6 +2290,9 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name);
|
|
|
2290
2290
|
#if CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX >= 0x030C0000
|
|
2291
2291
|
static int __pyx_assertions_enabled_flag;
|
|
2292
2292
|
#define __pyx_assertions_enabled() (__pyx_assertions_enabled_flag)
|
|
2293
|
+
#if __clang__ || __GNUC__
|
|
2294
|
+
__attribute__((no_sanitize("thread")))
|
|
2295
|
+
#endif
|
|
2293
2296
|
static int __Pyx_init_assertions_enabled(void) {
|
|
2294
2297
|
PyObject *builtins, *debug, *debug_str;
|
|
2295
2298
|
int flag;
|
|
@@ -2382,7 +2385,11 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
|
|
|
2382
2385
|
|
|
2383
2386
|
/* PySequenceMultiply.proto */
|
|
2384
2387
|
#define __Pyx_PySequence_Multiply_Left(mul, seq) __Pyx_PySequence_Multiply(seq, mul)
|
|
2388
|
+
#if !CYTHON_USE_TYPE_SLOTS
|
|
2389
|
+
#define __Pyx_PySequence_Multiply PySequence_Repeat
|
|
2390
|
+
#else
|
|
2385
2391
|
static CYTHON_INLINE PyObject* __Pyx_PySequence_Multiply(PyObject *seq, Py_ssize_t mul);
|
|
2392
|
+
#endif
|
|
2386
2393
|
|
|
2387
2394
|
/* PyObjectFormatAndDecref.proto */
|
|
2388
2395
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatSimpleAndDecref(PyObject* s, PyObject* f);
|
|
@@ -2518,22 +2525,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
|
|
|
2518
2525
|
static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
2519
2526
|
|
|
2520
2527
|
/* TypeImport.proto */
|
|
2521
|
-
#ifndef
|
|
2522
|
-
#define
|
|
2528
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_2_2
|
|
2529
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_2_2
|
|
2523
2530
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2524
2531
|
#include <stdalign.h>
|
|
2525
2532
|
#endif
|
|
2526
2533
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2527
|
-
#define
|
|
2534
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_2_2(s) alignof(s)
|
|
2528
2535
|
#else
|
|
2529
|
-
#define
|
|
2536
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_2_2(s) sizeof(void*)
|
|
2530
2537
|
#endif
|
|
2531
|
-
enum
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2538
|
+
enum __Pyx_ImportType_CheckSize_3_2_2 {
|
|
2539
|
+
__Pyx_ImportType_CheckSize_Error_3_2_2 = 0,
|
|
2540
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_2 = 1,
|
|
2541
|
+
__Pyx_ImportType_CheckSize_Ignore_3_2_2 = 2
|
|
2535
2542
|
};
|
|
2536
|
-
static PyTypeObject *
|
|
2543
|
+
static PyTypeObject *__Pyx_ImportType_3_2_2(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_2 check_size);
|
|
2537
2544
|
#endif
|
|
2538
2545
|
|
|
2539
2546
|
/* ImportFrom.proto */
|
|
@@ -3020,6 +3027,12 @@ static PyObject *__pyx_builtin___import__;
|
|
|
3020
3027
|
static PyObject *__pyx_builtin_Ellipsis;
|
|
3021
3028
|
static PyObject *__pyx_builtin_id;
|
|
3022
3029
|
/* #### Code section: string_decls ### */
|
|
3030
|
+
static const char __pyx_k_c[] = "c";
|
|
3031
|
+
static const char __pyx_k_name[] = "name";
|
|
3032
|
+
static const char __pyx_k_fortran[] = "fortran";
|
|
3033
|
+
static const char __pyx_k_0123456789abcdef[] = "0123456789abcdef";
|
|
3034
|
+
static const char __pyx_k_not_enough_values_found_during_a[] = "not enough values found during array assignment, expected %zd, got %zd";
|
|
3035
|
+
static const char __pyx_k_too_many_values_found_during_arr[] = "too many values found during array assignment, expected %zd";
|
|
3023
3036
|
/* #### Code section: decls ### */
|
|
3024
3037
|
static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_shape, Py_ssize_t __pyx_v_itemsize, PyObject *__pyx_v_format, PyObject *__pyx_v_mode, int __pyx_v_allocate_buffer); /* proto */
|
|
3025
3038
|
static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(struct __pyx_array_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */
|
|
@@ -3664,9 +3677,9 @@ static int __Pyx_carray_from_py_char(PyObject *__pyx_v_o, char *__pyx_v_v, Py_ss
|
|
|
3664
3677
|
*/
|
|
3665
3678
|
__pyx_t_6 = (__pyx_v_i >= __pyx_v_length);
|
|
3666
3679
|
if (__pyx_t_6) {
|
|
3667
|
-
__pyx_t_12 =
|
|
3680
|
+
__pyx_t_12 = __pyx_k_too_many_values_found_during_arr;
|
|
3668
3681
|
} else {
|
|
3669
|
-
__pyx_t_12 =
|
|
3682
|
+
__pyx_t_12 = __pyx_k_not_enough_values_found_during_a;
|
|
3670
3683
|
}
|
|
3671
3684
|
|
|
3672
3685
|
/* "carray.from_py":95
|
|
@@ -10412,7 +10425,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
|
|
|
10412
10425
|
* self.view.itemsize,
|
|
10413
10426
|
* flags|PyBUF_C_CONTIGUOUS,
|
|
10414
10427
|
*/
|
|
10415
|
-
__pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice),
|
|
10428
|
+
__pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), __pyx_k_c, __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 642, __pyx_L1_error)
|
|
10416
10429
|
__pyx_v_mslice = __pyx_t_1;
|
|
10417
10430
|
|
|
10418
10431
|
/* "View.MemoryView":647
|
|
@@ -10535,7 +10548,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
|
|
|
10535
10548
|
* self.view.itemsize,
|
|
10536
10549
|
* flags|PyBUF_F_CONTIGUOUS,
|
|
10537
10550
|
*/
|
|
10538
|
-
__pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src),
|
|
10551
|
+
__pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), __pyx_k_fortran, __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 654, __pyx_L1_error)
|
|
10539
10552
|
__pyx_v_dst = __pyx_t_1;
|
|
10540
10553
|
|
|
10541
10554
|
/* "View.MemoryView":659
|
|
@@ -16820,7 +16833,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSE
|
|
|
16820
16833
|
* __pyx_result = Enum.__new__(__pyx_type)
|
|
16821
16834
|
* if __pyx_state is not None:
|
|
16822
16835
|
*/
|
|
16823
|
-
__pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x82a3537, 0x6ae9995, 0xb068931,
|
|
16836
|
+
__pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x82a3537, 0x6ae9995, 0xb068931, __pyx_k_name); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 6, __pyx_L1_error)
|
|
16824
16837
|
|
|
16825
16838
|
/* "(tree fragment)":7
|
|
16826
16839
|
* cdef object __pyx_result
|
|
@@ -21690,15 +21703,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
21690
21703
|
/*--- Type import code ---*/
|
|
21691
21704
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error)
|
|
21692
21705
|
__Pyx_GOTREF(__pyx_t_1);
|
|
21693
|
-
__pyx_mstate->__pyx_ptype_7cpython_4type_type =
|
|
21706
|
+
__pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_2_2(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
21694
21707
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
21695
|
-
sizeof(PyTypeObject),
|
|
21708
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_2(PyTypeObject),
|
|
21696
21709
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
21697
21710
|
0, 0,
|
|
21698
21711
|
#else
|
|
21699
|
-
sizeof(PyHeapTypeObject),
|
|
21712
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_2(PyHeapTypeObject),
|
|
21700
21713
|
#endif
|
|
21701
|
-
|
|
21714
|
+
__Pyx_ImportType_CheckSize_Warn_3_2_2); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(2, 9, __pyx_L1_error)
|
|
21702
21715
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
21703
21716
|
__Pyx_RefNannyFinishContext();
|
|
21704
21717
|
return 0;
|
|
@@ -22584,7 +22597,7 @@ __Pyx_RefNannySetupContext("PyInit__checksum", 0);
|
|
|
22584
22597
|
*
|
|
22585
22598
|
*
|
|
22586
22599
|
*/
|
|
22587
|
-
__pyx_v_9cchecksum_9_checksum_hexdigits = ((unsigned char const *)
|
|
22600
|
+
__pyx_v_9cchecksum_9_checksum_hexdigits = ((unsigned char const *)__pyx_k_0123456789abcdef);
|
|
22588
22601
|
|
|
22589
22602
|
/* "cchecksum/_checksum.pyx":21
|
|
22590
22603
|
*
|
|
@@ -25561,6 +25574,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, P
|
|
|
25561
25574
|
}
|
|
25562
25575
|
|
|
25563
25576
|
/* PySequenceMultiply */
|
|
25577
|
+
#if CYTHON_USE_TYPE_SLOTS
|
|
25564
25578
|
static PyObject* __Pyx_PySequence_Multiply_Generic(PyObject *seq, Py_ssize_t mul) {
|
|
25565
25579
|
PyObject *result, *pymul = PyLong_FromSsize_t(mul);
|
|
25566
25580
|
if (unlikely(!pymul))
|
|
@@ -25570,16 +25584,14 @@ static PyObject* __Pyx_PySequence_Multiply_Generic(PyObject *seq, Py_ssize_t mul
|
|
|
25570
25584
|
return result;
|
|
25571
25585
|
}
|
|
25572
25586
|
static CYTHON_INLINE PyObject* __Pyx_PySequence_Multiply(PyObject *seq, Py_ssize_t mul) {
|
|
25573
|
-
#if CYTHON_USE_TYPE_SLOTS
|
|
25574
25587
|
PyTypeObject *type = Py_TYPE(seq);
|
|
25575
25588
|
if (likely(type->tp_as_sequence && type->tp_as_sequence->sq_repeat)) {
|
|
25576
25589
|
return type->tp_as_sequence->sq_repeat(seq, mul);
|
|
25577
|
-
} else
|
|
25578
|
-
#endif
|
|
25579
|
-
{
|
|
25590
|
+
} else {
|
|
25580
25591
|
return __Pyx_PySequence_Multiply_Generic(seq, mul);
|
|
25581
25592
|
}
|
|
25582
25593
|
}
|
|
25594
|
+
#endif
|
|
25583
25595
|
|
|
25584
25596
|
/* PyObjectFormatAndDecref */
|
|
25585
25597
|
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatSimpleAndDecref(PyObject* s, PyObject* f) {
|
|
@@ -26517,10 +26529,10 @@ __PYX_GOOD:
|
|
|
26517
26529
|
}
|
|
26518
26530
|
|
|
26519
26531
|
/* TypeImport */
|
|
26520
|
-
#ifndef
|
|
26521
|
-
#define
|
|
26522
|
-
static PyTypeObject *
|
|
26523
|
-
size_t size, size_t alignment, enum
|
|
26532
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_2_2
|
|
26533
|
+
#define __PYX_HAVE_RT_ImportType_3_2_2
|
|
26534
|
+
static PyTypeObject *__Pyx_ImportType_3_2_2(PyObject *module, const char *module_name, const char *class_name,
|
|
26535
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_2 check_size)
|
|
26524
26536
|
{
|
|
26525
26537
|
PyObject *result = 0;
|
|
26526
26538
|
Py_ssize_t basicsize;
|
|
@@ -26576,7 +26588,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_1(PyObject *module, const char *module
|
|
|
26576
26588
|
module_name, class_name, size, basicsize+itemsize);
|
|
26577
26589
|
goto bad;
|
|
26578
26590
|
}
|
|
26579
|
-
if (check_size ==
|
|
26591
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_2_2 &&
|
|
26580
26592
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
26581
26593
|
PyErr_Format(PyExc_ValueError,
|
|
26582
26594
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -26584,7 +26596,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_1(PyObject *module, const char *module
|
|
|
26584
26596
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
26585
26597
|
goto bad;
|
|
26586
26598
|
}
|
|
26587
|
-
else if (check_size ==
|
|
26599
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_2_2 && (size_t)basicsize > size) {
|
|
26588
26600
|
if (PyErr_WarnFormat(NULL, 0,
|
|
26589
26601
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
26590
26602
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cchecksum
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8.dev0
|
|
4
4
|
Summary: A ~8x faster drop-in replacement for eth_utils.to_checksum_address. Raises the exact same Exceptions. Implemented in C.
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/cchecksum
|
|
6
6
|
Author: BobTheBuidler
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cchecksum-0.3.7.dev0 → cchecksum-0.3.8.dev0}/docs/_build/html/_static/documentation_options.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|