static int __pyx_pf_3lib_9intbitset_9intbitset___cinit__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs, int __pyx_v_preallocate, int __pyx_v_trailing_bits, int __pyx_v_sanity_checks, int __pyx_v_no_allocate); /* proto */
static void __pyx_pf_3lib_9intbitset_9intbitset_2__dealloc__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static int __pyx_pf_3lib_9intbitset_9intbitset_4__contains__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_elem); /* proto */
#if PY_MAJOR_VERSION < 3
static int __pyx_pf_3lib_9intbitset_9intbitset_6__cmp__(CYTHON_UNUSED struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs); /* proto */
#endif
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_8__richcmp__(PyObject *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs, int __pyx_v_op); /* proto */
static Py_ssize_t __pyx_pf_3lib_9intbitset_9intbitset_10__len__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static Py_hash_t __pyx_pf_3lib_9intbitset_9intbitset_12__hash__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static int __pyx_pf_3lib_9intbitset_9intbitset_14__nonzero__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_16__iadd__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_18__isub__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_22__del__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_elem); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_24__and__(PyObject *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_26__or__(PyObject *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_28__xor__(PyObject *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_30__sub__(PyObject *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_38__repr__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_40__str__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_42__getitem__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_44__reduce__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_46__iter__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_48add(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_elem); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_50clear(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_52discard(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_elem); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_54issubset(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_56issuperset(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_58fastdump(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_60fastload(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_strdump); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_62copy(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_64pop(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_66remove(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_elem); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_68strbits(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_70update_with_signs(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_72get_size(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_74get_allocated(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_76is_infinite(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_78extract_finite_list(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, int __pyx_v_up_to); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_80get_wordbitsize(CYTHON_UNUSED struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_82get_wordbytsize(CYTHON_UNUSED struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_9intbitset_84tolist(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self); /* proto */
static int __pyx_pf_3lib_9intbitset_18intbitset_iterator___cinit__(struct __pyx_obj_3lib_9intbitset_intbitset_iterator *__pyx_v_self, struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_bitset); /* proto */
static void __pyx_pf_3lib_9intbitset_18intbitset_iterator_2__dealloc__(struct __pyx_obj_3lib_9intbitset_intbitset_iterator *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_18intbitset_iterator_4__next__(struct __pyx_obj_3lib_9intbitset_intbitset_iterator *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_3lib_9intbitset_18intbitset_iterator_6__iter__(struct __pyx_obj_3lib_9intbitset_intbitset_iterator *__pyx_v_self); /* proto */
static char __pyx_k_2[] = "rhs can't be negative";
static char __pyx_k_4[] = "Buffer error!!!";
static char __pyx_k_6[] = "rhs is corrupted: %s";
static char __pyx_k_7[] = "Can't store integers bigger than %s";
static char __pyx_k_8[] = "Negative numbers, not allowed";
static char __pyx_k_10[] = "Elements must be <= %s";
static char __pyx_k_14[] = "retrieving integers from rhs is impossible: %s";
static char __pyx_k_15[] = "rhs is of unknown type %s";
static char __pyx_k_17[] = "Element must be <= %s";
static char __pyx_k_18[] = "cannot compare intbitset using cmp()";
* def __cinit__(self, rhs=0, int preallocate=-1, int trailing_bits=0, bint sanity_checks=CFG_INTBITSET_ENABLE_SANITY_CHECKS, int no_allocate=0): # <<<<<<<<<<<<<<
* """
* Initialize intbitset.
*/
static int __pyx_pf_3lib_9intbitset_9intbitset___cinit__(struct __pyx_obj_3lib_9intbitset_intbitset *__pyx_v_self, PyObject *__pyx_v_rhs, int __pyx_v_preallocate, int __pyx_v_trailing_bits, int __pyx_v_sanity_checks, int __pyx_v_no_allocate) {
static char __pyx_doc_3lib_9intbitset_9intbitset_24__and__[] = "Return the intersection of two intbitsets as a new set.\n (i.e. all elements that are in both intbitsets.)\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_26__or__[] = "Return the union of two intbitsets as a new set.\n (i.e. all elements that are in either intbitsets.)\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_28__xor__[] = "Return the symmetric difference of two sets as a new set.\n (i.e. all elements that are in exactly one of the sets.)\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_30__sub__[] = "Return the difference of two intbitsets as a new set.\n (i.e. all elements that are in this intbitset but not the other.)\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_52discard[] = "Remove an element from a intbitset if it is a member.\n If the element is not a member, do nothing.";
static char __pyx_doc_3lib_9intbitset_9intbitset_60fastload[] = "Load a compressed string representation produced by a previous call\n to the fastdump method into the current intbitset. The previous content\n will be replaced.";
static char __pyx_doc_3lib_9intbitset_9intbitset_64pop[] = "Remove and return an arbitrary set element.\n\n @note: intbitset implementation of .pop() differs from the native C{set}\n implementation by guaranteeing returning always the largest element.\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_66remove[] = "Remove an element from a set; it must be a member.\n If the element is not a member, raise a KeyError.\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_68strbits[] = "Return a string of 0s and 1s representing the content in memory\n of the intbitset.\n ";
static char __pyx_doc_3lib_9intbitset_9intbitset_70update_with_signs[] = "Given a dictionary rhs whose keys are integers, remove all the integers\n whose value are less than 0 and add every integer whose value is 0 or more";
static char __pyx_doc_3lib_9intbitset_9intbitset_76is_infinite[] = "Return True if the intbitset is infinite. (i.e. trailing_bits=True\n was used in the constructor.)";
static char __pyx_doc_3lib_9intbitset_9intbitset_78extract_finite_list[] = "Return a finite list of elements sufficient to be passed to intbitset\n constructor toghether with the proper value of trailing_bits in order\n to reproduce this intbitset. At least up_to integer are looked for when\n they are inside the intbitset but not necessarily needed to build the\n intbitset";
__Pyx_DOCSTR("\n Defines an intbitset data object to hold unordered sets of\n unsigned integers with ultra fast set operations, implemented via\n bit vectors and Python C extension to optimize speed and memory\n usage.\n\n Emulates the Python built-in set class interface with some\n additional specific methods such as its own fast dump and load\n marshalling functions. Uses real bits to optimize memory usage,\n so may have issues with endianness if you transport serialized\n bitsets between various machine architectures.\n\n The constructor accept the following parameters:\n rhs=0, int preallocate=-1, int trailing_bits=0,\n bint sanity_checks=CFG_INTBITSET_ENABLE_SANITY_CHECKS,\n int no_allocate=0:\n\n where:\n * rhs can be:\n - int/long for creating allocating empty intbitset that will hold at least\n rhs elements, before being resized\n - intbitset for cloning\n - str for retrieving an intbitset that was dumped into a string\n - array for retrieving an intbitset that was dumped into a string stored\n in an array\n - sequence made of integers for copying all the elements from the\n sequence. If minsize is specified than it is initially allocated\n enough space to hold up to minsize integers, otherwise the biggest\n element of the sequence will be used.\n - sequence made of tuples: then the first element of each tuple\n is considered as an integer (as in the sequence made of integers).\n * preallocate is a suggested initial upper bound on the numbers that will be\n stored, by looking at rhs a sequence of number.\n * trailing_bits is 1, then the set will contain \"all\" the positive integers\n * no_allocate is used internally and should never be set.\n after the biggest one added with rhs.\n "), /*tp_doc*/
* def __cinit__(self, rhs=0, int preallocate=-1, int trailing_bits=0, bint sanity_checks=CFG_INTBITSET_ENABLE_SANITY_CHECKS, int no_allocate=0): # <<<<<<<<<<<<<<