409
562
static void __Pyx_AddTraceback(const char *funcname); /*proto*/
411
564
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
413
/* Type declarations */
415
/* "/home/tachyon/pydev/h5py/h5py/h5e.pxd":225
416
* herr_t H5Ewalk(H5E_direction_t direction, H5E_walk_t func, void* client_data)
418
* ctypedef struct err_cookie: # <<<<<<<<<<<<<<
426
} __pyx_t_4h5py_3h5e_err_cookie;
428
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":21
429
* cpdef bint __enter__(self) except -1
430
* cpdef bint __exit__(self, a, b, c) except -1
431
* cpdef bint acquire(self, int blocking=*) except -1 # <<<<<<<<<<<<<<
432
* cpdef bint release(self) except -1
436
struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire {
441
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":26
442
* cpdef PHIL get_phil()
444
* cdef class H5PYConfig: # <<<<<<<<<<<<<<
446
* cdef object _r_name
449
struct __pyx_obj_4h5py_2h5_H5PYConfig {
461
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":15
464
* cdef class PHIL: # <<<<<<<<<<<<<<
469
struct __pyx_obj_4h5py_2h5_PHIL {
471
struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtab;
475
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":39
476
* cpdef H5PYConfig get_config()
478
* cdef class ObjectID: # <<<<<<<<<<<<<<
480
* cdef object __weakref__
483
struct __pyx_obj_4h5py_2h5_ObjectID {
485
PyObject *__weakref__;
491
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":46
494
* cdef class SmartStruct: # <<<<<<<<<<<<<<
495
* cdef object __weakref__
499
struct __pyx_obj_4h5py_2h5_SmartStruct {
501
PyObject *__weakref__;
506
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":177
509
* cdef class PHIL: # <<<<<<<<<<<<<<
514
struct __pyx_vtabstruct_4h5py_2h5_PHIL {
515
int (*__enter__)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
516
int (*__exit__)(struct __pyx_obj_4h5py_2h5_PHIL *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch);
517
int (*acquire)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire *__pyx_optional_args);
518
int (*release)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
520
static struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtabptr_4h5py_2h5_PHIL;
521
565
/* Module declarations from h5py.h5e */
523
static int (*__pyx_f_4h5py_3h5e_register_thread)(int __pyx_skip_dispatch); /*proto*/
567
static PyTypeObject *__pyx_ptype_4h5py_3h5e_HDF5ErrorHandler = 0;
568
static PyObject *(*__pyx_f_4h5py_3h5e_register_thread)(int __pyx_skip_dispatch); /*proto*/
569
static PyObject *(*__pyx_f_4h5py_3h5e_unregister_thread)(int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5e_unregister_thread *__pyx_optional_args); /*proto*/
524
570
static __pyx_t_4h5py_3h5e_err_cookie (*__pyx_f_4h5py_3h5e_disable_errors)(void); /*proto*/
525
571
static void (*__pyx_f_4h5py_3h5e_enable_errors)(__pyx_t_4h5py_3h5e_err_cookie); /*proto*/
526
572
/* Module declarations from h5py.h5 */
528
static PyTypeObject *__pyx_ptype_4h5py_2h5_PHIL = 0;
529
574
static PyTypeObject *__pyx_ptype_4h5py_2h5_H5PYConfig = 0;
530
575
static PyTypeObject *__pyx_ptype_4h5py_2h5_ObjectID = 0;
531
576
static PyTypeObject *__pyx_ptype_4h5py_2h5_SmartStruct = 0;
532
577
static struct __pyx_obj_4h5py_2h5_H5PYConfig *__pyx_v_4h5py_2h5_cfg = 0;
533
static struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_4h5py_2h5_phil = 0;
534
static struct __pyx_obj_4h5py_2h5_PHIL *__pyx_f_4h5py_2h5_get_phil(int __pyx_skip_dispatch); /*proto*/
535
578
static struct __pyx_obj_4h5py_2h5_H5PYConfig *__pyx_f_4h5py_2h5_get_config(int __pyx_skip_dispatch); /*proto*/
536
579
static int __pyx_f_4h5py_2h5_init_hdf5(void); /*proto*/
537
static hid_t __pyx_f_4h5py_2h5_get_object_type(void); /*proto*/
538
static herr_t __pyx_f_4h5py_2h5_attr_rw(hid_t, hid_t, void *, h5py_rw_t); /*proto*/
539
static herr_t __pyx_f_4h5py_2h5_dset_rw(hid_t, hid_t, hid_t, hid_t, hid_t, void *, h5py_rw_t); /*proto*/
540
580
#define __Pyx_MODULE_NAME "h5py.h5"
541
581
int __pyx_module_is_main_h5py__h5 = 0;
543
583
/* Implementation of h5py.h5 */
544
static char __pyx_k_1[] = " Settable 2-tuple controlling how complex numbers are saved.\n\n Format is (real_name, imag_name), defaulting to ('r','i').\n ";
545
static char __pyx_k_2[] = " Settable 2-tuple controlling HDF5 ENUM names for boolean types.\n\n Format is (false_name, real_name), defaulting to ('FALSE', 'TRUE').\n ";
546
static char __pyx_k_3[] = " Indicates whether or not this identifier points to an HDF5 object.\n ";
547
static char __pyx_k_4[] = "\n Common support and versioning module for the h5py HDF5 interface.\n\n This is an internal module which is designed to set up the library and\n enables HDF5 exception handling. It also enables debug logging, if the\n library has been compiled with a nonzero debugging level.\n\n All exception classes and error handling functions are also in this module.\n";
548
static char __pyx_k_7[] = "1.2.1";
549
static char __pyx_k_8[] = "-";
550
static char __pyx_k_9[] = ".";
551
static char __pyx_k_10[] = "1.2.1";
552
static PyObject *__pyx_int_0;
553
static PyObject *__pyx_int_1;
554
static char __pyx_k___main__[] = "__main__";
555
static PyObject *__pyx_kp___main__;
556
static char __pyx_k__hash[] = "_hash";
557
static PyObject *__pyx_kp__hash;
558
static char __pyx_k___hash__[] = "__hash__";
559
static PyObject *__pyx_kp___hash__;
560
static char __pyx_k___richcmp__[] = "__richcmp__";
561
static PyObject *__pyx_kp___richcmp__;
562
static char __pyx_k___str__[] = "__str__";
563
static PyObject *__pyx_kp___str__;
564
static char __pyx_k___init__[] = "__init__";
565
static PyObject *__pyx_kp___init__;
566
static char __pyx_k___repr__[] = "__repr__";
567
static PyObject *__pyx_kp___repr__;
568
static char __pyx_k_get_config[] = "get_config";
569
static PyObject *__pyx_kp_get_config;
570
static char __pyx_k___enter__[] = "__enter__";
571
static PyObject *__pyx_kp___enter__;
572
static char __pyx_k___exit__[] = "__exit__";
573
static PyObject *__pyx_kp___exit__;
574
static char __pyx_k_acquire[] = "acquire";
575
static PyObject *__pyx_kp_acquire;
576
static char __pyx_k_release[] = "release";
577
static PyObject *__pyx_kp_release;
578
static char __pyx_k_get_phil[] = "get_phil";
579
static PyObject *__pyx_kp_get_phil;
580
static char __pyx_k___nonzero__[] = "__nonzero__";
581
static PyObject *__pyx_kp___nonzero__;
582
static char __pyx_k___cinit__[] = "__cinit__";
583
static PyObject *__pyx_kp___cinit__;
584
static char __pyx_k___dealloc__[] = "__dealloc__";
585
static PyObject *__pyx_kp___dealloc__;
586
static char __pyx_k___copy__[] = "__copy__";
587
static PyObject *__pyx_kp___copy__;
588
static char __pyx_k_self[] = "self";
589
static PyObject *__pyx_kp_self;
590
static char __pyx_k_other[] = "other";
591
static PyObject *__pyx_kp_other;
592
static char __pyx_k_how[] = "how";
593
static PyObject *__pyx_kp_how;
594
static char __pyx_k_val[] = "val";
595
static PyObject *__pyx_kp_val;
596
static char __pyx_k_lev[] = "lev";
597
static PyObject *__pyx_kp_lev;
598
static char __pyx_k_a[] = "a";
599
static PyObject *__pyx_kp_a;
600
static char __pyx_k_b[] = "b";
601
static PyObject *__pyx_kp_b;
602
static char __pyx_k_c[] = "c";
603
static PyObject *__pyx_kp_c;
604
static char __pyx_k_blocking[] = "blocking";
605
static PyObject *__pyx_kp_blocking;
606
static char __pyx_k_id_[] = "id_";
607
static PyObject *__pyx_kp_id_;
608
static char __pyx_k___doc__[] = "__doc__";
609
static PyObject *__pyx_kp___doc__;
610
static char __pyx_k_atexit[] = "atexit";
611
static PyObject *__pyx_kp_atexit;
612
static char __pyx_k_threading[] = "threading";
613
static PyObject *__pyx_kp_threading;
614
static char __pyx_k__sync[] = "_sync";
615
static PyObject *__pyx_kp__sync;
616
static char __pyx_k_sync[] = "sync";
617
static PyObject *__pyx_kp_sync;
618
static char __pyx_k_nosync[] = "nosync";
619
static PyObject *__pyx_kp_nosync;
620
static char __pyx_k_get_libversion[] = "get_libversion";
621
static PyObject *__pyx_kp_get_libversion;
622
static char __pyx_k__close[] = "_close";
623
static PyObject *__pyx_kp__close;
624
static char __pyx_k__open[] = "_open";
625
static PyObject *__pyx_kp__open;
626
static char __pyx_k_5[] = "hdf5_inited";
627
static PyObject *__pyx_kp_5;
628
static char __pyx_k_6[] = "_hdf5_version_tuple";
629
static PyObject *__pyx_kp_6;
630
static char __pyx_k__api_version_tuple[] = "_api_version_tuple";
631
static PyObject *__pyx_kp__api_version_tuple;
632
static char __pyx_k__version_tuple[] = "_version_tuple";
633
static PyObject *__pyx_kp__version_tuple;
634
static char __pyx_k_x[] = "x";
635
static PyObject *__pyx_kp_x;
636
static char __pyx_k_split[] = "split";
637
static PyObject *__pyx_kp_split;
638
static char __pyx_k__version_string[] = "_version_string";
639
static PyObject *__pyx_kp__version_string;
640
static char __pyx_k_11[] = "h5e";
641
static PyObject *__pyx_kp_11;
642
static char __pyx_k_12[] = "H5Error";
643
static PyObject *__pyx_kp_12;
644
static char __pyx_k_TypeError[] = "TypeError";
645
static PyObject *__pyx_kp_TypeError;
646
static char __pyx_k___class__[] = "__class__";
647
static PyObject *__pyx_kp___class__;
648
static char __pyx_k___name__[] = "__name__";
649
static PyObject *__pyx_kp___name__;
650
static char __pyx_k_NotImplemented[] = "NotImplemented";
651
static PyObject *__pyx_kp_NotImplemented;
652
static char __pyx_k_startswith[] = "startswith";
653
static PyObject *__pyx_kp_startswith;
654
static char __pyx_k_14[] = "_";
655
static PyObject *__pyx_kp_14;
656
static char __pyx_k_join[] = "join";
657
static PyObject *__pyx_kp_join;
658
static char __pyx_k_sorted[] = "sorted";
659
static PyObject *__pyx_kp_sorted;
660
static char __pyx_k_22[] = "r";
661
static PyObject *__pyx_kp_22;
662
static char __pyx_k_23[] = "i";
663
static PyObject *__pyx_kp_23;
664
static char __pyx_k_24[] = "FALSE";
665
static PyObject *__pyx_kp_24;
666
static char __pyx_k_25[] = "TRUE";
667
static PyObject *__pyx_kp_25;
668
static char __pyx_k_Exception[] = "Exception";
669
static PyObject *__pyx_kp_Exception;
670
static char __pyx_k_complex_names[] = "complex_names";
671
static PyObject *__pyx_kp_complex_names;
672
static char __pyx_k_RLock[] = "RLock";
673
static PyObject *__pyx_kp_RLock;
674
static char __pyx_k__valid[] = "_valid";
675
static PyObject *__pyx_kp__valid;
676
static char __pyx_k_id[] = "id";
677
static PyObject *__pyx_kp_id;
678
static char __pyx_k_32[] = "X";
679
static PyObject *__pyx_kp_32;
680
static char __pyx_k_RuntimeError[] = "RuntimeError";
681
static PyObject *__pyx_kp_RuntimeError;
682
static char __pyx_k_register[] = "register";
683
static PyObject *__pyx_kp_register;
684
static char __pyx_k__exithack[] = "_exithack";
685
static PyObject *__pyx_kp__exithack;
686
static PyObject *__pyx_kp_4;
687
static PyObject *__pyx_kp_7;
688
static PyObject *__pyx_kp_8;
689
static PyObject *__pyx_kp_9;
690
static PyObject *__pyx_kp_10;
691
584
static PyObject *__pyx_builtin_TypeError;
692
585
static PyObject *__pyx_builtin_NotImplemented;
586
static PyObject *__pyx_builtin_getattr;
693
587
static PyObject *__pyx_builtin_sorted;
694
588
static PyObject *__pyx_builtin_Exception;
695
589
static PyObject *__pyx_builtin_RuntimeError;
696
static PyObject *__pyx_kp_13;
697
static char __pyx_k_13[] = "%s instances are unhashable";
698
static PyObject *__pyx_kp_16;
699
static PyObject *__pyx_kp_15;
700
static PyObject *__pyx_kp_17;
701
static PyObject *__pyx_kp_18;
702
static PyObject *__pyx_kp_19;
703
static PyObject *__pyx_kp_20;
704
static PyObject *__pyx_kp_21;
705
static char __pyx_k_15[] = "\n";
706
static char __pyx_k_16[] = "\n";
707
static char __pyx_k_17[] = "\n";
708
static char __pyx_k_18[] = " ";
709
static char __pyx_k_19[] = "=== %s ===\n";
710
static char __pyx_k_20[] = "\n";
711
static char __pyx_k_21[] = "%s: %s";
712
static PyObject *__pyx_kp_26;
713
static char __pyx_k_26[] = "complex_names must be a 2-tuple of strings (real, img)";
714
static PyObject *__pyx_kp_27;
715
static char __pyx_k_27[] = "bool_names must be a 2-tuple of strings (false, true)";
716
static PyObject *__pyx_kp_28;
717
static PyObject *__pyx_kp_29;
718
static char __pyx_k_28[] = "Summary of h5py config\n======================\nHDF5: %s\n1.6 API: %s\n1.8 API: %s\nDiagnostic mode: %s\nComplex names: %s";
719
static char __pyx_k_29[] = "%d.%d.%d";
720
static PyObject *__pyx_kp_31;
721
static char __pyx_k_30[] = ".";
722
static char __pyx_k_31[] = "Objects of class %s cannot be hashed";
723
static PyObject *__pyx_kp_35;
724
static char __pyx_k_33[] = "L";
725
static char __pyx_k_34[] = "U";
726
static char __pyx_k_35[] = "<%s [%s] (%s) %d>";
727
static PyObject *__pyx_kp_36;
728
static PyObject *__pyx_kp_37;
729
static char __pyx_k_36[] = "Failed to initialize the HDF5 library.";
730
static char __pyx_k_37[] = "Failed to register LZF filter";
590
static char __pyx_k_1[] = "%s instances are unhashable";
591
static char __pyx_k_2[] = "\n";
592
static char __pyx_k_3[] = " ";
593
static char __pyx_k_4[] = "=== %s ===\n";
594
static char __pyx_k_5[] = "%s: %s";
595
static char __pyx_k_6[] = "complex_names must be a 2-tuple of strings (real, img)";
596
static char __pyx_k_7[] = "bool_names must be a 2-tuple of strings (false, true)";
597
static char __pyx_k_8[] = "Summary of h5py config\n======================\nHDF5: %s\n1.6 API: %s\n1.8 API: %s\nDiagnostic mode: %s\nComplex names: %s";
598
static char __pyx_k_9[] = "%d.%d.%d";
599
static char __pyx_k_10[] = ".";
600
static char __pyx_k_11[] = "Objects of class %s cannot be hashed";
601
static char __pyx_k_12[] = "<%s [%s] (%s) %d>";
602
static char __pyx_k_13[] = "unregister_converters";
603
static char __pyx_k_14[] = "Failed to initialize the HDF5 library.";
604
static char __pyx_k_15[] = "Failed to register LZF filter";
605
static char __pyx_k_16[] = " Settable 2-tuple controlling how complex numbers are saved.\n\n Format is (real_name, imag_name), defaulting to ('r','i').\n ";
606
static char __pyx_k_17[] = " Settable 2-tuple controlling HDF5 ENUM names for boolean types.\n\n Format is (false_name, real_name), defaulting to ('FALSE', 'TRUE').\n ";
607
static char __pyx_k_18[] = " Indicates whether or not this identifier points to an HDF5 object.\n ";
608
static char __pyx_k_19[] = "\n Common support and versioning module for the h5py HDF5 interface.\n\n This is an internal module which is designed to set up the library and\n enables HDF5 exception handling.\n\n Exception classes are now located in the module h5py.h5e.\n";
609
static char __pyx_k_20[] = "1.3.0";
610
static char __pyx_k_21[] = "-";
611
static char __pyx_k__L[] = "L";
612
static char __pyx_k__U[] = "U";
613
static char __pyx_k__X[] = "X";
614
static char __pyx_k___[] = "_";
615
static char __pyx_k__i[] = "i";
616
static char __pyx_k__r[] = "r";
617
static char __pyx_k__x[] = "x";
618
static char __pyx_k__id[] = "id";
619
static char __pyx_k__h5e[] = "h5e";
620
static char __pyx_k__id_[] = "id_";
621
static char __pyx_k__TRUE[] = "TRUE";
622
static char __pyx_k__join[] = "join";
623
static char __pyx_k__DEBUG[] = "DEBUG";
624
static char __pyx_k__FALSE[] = "FALSE";
625
static char __pyx_k___conv[] = "_conv";
626
static char __pyx_k___hash[] = "_hash";
627
static char __pyx_k__objno[] = "objno";
628
static char __pyx_k__split[] = "split";
629
static char __pyx_k__API_16[] = "API_16";
630
static char __pyx_k__API_18[] = "API_18";
631
static char __pyx_k___title[] = "_title";
632
static char __pyx_k___valid[] = "_valid";
633
static char __pyx_k__atexit[] = "atexit";
634
static char __pyx_k__fileno[] = "fileno";
635
static char __pyx_k__sorted[] = "sorted";
636
static char __pyx_k__H5Error[] = "H5Error";
637
static char __pyx_k___f_name[] = "_f_name";
638
static char __pyx_k___i_name[] = "_i_name";
639
static char __pyx_k___locked[] = "_locked";
640
static char __pyx_k___r_name[] = "_r_name";
641
static char __pyx_k___t_name[] = "_t_name";
642
static char __pyx_k__getattr[] = "getattr";
643
static char __pyx_k____main__[] = "__main__";
644
static char __pyx_k____name__[] = "__name__";
645
static char __pyx_k__register[] = "register";
646
static char __pyx_k__Exception[] = "Exception";
647
static char __pyx_k__TypeError[] = "TypeError";
648
static char __pyx_k____class__[] = "__class__";
649
static char __pyx_k___exithack[] = "_exithack";
650
static char __pyx_k__threading[] = "threading";
651
static char __pyx_k__startswith[] = "startswith";
652
static char __pyx_k__hdf5_inited[] = "hdf5_inited";
653
static char __pyx_k__RuntimeError[] = "RuntimeError";
654
static char __pyx_k__complex_names[] = "complex_names";
655
static char __pyx_k__NotImplemented[] = "NotImplemented";
656
static char __pyx_k___version_tuple[] = "_version_tuple";
657
static char __pyx_k__get_libversion[] = "get_libversion";
658
static char __pyx_k___version_string[] = "_version_string";
659
static char __pyx_k___api_version_tuple[] = "_api_version_tuple";
660
static char __pyx_k___hdf5_version_tuple[] = "_hdf5_version_tuple";
661
static char __pyx_k__register_converters[] = "register_converters";
662
static PyObject *__pyx_kp_s_1;
663
static PyObject *__pyx_kp_s_10;
664
static PyObject *__pyx_kp_s_11;
665
static PyObject *__pyx_kp_s_12;
666
static PyObject *__pyx_n_s_13;
667
static PyObject *__pyx_kp_s_14;
668
static PyObject *__pyx_kp_s_15;
669
static PyObject *__pyx_kp_s_2;
670
static PyObject *__pyx_kp_b_20;
671
static PyObject *__pyx_kp_s_21;
672
static PyObject *__pyx_kp_s_3;
673
static PyObject *__pyx_kp_s_4;
674
static PyObject *__pyx_kp_s_5;
675
static PyObject *__pyx_kp_s_6;
676
static PyObject *__pyx_kp_s_7;
677
static PyObject *__pyx_kp_s_8;
678
static PyObject *__pyx_kp_s_9;
679
static PyObject *__pyx_n_s__API_16;
680
static PyObject *__pyx_n_s__API_18;
681
static PyObject *__pyx_n_s__DEBUG;
682
static PyObject *__pyx_n_s__Exception;
683
static PyObject *__pyx_n_s__FALSE;
684
static PyObject *__pyx_n_s__H5Error;
685
static PyObject *__pyx_n_s__L;
686
static PyObject *__pyx_n_s__NotImplemented;
687
static PyObject *__pyx_n_s__RuntimeError;
688
static PyObject *__pyx_n_s__TRUE;
689
static PyObject *__pyx_n_s__TypeError;
690
static PyObject *__pyx_n_s__U;
691
static PyObject *__pyx_n_s__X;
692
static PyObject *__pyx_n_s___;
693
static PyObject *__pyx_n_s____class__;
694
static PyObject *__pyx_n_s____main__;
695
static PyObject *__pyx_n_s____name__;
696
static PyObject *__pyx_n_s___api_version_tuple;
697
static PyObject *__pyx_n_s___conv;
698
static PyObject *__pyx_n_s___exithack;
699
static PyObject *__pyx_n_s___f_name;
700
static PyObject *__pyx_n_s___hash;
701
static PyObject *__pyx_n_s___hdf5_version_tuple;
702
static PyObject *__pyx_n_s___i_name;
703
static PyObject *__pyx_n_s___locked;
704
static PyObject *__pyx_n_s___r_name;
705
static PyObject *__pyx_n_s___t_name;
706
static PyObject *__pyx_n_s___title;
707
static PyObject *__pyx_n_s___valid;
708
static PyObject *__pyx_n_s___version_string;
709
static PyObject *__pyx_n_s___version_tuple;
710
static PyObject *__pyx_n_s__atexit;
711
static PyObject *__pyx_n_s__complex_names;
712
static PyObject *__pyx_n_s__fileno;
713
static PyObject *__pyx_n_s__get_libversion;
714
static PyObject *__pyx_n_s__getattr;
715
static PyObject *__pyx_n_s__h5e;
716
static PyObject *__pyx_n_s__hdf5_inited;
717
static PyObject *__pyx_n_s__i;
718
static PyObject *__pyx_n_s__id;
719
static PyObject *__pyx_n_s__id_;
720
static PyObject *__pyx_n_s__join;
721
static PyObject *__pyx_n_s__objno;
722
static PyObject *__pyx_n_s__r;
723
static PyObject *__pyx_n_s__register;
724
static PyObject *__pyx_n_s__register_converters;
725
static PyObject *__pyx_n_s__sorted;
726
static PyObject *__pyx_n_s__split;
727
static PyObject *__pyx_n_s__startswith;
728
static PyObject *__pyx_n_s__threading;
729
static PyObject *__pyx_n_s__x;
730
static PyObject *__pyx_int_0;
731
static PyObject *__pyx_int_1;
732
static PyObject *__pyx_int_6;
732
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":43
734
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":44
733
735
* """ Provides basic mechanics for structs """
735
737
* def _hash(self): # <<<<<<<<<<<<<<
1210
1201
__pyx_v_x = __pyx_t_4;
1213
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":71
1204
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":72
1214
1205
* mems = dict([(x, str(getattr(self, x))) for x in dir(self) if not x.startswith('_')])
1215
1206
* for x in mems:
1216
1207
* if isinstance(getattr(self,x), SmartStruct): # <<<<<<<<<<<<<<
1217
1208
* mems[x] = "\n"+"\n".join([" "+y for y in mems[x].split("\n")[1:]])
1218
1209
* hdr = "=== %s ===\n" % self.__class__.__name__ if self._title is None else self._title
1220
__pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_v_x); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1211
__pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_v_x); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1221
1212
__Pyx_GOTREF(__pyx_t_4);
1222
1213
__pyx_t_8 = PyObject_TypeCheck(__pyx_t_4, ((PyTypeObject *)((PyObject*)__pyx_ptype_4h5py_2h5_SmartStruct)));
1223
1214
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
1224
1215
if (__pyx_t_8) {
1226
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":72
1217
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":73
1227
1218
* for x in mems:
1228
1219
* if isinstance(getattr(self,x), SmartStruct):
1229
1220
* mems[x] = "\n"+"\n".join([" "+y for y in mems[x].split("\n")[1:]]) # <<<<<<<<<<<<<<
1230
1221
* hdr = "=== %s ===\n" % self.__class__.__name__ if self._title is None else self._title
1231
1222
* return hdr+"\n".join(["%s: %s" % (name, mems[name]) for name in sorted(mems)])
1233
__pyx_t_4 = PyObject_GetAttr(__pyx_kp_16, __pyx_kp_join); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1224
__pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_kp_s_2), __pyx_n_s__join); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1234
1225
__Pyx_GOTREF(__pyx_t_4);
1235
__pyx_t_5 = PyList_New(0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1236
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
1237
__pyx_1 = PyObject_GetItem(__pyx_v_mems, __pyx_v_x); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1238
__Pyx_GOTREF(__pyx_1);
1239
__pyx_t_6 = PyObject_GetAttr(__pyx_1, __pyx_kp_split); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1240
__Pyx_GOTREF(__pyx_t_6);
1241
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
1242
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1243
__Pyx_GOTREF(((PyObject *)__pyx_t_3));
1244
__Pyx_INCREF(__pyx_kp_17);
1245
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_17);
1246
__Pyx_GIVEREF(__pyx_kp_17);
1247
__pyx_t_11 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1226
__pyx_t_6 = PyList_New(0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1227
__Pyx_GOTREF(((PyObject *)__pyx_t_6));
1228
__pyx_t_5 = PyObject_GetItem(__pyx_v_mems, __pyx_v_x); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1229
__Pyx_GOTREF(__pyx_t_5);
1230
__pyx_t_3 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s__split); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1231
__Pyx_GOTREF(__pyx_t_3);
1232
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
1233
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1234
__Pyx_GOTREF(__pyx_t_5);
1235
__Pyx_INCREF(((PyObject *)__pyx_kp_s_2));
1236
PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_2));
1237
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_2));
1238
__pyx_t_11 = PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1248
1239
__Pyx_GOTREF(__pyx_t_11);
1249
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
1250
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
1251
__pyx_1 = PySequence_GetSlice(__pyx_t_11, 1, PY_SSIZE_T_MAX); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1252
__Pyx_GOTREF(__pyx_1);
1240
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
1241
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
1242
__pyx_t_5 = PySequence_GetSlice(__pyx_t_11, 1, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1243
__Pyx_GOTREF(__pyx_t_5);
1253
1244
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
1254
if (PyList_CheckExact(__pyx_1) || PyTuple_CheckExact(__pyx_1)) {
1255
__pyx_t_10 = 0; __pyx_t_11 = __pyx_1; __Pyx_INCREF(__pyx_t_11);
1245
if (PyList_CheckExact(__pyx_t_5) || PyTuple_CheckExact(__pyx_t_5)) {
1246
__pyx_t_10 = 0; __pyx_t_11 = __pyx_t_5; __Pyx_INCREF(__pyx_t_11);
1257
__pyx_t_10 = -1; __pyx_t_11 = PyObject_GetIter(__pyx_1); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1248
__pyx_t_10 = -1; __pyx_t_11 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1258
1249
__Pyx_GOTREF(__pyx_t_11);
1260
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
1251
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
1262
1253
if (likely(PyList_CheckExact(__pyx_t_11))) {
1263
1254
if (__pyx_t_10 >= PyList_GET_SIZE(__pyx_t_11)) break;
1264
__pyx_t_3 = PyList_GET_ITEM(__pyx_t_11, __pyx_t_10); __Pyx_INCREF(__pyx_t_3); __pyx_t_10++;
1255
__pyx_t_5 = PyList_GET_ITEM(__pyx_t_11, __pyx_t_10); __Pyx_INCREF(__pyx_t_5); __pyx_t_10++;
1265
1256
} else if (likely(PyTuple_CheckExact(__pyx_t_11))) {
1266
1257
if (__pyx_t_10 >= PyTuple_GET_SIZE(__pyx_t_11)) break;
1267
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_11, __pyx_t_10); __Pyx_INCREF(__pyx_t_3); __pyx_t_10++;
1258
__pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_11, __pyx_t_10); __Pyx_INCREF(__pyx_t_5); __pyx_t_10++;
1269
__pyx_t_3 = PyIter_Next(__pyx_t_11);
1271
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1260
__pyx_t_5 = PyIter_Next(__pyx_t_11);
1262
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1274
__Pyx_GOTREF(__pyx_t_3);
1265
__Pyx_GOTREF(__pyx_t_5);
1276
1267
__Pyx_DECREF(__pyx_v_y);
1277
__pyx_v_y = __pyx_t_3;
1279
__pyx_t_3 = PyNumber_Add(__pyx_kp_18, __pyx_v_y); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1280
__Pyx_GOTREF(__pyx_t_3);
1281
__pyx_t_9 = PyList_Append(__pyx_t_5, (PyObject*)__pyx_t_3); if (unlikely(__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1282
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
1268
__pyx_v_y = __pyx_t_5;
1270
__pyx_t_5 = PyNumber_Add(((PyObject *)__pyx_kp_s_3), __pyx_v_y); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1271
__Pyx_GOTREF(__pyx_t_5);
1272
__pyx_t_9 = PyList_Append(__pyx_t_6, (PyObject*)__pyx_t_5); if (unlikely(__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1273
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
1284
1275
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
1285
__pyx_t_11 = PyTuple_New(1); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1286
__Pyx_GOTREF(((PyObject *)__pyx_t_11));
1287
__Pyx_INCREF(((PyObject *)__pyx_t_5));
1288
PyTuple_SET_ITEM(__pyx_t_11, 0, ((PyObject *)__pyx_t_5));
1289
__Pyx_GIVEREF(((PyObject *)__pyx_t_5));
1290
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
1291
__pyx_t_5 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_11), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1292
__Pyx_GOTREF(__pyx_t_5);
1276
__pyx_t_11 = PyTuple_New(1); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1277
__Pyx_GOTREF(__pyx_t_11);
1278
__Pyx_INCREF(((PyObject *)__pyx_t_6));
1279
PyTuple_SET_ITEM(__pyx_t_11, 0, ((PyObject *)__pyx_t_6));
1280
__Pyx_GIVEREF(((PyObject *)__pyx_t_6));
1281
__Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
1282
__pyx_t_6 = PyObject_Call(__pyx_t_4, __pyx_t_11, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1283
__Pyx_GOTREF(__pyx_t_6);
1293
1284
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
1294
__Pyx_DECREF(((PyObject *)__pyx_t_11)); __pyx_t_11 = 0;
1295
__pyx_t_11 = PyNumber_Add(__pyx_kp_15, __pyx_t_5); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1285
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
1286
__pyx_t_11 = PyNumber_Add(((PyObject *)__pyx_kp_s_2), __pyx_t_6); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1296
1287
__Pyx_GOTREF(__pyx_t_11);
1297
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
1298
if (PyObject_SetItem(__pyx_v_mems, __pyx_v_x, __pyx_t_11) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1288
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
1289
if (PyObject_SetItem(__pyx_v_mems, __pyx_v_x, __pyx_t_11) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1299
1290
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
1300
1291
goto __pyx_L10;
1427
1417
__Pyx_DECREF(__pyx_v_hdr);
1428
1418
__Pyx_DECREF(__pyx_v_y);
1429
1419
__Pyx_DECREF(__pyx_v_name);
1420
__Pyx_DECREF((PyObject *)__pyx_v_self);
1430
1421
__Pyx_XGIVEREF(__pyx_r);
1431
__Pyx_FinishRefcountContext();
1422
__Pyx_RefNannyFinishContext();
1432
1423
return __pyx_r;
1435
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":82
1426
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":98
1438
1429
* def __init__(self): # <<<<<<<<<<<<<<
1439
* self.API_16 = H5PY_16API
1440
* self.API_18 = H5PY_18API
1430
* self.API_16 = bool(H5PY_16API)
1431
* self.API_18 = bool(H5PY_18API)
1443
1434
static int __pyx_pf_4h5py_2h5_10H5PYConfig___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
1444
1435
static int __pyx_pf_4h5py_2h5_10H5PYConfig___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
1446
__Pyx_SetupRefcountContext("__init__");
1437
PyObject *__pyx_t_1 = NULL;
1438
PyObject *__pyx_t_2 = NULL;
1439
__Pyx_RefNannySetupContext("__init__");
1447
1440
if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
1448
1441
__Pyx_RaiseArgtupleInvalid("__init__", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return -1;}
1449
1442
if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__init__", 0))) return -1;
1451
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":83
1444
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":99
1453
1446
* def __init__(self):
1454
* self.API_16 = H5PY_16API # <<<<<<<<<<<<<<
1455
* self.API_18 = H5PY_18API
1456
* self.DEBUG = H5PY_DEBUG
1447
* self.API_16 = bool(H5PY_16API) # <<<<<<<<<<<<<<
1448
* self.API_18 = bool(H5PY_18API)
1449
* self._r_name = 'r'
1451
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1452
__Pyx_GOTREF(__pyx_t_1);
1458
1453
__Pyx_INCREF(__pyx_int_1);
1454
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_int_1);
1459
1455
__Pyx_GIVEREF(__pyx_int_1);
1456
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1457
__Pyx_GOTREF(__pyx_t_2);
1458
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
1459
__Pyx_GIVEREF(__pyx_t_2);
1460
1460
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
1461
1461
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
1462
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16 = __pyx_int_1;
1462
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16 = __pyx_t_2;
1464
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":84
1465
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":100
1465
1466
* def __init__(self):
1466
* self.API_16 = H5PY_16API
1467
* self.API_18 = H5PY_18API # <<<<<<<<<<<<<<
1468
* self.DEBUG = H5PY_DEBUG
1467
* self.API_16 = bool(H5PY_16API)
1468
* self.API_18 = bool(H5PY_18API) # <<<<<<<<<<<<<<
1469
1469
* self._r_name = 'r'
1470
* self._i_name = 'i'
1472
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1473
__Pyx_GOTREF(__pyx_t_2);
1471
1474
__Pyx_INCREF(__pyx_int_0);
1475
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_int_0);
1472
1476
__Pyx_GIVEREF(__pyx_int_0);
1477
__pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1478
__Pyx_GOTREF(__pyx_t_1);
1479
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
1480
__Pyx_GIVEREF(__pyx_t_1);
1473
1481
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
1474
1482
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
1475
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18 = __pyx_int_0;
1477
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":85
1478
* self.API_16 = H5PY_16API
1479
* self.API_18 = H5PY_18API
1480
* self.DEBUG = H5PY_DEBUG # <<<<<<<<<<<<<<
1481
* self._r_name = 'r'
1482
* self._i_name = 'i'
1484
__Pyx_INCREF(__pyx_int_0);
1485
__Pyx_GIVEREF(__pyx_int_0);
1486
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
1487
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
1488
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG = __pyx_int_0;
1490
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":86
1491
* self.API_18 = H5PY_18API
1492
* self.DEBUG = H5PY_DEBUG
1483
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18 = __pyx_t_1;
1486
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":101
1487
* self.API_16 = bool(H5PY_16API)
1488
* self.API_18 = bool(H5PY_18API)
1493
1489
* self._r_name = 'r' # <<<<<<<<<<<<<<
1494
1490
* self._i_name = 'i'
1495
1491
* self._f_name = 'FALSE'
1497
__Pyx_INCREF(__pyx_kp_22);
1498
__Pyx_GIVEREF(__pyx_kp_22);
1493
__Pyx_INCREF(((PyObject *)__pyx_n_s__r));
1494
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__r));
1499
1495
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_r_name);
1500
1496
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_r_name);
1501
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_r_name = __pyx_kp_22;
1497
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_r_name = ((PyObject *)__pyx_n_s__r);
1503
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":87
1504
* self.DEBUG = H5PY_DEBUG
1499
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":102
1500
* self.API_18 = bool(H5PY_18API)
1505
1501
* self._r_name = 'r'
1506
1502
* self._i_name = 'i' # <<<<<<<<<<<<<<
1507
1503
* self._f_name = 'FALSE'
1508
1504
* self._t_name = 'TRUE'
1510
__Pyx_INCREF(__pyx_kp_23);
1511
__Pyx_GIVEREF(__pyx_kp_23);
1506
__Pyx_INCREF(((PyObject *)__pyx_n_s__i));
1507
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__i));
1512
1508
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_i_name);
1513
1509
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_i_name);
1514
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_i_name = __pyx_kp_23;
1510
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_i_name = ((PyObject *)__pyx_n_s__i);
1516
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":88
1512
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":103
1517
1513
* self._r_name = 'r'
1518
1514
* self._i_name = 'i'
1519
1515
* self._f_name = 'FALSE' # <<<<<<<<<<<<<<
1520
1516
* self._t_name = 'TRUE'
1523
__Pyx_INCREF(__pyx_kp_24);
1524
__Pyx_GIVEREF(__pyx_kp_24);
1519
__Pyx_INCREF(((PyObject *)__pyx_n_s__FALSE));
1520
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__FALSE));
1525
1521
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_f_name);
1526
1522
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_f_name);
1527
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_f_name = __pyx_kp_24;
1523
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_f_name = ((PyObject *)__pyx_n_s__FALSE);
1529
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":89
1525
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":104
1530
1526
* self._i_name = 'i'
1531
1527
* self._f_name = 'FALSE'
1532
1528
* self._t_name = 'TRUE' # <<<<<<<<<<<<<<
1534
1530
* property complex_names:
1536
__Pyx_INCREF(__pyx_kp_25);
1537
__Pyx_GIVEREF(__pyx_kp_25);
1532
__Pyx_INCREF(((PyObject *)__pyx_n_s__TRUE));
1533
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__TRUE));
1538
1534
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_t_name);
1539
1535
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_t_name);
1540
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_t_name = __pyx_kp_25;
1536
((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->_t_name = ((PyObject *)__pyx_n_s__TRUE);
1543
__Pyx_FinishRefcountContext();
1541
__Pyx_XDECREF(__pyx_t_1);
1542
__Pyx_XDECREF(__pyx_t_2);
1543
__Pyx_AddTraceback("h5py.h5.H5PYConfig.__init__");
1546
__Pyx_RefNannyFinishContext();
1544
1547
return __pyx_r;
1547
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":97
1550
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":112
1550
1553
* def __get__(self): # <<<<<<<<<<<<<<
2018
2025
static PyObject *__pyx_pf_4h5py_2h5_10H5PYConfig___repr__(PyObject *__pyx_v_self) {
2019
2026
PyObject *__pyx_v_rstr;
2020
2027
PyObject *__pyx_r = NULL;
2021
PyObject *__pyx_1 = 0;
2022
PyObject *__pyx_2 = 0;
2023
2028
PyObject *__pyx_t_1 = NULL;
2024
2029
PyObject *__pyx_t_2 = NULL;
2025
2030
PyObject *__pyx_t_3 = NULL;
2026
2031
PyObject *__pyx_t_4 = NULL;
2027
2032
PyObject *__pyx_t_5 = NULL;
2028
2033
PyObject *__pyx_t_6 = NULL;
2029
__Pyx_SetupRefcountContext("__repr__");
2034
__Pyx_RefNannySetupContext("__repr__");
2030
2035
__pyx_v_rstr = Py_None; __Pyx_INCREF(Py_None);
2032
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":128
2037
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":143
2033
2038
* def __repr__(self):
2035
2040
* """\ # <<<<<<<<<<<<<<
2036
2041
* Summary of h5py config
2037
2042
* ======================
2039
__Pyx_INCREF(__pyx_kp_28);
2044
__Pyx_INCREF(((PyObject *)__pyx_kp_s_8));
2040
2045
__Pyx_DECREF(__pyx_v_rstr);
2041
__pyx_v_rstr = __pyx_kp_28;
2046
__pyx_v_rstr = ((PyObject *)__pyx_kp_s_8);
2043
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":137
2048
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":152
2044
2049
* Complex names: %s"""
2046
2051
* rstr %= ("%d.%d.%d" % get_libversion(), bool(self.API_16), # <<<<<<<<<<<<<<
2047
2052
* bool(self.API_18), bool(self.DEBUG),
2048
2053
* self.complex_names)
2050
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_get_libversion); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2051
__Pyx_GOTREF(__pyx_2);
2052
__pyx_t_1 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2055
__pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__get_libversion); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2053
2056
__Pyx_GOTREF(__pyx_t_1);
2054
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
2055
__pyx_t_2 = PyNumber_Remainder(__pyx_kp_29, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2057
__pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2056
2058
__Pyx_GOTREF(__pyx_t_2);
2057
2059
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2058
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2059
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
2060
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2061
__Pyx_GOTREF(__pyx_t_1);
2062
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2063
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2064
__Pyx_GOTREF(__pyx_t_2);
2060
2065
__Pyx_INCREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
2061
PyTuple_SET_ITEM(__pyx_t_1, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
2066
PyTuple_SET_ITEM(__pyx_t_2, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
2062
2067
__Pyx_GIVEREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_16);
2063
__pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2068
__pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2064
2069
__Pyx_GOTREF(__pyx_t_3);
2065
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
2070
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2067
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":138
2072
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":153
2069
2074
* rstr %= ("%d.%d.%d" % get_libversion(), bool(self.API_16),
2070
2075
* bool(self.API_18), bool(self.DEBUG), # <<<<<<<<<<<<<<
2071
2076
* self.complex_names)
2074
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2075
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
2079
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2080
__Pyx_GOTREF(__pyx_t_2);
2076
2081
__Pyx_INCREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
2077
PyTuple_SET_ITEM(__pyx_t_1, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
2082
PyTuple_SET_ITEM(__pyx_t_2, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
2078
2083
__Pyx_GIVEREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->API_18);
2079
__pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2084
__pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2080
2085
__Pyx_GOTREF(__pyx_t_4);
2081
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
2082
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2083
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
2086
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2087
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2088
__Pyx_GOTREF(__pyx_t_2);
2084
2089
__Pyx_INCREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
2085
PyTuple_SET_ITEM(__pyx_t_1, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
2090
PyTuple_SET_ITEM(__pyx_t_2, 0, ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
2086
2091
__Pyx_GIVEREF(((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_v_self)->DEBUG);
2087
__pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2092
__pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2088
2093
__Pyx_GOTREF(__pyx_t_5);
2089
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
2094
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2091
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":139
2096
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":154
2092
2097
* rstr %= ("%d.%d.%d" % get_libversion(), bool(self.API_16),
2093
2098
* bool(self.API_18), bool(self.DEBUG),
2094
2099
* self.complex_names) # <<<<<<<<<<<<<<
2098
__pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_complex_names); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2099
__Pyx_GOTREF(__pyx_t_1);
2100
__pyx_t_6 = PyTuple_New(5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2101
__Pyx_GOTREF(((PyObject *)__pyx_t_6));
2102
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
2103
__Pyx_GIVEREF(__pyx_t_2);
2103
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__complex_names); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2104
__Pyx_GOTREF(__pyx_t_2);
2105
__pyx_t_6 = PyTuple_New(5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2106
__Pyx_GOTREF(__pyx_t_6);
2107
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
2108
__Pyx_GIVEREF(__pyx_t_1);
2104
2109
PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3);
2105
2110
__Pyx_GIVEREF(__pyx_t_3);
2106
2111
PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4);
2107
2112
__Pyx_GIVEREF(__pyx_t_4);
2108
2113
PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_t_5);
2109
2114
__Pyx_GIVEREF(__pyx_t_5);
2110
PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_t_1);
2111
__Pyx_GIVEREF(__pyx_t_1);
2115
PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_t_2);
2116
__Pyx_GIVEREF(__pyx_t_2);
2117
__pyx_1 = PyNumber_InPlaceRemainder(__pyx_v_rstr, ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2118
__Pyx_GOTREF(__pyx_1);
2122
__pyx_t_2 = PyNumber_InPlaceRemainder(__pyx_v_rstr, __pyx_t_6); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2123
__Pyx_GOTREF(__pyx_t_2);
2120
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":137
2125
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":152
2121
2126
* Complex names: %s"""
2123
2128
* rstr %= ("%d.%d.%d" % get_libversion(), bool(self.API_16), # <<<<<<<<<<<<<<
2124
2129
* bool(self.API_18), bool(self.DEBUG),
2125
2130
* self.complex_names)
2127
__Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
2132
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2128
2133
__Pyx_DECREF(__pyx_v_rstr);
2129
__pyx_v_rstr = __pyx_1;
2134
__pyx_v_rstr = __pyx_t_2;
2132
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":140
2137
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":155
2133
2138
* bool(self.API_18), bool(self.DEBUG),
2134
2139
* self.complex_names)
2135
2140
* return rstr # <<<<<<<<<<<<<<
2223
2226
__pyx_r = NULL;
2225
2228
__Pyx_XGIVEREF(__pyx_r);
2226
__Pyx_FinishRefcountContext();
2230
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":164
2233
* def loglevel(lev): # <<<<<<<<<<<<<<
2238
static PyObject *__pyx_pf_4h5py_2h5_loglevel(PyObject *__pyx_self, PyObject *__pyx_v_lev); /*proto*/
2239
static char __pyx_doc_4h5py_2h5_loglevel[] = " (INT lev)\n \n Shortcut to set the logging level on all library streams.\n Does nothing if not built in debug mode.\n ";
2240
static PyObject *__pyx_pf_4h5py_2h5_loglevel(PyObject *__pyx_self, PyObject *__pyx_v_lev) {
2241
PyObject *__pyx_r = NULL;
2242
__Pyx_SetupRefcountContext("loglevel");
2243
__pyx_self = __pyx_self;
2245
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2246
__Pyx_XGIVEREF(__pyx_r);
2247
__Pyx_FinishRefcountContext();
2251
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":190
2254
* def __init__(self): # <<<<<<<<<<<<<<
2255
* self.lock = threading.RLock()
2256
* cpdef bint __enter__(self) except -1:
2259
static int __pyx_pf_4h5py_2h5_4PHIL___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2260
static int __pyx_pf_4h5py_2h5_4PHIL___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
2262
PyObject *__pyx_1 = 0;
2263
PyObject *__pyx_t_1 = NULL;
2264
PyObject *__pyx_t_2 = NULL;
2265
__Pyx_SetupRefcountContext("__init__");
2266
if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
2267
__Pyx_RaiseArgtupleInvalid("__init__", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return -1;}
2268
if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__init__", 0))) return -1;
2270
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":191
2272
* def __init__(self):
2273
* self.lock = threading.RLock() # <<<<<<<<<<<<<<
2274
* cpdef bint __enter__(self) except -1:
2275
* self.lock.acquire()
2277
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_threading); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2278
__Pyx_GOTREF(__pyx_1);
2279
__pyx_t_1 = PyObject_GetAttr(__pyx_1, __pyx_kp_RLock); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2280
__Pyx_GOTREF(__pyx_t_1);
2281
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2282
__pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2283
__Pyx_GOTREF(__pyx_t_2);
2284
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2285
__Pyx_GIVEREF(__pyx_t_2);
2286
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->lock);
2287
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->lock);
2288
((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->lock = __pyx_t_2;
2294
__Pyx_XDECREF(__pyx_1);
2295
__Pyx_XDECREF(__pyx_t_1);
2296
__Pyx_XDECREF(__pyx_t_2);
2297
__Pyx_AddTraceback("h5py.h5.PHIL.__init__");
2300
__Pyx_FinishRefcountContext();
2304
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":192
2305
* def __init__(self):
2306
* self.lock = threading.RLock()
2307
* cpdef bint __enter__(self) except -1: # <<<<<<<<<<<<<<
2308
* self.lock.acquire()
2312
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___enter__(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
2313
static int __pyx_f_4h5py_2h5_4PHIL___enter__(struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_self, int __pyx_skip_dispatch) {
2315
PyObject *__pyx_1 = 0;
2316
PyObject *__pyx_t_1 = NULL;
2318
PyObject *__pyx_t_3 = NULL;
2319
__Pyx_SetupRefcountContext("__enter__");
2320
/* Check if called by wrapper */
2321
if (unlikely(__pyx_skip_dispatch)) ;
2322
/* Check if overriden in Python */
2323
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
2324
__pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp___enter__); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2325
__Pyx_GOTREF(__pyx_1);
2326
if (!PyCFunction_Check(__pyx_1) || (PyCFunction_GET_FUNCTION(__pyx_1) != (void *)&__pyx_pf_4h5py_2h5_4PHIL___enter__)) {
2327
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2328
__Pyx_GOTREF(__pyx_t_1);
2329
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2330
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2331
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2332
__pyx_r = __pyx_t_2;
2335
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2338
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":193
2339
* self.lock = threading.RLock()
2340
* cpdef bint __enter__(self) except -1:
2341
* self.lock.acquire() # <<<<<<<<<<<<<<
2343
* cpdef bint __exit__(self,a,b,c) except -1:
2345
__pyx_t_1 = PyObject_GetAttr(__pyx_v_self->lock, __pyx_kp_acquire); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2346
__Pyx_GOTREF(__pyx_t_1);
2347
__pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2348
__Pyx_GOTREF(__pyx_t_3);
2349
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2350
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2352
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":194
2353
* cpdef bint __enter__(self) except -1:
2354
* self.lock.acquire()
2355
* return 0 # <<<<<<<<<<<<<<
2356
* cpdef bint __exit__(self,a,b,c) except -1:
2357
* self.lock.release()
2365
__Pyx_XDECREF(__pyx_1);
2366
__Pyx_XDECREF(__pyx_t_1);
2367
__Pyx_XDECREF(__pyx_t_3);
2368
__Pyx_AddTraceback("h5py.h5.PHIL.__enter__");
2371
__Pyx_FinishRefcountContext();
2375
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":192
2376
* def __init__(self):
2377
* self.lock = threading.RLock()
2378
* cpdef bint __enter__(self) except -1: # <<<<<<<<<<<<<<
2379
* self.lock.acquire()
2383
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___enter__(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
2384
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___enter__(PyObject *__pyx_v_self, PyObject *unused) {
2385
PyObject *__pyx_r = NULL;
2387
PyObject *__pyx_t_2 = NULL;
2388
__Pyx_SetupRefcountContext("__enter__");
2389
__Pyx_XDECREF(__pyx_r);
2390
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->__pyx_vtab)->__enter__(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self), 1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2391
__pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2392
__Pyx_GOTREF(__pyx_t_2);
2393
__pyx_r = __pyx_t_2;
2397
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2400
__Pyx_XDECREF(__pyx_t_2);
2401
__Pyx_AddTraceback("h5py.h5.PHIL.__enter__");
2404
__Pyx_XGIVEREF(__pyx_r);
2405
__Pyx_FinishRefcountContext();
2409
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":195
2410
* self.lock.acquire()
2412
* cpdef bint __exit__(self,a,b,c) except -1: # <<<<<<<<<<<<<<
2413
* self.lock.release()
2417
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___exit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2418
static int __pyx_f_4h5py_2h5_4PHIL___exit__(struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_self, PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, int __pyx_skip_dispatch) {
2420
PyObject *__pyx_1 = 0;
2421
PyObject *__pyx_t_1 = NULL;
2422
PyObject *__pyx_t_2 = NULL;
2424
__Pyx_SetupRefcountContext("__exit__");
2425
/* Check if called by wrapper */
2426
if (unlikely(__pyx_skip_dispatch)) ;
2427
/* Check if overriden in Python */
2428
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
2429
__pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp___exit__); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2430
__Pyx_GOTREF(__pyx_1);
2431
if (!PyCFunction_Check(__pyx_1) || (PyCFunction_GET_FUNCTION(__pyx_1) != (void *)&__pyx_pf_4h5py_2h5_4PHIL___exit__)) {
2432
__pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2433
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
2434
__Pyx_INCREF(__pyx_v_a);
2435
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_a);
2436
__Pyx_GIVEREF(__pyx_v_a);
2437
__Pyx_INCREF(__pyx_v_b);
2438
PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_b);
2439
__Pyx_GIVEREF(__pyx_v_b);
2440
__Pyx_INCREF(__pyx_v_c);
2441
PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_c);
2442
__Pyx_GIVEREF(__pyx_v_c);
2443
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2444
__Pyx_GOTREF(__pyx_t_2);
2445
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2446
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
2447
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2448
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2449
__pyx_r = __pyx_t_3;
2452
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2455
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":196
2457
* cpdef bint __exit__(self,a,b,c) except -1:
2458
* self.lock.release() # <<<<<<<<<<<<<<
2460
* cpdef bint acquire(self, int blocking=1) except -1:
2462
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self->lock, __pyx_kp_release); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2463
__Pyx_GOTREF(__pyx_t_2);
2464
__pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2465
__Pyx_GOTREF(__pyx_t_1);
2466
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2467
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2469
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":197
2470
* cpdef bint __exit__(self,a,b,c) except -1:
2471
* self.lock.release()
2472
* return 0 # <<<<<<<<<<<<<<
2473
* cpdef bint acquire(self, int blocking=1) except -1:
2482
__Pyx_XDECREF(__pyx_1);
2483
__Pyx_XDECREF(__pyx_t_1);
2484
__Pyx_XDECREF(__pyx_t_2);
2485
__Pyx_AddTraceback("h5py.h5.PHIL.__exit__");
2488
__Pyx_FinishRefcountContext();
2492
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":195
2493
* self.lock.acquire()
2495
* cpdef bint __exit__(self,a,b,c) except -1: # <<<<<<<<<<<<<<
2496
* self.lock.release()
2500
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___exit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2501
static PyObject *__pyx_pf_4h5py_2h5_4PHIL___exit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
2502
PyObject *__pyx_v_a = 0;
2503
PyObject *__pyx_v_b = 0;
2504
PyObject *__pyx_v_c = 0;
2505
PyObject *__pyx_r = NULL;
2507
PyObject *__pyx_t_2 = NULL;
2508
static PyObject **__pyx_pyargnames[] = {&__pyx_kp_a,&__pyx_kp_b,&__pyx_kp_c,0};
2509
__Pyx_SetupRefcountContext("__exit__");
2510
if (unlikely(__pyx_kwds)) {
2511
Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2512
PyObject* values[3] = {0,0,0};
2513
switch (PyTuple_GET_SIZE(__pyx_args)) {
2514
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
2515
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
2516
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
2518
default: goto __pyx_L5_argtuple_error;
2520
switch (PyTuple_GET_SIZE(__pyx_args)) {
2522
values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_a);
2523
if (likely(values[0])) kw_args--;
2524
else goto __pyx_L5_argtuple_error;
2526
values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_b);
2527
if (likely(values[1])) kw_args--;
2529
__Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2532
values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_c);
2533
if (likely(values[2])) kw_args--;
2535
__Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2538
if (unlikely(kw_args > 0)) {
2539
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "__exit__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2541
__pyx_v_a = values[0];
2542
__pyx_v_b = values[1];
2543
__pyx_v_c = values[2];
2544
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
2545
goto __pyx_L5_argtuple_error;
2547
__pyx_v_a = PyTuple_GET_ITEM(__pyx_args, 0);
2548
__pyx_v_b = PyTuple_GET_ITEM(__pyx_args, 1);
2549
__pyx_v_c = PyTuple_GET_ITEM(__pyx_args, 2);
2551
goto __pyx_L4_argument_unpacking_done;
2552
__pyx_L5_argtuple_error:;
2553
__Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2555
__Pyx_AddTraceback("h5py.h5.PHIL.__exit__");
2557
__pyx_L4_argument_unpacking_done:;
2558
__Pyx_XDECREF(__pyx_r);
2559
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->__pyx_vtab)->__exit__(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self), __pyx_v_a, __pyx_v_b, __pyx_v_c, 1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2560
__pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2561
__Pyx_GOTREF(__pyx_t_2);
2562
__pyx_r = __pyx_t_2;
2566
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2569
__Pyx_XDECREF(__pyx_t_2);
2570
__Pyx_AddTraceback("h5py.h5.PHIL.__exit__");
2573
__Pyx_XGIVEREF(__pyx_r);
2574
__Pyx_FinishRefcountContext();
2578
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":198
2579
* self.lock.release()
2581
* cpdef bint acquire(self, int blocking=1) except -1: # <<<<<<<<<<<<<<
2583
* cdef bint rval = self.lock.acquire(blocking)
2586
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_acquire(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2587
static int __pyx_f_4h5py_2h5_4PHIL_acquire(struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_self, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire *__pyx_optional_args) {
2588
int __pyx_v_blocking = 1;
2591
PyObject *__pyx_1 = 0;
2592
PyObject *__pyx_t_1 = NULL;
2593
PyObject *__pyx_t_2 = NULL;
2596
PyObject *__pyx_t_5 = NULL;
2597
__Pyx_SetupRefcountContext("acquire");
2598
if (__pyx_optional_args) {
2599
if (__pyx_optional_args->__pyx_n > 0) {
2600
__pyx_v_blocking = __pyx_optional_args->blocking;
2603
/* Check if called by wrapper */
2604
if (unlikely(__pyx_skip_dispatch)) ;
2605
/* Check if overriden in Python */
2606
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
2607
__pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_acquire); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2608
__Pyx_GOTREF(__pyx_1);
2609
if (!PyCFunction_Check(__pyx_1) || (PyCFunction_GET_FUNCTION(__pyx_1) != (void *)&__pyx_pf_4h5py_2h5_4PHIL_acquire)) {
2610
__pyx_t_1 = PyInt_FromLong(__pyx_v_blocking); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2611
__Pyx_GOTREF(__pyx_t_1);
2612
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2613
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
2614
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
2615
__Pyx_GIVEREF(__pyx_t_1);
2617
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2618
__Pyx_GOTREF(__pyx_t_1);
2619
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2620
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
2621
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2622
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2623
__pyx_r = __pyx_t_3;
2626
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2629
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":199
2631
* cpdef bint acquire(self, int blocking=1) except -1:
2632
* register_thread() # <<<<<<<<<<<<<<
2633
* cdef bint rval = self.lock.acquire(blocking)
2636
__pyx_t_4 = __pyx_f_4h5py_3h5e_register_thread(0); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2638
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":200
2639
* cpdef bint acquire(self, int blocking=1) except -1:
2641
* cdef bint rval = self.lock.acquire(blocking) # <<<<<<<<<<<<<<
2643
* cpdef bint release(self) except -1:
2645
__pyx_t_1 = PyObject_GetAttr(__pyx_v_self->lock, __pyx_kp_acquire); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2646
__Pyx_GOTREF(__pyx_t_1);
2647
__pyx_t_2 = PyInt_FromLong(__pyx_v_blocking); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2648
__Pyx_GOTREF(__pyx_t_2);
2649
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2650
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
2651
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
2652
__Pyx_GIVEREF(__pyx_t_2);
2654
__pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2655
__Pyx_GOTREF(__pyx_t_2);
2656
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2657
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
2658
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2659
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2660
__pyx_v_rval = __pyx_t_3;
2662
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":201
2664
* cdef bint rval = self.lock.acquire(blocking)
2665
* return rval # <<<<<<<<<<<<<<
2666
* cpdef bint release(self) except -1:
2667
* self.lock.release()
2669
__pyx_r = __pyx_v_rval;
2675
__Pyx_XDECREF(__pyx_1);
2676
__Pyx_XDECREF(__pyx_t_1);
2677
__Pyx_XDECREF(__pyx_t_2);
2678
__Pyx_XDECREF(__pyx_t_5);
2679
__Pyx_AddTraceback("h5py.h5.PHIL.acquire");
2682
__Pyx_FinishRefcountContext();
2686
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":198
2687
* self.lock.release()
2689
* cpdef bint acquire(self, int blocking=1) except -1: # <<<<<<<<<<<<<<
2691
* cdef bint rval = self.lock.acquire(blocking)
2694
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_acquire(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2695
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_acquire(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
2696
int __pyx_v_blocking;
2697
PyObject *__pyx_r = NULL;
2698
struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire __pyx_1;
2700
PyObject *__pyx_t_2 = NULL;
2701
static PyObject **__pyx_pyargnames[] = {&__pyx_kp_blocking,0};
2702
__Pyx_SetupRefcountContext("acquire");
2703
if (unlikely(__pyx_kwds)) {
2704
Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2705
PyObject* values[1] = {0};
2706
switch (PyTuple_GET_SIZE(__pyx_args)) {
2707
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
2709
default: goto __pyx_L5_argtuple_error;
2711
switch (PyTuple_GET_SIZE(__pyx_args)) {
2714
PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_blocking);
2715
if (unlikely(value)) { values[0] = value; kw_args--; }
2718
if (unlikely(kw_args > 0)) {
2719
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "acquire") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2722
__pyx_v_blocking = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_blocking == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2724
__pyx_v_blocking = 1;
2727
__pyx_v_blocking = 1;
2728
switch (PyTuple_GET_SIZE(__pyx_args)) {
2729
case 1: __pyx_v_blocking = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_blocking == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2731
default: goto __pyx_L5_argtuple_error;
2734
goto __pyx_L4_argument_unpacking_done;
2735
__pyx_L5_argtuple_error:;
2736
__Pyx_RaiseArgtupleInvalid("acquire", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2738
__Pyx_AddTraceback("h5py.h5.PHIL.acquire");
2740
__pyx_L4_argument_unpacking_done:;
2741
__Pyx_XDECREF(__pyx_r);
2742
__pyx_1.__pyx_n = 1;
2743
__pyx_1.blocking = __pyx_v_blocking;
2744
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->__pyx_vtab)->acquire(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self), 1, &__pyx_1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2745
__pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2746
__Pyx_GOTREF(__pyx_t_2);
2747
__pyx_r = __pyx_t_2;
2751
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2754
__Pyx_XDECREF(__pyx_t_2);
2755
__Pyx_AddTraceback("h5py.h5.PHIL.acquire");
2758
__Pyx_XGIVEREF(__pyx_r);
2759
__Pyx_FinishRefcountContext();
2763
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":202
2764
* cdef bint rval = self.lock.acquire(blocking)
2766
* cpdef bint release(self) except -1: # <<<<<<<<<<<<<<
2767
* self.lock.release()
2771
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_release(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
2772
static int __pyx_f_4h5py_2h5_4PHIL_release(struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_self, int __pyx_skip_dispatch) {
2774
PyObject *__pyx_1 = 0;
2775
PyObject *__pyx_t_1 = NULL;
2777
PyObject *__pyx_t_3 = NULL;
2778
__Pyx_SetupRefcountContext("release");
2779
/* Check if called by wrapper */
2780
if (unlikely(__pyx_skip_dispatch)) ;
2781
/* Check if overriden in Python */
2782
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
2783
__pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_release); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2784
__Pyx_GOTREF(__pyx_1);
2785
if (!PyCFunction_Check(__pyx_1) || (PyCFunction_GET_FUNCTION(__pyx_1) != (void *)&__pyx_pf_4h5py_2h5_4PHIL_release)) {
2786
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2787
__Pyx_GOTREF(__pyx_t_1);
2788
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2789
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2790
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2791
__pyx_r = __pyx_t_2;
2794
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
2797
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":203
2799
* cpdef bint release(self) except -1:
2800
* self.lock.release() # <<<<<<<<<<<<<<
2804
__pyx_t_1 = PyObject_GetAttr(__pyx_v_self->lock, __pyx_kp_release); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2805
__Pyx_GOTREF(__pyx_t_1);
2806
__pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2807
__Pyx_GOTREF(__pyx_t_3);
2808
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2809
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2811
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":204
2812
* cpdef bint release(self) except -1:
2813
* self.lock.release()
2814
* return 0 # <<<<<<<<<<<<<<
2816
* cdef PHIL phil = PHIL()
2824
__Pyx_XDECREF(__pyx_1);
2825
__Pyx_XDECREF(__pyx_t_1);
2826
__Pyx_XDECREF(__pyx_t_3);
2827
__Pyx_AddTraceback("h5py.h5.PHIL.release");
2830
__Pyx_FinishRefcountContext();
2834
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":202
2835
* cdef bint rval = self.lock.acquire(blocking)
2837
* cpdef bint release(self) except -1: # <<<<<<<<<<<<<<
2838
* self.lock.release()
2842
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_release(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
2843
static PyObject *__pyx_pf_4h5py_2h5_4PHIL_release(PyObject *__pyx_v_self, PyObject *unused) {
2844
PyObject *__pyx_r = NULL;
2846
PyObject *__pyx_t_2 = NULL;
2847
__Pyx_SetupRefcountContext("release");
2848
__Pyx_XDECREF(__pyx_r);
2849
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self)->__pyx_vtab)->release(((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_v_self), 1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2850
__pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2851
__Pyx_GOTREF(__pyx_t_2);
2852
__pyx_r = __pyx_t_2;
2856
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2859
__Pyx_XDECREF(__pyx_t_2);
2860
__Pyx_AddTraceback("h5py.h5.PHIL.release");
2863
__Pyx_XGIVEREF(__pyx_r);
2864
__Pyx_FinishRefcountContext();
2868
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":208
2869
* cdef PHIL phil = PHIL()
2871
* cpdef PHIL get_phil(): # <<<<<<<<<<<<<<
2876
static PyObject *__pyx_pf_4h5py_2h5_get_phil(PyObject *__pyx_self, PyObject *unused); /*proto*/
2877
static struct __pyx_obj_4h5py_2h5_PHIL *__pyx_f_4h5py_2h5_get_phil(int __pyx_skip_dispatch) {
2878
struct __pyx_obj_4h5py_2h5_PHIL *__pyx_r = NULL;
2879
__Pyx_SetupRefcountContext("get_phil");
2881
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":214
2884
* return phil # <<<<<<<<<<<<<<
2886
* # Everything required for the decorator is now defined
2888
__Pyx_XDECREF(((PyObject *)__pyx_r));
2889
__Pyx_INCREF(((PyObject *)__pyx_v_4h5py_2h5_phil));
2890
__pyx_r = __pyx_v_4h5py_2h5_phil;
2893
__pyx_r = ((struct __pyx_obj_4h5py_2h5_PHIL *)Py_None); __Pyx_INCREF(Py_None);
2895
__Pyx_XGIVEREF((PyObject *)__pyx_r);
2896
__Pyx_FinishRefcountContext();
2900
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":208
2901
* cdef PHIL phil = PHIL()
2903
* cpdef PHIL get_phil(): # <<<<<<<<<<<<<<
2908
static PyObject *__pyx_pf_4h5py_2h5_get_phil(PyObject *__pyx_self, PyObject *unused); /*proto*/
2909
static char __pyx_doc_4h5py_2h5_get_phil[] = "() => PHIL\n\n Obtain a reference to the PHIL.\n ";
2910
static PyObject *__pyx_pf_4h5py_2h5_get_phil(PyObject *__pyx_self, PyObject *unused) {
2911
PyObject *__pyx_r = NULL;
2912
PyObject *__pyx_t_1 = NULL;
2913
__Pyx_SetupRefcountContext("get_phil");
2914
__pyx_self = __pyx_self;
2915
__Pyx_XDECREF(__pyx_r);
2916
__pyx_t_1 = ((PyObject *)__pyx_f_4h5py_2h5_get_phil(0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2917
__Pyx_GOTREF(__pyx_t_1);
2918
__pyx_r = __pyx_t_1;
2922
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
2925
__Pyx_XDECREF(__pyx_t_1);
2926
__Pyx_AddTraceback("h5py.h5.get_phil");
2929
__Pyx_XGIVEREF(__pyx_r);
2930
__Pyx_FinishRefcountContext();
2934
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":246
2229
__Pyx_RefNannyFinishContext();
2233
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":192
2935
2234
* """ Indicates whether or not this identifier points to an HDF5 object.
2937
2236
* def __get__(self): # <<<<<<<<<<<<<<
2237
* return H5Iget_type(self.id) != H5I_BADID
2942
2241
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_6_valid___get__(PyObject *__pyx_v_self); /*proto*/
2943
2242
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_6_valid___get__(PyObject *__pyx_v_self) {
2944
2243
PyObject *__pyx_r = NULL;
2946
H5I_type_t __pyx_t_2;
2947
PyObject *__pyx_t_3 = NULL;
2948
__Pyx_SetupRefcountContext("__get__");
2244
H5I_type_t __pyx_t_1;
2245
PyObject *__pyx_t_2 = NULL;
2246
__Pyx_RefNannySetupContext("__get__");
2950
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":247
2248
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":193
2952
2250
* def __get__(self):
2953
* phil.acquire() # <<<<<<<<<<<<<<
2955
* return H5Iget_type(self.id) != H5I_BADID
2957
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->acquire(__pyx_v_4h5py_2h5_phil, 0, NULL); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2959
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":248
2960
* def __get__(self):
2962
* try: # <<<<<<<<<<<<<<
2963
* return H5Iget_type(self.id) != H5I_BADID
2968
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":249
2971
* return H5Iget_type(self.id) != H5I_BADID # <<<<<<<<<<<<<<
2975
__Pyx_XDECREF(__pyx_r);
2976
__pyx_t_2 = H5Iget_type(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6;}
2977
__pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_t_2 != H5I_BADID)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6;}
2978
__Pyx_GOTREF(__pyx_t_3);
2979
__pyx_r = __pyx_t_3;
2985
PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
2986
int __pyx_exc_lineno;
2987
__pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
2988
__pyx_why = 0; goto __pyx_L7;
2989
__pyx_L5: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
2990
__pyx_why = 3; goto __pyx_L7;
2993
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
2994
__Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
2995
__pyx_exc_lineno = __pyx_lineno;
3000
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":251
3001
* return H5Iget_type(self.id) != H5I_BADID
3003
* phil.release() # <<<<<<<<<<<<<<
3005
* def __nonzero__(self):
3007
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->release(__pyx_v_4h5py_2h5_phil, 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
3010
if (__pyx_why == 4) {
3011
Py_XDECREF(__pyx_exc_type);
3012
Py_XDECREF(__pyx_exc_value);
3013
Py_XDECREF(__pyx_exc_tb);
3015
goto __pyx_L1_error;
3017
switch (__pyx_why) {
3018
case 3: goto __pyx_L0;
3020
__Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
3021
__pyx_lineno = __pyx_exc_lineno;
3023
__pyx_exc_value = 0;
3025
goto __pyx_L1_error;
2251
* return H5Iget_type(self.id) != H5I_BADID # <<<<<<<<<<<<<<
2255
__Pyx_XDECREF(__pyx_r);
2256
__pyx_t_1 = H5Iget_type(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2257
__pyx_t_2 = __Pyx_PyBool_FromLong((__pyx_t_1 != H5I_BADID)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2258
__Pyx_GOTREF(__pyx_t_2);
2259
__pyx_r = __pyx_t_2;
3030
2263
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
3032
2265
__pyx_L1_error:;
3033
__Pyx_XDECREF(__pyx_t_3);
2266
__Pyx_XDECREF(__pyx_t_2);
3034
2267
__Pyx_AddTraceback("h5py.h5.ObjectID._valid.__get__");
3035
2268
__pyx_r = NULL;
3037
2270
__Pyx_XGIVEREF(__pyx_r);
3038
__Pyx_FinishRefcountContext();
2271
__Pyx_RefNannyFinishContext();
3039
2272
return __pyx_r;
3042
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":253
2275
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":196
3045
2278
* def __nonzero__(self): # <<<<<<<<<<<<<<
3046
2279
* """ Truth value for object identifiers (like _valid) """
3212
2451
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID___copy__(PyObject *__pyx_v_self, PyObject *unused) {
3213
2452
struct __pyx_obj_4h5py_2h5_ObjectID *__pyx_v_copy;
3214
2453
PyObject *__pyx_r = NULL;
2454
PyObject *__pyx_t_1 = NULL;
3216
2455
PyObject *__pyx_t_2 = NULL;
3217
2456
PyObject *__pyx_t_3 = NULL;
3218
PyObject *__pyx_t_4 = NULL;
3222
__Pyx_SetupRefcountContext("__copy__");
2461
__Pyx_RefNannySetupContext("__copy__");
2462
__Pyx_INCREF((PyObject *)__pyx_v_self);
3223
2463
__pyx_v_copy = ((struct __pyx_obj_4h5py_2h5_ObjectID *)Py_None); __Pyx_INCREF(Py_None);
3225
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":286
2465
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":219
3227
2467
* cdef ObjectID copy
3228
* phil.acquire() # <<<<<<<<<<<<<<
3230
* copy = type(self)(self.id)
2468
* copy = type(self)(self.id) # <<<<<<<<<<<<<<
2469
* if self._valid and not self._locked:
2470
* H5Iinc_ref(self.id)
3232
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->acquire(__pyx_v_4h5py_2h5_phil, 0, NULL); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2472
__pyx_t_1 = ((PyObject *)__Pyx_Type(__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2473
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
2474
__pyx_t_2 = __Pyx_PyInt_to_py_hid_t(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2475
__Pyx_GOTREF(__pyx_t_2);
2476
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2477
__Pyx_GOTREF(__pyx_t_3);
2478
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
2479
__Pyx_GIVEREF(__pyx_t_2);
2481
__pyx_t_2 = PyObject_Call(((PyObject *)__pyx_t_1), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2482
__Pyx_GOTREF(__pyx_t_2);
2483
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
2484
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2485
if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_2h5_ObjectID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2486
__Pyx_DECREF(((PyObject *)__pyx_v_copy));
2487
__pyx_v_copy = ((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_t_2);
3234
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":287
2490
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":220
3235
2491
* cdef ObjectID copy
3237
* try: # <<<<<<<<<<<<<<
3238
* copy = type(self)(self.id)
3239
* if self._valid and not self._locked:
3243
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":288
3246
* copy = type(self)(self.id) # <<<<<<<<<<<<<<
3247
* if self._valid and not self._locked:
3248
* H5Iinc_ref(self.id)
3250
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3251
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
3252
__Pyx_INCREF(__pyx_v_self);
3253
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self);
3254
__Pyx_GIVEREF(__pyx_v_self);
3255
__pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyType_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3256
__Pyx_GOTREF(__pyx_t_3);
3257
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
3258
__pyx_t_2 = PyInt_FromLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3259
__Pyx_GOTREF(__pyx_t_2);
3260
__pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3261
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
3262
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
3263
__Pyx_GIVEREF(__pyx_t_2);
3265
__pyx_t_2 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3266
__Pyx_GOTREF(__pyx_t_2);
3267
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3268
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
3269
if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_2h5_ObjectID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L6;}
3270
__Pyx_DECREF(((PyObject *)__pyx_v_copy));
3271
__pyx_v_copy = ((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_t_2);
3274
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":289
3276
* copy = type(self)(self.id)
3277
* if self._valid and not self._locked: # <<<<<<<<<<<<<<
3278
* H5Iinc_ref(self.id)
3279
* copy._locked = self._locked
3281
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp__valid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L6;}
3282
__Pyx_GOTREF(__pyx_t_2);
3283
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L6;}
3284
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3286
__pyx_t_5 = (!((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked);
3287
__pyx_t_6 = __pyx_t_5;
3289
__pyx_t_6 = __pyx_t_1;
3293
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":290
3294
* copy = type(self)(self.id)
3295
* if self._valid and not self._locked:
3296
* H5Iinc_ref(self.id) # <<<<<<<<<<<<<<
3297
* copy._locked = self._locked
3300
__pyx_t_7 = H5Iinc_ref(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L6;}
3305
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":291
3306
* if self._valid and not self._locked:
3307
* H5Iinc_ref(self.id)
3308
* copy._locked = self._locked # <<<<<<<<<<<<<<
3310
* log_ident.debug("c %s" % str(self))
3312
__pyx_v_copy->_locked = ((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked;
3314
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":294
3316
* log_ident.debug("c %s" % str(self))
3317
* return copy # <<<<<<<<<<<<<<
3321
__Pyx_XDECREF(__pyx_r);
3322
__Pyx_INCREF(((PyObject *)__pyx_v_copy));
3323
__pyx_r = ((PyObject *)__pyx_v_copy);
2492
* copy = type(self)(self.id)
2493
* if self._valid and not self._locked: # <<<<<<<<<<<<<<
2494
* H5Iinc_ref(self.id)
2495
* copy._locked = self._locked
2497
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s___valid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2498
__Pyx_GOTREF(__pyx_t_2);
2499
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2500
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2502
__pyx_t_5 = (!((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked);
2503
__pyx_t_6 = __pyx_t_5;
2505
__pyx_t_6 = __pyx_t_4;
2509
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":221
2510
* copy = type(self)(self.id)
2511
* if self._valid and not self._locked:
2512
* H5Iinc_ref(self.id) # <<<<<<<<<<<<<<
2513
* copy._locked = self._locked
2516
__pyx_t_7 = H5Iinc_ref(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3328
PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
3329
int __pyx_exc_lineno;
3330
__pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
3331
__pyx_why = 0; goto __pyx_L7;
3332
__pyx_L5: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
3333
__pyx_why = 3; goto __pyx_L7;
3336
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
3337
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
3338
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
3339
__Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
3340
__pyx_exc_lineno = __pyx_lineno;
3345
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":296
3348
* phil.release() # <<<<<<<<<<<<<<
2521
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":222
2522
* if self._valid and not self._locked:
2523
* H5Iinc_ref(self.id)
2524
* copy._locked = self._locked # <<<<<<<<<<<<<<
2528
__pyx_v_copy->_locked = ((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked;
2530
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":223
2531
* H5Iinc_ref(self.id)
2532
* copy._locked = self._locked
2533
* return copy # <<<<<<<<<<<<<<
3350
2535
* def __richcmp__(self, object other, int how):
3352
__pyx_t_6 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->release(__pyx_v_4h5py_2h5_phil, 0); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3355
if (__pyx_why == 4) {
3356
Py_XDECREF(__pyx_exc_type);
3357
Py_XDECREF(__pyx_exc_value);
3358
Py_XDECREF(__pyx_exc_tb);
3360
goto __pyx_L1_error;
3362
switch (__pyx_why) {
3363
case 3: goto __pyx_L0;
3365
__Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
3366
__pyx_lineno = __pyx_exc_lineno;
3368
__pyx_exc_value = 0;
3370
goto __pyx_L1_error;
2537
__Pyx_XDECREF(__pyx_r);
2538
__Pyx_INCREF(((PyObject *)__pyx_v_copy));
2539
__pyx_r = ((PyObject *)__pyx_v_copy);
3375
2542
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
3377
2544
__pyx_L1_error:;
2545
__Pyx_XDECREF(__pyx_t_1);
3378
2546
__Pyx_XDECREF(__pyx_t_2);
3379
2547
__Pyx_XDECREF(__pyx_t_3);
3380
__Pyx_XDECREF(__pyx_t_4);
3381
2548
__Pyx_AddTraceback("h5py.h5.ObjectID.__copy__");
3382
2549
__pyx_r = NULL;
3384
2551
__Pyx_DECREF((PyObject *)__pyx_v_copy);
2552
__Pyx_DECREF((PyObject *)__pyx_v_self);
3385
2553
__Pyx_XGIVEREF(__pyx_r);
3386
__Pyx_FinishRefcountContext();
2554
__Pyx_RefNannyFinishContext();
3387
2555
return __pyx_r;
3390
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":298
2558
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":225
3393
2561
* def __richcmp__(self, object other, int how): # <<<<<<<<<<<<<<
3394
2562
* """ Basic comparison for HDF5 objects. Implements only equality:
3637
2808
PyObject *__pyx_t_6 = NULL;
3638
2809
PyObject *__pyx_t_7 = NULL;
3639
2810
long __pyx_t_8;
3640
__Pyx_SetupRefcountContext("__hash__");
2812
__Pyx_RefNannySetupContext("__hash__");
2813
__Pyx_INCREF((PyObject *)__pyx_v_self);
3642
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":326
2815
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":253
3643
2816
* cdef H5G_stat_t stat
3645
2818
* if self._hash is None: # <<<<<<<<<<<<<<
2820
* H5Gget_objinfo(self.id, '.', 0, &stat)
3649
2822
__pyx_t_1 = (((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash == Py_None);
3650
2823
if (__pyx_t_1) {
3652
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":327
2825
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":254
3654
2827
* if self._hash is None:
3655
* phil.acquire() # <<<<<<<<<<<<<<
3657
* H5Gget_objinfo(self.id, '.', 0, &stat)
3659
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->acquire(__pyx_v_4h5py_2h5_phil, 0, NULL); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3661
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":328
3662
* if self._hash is None:
3664
2828
* try: # <<<<<<<<<<<<<<
3665
2829
* H5Gget_objinfo(self.id, '.', 0, &stat)
3666
2830
* self._hash = hash((stat.fileno[0], stat.fileno[1], stat.objno[0], stat.objno[1]))
3670
PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
3671
__Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
3672
__Pyx_XGOTREF(__pyx_save_exc_type);
3673
__Pyx_XGOTREF(__pyx_save_exc_value);
3674
__Pyx_XGOTREF(__pyx_save_exc_tb);
2833
PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
2834
__Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
2835
__Pyx_XGOTREF(__pyx_save_exc_type);
2836
__Pyx_XGOTREF(__pyx_save_exc_value);
2837
__Pyx_XGOTREF(__pyx_save_exc_tb);
3677
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":329
2840
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":255
2841
* if self._hash is None:
3680
2843
* H5Gget_objinfo(self.id, '.', 0, &stat) # <<<<<<<<<<<<<<
3681
2844
* self._hash = hash((stat.fileno[0], stat.fileno[1], stat.objno[0], stat.objno[1]))
3682
2845
* except Exception:
3684
__pyx_t_2 = H5Gget_objinfo(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id, __pyx_k_30, 0, (&__pyx_v_stat)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
2847
__pyx_t_2 = H5Gget_objinfo(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id, __pyx_k_10, 0, (&__pyx_v_stat)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
3686
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":330
2849
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":256
3688
2851
* H5Gget_objinfo(self.id, '.', 0, &stat)
3689
2852
* self._hash = hash((stat.fileno[0], stat.fileno[1], stat.objno[0], stat.objno[1])) # <<<<<<<<<<<<<<
3690
2853
* except Exception:
3691
2854
* raise TypeError("Objects of class %s cannot be hashed" % self.__class__.__name__)
3693
__pyx_t_3 = PyLong_FromUnsignedLong((__pyx_v_stat.fileno[0])); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3694
__Pyx_GOTREF(__pyx_t_3);
3695
__pyx_t_4 = PyLong_FromUnsignedLong((__pyx_v_stat.fileno[1])); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3696
__Pyx_GOTREF(__pyx_t_4);
3697
__pyx_t_5 = PyLong_FromUnsignedLong((__pyx_v_stat.objno[0])); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3698
__Pyx_GOTREF(__pyx_t_5);
3699
__pyx_t_6 = PyLong_FromUnsignedLong((__pyx_v_stat.objno[1])); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3700
__Pyx_GOTREF(__pyx_t_6);
3701
__pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3702
__Pyx_GOTREF(((PyObject *)__pyx_t_7));
3703
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_3);
3704
__Pyx_GIVEREF(__pyx_t_3);
3705
PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_4);
3706
__Pyx_GIVEREF(__pyx_t_4);
3707
PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_5);
3708
__Pyx_GIVEREF(__pyx_t_5);
3709
PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_6);
3710
__Pyx_GIVEREF(__pyx_t_6);
3715
__pyx_t_8 = PyObject_Hash(((PyObject *)__pyx_t_7)); if (unlikely(__pyx_t_8 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3716
__Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
3717
__pyx_t_7 = PyInt_FromLong(__pyx_t_8); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
3718
__Pyx_GOTREF(__pyx_t_7);
3719
__Pyx_GIVEREF(__pyx_t_7);
3720
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash);
3721
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash);
3722
((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash = __pyx_t_7;
3725
__Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
3726
__Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
3727
__Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
3728
goto __pyx_L16_try_end;
3730
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
3731
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
3732
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
3733
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
3734
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
2856
__pyx_t_3 = PyLong_FromUnsignedLong((__pyx_v_stat.fileno[0])); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2857
__Pyx_GOTREF(__pyx_t_3);
2858
__pyx_t_4 = PyLong_FromUnsignedLong((__pyx_v_stat.fileno[1])); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2859
__Pyx_GOTREF(__pyx_t_4);
2860
__pyx_t_5 = PyLong_FromUnsignedLong((__pyx_v_stat.objno[0])); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2861
__Pyx_GOTREF(__pyx_t_5);
2862
__pyx_t_6 = PyLong_FromUnsignedLong((__pyx_v_stat.objno[1])); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2863
__Pyx_GOTREF(__pyx_t_6);
2864
__pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2865
__Pyx_GOTREF(__pyx_t_7);
2866
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_3);
2867
__Pyx_GIVEREF(__pyx_t_3);
2868
PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_4);
2869
__Pyx_GIVEREF(__pyx_t_4);
2870
PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_5);
2871
__Pyx_GIVEREF(__pyx_t_5);
2872
PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_6);
2873
__Pyx_GIVEREF(__pyx_t_6);
2878
__pyx_t_8 = PyObject_Hash(__pyx_t_7); if (unlikely(__pyx_t_8 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2879
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2880
__pyx_t_7 = PyInt_FromLong(__pyx_t_8); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2881
__Pyx_GOTREF(__pyx_t_7);
2882
__Pyx_GIVEREF(__pyx_t_7);
2883
__Pyx_GOTREF(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash);
2884
__Pyx_DECREF(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash);
2885
((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash = __pyx_t_7;
2888
__Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
2889
__Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
2890
__Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
2891
goto __pyx_L13_try_end;
2893
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
2894
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
2895
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
2896
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
2897
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
3736
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":331
2899
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":257
3737
2900
* H5Gget_objinfo(self.id, '.', 0, &stat)
3738
2901
* self._hash = hash((stat.fileno[0], stat.fileno[1], stat.objno[0], stat.objno[1]))
3739
2902
* except Exception: # <<<<<<<<<<<<<<
3740
2903
* raise TypeError("Objects of class %s cannot be hashed" % self.__class__.__name__)
3743
__pyx_1 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
3745
__Pyx_AddTraceback("h5py.h5.__hash__");
3746
if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3747
__Pyx_GOTREF(__pyx_t_7);
3748
__Pyx_GOTREF(__pyx_t_6);
3749
__Pyx_GOTREF(__pyx_t_5);
2906
__pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
2908
__Pyx_AddTraceback("h5py.h5.ObjectID.__hash__");
2909
if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2910
__Pyx_GOTREF(__pyx_t_7);
2911
__Pyx_GOTREF(__pyx_t_6);
2912
__Pyx_GOTREF(__pyx_t_5);
3751
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":332
2914
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":258
3752
2915
* self._hash = hash((stat.fileno[0], stat.fileno[1], stat.objno[0], stat.objno[1]))
3753
2916
* except Exception:
3754
2917
* raise TypeError("Objects of class %s cannot be hashed" % self.__class__.__name__) # <<<<<<<<<<<<<<
3758
__pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_kp___class__); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3759
__Pyx_GOTREF(__pyx_t_4);
3760
__pyx_t_3 = PyObject_GetAttr(__pyx_t_4, __pyx_kp___name__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3761
__Pyx_GOTREF(__pyx_t_3);
3762
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
3763
__pyx_t_4 = PyNumber_Remainder(__pyx_kp_31, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3764
__Pyx_GOTREF(__pyx_t_4);
3765
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3766
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3767
__Pyx_GOTREF(((PyObject *)__pyx_t_3));
3768
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
3769
__Pyx_GIVEREF(__pyx_t_4);
3771
__pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3772
__Pyx_GOTREF(__pyx_t_4);
3773
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
3774
__Pyx_Raise(__pyx_t_4, 0, 0);
3775
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
3776
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
3777
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
3778
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3779
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3780
goto __pyx_L10_exception_handled;
3782
__pyx_L11_except_error:;
3783
__Pyx_XDECREF(__pyx_save_exc_type);
3784
__Pyx_XDECREF(__pyx_save_exc_value);
3785
__Pyx_XDECREF(__pyx_save_exc_tb);
3787
__pyx_L10_exception_handled:;
3788
__Pyx_XGIVEREF(__pyx_save_exc_type);
3789
__Pyx_XGIVEREF(__pyx_save_exc_value);
3790
__Pyx_XGIVEREF(__pyx_save_exc_tb);
3791
__Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
3797
PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
3798
int __pyx_exc_lineno;
3799
__pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
3800
__pyx_why = 0; goto __pyx_L8;
3803
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
3804
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
3805
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
3806
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
3807
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
3808
__Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
3809
__pyx_exc_lineno = __pyx_lineno;
3814
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":334
3815
* raise TypeError("Objects of class %s cannot be hashed" % self.__class__.__name__)
3817
* phil.release() # <<<<<<<<<<<<<<
3819
2919
* return self._hash
3821
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->release(__pyx_v_4h5py_2h5_phil, 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L19_error;}
3824
if (__pyx_why == 4) {
3825
Py_XDECREF(__pyx_exc_type);
3826
Py_XDECREF(__pyx_exc_value);
3827
Py_XDECREF(__pyx_exc_tb);
2921
__pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s____class__); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2922
__Pyx_GOTREF(__pyx_t_4);
2923
__pyx_t_3 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s____name__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2924
__Pyx_GOTREF(__pyx_t_3);
2925
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2926
__pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_11), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2927
__Pyx_GOTREF(__pyx_t_4);
2928
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2929
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2930
__Pyx_GOTREF(__pyx_t_3);
2931
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
2932
__Pyx_GIVEREF(__pyx_t_4);
2934
__pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2935
__Pyx_GOTREF(__pyx_t_4);
2936
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2937
__Pyx_Raise(__pyx_t_4, 0, 0);
2938
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2939
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2940
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2941
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2942
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
2943
goto __pyx_L7_exception_handled;
2945
__pyx_L8_except_error:;
2946
__Pyx_XGIVEREF(__pyx_save_exc_type);
2947
__Pyx_XGIVEREF(__pyx_save_exc_value);
2948
__Pyx_XGIVEREF(__pyx_save_exc_tb);
2949
__Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
3829
2950
goto __pyx_L1_error;
3831
switch (__pyx_why) {
3833
__Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
3834
__pyx_lineno = __pyx_exc_lineno;
3836
__pyx_exc_value = 0;
3838
goto __pyx_L1_error;
2951
__pyx_L7_exception_handled:;
2952
__Pyx_XGIVEREF(__pyx_save_exc_type);
2953
__Pyx_XGIVEREF(__pyx_save_exc_value);
2954
__Pyx_XGIVEREF(__pyx_save_exc_tb);
2955
__Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
3846
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":336
2962
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":260
2963
* raise TypeError("Objects of class %s cannot be hashed" % self.__class__.__name__)
3849
2965
* return self._hash # <<<<<<<<<<<<<<
3851
2967
* def __repr__(self):
3853
__pyx_t_8 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash); if (unlikely((__pyx_t_8 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2969
__pyx_t_8 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_hash); if (unlikely((__pyx_t_8 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3854
2970
__pyx_r = __pyx_t_8;
3882
3000
PyObject *__pyx_v_ref;
3883
3001
PyObject *__pyx_v_lck;
3884
3002
PyObject *__pyx_r = NULL;
3885
PyObject *__pyx_1 = 0;
3003
PyObject *__pyx_t_1 = NULL;
3888
3004
PyObject *__pyx_t_2 = NULL;
3890
PyObject *__pyx_t_4 = NULL;
3891
3007
PyObject *__pyx_t_5 = NULL;
3892
__Pyx_SetupRefcountContext("__repr__");
3008
__Pyx_RefNannySetupContext("__repr__");
3893
3009
__pyx_v_ref = Py_None; __Pyx_INCREF(Py_None);
3894
3010
__pyx_v_lck = Py_None; __Pyx_INCREF(Py_None);
3896
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":339
3012
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":264
3013
* def __repr__(self):
3898
* def __repr__(self):
3899
* phil.acquire() # <<<<<<<<<<<<<<
3901
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3903
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->acquire(__pyx_v_4h5py_2h5_phil, 0, NULL); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3905
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":340
3906
* def __repr__(self):
3908
* try: # <<<<<<<<<<<<<<
3909
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3910
* lck = "L" if self._locked else "U"
3914
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":341
3917
* ref = str(H5Iget_ref(self.id)) if self._valid else "X" # <<<<<<<<<<<<<<
3918
* lck = "L" if self._locked else "U"
3919
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id)
3921
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp__valid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3922
__Pyx_GOTREF(__pyx_t_2);
3923
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3924
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3926
__pyx_t_3 = H5Iget_ref(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3927
__pyx_t_2 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3928
__Pyx_GOTREF(__pyx_t_2);
3929
__pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3930
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
3931
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
3932
__Pyx_GIVEREF(__pyx_t_2);
3934
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L6;}
3935
__Pyx_GOTREF(__pyx_t_2);
3936
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
3937
__pyx_1 = __pyx_t_2;
3940
__Pyx_INCREF(__pyx_kp_32);
3941
__pyx_1 = __pyx_kp_32;
3943
__Pyx_DECREF(__pyx_v_ref);
3944
__pyx_v_ref = __pyx_1;
3947
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":342
3949
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3950
* lck = "L" if self._locked else "U" # <<<<<<<<<<<<<<
3951
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id)
3954
if (((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked) {
3955
__pyx_2 = __pyx_k_33;
3957
__pyx_2 = __pyx_k_34;
3959
__pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L6;}
3960
__Pyx_GOTREF(__pyx_t_2);
3961
__Pyx_DECREF(__pyx_v_lck);
3962
__pyx_v_lck = __pyx_t_2;
3965
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":343
3966
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3967
* lck = "L" if self._locked else "U"
3968
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id) # <<<<<<<<<<<<<<
3972
__Pyx_XDECREF(__pyx_r);
3973
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp___class__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L6;}
3974
__Pyx_GOTREF(__pyx_t_2);
3975
__pyx_t_4 = PyObject_GetAttr(__pyx_t_2, __pyx_kp___name__); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L6;}
3976
__Pyx_GOTREF(__pyx_t_4);
3977
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3978
__pyx_t_2 = PyInt_FromLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L6;}
3979
__Pyx_GOTREF(__pyx_t_2);
3980
__pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L6;}
3981
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
3982
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
3983
__Pyx_GIVEREF(__pyx_t_4);
3984
__Pyx_INCREF(__pyx_v_ref);
3985
PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_ref);
3986
__Pyx_GIVEREF(__pyx_v_ref);
3987
__Pyx_INCREF(__pyx_v_lck);
3988
PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_lck);
3989
__Pyx_GIVEREF(__pyx_v_lck);
3990
PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_2);
3015
* ref = str(H5Iget_ref(self.id)) if self._valid else "X" # <<<<<<<<<<<<<<
3016
* lck = "L" if self._locked else "U"
3017
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id)
3019
__pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s___valid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3020
__Pyx_GOTREF(__pyx_t_2);
3021
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3022
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3024
__pyx_t_4 = H5Iget_ref(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3025
__pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3026
__Pyx_GOTREF(__pyx_t_2);
3027
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3028
__Pyx_GOTREF(__pyx_t_5);
3029
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
3991
3030
__Pyx_GIVEREF(__pyx_t_2);
3994
__pyx_t_2 = PyNumber_Remainder(__pyx_kp_35, ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L6;}
3032
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3995
3033
__Pyx_GOTREF(__pyx_t_2);
3996
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
3997
__pyx_r = __pyx_t_2;
3034
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3035
__pyx_t_1 = __pyx_t_2;
4003
PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
4004
int __pyx_exc_lineno;
4005
__pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
4006
__pyx_why = 0; goto __pyx_L7;
4007
__pyx_L5: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
4008
__pyx_why = 3; goto __pyx_L7;
4011
__Pyx_XDECREF(__pyx_1); __pyx_1 = 0;
4012
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
4013
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
4014
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
4015
__Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
4016
__pyx_exc_lineno = __pyx_lineno;
4021
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":345
4022
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id)
4024
* phil.release() # <<<<<<<<<<<<<<
4028
__pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_2h5_phil->__pyx_vtab)->release(__pyx_v_4h5py_2h5_phil, 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
4031
if (__pyx_why == 4) {
4032
Py_XDECREF(__pyx_exc_type);
4033
Py_XDECREF(__pyx_exc_value);
4034
Py_XDECREF(__pyx_exc_tb);
4036
goto __pyx_L1_error;
4038
switch (__pyx_why) {
4039
case 3: goto __pyx_L0;
4041
__Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
4042
__pyx_lineno = __pyx_exc_lineno;
4044
__pyx_exc_value = 0;
4046
goto __pyx_L1_error;
3038
__Pyx_INCREF(((PyObject *)__pyx_n_s__X));
3039
__pyx_t_1 = __pyx_n_s__X;
3041
__Pyx_DECREF(__pyx_v_ref);
3042
__pyx_v_ref = __pyx_t_1;
3045
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":265
3047
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3048
* lck = "L" if self._locked else "U" # <<<<<<<<<<<<<<
3049
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id)
3052
if (((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->_locked) {
3053
__Pyx_INCREF(((PyObject *)__pyx_n_s__L));
3054
__pyx_t_1 = __pyx_n_s__L;
3056
__Pyx_INCREF(((PyObject *)__pyx_n_s__U));
3057
__pyx_t_1 = __pyx_n_s__U;
3059
__Pyx_DECREF(__pyx_v_lck);
3060
__pyx_v_lck = ((PyObject *)__pyx_t_1);
3063
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":266
3064
* ref = str(H5Iget_ref(self.id)) if self._valid else "X"
3065
* lck = "L" if self._locked else "U"
3066
* return "<%s [%s] (%s) %d>" % (self.__class__.__name__, ref, lck, self.id) # <<<<<<<<<<<<<<
3070
__Pyx_XDECREF(__pyx_r);
3071
__pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3072
__Pyx_GOTREF(__pyx_t_1);
3073
__pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3074
__Pyx_GOTREF(__pyx_t_2);
3075
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3076
__pyx_t_1 = __Pyx_PyInt_to_py_hid_t(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3077
__Pyx_GOTREF(__pyx_t_1);
3078
__pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3079
__Pyx_GOTREF(__pyx_t_5);
3080
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
3081
__Pyx_GIVEREF(__pyx_t_2);
3082
__Pyx_INCREF(__pyx_v_ref);
3083
PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_ref);
3084
__Pyx_GIVEREF(__pyx_v_ref);
3085
__Pyx_INCREF(__pyx_v_lck);
3086
PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_lck);
3087
__Pyx_GIVEREF(__pyx_v_lck);
3088
PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_1);
3089
__Pyx_GIVEREF(__pyx_t_1);
3092
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_12), __pyx_t_5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3093
__Pyx_GOTREF(__pyx_t_1);
3094
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3095
__pyx_r = __pyx_t_1;
4051
3099
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
4053
3101
__pyx_L1_error:;
4054
__Pyx_XDECREF(__pyx_1);
3102
__Pyx_XDECREF(__pyx_t_1);
4055
3103
__Pyx_XDECREF(__pyx_t_2);
4056
__Pyx_XDECREF(__pyx_t_4);
4057
3104
__Pyx_XDECREF(__pyx_t_5);
4058
3105
__Pyx_AddTraceback("h5py.h5.ObjectID.__repr__");
4059
3106
__pyx_r = NULL;
3413
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":329
3416
* _conv.unregister_converters() # <<<<<<<<<<<<<<
3420
__pyx_t_7 = __Pyx_GetName(__pyx_m, __pyx_n_s___conv); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3421
__Pyx_GOTREF(__pyx_t_7);
3422
__pyx_t_8 = PyObject_GetAttr(__pyx_t_7, __pyx_n_s_13); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3423
__Pyx_GOTREF(__pyx_t_8);
3424
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
3425
__pyx_t_7 = PyObject_Call(__pyx_t_8, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3426
__Pyx_GOTREF(__pyx_t_7);
3427
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
3428
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
4360
3430
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
4362
3432
__pyx_L1_error:;
3433
__Pyx_XDECREF(__pyx_t_7);
3434
__Pyx_XDECREF(__pyx_t_8);
4363
3435
__Pyx_AddTraceback("h5py.h5._exithack");
4364
3436
__pyx_r = NULL;
4366
3438
__Pyx_XGIVEREF(__pyx_r);
4367
__Pyx_FinishRefcountContext();
3439
__Pyx_RefNannyFinishContext();
4368
3440
return __pyx_r;
4371
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":408
3443
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":333
4372
3444
* hdf5_inited = 0
4374
* cdef hid_t get_object_type() except -1: # <<<<<<<<<<<<<<
4375
* return h5py_object_type()
4379
static hid_t __pyx_f_4h5py_2h5_get_object_type(void) {
4382
__Pyx_SetupRefcountContext("get_object_type");
4384
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":409
4386
* cdef hid_t get_object_type() except -1:
4387
* return h5py_object_type() # <<<<<<<<<<<<<<
4389
* cdef herr_t dset_rw(hid_t dataset_id, hid_t mem_type_id, hid_t mem_space_id,
4391
__pyx_t_1 = h5py_object_type(); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4392
__pyx_r = __pyx_t_1;
4398
__Pyx_AddTraceback("h5py.h5.get_object_type");
4401
__Pyx_FinishRefcountContext();
4405
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":411
4406
* return h5py_object_type()
4408
* cdef herr_t dset_rw(hid_t dataset_id, hid_t mem_type_id, hid_t mem_space_id, # <<<<<<<<<<<<<<
4409
* hid_t file_space_id, hid_t xfer_plist_id, void *outbuf,
4410
* h5py_rw_t dir) except *:
4413
static herr_t __pyx_f_4h5py_2h5_dset_rw(hid_t __pyx_v_dataset_id, hid_t __pyx_v_mem_type_id, hid_t __pyx_v_mem_space_id, hid_t __pyx_v_file_space_id, hid_t __pyx_v_xfer_plist_id, void *__pyx_v_outbuf, h5py_rw_t __pyx_v_dir) {
4416
__Pyx_SetupRefcountContext("dset_rw");
4418
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":416
4420
* return H5PY_dset_rw(dataset_id, mem_type_id, mem_space_id, file_space_id,
4421
* xfer_plist_id, outbuf, dir) # <<<<<<<<<<<<<<
4423
* cdef herr_t attr_rw(hid_t attr_id, hid_t mem_type_id, void *buf, h5py_rw_t dir) except *:
4425
__pyx_t_1 = H5PY_dset_rw(__pyx_v_dataset_id, __pyx_v_mem_type_id, __pyx_v_mem_space_id, __pyx_v_file_space_id, __pyx_v_xfer_plist_id, __pyx_v_outbuf, __pyx_v_dir); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4426
__pyx_r = __pyx_t_1;
4432
__Pyx_AddTraceback("h5py.h5.dset_rw");
4435
__Pyx_FinishRefcountContext();
4439
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":418
4440
* xfer_plist_id, outbuf, dir)
4442
* cdef herr_t attr_rw(hid_t attr_id, hid_t mem_type_id, void *buf, h5py_rw_t dir) except *: # <<<<<<<<<<<<<<
4443
* return H5PY_attr_rw(attr_id, mem_type_id, buf, dir)
4447
static herr_t __pyx_f_4h5py_2h5_attr_rw(hid_t __pyx_v_attr_id, hid_t __pyx_v_mem_type_id, void *__pyx_v_buf, h5py_rw_t __pyx_v_dir) {
4450
__Pyx_SetupRefcountContext("attr_rw");
4452
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":419
4454
* cdef herr_t attr_rw(hid_t attr_id, hid_t mem_type_id, void *buf, h5py_rw_t dir) except *:
4455
* return H5PY_attr_rw(attr_id, mem_type_id, buf, dir) # <<<<<<<<<<<<<<
4457
* cdef int init_hdf5() except -1:
4459
__pyx_t_1 = H5PY_attr_rw(__pyx_v_attr_id, __pyx_v_mem_type_id, __pyx_v_buf, __pyx_v_dir); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4460
__pyx_r = __pyx_t_1;
4466
__Pyx_AddTraceback("h5py.h5.attr_rw");
4469
__Pyx_FinishRefcountContext();
4473
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":421
4474
* return H5PY_attr_rw(attr_id, mem_type_id, buf, dir)
4476
3446
* cdef int init_hdf5() except -1: # <<<<<<<<<<<<<<
4477
3447
* # Initialize the library and register Python callbacks for exception
4478
3448
* # handling. Safe to call more than once.
4481
3451
static int __pyx_f_4h5py_2h5_init_hdf5(void) {
3452
PyObject *__pyx_v__conv;
4483
PyObject *__pyx_1 = 0;
3454
PyObject *__pyx_t_1 = NULL;
4487
PyObject *__pyx_t_4 = NULL;
4488
3458
PyObject *__pyx_t_5 = NULL;
4490
3460
PyObject *__pyx_t_7 = NULL;
4491
__Pyx_SetupRefcountContext("init_hdf5");
3461
__Pyx_RefNannySetupContext("init_hdf5");
3462
__pyx_v__conv = Py_None; __Pyx_INCREF(Py_None);
4493
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":426
3464
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":338
4494
3465
* global hdf5_inited
3467
* import _conv # <<<<<<<<<<<<<<
3468
* if not hdf5_inited:
3471
__pyx_t_1 = __Pyx_Import(((PyObject *)__pyx_n_s___conv), 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3472
__Pyx_GOTREF(__pyx_t_1);
3473
__Pyx_DECREF(__pyx_v__conv);
3474
__pyx_v__conv = __pyx_t_1;
3477
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":339
4496
3480
* if not hdf5_inited: # <<<<<<<<<<<<<<
4498
* log_lib.info("* Initializing h5py library")
3482
* raise RuntimeError("Failed to initialize the HDF5 library.")
4500
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_5); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4501
__Pyx_GOTREF(__pyx_1);
4502
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4503
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
4504
__pyx_t_2 = (!__pyx_t_1);
3484
__pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__hdf5_inited); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3485
__Pyx_GOTREF(__pyx_t_1);
3486
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3487
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3488
__pyx_t_3 = (!__pyx_t_2);
4507
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":429
4509
* log_lib.info("* Initializing h5py library")
3491
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":340
3493
* if not hdf5_inited:
4510
3494
* if H5open() < 0: # <<<<<<<<<<<<<<
4511
3495
* raise RuntimeError("Failed to initialize the HDF5 library.")
4512
3496
* register_thread()
4514
__pyx_t_3 = H5open(); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4515
__pyx_t_2 = (__pyx_t_3 < 0);
3498
__pyx_t_4 = H5open(); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3499
__pyx_t_3 = (__pyx_t_4 < 0);
4518
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":430
4519
* log_lib.info("* Initializing h5py library")
3502
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":341
3503
* if not hdf5_inited:
4520
3504
* if H5open() < 0:
4521
3505
* raise RuntimeError("Failed to initialize the HDF5 library.") # <<<<<<<<<<<<<<
4522
3506
* register_thread()
4523
3507
* if register_lzf() < 0:
4525
__pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4526
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
4527
__Pyx_INCREF(__pyx_kp_36);
4528
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_36);
4529
__Pyx_GIVEREF(__pyx_kp_36);
4530
__pyx_t_5 = PyObject_Call(__pyx_builtin_RuntimeError, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3509
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3510
__Pyx_GOTREF(__pyx_t_1);
3511
__Pyx_INCREF(((PyObject *)__pyx_kp_s_14));
3512
PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_kp_s_14));
3513
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_14));
3514
__pyx_t_5 = PyObject_Call(__pyx_builtin_RuntimeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4531
3515
__Pyx_GOTREF(__pyx_t_5);
4532
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
3516
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4533
3517
__Pyx_Raise(__pyx_t_5, 0, 0);
4534
3518
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4535
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3519
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4540
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":431
3524
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":342
4541
3525
* if H5open() < 0:
4542
3526
* raise RuntimeError("Failed to initialize the HDF5 library.")
4543
3527
* register_thread() # <<<<<<<<<<<<<<
4544
3528
* if register_lzf() < 0:
4545
3529
* raise RuntimeError("Failed to register LZF filter")
4547
__pyx_t_6 = __pyx_f_4h5py_3h5e_register_thread(0); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3531
__pyx_t_5 = __pyx_f_4h5py_3h5e_register_thread(0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3532
__Pyx_GOTREF(__pyx_t_5);
3533
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4549
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":432
3535
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":343
4550
3536
* raise RuntimeError("Failed to initialize the HDF5 library.")
4551
3537
* register_thread()
4552
3538
* if register_lzf() < 0: # <<<<<<<<<<<<<<
4553
3539
* raise RuntimeError("Failed to register LZF filter")
4554
3540
* atexit.register(_exithack)
4556
__pyx_t_6 = register_lzf(); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4557
__pyx_t_2 = (__pyx_t_6 < 0);
3542
__pyx_t_6 = register_lzf(); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3543
__pyx_t_3 = (__pyx_t_6 < 0);
4560
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":433
3546
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":344
4561
3547
* register_thread()
4562
3548
* if register_lzf() < 0:
4563
3549
* raise RuntimeError("Failed to register LZF filter") # <<<<<<<<<<<<<<
4564
3550
* atexit.register(_exithack)
4565
* h5py_register_conv()
3551
* #h5py_register_conv()
4567
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4568
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
4569
__Pyx_INCREF(__pyx_kp_37);
4570
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_kp_37);
4571
__Pyx_GIVEREF(__pyx_kp_37);
4572
__pyx_t_4 = PyObject_Call(__pyx_builtin_RuntimeError, ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4573
__Pyx_GOTREF(__pyx_t_4);
4574
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
4575
__Pyx_Raise(__pyx_t_4, 0, 0);
4576
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4577
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3553
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3554
__Pyx_GOTREF(__pyx_t_5);
3555
__Pyx_INCREF(((PyObject *)__pyx_kp_s_15));
3556
PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_15));
3557
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_15));
3558
__pyx_t_1 = PyObject_Call(__pyx_builtin_RuntimeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3559
__Pyx_GOTREF(__pyx_t_1);
3560
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3561
__Pyx_Raise(__pyx_t_1, 0, 0);
3562
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3563
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4582
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":434
3568
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":345
4583
3569
* if register_lzf() < 0:
4584
3570
* raise RuntimeError("Failed to register LZF filter")
4585
3571
* atexit.register(_exithack) # <<<<<<<<<<<<<<
4586
* h5py_register_conv()
3572
* #h5py_register_conv()
3573
* _conv.register_converters()
4589
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_atexit); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4590
__Pyx_GOTREF(__pyx_1);
4591
__pyx_t_4 = PyObject_GetAttr(__pyx_1, __pyx_kp_register); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4592
__Pyx_GOTREF(__pyx_t_4);
4593
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
4594
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp__exithack); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4595
__Pyx_GOTREF(__pyx_1);
4596
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4597
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
4598
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_1);
4599
__Pyx_GIVEREF(__pyx_1);
4601
__pyx_t_7 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3575
__pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__atexit); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3576
__Pyx_GOTREF(__pyx_t_1);
3577
__pyx_t_5 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s__register); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3578
__Pyx_GOTREF(__pyx_t_5);
3579
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3580
__pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s___exithack); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3581
__Pyx_GOTREF(__pyx_t_1);
3582
__pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4602
3583
__Pyx_GOTREF(__pyx_t_7);
4603
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4604
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
3584
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_1);
3585
__Pyx_GIVEREF(__pyx_t_1);
3587
__pyx_t_1 = PyObject_Call(__pyx_t_5, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3588
__Pyx_GOTREF(__pyx_t_1);
3589
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4605
3590
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
3591
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4607
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":435
4608
* raise RuntimeError("Failed to register LZF filter")
3593
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":347
4609
3594
* atexit.register(_exithack)
4610
* h5py_register_conv() # <<<<<<<<<<<<<<
3595
* #h5py_register_conv()
3596
* _conv.register_converters() # <<<<<<<<<<<<<<
4611
3597
* hdf5_inited = 1
4614
__pyx_t_6 = h5py_register_conv(); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3600
__pyx_t_1 = PyObject_GetAttr(__pyx_v__conv, __pyx_n_s__register_converters); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3601
__Pyx_GOTREF(__pyx_t_1);
3602
__pyx_t_7 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3603
__Pyx_GOTREF(__pyx_t_7);
3604
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3605
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
4616
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":436
4617
* atexit.register(_exithack)
4618
* h5py_register_conv()
3607
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":348
3608
* #h5py_register_conv()
3609
* _conv.register_converters()
4619
3610
* hdf5_inited = 1 # <<<<<<<<<<<<<<
4623
if (PyObject_SetAttr(__pyx_m, __pyx_kp_5, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3614
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__hdf5_inited, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4628
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":438
3619
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":350
4629
3620
* hdf5_inited = 1
4631
3622
* return 0 # <<<<<<<<<<<<<<
5587
4363
static __Pyx_StringTabEntry __pyx_string_tab[] = {
5588
{&__pyx_kp___main__, __pyx_k___main__, sizeof(__pyx_k___main__), 1, 1, 1},
5589
{&__pyx_kp__hash, __pyx_k__hash, sizeof(__pyx_k__hash), 1, 1, 1},
5590
{&__pyx_kp___hash__, __pyx_k___hash__, sizeof(__pyx_k___hash__), 1, 1, 1},
5591
{&__pyx_kp___richcmp__, __pyx_k___richcmp__, sizeof(__pyx_k___richcmp__), 1, 1, 1},
5592
{&__pyx_kp___str__, __pyx_k___str__, sizeof(__pyx_k___str__), 1, 1, 1},
5593
{&__pyx_kp___init__, __pyx_k___init__, sizeof(__pyx_k___init__), 1, 1, 1},
5594
{&__pyx_kp___repr__, __pyx_k___repr__, sizeof(__pyx_k___repr__), 1, 1, 1},
5595
{&__pyx_kp_get_config, __pyx_k_get_config, sizeof(__pyx_k_get_config), 1, 1, 1},
5596
{&__pyx_kp___enter__, __pyx_k___enter__, sizeof(__pyx_k___enter__), 1, 1, 1},
5597
{&__pyx_kp___exit__, __pyx_k___exit__, sizeof(__pyx_k___exit__), 1, 1, 1},
5598
{&__pyx_kp_acquire, __pyx_k_acquire, sizeof(__pyx_k_acquire), 1, 1, 1},
5599
{&__pyx_kp_release, __pyx_k_release, sizeof(__pyx_k_release), 1, 1, 1},
5600
{&__pyx_kp_get_phil, __pyx_k_get_phil, sizeof(__pyx_k_get_phil), 1, 1, 1},
5601
{&__pyx_kp___nonzero__, __pyx_k___nonzero__, sizeof(__pyx_k___nonzero__), 1, 1, 1},
5602
{&__pyx_kp___cinit__, __pyx_k___cinit__, sizeof(__pyx_k___cinit__), 1, 1, 1},
5603
{&__pyx_kp___dealloc__, __pyx_k___dealloc__, sizeof(__pyx_k___dealloc__), 1, 1, 1},
5604
{&__pyx_kp___copy__, __pyx_k___copy__, sizeof(__pyx_k___copy__), 1, 1, 1},
5605
{&__pyx_kp_self, __pyx_k_self, sizeof(__pyx_k_self), 1, 1, 1},
5606
{&__pyx_kp_other, __pyx_k_other, sizeof(__pyx_k_other), 1, 1, 1},
5607
{&__pyx_kp_how, __pyx_k_how, sizeof(__pyx_k_how), 1, 1, 1},
5608
{&__pyx_kp_val, __pyx_k_val, sizeof(__pyx_k_val), 1, 1, 1},
5609
{&__pyx_kp_lev, __pyx_k_lev, sizeof(__pyx_k_lev), 1, 1, 1},
5610
{&__pyx_kp_a, __pyx_k_a, sizeof(__pyx_k_a), 0, 1, 1},
5611
{&__pyx_kp_b, __pyx_k_b, sizeof(__pyx_k_b), 0, 1, 1},
5612
{&__pyx_kp_c, __pyx_k_c, sizeof(__pyx_k_c), 0, 1, 1},
5613
{&__pyx_kp_blocking, __pyx_k_blocking, sizeof(__pyx_k_blocking), 1, 1, 1},
5614
{&__pyx_kp_id_, __pyx_k_id_, sizeof(__pyx_k_id_), 1, 1, 1},
5615
{&__pyx_kp___doc__, __pyx_k___doc__, sizeof(__pyx_k___doc__), 1, 1, 1},
5616
{&__pyx_kp_atexit, __pyx_k_atexit, sizeof(__pyx_k_atexit), 1, 1, 1},
5617
{&__pyx_kp_threading, __pyx_k_threading, sizeof(__pyx_k_threading), 1, 1, 1},
5618
{&__pyx_kp__sync, __pyx_k__sync, sizeof(__pyx_k__sync), 1, 1, 1},
5619
{&__pyx_kp_sync, __pyx_k_sync, sizeof(__pyx_k_sync), 1, 1, 1},
5620
{&__pyx_kp_nosync, __pyx_k_nosync, sizeof(__pyx_k_nosync), 1, 1, 1},
5621
{&__pyx_kp_get_libversion, __pyx_k_get_libversion, sizeof(__pyx_k_get_libversion), 1, 1, 1},
5622
{&__pyx_kp__close, __pyx_k__close, sizeof(__pyx_k__close), 1, 1, 1},
5623
{&__pyx_kp__open, __pyx_k__open, sizeof(__pyx_k__open), 1, 1, 1},
5624
{&__pyx_kp_5, __pyx_k_5, sizeof(__pyx_k_5), 1, 1, 1},
5625
{&__pyx_kp_6, __pyx_k_6, sizeof(__pyx_k_6), 1, 1, 1},
5626
{&__pyx_kp__api_version_tuple, __pyx_k__api_version_tuple, sizeof(__pyx_k__api_version_tuple), 1, 1, 1},
5627
{&__pyx_kp__version_tuple, __pyx_k__version_tuple, sizeof(__pyx_k__version_tuple), 1, 1, 1},
5628
{&__pyx_kp_x, __pyx_k_x, sizeof(__pyx_k_x), 1, 1, 1},
5629
{&__pyx_kp_split, __pyx_k_split, sizeof(__pyx_k_split), 1, 1, 1},
5630
{&__pyx_kp__version_string, __pyx_k__version_string, sizeof(__pyx_k__version_string), 1, 1, 1},
5631
{&__pyx_kp_11, __pyx_k_11, sizeof(__pyx_k_11), 1, 1, 1},
5632
{&__pyx_kp_12, __pyx_k_12, sizeof(__pyx_k_12), 1, 1, 1},
5633
{&__pyx_kp_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 1, 1, 1},
5634
{&__pyx_kp___class__, __pyx_k___class__, sizeof(__pyx_k___class__), 1, 1, 1},
5635
{&__pyx_kp___name__, __pyx_k___name__, sizeof(__pyx_k___name__), 1, 1, 1},
5636
{&__pyx_kp_NotImplemented, __pyx_k_NotImplemented, sizeof(__pyx_k_NotImplemented), 1, 1, 1},
5637
{&__pyx_kp_startswith, __pyx_k_startswith, sizeof(__pyx_k_startswith), 1, 1, 1},
5638
{&__pyx_kp_14, __pyx_k_14, sizeof(__pyx_k_14), 0, 1, 0},
5639
{&__pyx_kp_join, __pyx_k_join, sizeof(__pyx_k_join), 1, 1, 1},
5640
{&__pyx_kp_sorted, __pyx_k_sorted, sizeof(__pyx_k_sorted), 1, 1, 1},
5641
{&__pyx_kp_22, __pyx_k_22, sizeof(__pyx_k_22), 0, 1, 0},
5642
{&__pyx_kp_23, __pyx_k_23, sizeof(__pyx_k_23), 0, 1, 0},
5643
{&__pyx_kp_24, __pyx_k_24, sizeof(__pyx_k_24), 0, 1, 0},
5644
{&__pyx_kp_25, __pyx_k_25, sizeof(__pyx_k_25), 0, 1, 0},
5645
{&__pyx_kp_Exception, __pyx_k_Exception, sizeof(__pyx_k_Exception), 1, 1, 1},
5646
{&__pyx_kp_complex_names, __pyx_k_complex_names, sizeof(__pyx_k_complex_names), 1, 1, 1},
5647
{&__pyx_kp_RLock, __pyx_k_RLock, sizeof(__pyx_k_RLock), 1, 1, 1},
5648
{&__pyx_kp__valid, __pyx_k__valid, sizeof(__pyx_k__valid), 1, 1, 1},
5649
{&__pyx_kp_id, __pyx_k_id, sizeof(__pyx_k_id), 1, 1, 1},
5650
{&__pyx_kp_32, __pyx_k_32, sizeof(__pyx_k_32), 0, 1, 0},
5651
{&__pyx_kp_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 1, 1, 1},
5652
{&__pyx_kp_register, __pyx_k_register, sizeof(__pyx_k_register), 1, 1, 1},
5653
{&__pyx_kp__exithack, __pyx_k__exithack, sizeof(__pyx_k__exithack), 1, 1, 1},
5654
{&__pyx_kp_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 0, 0},
5655
{&__pyx_kp_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 0, 0},
5656
{&__pyx_kp_8, __pyx_k_8, sizeof(__pyx_k_8), 0, 0, 0},
5657
{&__pyx_kp_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 0, 0},
5658
{&__pyx_kp_10, __pyx_k_10, sizeof(__pyx_k_10), 0, 0, 0},
5659
{&__pyx_kp_13, __pyx_k_13, sizeof(__pyx_k_13), 0, 0, 0},
5660
{&__pyx_kp_16, __pyx_k_16, sizeof(__pyx_k_16), 0, 0, 0},
5661
{&__pyx_kp_15, __pyx_k_15, sizeof(__pyx_k_15), 0, 0, 0},
5662
{&__pyx_kp_17, __pyx_k_17, sizeof(__pyx_k_17), 0, 0, 0},
5663
{&__pyx_kp_18, __pyx_k_18, sizeof(__pyx_k_18), 0, 0, 0},
5664
{&__pyx_kp_19, __pyx_k_19, sizeof(__pyx_k_19), 0, 0, 0},
5665
{&__pyx_kp_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 0},
5666
{&__pyx_kp_21, __pyx_k_21, sizeof(__pyx_k_21), 0, 0, 0},
5667
{&__pyx_kp_26, __pyx_k_26, sizeof(__pyx_k_26), 0, 0, 0},
5668
{&__pyx_kp_27, __pyx_k_27, sizeof(__pyx_k_27), 0, 0, 0},
5669
{&__pyx_kp_28, __pyx_k_28, sizeof(__pyx_k_28), 0, 0, 0},
5670
{&__pyx_kp_29, __pyx_k_29, sizeof(__pyx_k_29), 0, 0, 0},
5671
{&__pyx_kp_31, __pyx_k_31, sizeof(__pyx_k_31), 0, 0, 0},
5672
{&__pyx_kp_35, __pyx_k_35, sizeof(__pyx_k_35), 0, 0, 0},
5673
{&__pyx_kp_36, __pyx_k_36, sizeof(__pyx_k_36), 0, 0, 0},
5674
{&__pyx_kp_37, __pyx_k_37, sizeof(__pyx_k_37), 0, 0, 0},
4364
{&__pyx_kp_s_1, __pyx_k_1, sizeof(__pyx_k_1), 0, 0, 1, 0},
4365
{&__pyx_kp_s_10, __pyx_k_10, sizeof(__pyx_k_10), 0, 0, 1, 0},
4366
{&__pyx_kp_s_11, __pyx_k_11, sizeof(__pyx_k_11), 0, 0, 1, 0},
4367
{&__pyx_kp_s_12, __pyx_k_12, sizeof(__pyx_k_12), 0, 0, 1, 0},
4368
{&__pyx_n_s_13, __pyx_k_13, sizeof(__pyx_k_13), 0, 0, 1, 1},
4369
{&__pyx_kp_s_14, __pyx_k_14, sizeof(__pyx_k_14), 0, 0, 1, 0},
4370
{&__pyx_kp_s_15, __pyx_k_15, sizeof(__pyx_k_15), 0, 0, 1, 0},
4371
{&__pyx_kp_s_2, __pyx_k_2, sizeof(__pyx_k_2), 0, 0, 1, 0},
4372
{&__pyx_kp_b_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 0, 0},
4373
{&__pyx_kp_s_21, __pyx_k_21, sizeof(__pyx_k_21), 0, 0, 1, 0},
4374
{&__pyx_kp_s_3, __pyx_k_3, sizeof(__pyx_k_3), 0, 0, 1, 0},
4375
{&__pyx_kp_s_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 0, 1, 0},
4376
{&__pyx_kp_s_5, __pyx_k_5, sizeof(__pyx_k_5), 0, 0, 1, 0},
4377
{&__pyx_kp_s_6, __pyx_k_6, sizeof(__pyx_k_6), 0, 0, 1, 0},
4378
{&__pyx_kp_s_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 0, 1, 0},
4379
{&__pyx_kp_s_8, __pyx_k_8, sizeof(__pyx_k_8), 0, 0, 1, 0},
4380
{&__pyx_kp_s_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 0, 1, 0},
4381
{&__pyx_n_s__API_16, __pyx_k__API_16, sizeof(__pyx_k__API_16), 0, 0, 1, 1},
4382
{&__pyx_n_s__API_18, __pyx_k__API_18, sizeof(__pyx_k__API_18), 0, 0, 1, 1},
4383
{&__pyx_n_s__DEBUG, __pyx_k__DEBUG, sizeof(__pyx_k__DEBUG), 0, 0, 1, 1},
4384
{&__pyx_n_s__Exception, __pyx_k__Exception, sizeof(__pyx_k__Exception), 0, 0, 1, 1},
4385
{&__pyx_n_s__FALSE, __pyx_k__FALSE, sizeof(__pyx_k__FALSE), 0, 0, 1, 1},
4386
{&__pyx_n_s__H5Error, __pyx_k__H5Error, sizeof(__pyx_k__H5Error), 0, 0, 1, 1},
4387
{&__pyx_n_s__L, __pyx_k__L, sizeof(__pyx_k__L), 0, 0, 1, 1},
4388
{&__pyx_n_s__NotImplemented, __pyx_k__NotImplemented, sizeof(__pyx_k__NotImplemented), 0, 0, 1, 1},
4389
{&__pyx_n_s__RuntimeError, __pyx_k__RuntimeError, sizeof(__pyx_k__RuntimeError), 0, 0, 1, 1},
4390
{&__pyx_n_s__TRUE, __pyx_k__TRUE, sizeof(__pyx_k__TRUE), 0, 0, 1, 1},
4391
{&__pyx_n_s__TypeError, __pyx_k__TypeError, sizeof(__pyx_k__TypeError), 0, 0, 1, 1},
4392
{&__pyx_n_s__U, __pyx_k__U, sizeof(__pyx_k__U), 0, 0, 1, 1},
4393
{&__pyx_n_s__X, __pyx_k__X, sizeof(__pyx_k__X), 0, 0, 1, 1},
4394
{&__pyx_n_s___, __pyx_k___, sizeof(__pyx_k___), 0, 0, 1, 1},
4395
{&__pyx_n_s____class__, __pyx_k____class__, sizeof(__pyx_k____class__), 0, 0, 1, 1},
4396
{&__pyx_n_s____main__, __pyx_k____main__, sizeof(__pyx_k____main__), 0, 0, 1, 1},
4397
{&__pyx_n_s____name__, __pyx_k____name__, sizeof(__pyx_k____name__), 0, 0, 1, 1},
4398
{&__pyx_n_s___api_version_tuple, __pyx_k___api_version_tuple, sizeof(__pyx_k___api_version_tuple), 0, 0, 1, 1},
4399
{&__pyx_n_s___conv, __pyx_k___conv, sizeof(__pyx_k___conv), 0, 0, 1, 1},
4400
{&__pyx_n_s___exithack, __pyx_k___exithack, sizeof(__pyx_k___exithack), 0, 0, 1, 1},
4401
{&__pyx_n_s___f_name, __pyx_k___f_name, sizeof(__pyx_k___f_name), 0, 0, 1, 1},
4402
{&__pyx_n_s___hash, __pyx_k___hash, sizeof(__pyx_k___hash), 0, 0, 1, 1},
4403
{&__pyx_n_s___hdf5_version_tuple, __pyx_k___hdf5_version_tuple, sizeof(__pyx_k___hdf5_version_tuple), 0, 0, 1, 1},
4404
{&__pyx_n_s___i_name, __pyx_k___i_name, sizeof(__pyx_k___i_name), 0, 0, 1, 1},
4405
{&__pyx_n_s___locked, __pyx_k___locked, sizeof(__pyx_k___locked), 0, 0, 1, 1},
4406
{&__pyx_n_s___r_name, __pyx_k___r_name, sizeof(__pyx_k___r_name), 0, 0, 1, 1},
4407
{&__pyx_n_s___t_name, __pyx_k___t_name, sizeof(__pyx_k___t_name), 0, 0, 1, 1},
4408
{&__pyx_n_s___title, __pyx_k___title, sizeof(__pyx_k___title), 0, 0, 1, 1},
4409
{&__pyx_n_s___valid, __pyx_k___valid, sizeof(__pyx_k___valid), 0, 0, 1, 1},
4410
{&__pyx_n_s___version_string, __pyx_k___version_string, sizeof(__pyx_k___version_string), 0, 0, 1, 1},
4411
{&__pyx_n_s___version_tuple, __pyx_k___version_tuple, sizeof(__pyx_k___version_tuple), 0, 0, 1, 1},
4412
{&__pyx_n_s__atexit, __pyx_k__atexit, sizeof(__pyx_k__atexit), 0, 0, 1, 1},
4413
{&__pyx_n_s__complex_names, __pyx_k__complex_names, sizeof(__pyx_k__complex_names), 0, 0, 1, 1},
4414
{&__pyx_n_s__fileno, __pyx_k__fileno, sizeof(__pyx_k__fileno), 0, 0, 1, 1},
4415
{&__pyx_n_s__get_libversion, __pyx_k__get_libversion, sizeof(__pyx_k__get_libversion), 0, 0, 1, 1},
4416
{&__pyx_n_s__getattr, __pyx_k__getattr, sizeof(__pyx_k__getattr), 0, 0, 1, 1},
4417
{&__pyx_n_s__h5e, __pyx_k__h5e, sizeof(__pyx_k__h5e), 0, 0, 1, 1},
4418
{&__pyx_n_s__hdf5_inited, __pyx_k__hdf5_inited, sizeof(__pyx_k__hdf5_inited), 0, 0, 1, 1},
4419
{&__pyx_n_s__i, __pyx_k__i, sizeof(__pyx_k__i), 0, 0, 1, 1},
4420
{&__pyx_n_s__id, __pyx_k__id, sizeof(__pyx_k__id), 0, 0, 1, 1},
4421
{&__pyx_n_s__id_, __pyx_k__id_, sizeof(__pyx_k__id_), 0, 0, 1, 1},
4422
{&__pyx_n_s__join, __pyx_k__join, sizeof(__pyx_k__join), 0, 0, 1, 1},
4423
{&__pyx_n_s__objno, __pyx_k__objno, sizeof(__pyx_k__objno), 0, 0, 1, 1},
4424
{&__pyx_n_s__r, __pyx_k__r, sizeof(__pyx_k__r), 0, 0, 1, 1},
4425
{&__pyx_n_s__register, __pyx_k__register, sizeof(__pyx_k__register), 0, 0, 1, 1},
4426
{&__pyx_n_s__register_converters, __pyx_k__register_converters, sizeof(__pyx_k__register_converters), 0, 0, 1, 1},
4427
{&__pyx_n_s__sorted, __pyx_k__sorted, sizeof(__pyx_k__sorted), 0, 0, 1, 1},
4428
{&__pyx_n_s__split, __pyx_k__split, sizeof(__pyx_k__split), 0, 0, 1, 1},
4429
{&__pyx_n_s__startswith, __pyx_k__startswith, sizeof(__pyx_k__startswith), 0, 0, 1, 1},
4430
{&__pyx_n_s__threading, __pyx_k__threading, sizeof(__pyx_k__threading), 0, 0, 1, 1},
4431
{&__pyx_n_s__x, __pyx_k__x, sizeof(__pyx_k__x), 0, 0, 1, 1},
4432
{0, 0, 0, 0, 0, 0, 0}
5677
4434
static int __Pyx_InitCachedBuiltins(void) {
5678
__pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_kp_TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5679
__pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_kp_NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5680
__pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_kp_sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5681
__pyx_builtin_Exception = __Pyx_GetName(__pyx_b, __pyx_kp_Exception); if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5682
__pyx_builtin_RuntimeError = __Pyx_GetName(__pyx_b, __pyx_kp_RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4435
__pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_n_s__TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4436
__pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4437
__pyx_builtin_getattr = __Pyx_GetName(__pyx_b, __pyx_n_s__getattr); if (!__pyx_builtin_getattr) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4438
__pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_n_s__sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4439
__pyx_builtin_Exception = __Pyx_GetName(__pyx_b, __pyx_n_s__Exception); if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4440
__pyx_builtin_RuntimeError = __Pyx_GetName(__pyx_b, __pyx_n_s__RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5684
4442
__pyx_L1_error:;
5688
4446
static int __Pyx_InitGlobals(void) {
4447
if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5689
4448
__pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5690
4449
__pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5691
if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
4450
__pyx_int_6 = PyInt_FromLong(6); if (unlikely(!__pyx_int_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5693
4452
__pyx_L1_error:;
5745
4506
__pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME));
5746
4507
if (!__pyx_b) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5747
4508
if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
4509
/*--- Initialize various global constants etc. ---*/
4510
if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5748
4511
if (__pyx_module_is_main_h5py__h5) {
5749
if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_kp___main__) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
4512
if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_n_s____main__) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5751
4514
/*--- Builtin init code ---*/
5752
4515
if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5753
__pyx_skip_dispatch = 0;
5754
4516
/*--- Global init code ---*/
5755
4517
__pyx_v_4h5py_2h5_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)Py_None); Py_INCREF(Py_None);
5756
__pyx_v_4h5py_2h5_phil = ((struct __pyx_obj_4h5py_2h5_PHIL *)Py_None); Py_INCREF(Py_None);
5757
4518
/*--- Function export code ---*/
5758
if (__Pyx_ExportFunction("get_phil", (void (*)(void))__pyx_f_4h5py_2h5_get_phil, "struct __pyx_obj_4h5py_2h5_PHIL *(int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5759
4519
if (__Pyx_ExportFunction("get_config", (void (*)(void))__pyx_f_4h5py_2h5_get_config, "struct __pyx_obj_4h5py_2h5_H5PYConfig *(int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5760
4520
if (__Pyx_ExportFunction("init_hdf5", (void (*)(void))__pyx_f_4h5py_2h5_init_hdf5, "int (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5761
if (__Pyx_ExportFunction("get_object_type", (void (*)(void))__pyx_f_4h5py_2h5_get_object_type, "hid_t (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5762
if (__Pyx_ExportFunction("attr_rw", (void (*)(void))__pyx_f_4h5py_2h5_attr_rw, "herr_t (hid_t, hid_t, void *, h5py_rw_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5763
if (__Pyx_ExportFunction("dset_rw", (void (*)(void))__pyx_f_4h5py_2h5_dset_rw, "herr_t (hid_t, hid_t, hid_t, hid_t, hid_t, void *, h5py_rw_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5764
4521
/*--- Type init code ---*/
5765
__pyx_vtabptr_4h5py_2h5_PHIL = &__pyx_vtable_4h5py_2h5_PHIL;
5766
#if PY_MAJOR_VERSION >= 3
5767
__pyx_vtable_4h5py_2h5_PHIL.__enter__ = (int (*)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch))__pyx_f_4h5py_2h5_4PHIL___enter__;
5768
__pyx_vtable_4h5py_2h5_PHIL.__exit__ = (int (*)(struct __pyx_obj_4h5py_2h5_PHIL *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4h5py_2h5_4PHIL___exit__;
5769
__pyx_vtable_4h5py_2h5_PHIL.acquire = (int (*)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire *__pyx_optional_args))__pyx_f_4h5py_2h5_4PHIL_acquire;
5770
__pyx_vtable_4h5py_2h5_PHIL.release = (int (*)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch))__pyx_f_4h5py_2h5_4PHIL_release;
5772
*(void(**)(void))&__pyx_vtable_4h5py_2h5_PHIL.__enter__ = (void(*)(void))__pyx_f_4h5py_2h5_4PHIL___enter__;
5773
*(void(**)(void))&__pyx_vtable_4h5py_2h5_PHIL.__exit__ = (void(*)(void))__pyx_f_4h5py_2h5_4PHIL___exit__;
5774
*(void(**)(void))&__pyx_vtable_4h5py_2h5_PHIL.acquire = (void(*)(void))__pyx_f_4h5py_2h5_4PHIL_acquire;
5775
*(void(**)(void))&__pyx_vtable_4h5py_2h5_PHIL.release = (void(*)(void))__pyx_f_4h5py_2h5_4PHIL_release;
5777
if (PyType_Ready(&__pyx_type_4h5py_2h5_PHIL) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5778
if (__Pyx_SetVtable(__pyx_type_4h5py_2h5_PHIL.tp_dict, __pyx_vtabptr_4h5py_2h5_PHIL) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5779
if (__Pyx_SetAttrString(__pyx_m, "PHIL", (PyObject *)&__pyx_type_4h5py_2h5_PHIL) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5780
__pyx_ptype_4h5py_2h5_PHIL = &__pyx_type_4h5py_2h5_PHIL;
5781
if (PyType_Ready(&__pyx_type_4h5py_2h5_H5PYConfig) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5782
if (__Pyx_SetAttrString(__pyx_m, "H5PYConfig", (PyObject *)&__pyx_type_4h5py_2h5_H5PYConfig) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4522
if (PyType_Ready(&__pyx_type_4h5py_2h5_H5PYConfig) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4523
if (__Pyx_SetAttrString(__pyx_m, "H5PYConfig", (PyObject *)&__pyx_type_4h5py_2h5_H5PYConfig) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5783
4524
__pyx_ptype_4h5py_2h5_H5PYConfig = &__pyx_type_4h5py_2h5_H5PYConfig;
5784
if (PyType_Ready(&__pyx_type_4h5py_2h5_ObjectID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5785
if (__Pyx_SetAttrString(__pyx_m, "ObjectID", (PyObject *)&__pyx_type_4h5py_2h5_ObjectID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4525
if (PyType_Ready(&__pyx_type_4h5py_2h5_ObjectID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4526
if (__Pyx_SetAttrString(__pyx_m, "ObjectID", (PyObject *)&__pyx_type_4h5py_2h5_ObjectID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5786
4527
if (__pyx_type_4h5py_2h5_ObjectID.tp_weaklistoffset == 0) __pyx_type_4h5py_2h5_ObjectID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_2h5_ObjectID, __weakref__);
5787
4528
__pyx_ptype_4h5py_2h5_ObjectID = &__pyx_type_4h5py_2h5_ObjectID;
5788
if (PyType_Ready(&__pyx_type_4h5py_2h5_SmartStruct) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5789
if (__Pyx_SetAttrString(__pyx_m, "SmartStruct", (PyObject *)&__pyx_type_4h5py_2h5_SmartStruct) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4529
if (PyType_Ready(&__pyx_type_4h5py_2h5_SmartStruct) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4530
if (__Pyx_SetAttrString(__pyx_m, "SmartStruct", (PyObject *)&__pyx_type_4h5py_2h5_SmartStruct) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5790
4531
if (__pyx_type_4h5py_2h5_SmartStruct.tp_weaklistoffset == 0) __pyx_type_4h5py_2h5_SmartStruct.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_2h5_SmartStruct, __weakref__);
5791
4532
__pyx_ptype_4h5py_2h5_SmartStruct = &__pyx_type_4h5py_2h5_SmartStruct;
5792
4533
/*--- Type import code ---*/
4534
__pyx_ptype_4h5py_3h5e_HDF5ErrorHandler = __Pyx_ImportType("h5py.h5e", "HDF5ErrorHandler", sizeof(struct __pyx_obj_4h5py_3h5e_HDF5ErrorHandler)); if (unlikely(!__pyx_ptype_4h5py_3h5e_HDF5ErrorHandler)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5793
4535
/*--- Function import code ---*/
5794
__pyx_1 = __Pyx_ImportModule("h5py.h5e"); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5795
if (__Pyx_ImportFunction(__pyx_1, "register_thread", (void (**)(void))&__pyx_f_4h5py_3h5e_register_thread, "int (int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5796
if (__Pyx_ImportFunction(__pyx_1, "disable_errors", (void (**)(void))&__pyx_f_4h5py_3h5e_disable_errors, "__pyx_t_4h5py_3h5e_err_cookie (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5797
if (__Pyx_ImportFunction(__pyx_1, "enable_errors", (void (**)(void))&__pyx_f_4h5py_3h5e_enable_errors, "void (__pyx_t_4h5py_3h5e_err_cookie)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5798
Py_DECREF(__pyx_1); __pyx_1 = 0;
4536
__pyx_t_1 = __Pyx_ImportModule("h5py.h5e"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4537
if (__Pyx_ImportFunction(__pyx_t_1, "register_thread", (void (**)(void))&__pyx_f_4h5py_3h5e_register_thread, "PyObject *(int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4538
if (__Pyx_ImportFunction(__pyx_t_1, "unregister_thread", (void (**)(void))&__pyx_f_4h5py_3h5e_unregister_thread, "PyObject *(int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5e_unregister_thread *__pyx_optional_args)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4539
if (__Pyx_ImportFunction(__pyx_t_1, "disable_errors", (void (**)(void))&__pyx_f_4h5py_3h5e_disable_errors, "__pyx_t_4h5py_3h5e_err_cookie (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4540
if (__Pyx_ImportFunction(__pyx_t_1, "enable_errors", (void (**)(void))&__pyx_f_4h5py_3h5e_enable_errors, "void (__pyx_t_4h5py_3h5e_err_cookie)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4541
Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5799
4542
/*--- Execution code ---*/
5801
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":13
5804
* """ # <<<<<<<<<<<<<<
5805
* Common support and versioning module for the h5py HDF5 interface.
5808
if (PyObject_SetAttr(__pyx_m, __pyx_kp___doc__, __pyx_kp_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 12; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5810
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":28
4544
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":29
5811
4545
* from h5e cimport register_thread
5813
4547
* import atexit # <<<<<<<<<<<<<<
5814
4548
* import threading
5817
__pyx_1 = __Pyx_Import(__pyx_kp_atexit, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5818
__Pyx_GOTREF(__pyx_1);
5819
if (PyObject_SetAttr(__pyx_m, __pyx_kp_atexit, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5820
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
4551
__pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__atexit), 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4552
__Pyx_GOTREF(__pyx_t_2);
4553
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__atexit, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4554
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5822
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":29
4556
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":30
5824
4558
* import atexit
5825
4559
* import threading # <<<<<<<<<<<<<<
5827
4561
* IF H5PY_18API:
5829
__pyx_1 = __Pyx_Import(__pyx_kp_threading, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5830
__Pyx_GOTREF(__pyx_1);
5831
if (PyObject_SetAttr(__pyx_m, __pyx_kp_threading, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5832
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
4563
__pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__threading), 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4564
__Pyx_GOTREF(__pyx_t_2);
4565
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__threading, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4566
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5834
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":142
4568
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":157
5837
4571
* cdef H5PYConfig cfg = H5PYConfig() # <<<<<<<<<<<<<<
5839
4573
* cpdef H5PYConfig get_config():
5841
__pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_H5PYConfig)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5842
__Pyx_GOTREF(__pyx_t_1);
5843
if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_2h5_H5PYConfig))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4575
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_H5PYConfig)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4576
__Pyx_GOTREF(__pyx_t_2);
5844
4577
__Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_2h5_cfg));
5845
4578
__Pyx_DECREF(((PyObject *)__pyx_v_4h5py_2h5_cfg));
5846
__Pyx_GIVEREF(__pyx_t_1);
5847
__pyx_v_4h5py_2h5_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_t_1);
5850
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":206
5853
* cdef PHIL phil = PHIL() # <<<<<<<<<<<<<<
5855
* cpdef PHIL get_phil():
5857
__pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_PHIL)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5858
__Pyx_GOTREF(__pyx_t_1);
5859
if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_2h5_PHIL))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5860
__Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_2h5_phil));
5861
__Pyx_DECREF(((PyObject *)__pyx_v_4h5py_2h5_phil));
5862
__Pyx_GIVEREF(__pyx_t_1);
5863
__pyx_v_4h5py_2h5_phil = ((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_t_1);
5866
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":218
5867
* # Everything required for the decorator is now defined
5869
* from _sync import sync, nosync # <<<<<<<<<<<<<<
5871
* # === Public C API for object identifiers =====================================
5873
__pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5874
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5875
__Pyx_INCREF(__pyx_kp_sync);
5876
PyList_SET_ITEM(__pyx_t_1, 0, __pyx_kp_sync);
5877
__Pyx_GIVEREF(__pyx_kp_sync);
5878
__Pyx_INCREF(__pyx_kp_nosync);
5879
PyList_SET_ITEM(__pyx_t_1, 1, __pyx_kp_nosync);
5880
__Pyx_GIVEREF(__pyx_kp_nosync);
5881
__pyx_1 = __Pyx_Import(__pyx_kp__sync, ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5882
__Pyx_GOTREF(__pyx_1);
5883
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5884
__pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5885
__Pyx_GOTREF(__pyx_2);
5886
if (PyObject_SetAttr(__pyx_m, __pyx_kp_sync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5887
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
5888
__pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_nosync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5889
__Pyx_GOTREF(__pyx_2);
5890
if (PyObject_SetAttr(__pyx_m, __pyx_kp_nosync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5891
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
5892
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
5894
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":350
5895
* # === HDF5 "H5" API ===========================================================
5897
* @sync # <<<<<<<<<<<<<<
5898
* def get_libversion():
5899
* """ () => TUPLE (major, minor, release)
5901
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5902
__Pyx_GOTREF(__pyx_1);
5904
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":351
5907
* def get_libversion(): # <<<<<<<<<<<<<<
5908
* """ () => TUPLE (major, minor, release)
5911
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_get_libversion); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5912
__Pyx_GOTREF(__pyx_2);
5913
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5914
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5915
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_2);
5916
__Pyx_GIVEREF(__pyx_2);
5918
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5919
__Pyx_GOTREF(__pyx_t_2);
5920
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
5921
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5922
if (PyObject_SetAttr(__pyx_m, __pyx_kp_get_libversion, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5923
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5925
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":365
5926
* return (major, minor, release)
5928
* @sync # <<<<<<<<<<<<<<
5930
* """ Internal function; do not call unless you want to lose all your data.
5932
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5933
__Pyx_GOTREF(__pyx_2);
5935
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":366
5938
* def _close(): # <<<<<<<<<<<<<<
5939
* """ Internal function; do not call unless you want to lose all your data.
5942
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp__close); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5943
__Pyx_GOTREF(__pyx_1);
5944
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5945
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
5946
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_1);
5947
__Pyx_GIVEREF(__pyx_1);
5949
__pyx_t_1 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5950
__Pyx_GOTREF(__pyx_t_1);
5951
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
5952
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5953
if (PyObject_SetAttr(__pyx_m, __pyx_kp__close, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5954
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5956
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":371
5959
* @sync # <<<<<<<<<<<<<<
5961
* """ Internal function; do not call unless you want to lose all your data.
5963
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5964
__Pyx_GOTREF(__pyx_1);
5966
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":372
5969
* def _open(): # <<<<<<<<<<<<<<
5970
* """ Internal function; do not call unless you want to lose all your data.
5973
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp__open); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5974
__Pyx_GOTREF(__pyx_2);
5975
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5976
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5977
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_2);
5978
__Pyx_GIVEREF(__pyx_2);
5980
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5981
__Pyx_GOTREF(__pyx_t_2);
5982
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
5983
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5984
if (PyObject_SetAttr(__pyx_m, __pyx_kp__open, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5985
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5987
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":406
4579
__Pyx_GIVEREF(__pyx_t_2);
4580
__pyx_v_4h5py_2h5_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_t_2);
4583
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":331
4584
* _conv.unregister_converters()
5990
4586
* hdf5_inited = 0 # <<<<<<<<<<<<<<
5992
* cdef hid_t get_object_type() except -1:
5994
if (PyObject_SetAttr(__pyx_m, __pyx_kp_5, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5996
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":440
5999
* init_hdf5() # <<<<<<<<<<<<<<
6001
* # === Module init =============================================================
6003
__pyx_t_3 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6005
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":444
4588
* cdef int init_hdf5() except -1:
4590
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__hdf5_inited, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4592
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":356
6006
4593
* # === Module init =============================================================
6008
4595
* _hdf5_version_tuple = get_libversion() # <<<<<<<<<<<<<<
6009
4596
* _api_version_tuple = (int(H5PY_API/10), H5PY_API%10)
6010
4597
* _version_tuple = tuple([int(x) for x in H5PY_VERSION.split('-')[0].split('.')])
6012
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_get_libversion); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6013
__Pyx_GOTREF(__pyx_2);
6014
__pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4599
__pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__get_libversion); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6015
4600
__Pyx_GOTREF(__pyx_t_2);
6016
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
6017
if (PyObject_SetAttr(__pyx_m, __pyx_kp_6, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4601
__pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4602
__Pyx_GOTREF(__pyx_t_3);
6018
4603
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4604
if (PyObject_SetAttr(__pyx_m, __pyx_n_s___hdf5_version_tuple, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4605
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6020
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":445
4607
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":357
6022
4609
* _hdf5_version_tuple = get_libversion()
6023
4610
* _api_version_tuple = (int(H5PY_API/10), H5PY_API%10) # <<<<<<<<<<<<<<
6024
4611
* _version_tuple = tuple([int(x) for x in H5PY_VERSION.split('-')[0].split('.')])
6025
4612
* _version_string = H5PY_VERSION
6027
__pyx_t_2 = PyInt_FromLong(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6028
__Pyx_GOTREF(__pyx_t_2);
6029
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6030
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
6031
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
6032
__Pyx_GIVEREF(__pyx_t_2);
6034
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6035
__Pyx_GOTREF(__pyx_t_2);
6036
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6037
__pyx_t_1 = PyInt_FromLong(6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6038
__Pyx_GOTREF(__pyx_t_1);
6039
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6040
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
6041
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
6042
__Pyx_GIVEREF(__pyx_t_2);
6043
PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1);
6044
__Pyx_GIVEREF(__pyx_t_1);
6047
if (PyObject_SetAttr(__pyx_m, __pyx_kp__api_version_tuple, ((PyObject *)__pyx_t_4)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6048
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
4614
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4615
__Pyx_GOTREF(__pyx_t_3);
4616
__Pyx_INCREF(__pyx_int_1);
4617
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_int_1);
4618
__Pyx_GIVEREF(__pyx_int_1);
4619
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4620
__Pyx_GOTREF(__pyx_t_2);
4621
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4622
__pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4623
__Pyx_GOTREF(__pyx_t_3);
4624
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
4625
__Pyx_GIVEREF(__pyx_t_2);
4626
__Pyx_INCREF(__pyx_int_6);
4627
PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_6);
4628
__Pyx_GIVEREF(__pyx_int_6);
4630
if (PyObject_SetAttr(__pyx_m, __pyx_n_s___api_version_tuple, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4631
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6050
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":446
4633
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":358
6051
4634
* _hdf5_version_tuple = get_libversion()
6052
4635
* _api_version_tuple = (int(H5PY_API/10), H5PY_API%10)
6053
4636
* _version_tuple = tuple([int(x) for x in H5PY_VERSION.split('-')[0].split('.')]) # <<<<<<<<<<<<<<
6054
4637
* _version_string = H5PY_VERSION
6057
__pyx_t_4 = PyList_New(0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6058
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
6059
__pyx_t_1 = PyObject_GetAttr(__pyx_kp_7, __pyx_kp_split); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6060
__Pyx_GOTREF(__pyx_t_1);
6061
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6062
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
6063
__Pyx_INCREF(__pyx_kp_8);
6064
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_8);
6065
__Pyx_GIVEREF(__pyx_kp_8);
6066
__pyx_t_6 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6067
__Pyx_GOTREF(__pyx_t_6);
6068
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6069
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6070
__pyx_1 = __Pyx_GetItemInt(__pyx_t_6, 0, sizeof(long), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6071
__Pyx_GOTREF(__pyx_1);
6072
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6073
__pyx_t_6 = PyObject_GetAttr(__pyx_1, __pyx_kp_split); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6074
__Pyx_GOTREF(__pyx_t_6);
6075
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
6076
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6077
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
6078
__Pyx_INCREF(__pyx_kp_9);
6079
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_9);
6080
__Pyx_GIVEREF(__pyx_kp_9);
6081
__pyx_t_1 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6082
__Pyx_GOTREF(__pyx_t_1);
6083
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6084
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6085
if (PyList_CheckExact(__pyx_t_1) || PyTuple_CheckExact(__pyx_t_1)) {
6086
__pyx_t_5 = 0; __pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2);
4640
__pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4641
__Pyx_GOTREF(((PyObject *)__pyx_t_3));
4642
__pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_kp_b_20), __pyx_n_s__split); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4643
__Pyx_GOTREF(__pyx_t_2);
4644
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4645
__Pyx_GOTREF(__pyx_t_5);
4646
__Pyx_INCREF(((PyObject *)__pyx_kp_s_21));
4647
PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_21));
4648
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_21));
4649
__pyx_t_6 = PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4650
__Pyx_GOTREF(__pyx_t_6);
4651
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4652
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4653
__pyx_t_5 = __Pyx_GetItemInt(__pyx_t_6, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4654
__Pyx_GOTREF(__pyx_t_5);
4655
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
4656
__pyx_t_6 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s__split); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4657
__Pyx_GOTREF(__pyx_t_6);
4658
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4659
__pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4660
__Pyx_GOTREF(__pyx_t_5);
4661
__Pyx_INCREF(((PyObject *)__pyx_kp_s_10));
4662
PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_10));
4663
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_10));
4664
__pyx_t_2 = PyObject_Call(__pyx_t_6, __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4665
__Pyx_GOTREF(__pyx_t_2);
4666
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
4667
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4668
if (PyList_CheckExact(__pyx_t_2) || PyTuple_CheckExact(__pyx_t_2)) {
4669
__pyx_t_4 = 0; __pyx_t_5 = __pyx_t_2; __Pyx_INCREF(__pyx_t_5);
6088
__pyx_t_5 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6089
__Pyx_GOTREF(__pyx_t_2);
4671
__pyx_t_4 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4672
__Pyx_GOTREF(__pyx_t_5);
6091
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4674
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6093
if (likely(PyList_CheckExact(__pyx_t_2))) {
6094
if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_2)) break;
6095
__pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++;
6096
} else if (likely(PyTuple_CheckExact(__pyx_t_2))) {
6097
if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
6098
__pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++;
4676
if (likely(PyList_CheckExact(__pyx_t_5))) {
4677
if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_5)) break;
4678
__pyx_t_2 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++;
4679
} else if (likely(PyTuple_CheckExact(__pyx_t_5))) {
4680
if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_5)) break;
4681
__pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++;
6100
__pyx_t_1 = PyIter_Next(__pyx_t_2);
6102
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4683
__pyx_t_2 = PyIter_Next(__pyx_t_5);
4685
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6105
__Pyx_GOTREF(__pyx_t_1);
4688
__Pyx_GOTREF(__pyx_t_2);
6107
if (PyObject_SetAttr(__pyx_m, __pyx_kp_x, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6108
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6109
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_x); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6110
__Pyx_GOTREF(__pyx_2);
6111
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6112
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
6113
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_2);
6114
__Pyx_GIVEREF(__pyx_2);
6116
__pyx_t_6 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4690
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__x, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4691
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4692
__pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__x); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4693
__Pyx_GOTREF(__pyx_t_2);
4694
__pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6117
4695
__Pyx_GOTREF(__pyx_t_6);
6118
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6119
__pyx_t_3 = PyList_Append(__pyx_t_4, (PyObject*)__pyx_t_6); if (unlikely(__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4696
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
4697
__Pyx_GIVEREF(__pyx_t_2);
4699
__pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4700
__Pyx_GOTREF(__pyx_t_2);
6120
4701
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
4702
__pyx_t_7 = PyList_Append(__pyx_t_3, (PyObject*)__pyx_t_2); if (unlikely(__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4703
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6122
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6123
__pyx_t_2 = ((PyObject *)PyList_AsTuple(__pyx_t_4)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6124
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
6125
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
6126
if (PyObject_SetAttr(__pyx_m, __pyx_kp__version_tuple, ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6127
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
4705
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4706
__pyx_t_5 = ((PyObject *)PyList_AsTuple(__pyx_t_3)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4707
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
4708
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
4709
if (PyObject_SetAttr(__pyx_m, __pyx_n_s___version_tuple, ((PyObject *)__pyx_t_5)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4710
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
6129
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":447
4712
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":359
6130
4713
* _api_version_tuple = (int(H5PY_API/10), H5PY_API%10)
6131
4714
* _version_tuple = tuple([int(x) for x in H5PY_VERSION.split('-')[0].split('.')])
6132
4715
* _version_string = H5PY_VERSION # <<<<<<<<<<<<<<
4717
* # For backwards compatibility with user code used to the exception classes
6136
if (PyObject_SetAttr(__pyx_m, __pyx_kp__version_string, __pyx_kp_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4719
if (PyObject_SetAttr(__pyx_m, __pyx_n_s___version_string, ((PyObject *)__pyx_kp_b_20)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6138
/* "/home/tachyon/pydev/h5py/h5py/h5.pyx":450
4721
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":363
4722
* # For backwards compatibility with user code used to the exception classes
4723
* # being in this module.
6141
4724
* from h5e import H5Error # <<<<<<<<<<<<<<
6145
__pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6146
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
6147
__Pyx_INCREF(__pyx_kp_12);
6148
PyList_SET_ITEM(__pyx_t_2, 0, __pyx_kp_12);
6149
__Pyx_GIVEREF(__pyx_kp_12);
6150
__pyx_1 = __Pyx_Import(__pyx_kp_11, ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6151
__Pyx_GOTREF(__pyx_1);
6152
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6153
__pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_12); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6154
__Pyx_GOTREF(__pyx_2);
6155
if (PyObject_SetAttr(__pyx_m, __pyx_kp_12, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6156
__Pyx_DECREF(__pyx_2); __pyx_2 = 0;
6157
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
6159
/* "/home/tachyon/pydev/h5py/h5py/h5e.pxd":2
6161
* """ # <<<<<<<<<<<<<<
6162
* Definitions file for new H5E module
4728
__pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4729
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
4730
__Pyx_INCREF(((PyObject *)__pyx_n_s__H5Error));
4731
PyList_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__H5Error));
4732
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__H5Error));
4733
__pyx_t_3 = __Pyx_Import(((PyObject *)__pyx_n_s__h5e), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4734
__Pyx_GOTREF(__pyx_t_3);
4735
__Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
4736
__pyx_t_5 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s__H5Error); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4737
__Pyx_GOTREF(__pyx_t_5);
4738
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__H5Error, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4739
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4740
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4742
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":365
4743
* from h5e import H5Error
4745
* init_hdf5() # <<<<<<<<<<<<<<
4748
__pyx_t_7 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4750
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pyx":366
4753
* import _conv # <<<<<<<<<<<<<<
4755
__pyx_t_3 = __Pyx_Import(((PyObject *)__pyx_n_s___conv), 0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4756
__Pyx_GOTREF(__pyx_t_3);
4757
if (PyObject_SetAttr(__pyx_m, __pyx_n_s___conv, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4758
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4760
/* "/home/tachyon/slave/unix-release/build/h5py/h5e.pxd":1
4761
* #+ # <<<<<<<<<<<<<<
4763
* # This file is part of h5py, a low-level Python interface to the HDF5 library.
6166
4766
__pyx_L1_error:;
6167
__Pyx_XDECREF(__pyx_1);
6168
__Pyx_XDECREF(__pyx_2);
6169
4767
__Pyx_XDECREF(__pyx_t_1);
6170
4768
__Pyx_XDECREF(__pyx_t_2);
6171
__Pyx_XDECREF(__pyx_t_4);
4769
__Pyx_XDECREF(__pyx_t_3);
4770
__Pyx_XDECREF(__pyx_t_5);
6172
4771
__Pyx_XDECREF(__pyx_t_6);
6173
__Pyx_AddTraceback("h5py.h5");
6174
Py_DECREF(__pyx_m); __pyx_m = 0;
4773
__Pyx_AddTraceback("init h5py.h5");
4774
Py_DECREF(__pyx_m); __pyx_m = 0;
4775
} else if (!PyErr_Occurred()) {
4776
PyErr_SetString(PyExc_ImportError, "init h5py.h5");
6176
__Pyx_FinishRefcountContext();
4779
__Pyx_RefNannyFinishContext();
6177
4780
#if PY_MAJOR_VERSION < 3