~ubuntu-branches/ubuntu/utopic/h5py/utopic

« back to all changes in this revision

Viewing changes to h5py/h5t.c

  • Committer: Bazaar Package Importer
  • Author(s): Soeren Sonnenburg
  • Date: 2011-01-12 14:48:19 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110112144819-9kbgh192yngf6o05
Tags: 1.3.1-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Generated by Cython 0.12 on Sun Mar 14 21:50:04 2010 */
 
1
/* Generated by Cython 0.12.1 on Tue Dec 21 22:32:03 2010 */
2
2
 
3
3
#define PY_SSIZE_T_CLEAN
4
4
#include "Python.h"
6
6
#ifndef Py_PYTHON_H
7
7
    #error Python headers needed to compile C extensions, please install development version of Python.
8
8
#else
 
9
 
9
10
#ifndef PY_LONG_LONG
10
11
  #define PY_LONG_LONG LONG_LONG
11
12
#endif
17
18
  #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
18
19
  #define PyDict_Contains(d,o)   PySequence_Contains(d,o)
19
20
#endif
 
21
 
20
22
#if PY_VERSION_HEX < 0x02050000
21
23
  typedef int Py_ssize_t;
22
24
  #define PY_SSIZE_T_MAX INT_MAX
26
28
  #define PyInt_AsSsize_t(o)   PyInt_AsLong(o)
27
29
  #define PyNumber_Index(o)    PyNumber_Int(o)
28
30
  #define PyIndex_Check(o)     PyNumber_Check(o)
 
31
  #define PyErr_WarnEx(category, message, stacklevel) PyErr_Warn(category, message)
29
32
#endif
 
33
 
30
34
#if PY_VERSION_HEX < 0x02060000
31
35
  #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
32
36
  #define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)
36
40
  #define PyType_Modified(t)
37
41
 
38
42
  typedef struct {
39
 
       void *buf;
40
 
       PyObject *obj;
41
 
       Py_ssize_t len;
42
 
       Py_ssize_t itemsize;
43
 
       int readonly;
44
 
       int ndim;
45
 
       char *format;
46
 
       Py_ssize_t *shape;
47
 
       Py_ssize_t *strides;
48
 
       Py_ssize_t *suboffsets;
49
 
       void *internal;
 
43
     void *buf;
 
44
     PyObject *obj;
 
45
     Py_ssize_t len;
 
46
     Py_ssize_t itemsize;
 
47
     int readonly;
 
48
     int ndim;
 
49
     char *format;
 
50
     Py_ssize_t *shape;
 
51
     Py_ssize_t *strides;
 
52
     Py_ssize_t *suboffsets;
 
53
     void *internal;
50
54
  } Py_buffer;
51
55
 
52
56
  #define PyBUF_SIMPLE 0
60
64
  #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
61
65
 
62
66
#endif
 
67
 
63
68
#if PY_MAJOR_VERSION < 3
64
69
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
65
70
#else
66
71
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
67
72
#endif
 
73
 
68
74
#if PY_MAJOR_VERSION >= 3
69
75
  #define Py_TPFLAGS_CHECKTYPES 0
70
76
  #define Py_TPFLAGS_HAVE_INDEX 0
71
77
#endif
 
78
 
72
79
#if (PY_VERSION_HEX < 0x02060000) || (PY_MAJOR_VERSION >= 3)
73
80
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
74
81
#endif
 
82
 
75
83
#if PY_MAJOR_VERSION >= 3
76
84
  #define PyBaseString_Type            PyUnicode_Type
77
85
  #define PyString_Type                PyUnicode_Type
80
88
  #define PyBytes_Type                 PyString_Type
81
89
  #define PyBytes_CheckExact           PyString_CheckExact
82
90
#endif
 
91
 
83
92
#if PY_MAJOR_VERSION >= 3
84
93
  #define PyInt_Type                   PyLong_Type
85
94
  #define PyInt_Check(op)              PyLong_Check(op)
99
108
#else
100
109
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
101
110
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
 
111
 
102
112
#endif
 
113
 
103
114
#if PY_MAJOR_VERSION >= 3
104
115
  #define PyMethod_New(func, self, klass) PyInstanceMethod_New(func)
105
116
#endif
 
117
 
106
118
#if !defined(WIN32) && !defined(MS_WINDOWS)
107
119
  #ifndef __stdcall
108
120
    #define __stdcall
116
128
#else
117
129
  #define _USE_MATH_DEFINES
118
130
#endif
 
131
 
119
132
#if PY_VERSION_HEX < 0x02050000
120
133
  #define __Pyx_GetAttrString(o,n)   PyObject_GetAttrString((o),((char *)(n)))
121
134
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a))
125
138
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a))
126
139
  #define __Pyx_DelAttrString(o,n)   PyObject_DelAttrString((o),(n))
127
140
#endif
 
141
 
128
142
#if PY_VERSION_HEX < 0x02050000
129
143
  #define __Pyx_NAMESTR(n) ((char *)(n))
130
144
  #define __Pyx_DOCSTR(n)  ((char *)(n))
149
163
#include "hdf5.h"
150
164
#include "numpy/arrayobject.h"
151
165
 
152
 
#ifdef __GNUC__
153
 
#define INLINE __inline__
154
 
#elif _WIN32
155
 
#define INLINE __inline
156
 
#else
157
 
#define INLINE 
 
166
#ifndef CYTHON_INLINE
 
167
  #if defined(__GNUC__)
 
168
    #define CYTHON_INLINE __inline__
 
169
  #elif defined(_MSC_VER)
 
170
    #define CYTHON_INLINE __inline
 
171
  #else
 
172
    #define CYTHON_INLINE 
 
173
  #endif
158
174
#endif
159
175
 
160
176
typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/
176
192
#define __Pyx_PyBytes_AsUString(s)        ((unsigned char*) __Pyx_PyBytes_AsString(s))
177
193
 
178
194
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
179
 
static INLINE int __Pyx_PyObject_IsTrue(PyObject*);
180
 
static INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
 
195
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
 
196
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
181
197
 
182
198
#if !defined(T_PYSSIZET)
183
199
#if PY_VERSION_HEX < 0x02050000
241
257
#endif
242
258
#endif
243
259
 
244
 
static INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
245
 
static INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
246
 
static INLINE size_t __Pyx_PyInt_AsSize_t(PyObject*);
 
260
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
 
261
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
 
262
static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject*);
247
263
 
248
264
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
249
265
 
275
291
 
276
292
/* Type declarations */
277
293
 
278
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":20
 
294
/* "/home/tachyon/h5py/h5py/h5r.pxd":20
279
295
 *   ctypedef unsigned char hdset_reg_ref_t[12]
280
296
 * 
281
297
 * cdef union ref_u:             # <<<<<<<<<<<<<<
293
309
  hid_t space_id;
294
310
};
295
311
 
296
 
/* "/home/tachyon/slave/unix-release/build/h5py/utils.pxd":21
 
312
/* "/home/tachyon/h5py/h5py/utils.pxd":21
297
313
 * 
298
314
 * cpdef int check_numpy_read(ndarray arr, hid_t space_id=*) except -1
299
315
 * cpdef int check_numpy_write(ndarray arr, hid_t space_id=*) except -1             # <<<<<<<<<<<<<<
306
322
  hid_t space_id;
307
323
};
308
324
 
309
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":72
 
325
/* "/home/tachyon/h5py/h5py/h5t.pxd":72
310
326
 * 
311
327
 * cdef TypeID typewrap(hid_t id_)
312
328
 * cpdef TypeID py_create(object dtype, bint logical=*)             # <<<<<<<<<<<<<<
319
335
  int logical;
320
336
};
321
337
 
322
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":28
323
 
 * cpdef H5PYConfig get_config()
 
338
/* "/home/tachyon/h5py/h5py/h5.pxd":34
 
339
 *     cdef readonly int locked
324
340
 * 
325
341
 * cdef class ObjectID:             # <<<<<<<<<<<<<<
326
342
 * 
330
346
struct __pyx_obj_4h5py_2h5_ObjectID {
331
347
  PyObject_HEAD
332
348
  PyObject *__weakref__;
333
 
  hid_t id;
334
 
  int _locked;
 
349
  struct __pyx_obj_4h5py_2h5_IDProxy *_proxy;
335
350
  PyObject *_hash;
336
351
};
337
352
 
338
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":23
 
353
/* "/home/tachyon/h5py/h5py/h5p.pxd":23
339
354
 * # --- Base classes ---
340
355
 * 
341
356
 * cdef class PropID(ObjectID):             # <<<<<<<<<<<<<<
347
362
  struct __pyx_obj_4h5py_2h5_ObjectID __pyx_base;
348
363
};
349
364
 
350
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":33
 
365
/* "/home/tachyon/h5py/h5py/h5p.pxd":33
351
366
 *     pass
352
367
 * 
353
368
 * cdef class PropInstanceID(PropID):             # <<<<<<<<<<<<<<
359
374
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
360
375
};
361
376
 
362
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":62
 
377
/* "/home/tachyon/h5py/h5py/h5p.pxd":62
363
378
 * # --- Object access ---
364
379
 * 
365
380
 * cdef class PropFAID(PropInstanceID):             # <<<<<<<<<<<<<<
371
386
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
372
387
};
373
388
 
374
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":17
 
389
/* "/home/tachyon/h5py/h5py/h5t.pxd":17
375
390
 * from h5 cimport class ObjectID
376
391
 * 
377
392
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
384
399
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtab;
385
400
};
386
401
 
387
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":40
 
402
/* "/home/tachyon/h5py/h5py/h5t.pxd":40
388
403
 *     pass
389
404
 * 
390
405
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
396
411
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
397
412
};
398
413
 
399
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":39
 
414
/* "/home/tachyon/h5py/h5py/h5t.pxd":37
 
415
 *     pass
 
416
 * 
 
417
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
 
418
 *     pass
 
419
 * 
 
420
 */
 
421
 
 
422
struct __pyx_obj_4h5py_3h5t_TypeTimeID {
 
423
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
424
};
 
425
 
 
426
/* "/home/tachyon/h5py/h5py/h5p.pxd":39
400
427
 *     pass
401
428
 * 
402
429
 * cdef class PropCreateID(PropInstanceID):             # <<<<<<<<<<<<<<
408
435
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
409
436
};
410
437
 
411
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":55
 
438
/* "/home/tachyon/h5py/h5py/h5p.pxd":55
412
439
 *     pass
413
440
 * 
414
441
 * cdef class PropFCID(PropCreateID):             # <<<<<<<<<<<<<<
420
447
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
421
448
};
422
449
 
423
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":27
 
450
/* "/home/tachyon/h5py/h5py/h5p.pxd":27
424
451
 *     pass
425
452
 * 
426
453
 * cdef class PropClassID(PropID):             # <<<<<<<<<<<<<<
432
459
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
433
460
};
434
461
 
435
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":59
 
462
/* "/home/tachyon/h5py/h5py/h5t.pxd":59
436
463
 * # --- Enums & compound types ---
437
464
 * 
438
465
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
444
471
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
445
472
};
446
473
 
447
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":66
 
474
/* "/home/tachyon/h5py/h5py/h5t.pxd":66
448
475
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
449
476
 * 
450
477
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
456
483
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
457
484
};
458
485
 
459
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":33
 
486
/* "/home/tachyon/h5py/h5py/h5t.pxd":33
460
487
 *     pass
461
488
 * 
462
489
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
468
495
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
469
496
};
470
497
 
471
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":51
 
498
/* "/home/tachyon/h5py/h5py/h5p.pxd":75
 
499
 * IF H5PY_18API:
 
500
 * 
 
501
 *     cdef class PropLCID(PropCreateID):             # <<<<<<<<<<<<<<
 
502
 *         """ Link creation property list """
 
503
 *         pass
 
504
 */
 
505
 
 
506
struct __pyx_obj_4h5py_3h5p_PropLCID {
 
507
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
 
508
};
 
509
 
 
510
/* "/home/tachyon/h5py/h5py/h5p.pxd":83
 
511
 *         cdef char* _buf
 
512
 * 
 
513
 *     cdef class PropGCID(PropCreateID):             # <<<<<<<<<<<<<<
 
514
 *         """ Group creation property list """
 
515
 *         pass
 
516
 */
 
517
 
 
518
struct __pyx_obj_4h5py_3h5p_PropGCID {
 
519
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
 
520
};
 
521
 
 
522
/* "/home/tachyon/h5py/h5py/h5p.pxd":51
472
523
 * # --- Object creation ---
473
524
 * 
474
525
 * cdef class PropDCID(PropCreateID):             # <<<<<<<<<<<<<<
480
531
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
481
532
};
482
533
 
483
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":37
484
 
 *     pass
 
534
/* "/home/tachyon/h5py/h5py/h5t.pxd":23
 
535
 * # --- Top-level classes ---
485
536
 * 
486
 
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
 
537
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
487
538
 *     pass
488
539
 * 
489
540
 */
490
541
 
491
 
struct __pyx_obj_4h5py_3h5t_TypeTimeID {
 
542
struct __pyx_obj_4h5py_3h5t_TypeArrayID {
492
543
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
493
544
};
494
545
 
495
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":24
 
546
/* "/home/tachyon/h5py/h5py/h5r.pxd":24
496
547
 *     hdset_reg_ref_t    reg_ref
497
548
 * 
498
549
 * cdef class Reference:             # <<<<<<<<<<<<<<
507
558
  size_t typesize;
508
559
};
509
560
 
510
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":30
 
561
/* "/home/tachyon/h5py/h5py/h5r.pxd":30
511
562
 *     cdef readonly size_t typesize
512
563
 * 
513
564
 * cdef class RegionReference(Reference):             # <<<<<<<<<<<<<<
519
570
  struct __pyx_obj_4h5py_3h5r_Reference __pyx_base;
520
571
};
521
572
 
522
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":23
523
 
 * # --- Top-level classes ---
524
 
 * 
525
 
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
526
 
 *     pass
527
 
 * 
 
573
/* "/home/tachyon/h5py/h5py/h5p.pxd":79
 
574
 *         pass
 
575
 * 
 
576
 *     cdef class PropLAID(PropInstanceID):             # <<<<<<<<<<<<<<
 
577
 *         """ Link access property list """
 
578
 *         cdef char* _buf
528
579
 */
529
580
 
530
 
struct __pyx_obj_4h5py_3h5t_TypeArrayID {
531
 
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
581
struct __pyx_obj_4h5py_3h5p_PropLAID {
 
582
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
 
583
  char *_buf;
532
584
};
533
585
 
534
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":48
 
586
/* "/home/tachyon/h5py/h5py/h5t.pxd":48
535
587
 * # --- Numeric atomic types ---
536
588
 * 
537
589
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
543
595
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
544
596
};
545
597
 
546
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":54
 
598
/* "/home/tachyon/h5py/h5py/h5t.pxd":54
547
599
 *     pass
548
600
 * 
549
601
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
555
607
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
556
608
};
557
609
 
558
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":29
 
610
/* "/home/tachyon/h5py/h5py/h5t.pxd":29
559
611
 *     pass
560
612
 * 
561
613
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
567
619
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
568
620
};
569
621
 
570
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":26
 
622
/* "/home/tachyon/h5py/h5py/h5t.pxd":26
571
623
 *     pass
572
624
 * 
573
625
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
579
631
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
580
632
};
581
633
 
582
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":62
 
634
/* "/home/tachyon/h5py/h5py/h5t.pxd":62
583
635
 *     pass
584
636
 * 
585
637
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
591
643
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
592
644
};
593
645
 
594
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":15
 
646
/* "/home/tachyon/h5py/h5py/h5.pxd":15
595
647
 * include "defs.pxd"
596
648
 * 
597
649
 * cdef class H5PYConfig:             # <<<<<<<<<<<<<<
611
663
  PyObject *THREADS;
612
664
};
613
665
 
614
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":46
 
666
/* "/home/tachyon/h5py/h5py/h5p.pxd":46
615
667
 *     pass
616
668
 * 
617
669
 * cdef class PropCopyID(PropInstanceID):             # <<<<<<<<<<<<<<
623
675
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
624
676
};
625
677
 
626
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":51
 
678
/* "/home/tachyon/h5py/h5py/h5.pxd":28
 
679
 * cpdef H5PYConfig get_config()
 
680
 * 
 
681
 * cdef class IDProxy:             # <<<<<<<<<<<<<<
 
682
 * 
 
683
 *     cdef object __weakref__
 
684
 */
 
685
 
 
686
struct __pyx_obj_4h5py_2h5_IDProxy {
 
687
  PyObject_HEAD
 
688
  PyObject *__weakref__;
 
689
  hid_t id;
 
690
  int locked;
 
691
};
 
692
 
 
693
/* "/home/tachyon/h5py/h5py/h5t.pxd":51
627
694
 *     pass
628
695
 * 
629
696
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
635
702
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
636
703
};
637
704
 
638
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":43
 
705
/* "/home/tachyon/h5py/h5py/h5t.pxd":43
639
706
 *     pass
640
707
 * 
641
708
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
647
714
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
648
715
};
649
716
 
650
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":66
 
717
/* "/home/tachyon/h5py/h5py/h5p.pxd":66
651
718
 *     pass
652
719
 * 
653
720
 * cdef class PropDXID(PropInstanceID):             # <<<<<<<<<<<<<<
659
726
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
660
727
};
661
728
 
662
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":35
 
729
/* "/home/tachyon/h5py/h5py/h5.pxd":40
663
730
 *     cdef object _hash
664
731
 * 
665
732
 * cdef class SmartStruct:             # <<<<<<<<<<<<<<
674
741
};
675
742
 
676
743
 
677
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":285
 
744
/* "/home/tachyon/h5py/h5py/h5t.pyx":284
678
745
 * # === Base type class =========================================================
679
746
 * 
680
747
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
688
755
static struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtabptr_4h5py_3h5t_TypeID;
689
756
 
690
757
 
691
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":898
 
758
/* "/home/tachyon/h5py/h5py/h5t.pyx":897
692
759
 * # === Composite types (enums and compound) ====================================
693
760
 * 
694
761
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
702
769
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID *__pyx_vtabptr_4h5py_3h5t_TypeCompositeID;
703
770
 
704
771
 
705
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":944
 
772
/* "/home/tachyon/h5py/h5py/h5t.pyx":943
706
773
 * 
707
774
 * 
708
775
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
716
783
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompoundID *__pyx_vtabptr_4h5py_3h5t_TypeCompoundID;
717
784
 
718
785
 
719
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":521
 
786
/* "/home/tachyon/h5py/h5py/h5t.pyx":520
720
787
 * 
721
788
 * 
722
789
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
730
797
static struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID *__pyx_vtabptr_4h5py_3h5t_TypeOpaqueID;
731
798
 
732
799
 
733
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":478
 
800
/* "/home/tachyon/h5py/h5py/h5t.pyx":477
734
801
 * # === Top-level classes (inherit directly from TypeID) ========================
735
802
 * 
736
803
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
744
811
static struct __pyx_vtabstruct_4h5py_3h5t_TypeArrayID *__pyx_vtabptr_4h5py_3h5t_TypeArrayID;
745
812
 
746
813
 
747
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":665
 
814
/* "/home/tachyon/h5py/h5py/h5t.pyx":664
748
815
 * # === Numeric classes (integers and floats) ===================================
749
816
 * 
750
817
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
758
825
static struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID *__pyx_vtabptr_4h5py_3h5t_TypeAtomicID;
759
826
 
760
827
 
761
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":753
 
828
/* "/home/tachyon/h5py/h5py/h5t.pyx":752
762
829
 * 
763
830
 * 
764
831
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
772
839
static struct __pyx_vtabstruct_4h5py_3h5t_TypeIntegerID *__pyx_vtabptr_4h5py_3h5t_TypeIntegerID;
773
840
 
774
841
 
775
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":648
 
842
/* "/home/tachyon/h5py/h5py/h5t.pyx":647
776
843
 *     pass
777
844
 * 
778
845
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
786
853
static struct __pyx_vtabstruct_4h5py_3h5t_TypeReferenceID *__pyx_vtabptr_4h5py_3h5t_TypeReferenceID;
787
854
 
788
855
 
789
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":556
 
856
/* "/home/tachyon/h5py/h5py/h5t.pyx":555
790
857
 *         return dtype("|V" + str(self.get_size()))
791
858
 * 
792
859
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
800
867
static struct __pyx_vtabstruct_4h5py_3h5t_TypeStringID *__pyx_vtabptr_4h5py_3h5t_TypeStringID;
801
868
 
802
869
 
803
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":793
 
870
/* "/home/tachyon/h5py/h5py/h5t.pyx":792
804
871
 * 
805
872
 * 
806
873
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
814
881
static struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID *__pyx_vtabptr_4h5py_3h5t_TypeFloatID;
815
882
 
816
883
 
817
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":634
 
884
/* "/home/tachyon/h5py/h5py/h5t.pyx":633
818
885
 *     pass
819
886
 * 
820
887
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
828
895
static struct __pyx_vtabstruct_4h5py_3h5t_TypeTimeID *__pyx_vtabptr_4h5py_3h5t_TypeTimeID;
829
896
 
830
897
 
831
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":641
 
898
/* "/home/tachyon/h5py/h5py/h5t.pyx":640
832
899
 *     pass
833
900
 * 
834
901
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
842
909
static struct __pyx_vtabstruct_4h5py_3h5t_TypeBitfieldID *__pyx_vtabptr_4h5py_3h5t_TypeBitfieldID;
843
910
 
844
911
 
845
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":627
 
912
/* "/home/tachyon/h5py/h5py/h5t.pyx":626
846
913
 *         return dtype("|S" + str(self.get_size()))
847
914
 * 
848
915
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
856
923
static struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID *__pyx_vtabptr_4h5py_3h5t_TypeVlenID;
857
924
 
858
925
 
859
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1039
 
926
/* "/home/tachyon/h5py/h5py/h5t.pyx":1038
860
927
 *         return typeobj
861
928
 * 
862
929
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
916
983
#define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);} } while(0)
917
984
#define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r);} } while(0)
918
985
 
919
 
static INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
 
986
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
920
987
 
921
988
static void __Pyx_RaiseDoubleKeywordsError(
922
989
    const char* func_name, PyObject* kw_name); /*proto*/
926
993
 
927
994
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,     const char* function_name); /*proto*/
928
995
 
929
 
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
930
 
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
996
static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
997
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
931
998
 
932
999
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
933
1000
 
934
1001
 
935
 
static INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
 
1002
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
936
1003
    PyObject *r;
937
1004
    if (!j) return NULL;
938
1005
    r = PyObject_GetItem(o, j);
945
1012
                                                    __Pyx_GetItemInt_List_Fast(o, i, size <= sizeof(long)) : \
946
1013
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
947
1014
 
948
 
static INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
1015
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
949
1016
    if (likely(o != Py_None)) {
950
1017
        if (likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
951
1018
            PyObject *r = PyList_GET_ITEM(o, i);
965
1032
                                                    __Pyx_GetItemInt_Tuple_Fast(o, i, size <= sizeof(long)) : \
966
1033
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
967
1034
 
968
 
static INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
1035
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
969
1036
    if (likely(o != Py_None)) {
970
1037
        if (likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
971
1038
            PyObject *r = PyTuple_GET_ITEM(o, i);
986
1053
                                                    __Pyx_GetItemInt_Fast(o, i, size <= sizeof(long)) : \
987
1054
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
988
1055
 
989
 
static INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
1056
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
990
1057
    PyObject *r;
991
1058
    if (PyList_CheckExact(o) && ((0 <= i) & (i < PyList_GET_SIZE(o)))) {
992
1059
        r = PyList_GET_ITEM(o, i);
1005
1072
    return r;
1006
1073
}
1007
1074
 
1008
 
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
 
1075
static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
1009
1076
 
1010
 
static INLINE void __Pyx_RaiseTooManyValuesError(void);
 
1077
static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(void);
1011
1078
 
1012
1079
static PyObject *__Pyx_UnpackItem(PyObject *, Py_ssize_t index); /*proto*/
1013
1080
static int __Pyx_EndUnpack(PyObject *); /*proto*/
1014
1081
 
1015
 
static INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict,
 
1082
static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict,
1016
1083
    const char* function_name, int kw_allowed); /*proto*/
1017
1084
 
1018
 
static INLINE long __Pyx_NegateNonNeg(long b) { return unlikely(b < 0) ? b : !b; }
1019
 
static INLINE PyObject* __Pyx_PyBoolOrNull_FromLong(long b) {
 
1085
static CYTHON_INLINE long __Pyx_NegateNonNeg(long b) { return unlikely(b < 0) ? b : !b; }
 
1086
static CYTHON_INLINE PyObject* __Pyx_PyBoolOrNull_FromLong(long b) {
1020
1087
    return unlikely(b < 0) ? NULL : __Pyx_PyBool_FromLong(b);
1021
1088
}
1022
1089
 
1023
1090
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
1024
1091
    const char *name, int exact); /*proto*/
1025
1092
 
1026
 
static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
1093
static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
1027
1094
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
1028
1095
 
1029
1096
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/
1030
1097
 
1031
1098
static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
1032
1099
 
1033
 
static INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject *);
 
1100
static CYTHON_INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject *);
1034
1101
 
1035
 
static INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t);
 
1102
static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t);
1036
1103
 
1037
1104
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
1038
1105
 
1039
 
static INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t);
1040
 
 
1041
 
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
1042
 
 
1043
 
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
1044
 
 
1045
 
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
1046
 
 
1047
 
static INLINE char __Pyx_PyInt_AsChar(PyObject *);
1048
 
 
1049
 
static INLINE short __Pyx_PyInt_AsShort(PyObject *);
1050
 
 
1051
 
static INLINE int __Pyx_PyInt_AsInt(PyObject *);
1052
 
 
1053
 
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
1054
 
 
1055
 
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
1056
 
 
1057
 
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
1058
 
 
1059
 
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
1060
 
 
1061
 
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
1062
 
 
1063
 
static INLINE long __Pyx_PyInt_AsLong(PyObject *);
1064
 
 
1065
 
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
1066
 
 
1067
 
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
1068
 
 
1069
 
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
 
1106
static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t);
 
1107
 
 
1108
static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
 
1109
 
 
1110
static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
 
1111
 
 
1112
static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
 
1113
 
 
1114
static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject *);
 
1115
 
 
1116
static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject *);
 
1117
 
 
1118
static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject *);
 
1119
 
 
1120
static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
 
1121
 
 
1122
static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
 
1123
 
 
1124
static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
 
1125
 
 
1126
static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
 
1127
 
 
1128
static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
 
1129
 
 
1130
static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject *);
 
1131
 
 
1132
static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
 
1133
 
 
1134
static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
 
1135
 
 
1136
static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
1070
1137
 
1071
1138
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig); /*proto*/
1072
1139
 
1073
 
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, long size);  /*proto*/
 
1140
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, long size, int strict);  /*proto*/
1074
1141
 
1075
1142
static PyObject *__Pyx_ImportModule(const char *name); /*proto*/
1076
1143
 
1084
1151
/* Module declarations from h5py.h5 */
1085
1152
 
1086
1153
static PyTypeObject *__pyx_ptype_4h5py_2h5_H5PYConfig = 0;
 
1154
static PyTypeObject *__pyx_ptype_4h5py_2h5_IDProxy = 0;
1087
1155
static PyTypeObject *__pyx_ptype_4h5py_2h5_ObjectID = 0;
1088
1156
static PyTypeObject *__pyx_ptype_4h5py_2h5_SmartStruct = 0;
1089
1157
static struct __pyx_obj_4h5py_2h5_H5PYConfig *(*__pyx_f_4h5py_2h5_get_config)(int __pyx_skip_dispatch); /*proto*/
1099
1167
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropFCID = 0;
1100
1168
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropFAID = 0;
1101
1169
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropDXID = 0;
 
1170
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropLCID = 0;
 
1171
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropLAID = 0;
 
1172
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropGCID = 0;
1102
1173
static hid_t (*__pyx_f_4h5py_3h5p_pdefault)(struct __pyx_obj_4h5py_3h5p_PropID *); /*proto*/
1103
1174
static PyObject *(*__pyx_f_4h5py_3h5p_propwrap)(hid_t); /*proto*/
1104
1175
/* Module declarations from numpy */
1107
1178
 
1108
1179
static PyTypeObject *__pyx_ptype_4h5py_5numpy_dtype = 0;
1109
1180
static PyTypeObject *__pyx_ptype_4h5py_5numpy_ndarray = 0;
1110
 
/* Module declarations from python_ref */
1111
 
 
1112
 
/* Module declarations from python_string */
1113
 
 
1114
1181
/* Module declarations from h5py.h5r */
1115
1182
 
1116
1183
static PyTypeObject *__pyx_ptype_4h5py_3h5r_Reference = 0;
1185
1252
static PyObject *__pyx_builtin_sorted;
1186
1253
static PyObject *__pyx_builtin_NotImplementedError;
1187
1254
static char __pyx_k_1[] = "Class must be COMPOUND or OPAQUE.";
1188
 
static char __pyx_k_2[] = "Only committed types can be hashed";
 
1255
static char __pyx_k_2[] = "Only locked or committed types can be hashed";
1189
1256
static char __pyx_k_3[] = "No NumPy equivalent for %s exists";
1190
1257
static char __pyx_k_4[] = "|V";
1191
1258
static char __pyx_k_5[] = "|S";
1243
1310
static char __pyx_k__enum[] = "enum";
1244
1311
static char __pyx_k__epos[] = "epos";
1245
1312
static char __pyx_k__kind[] = "kind";
 
1313
static char __pyx_k__lcpl[] = "lcpl";
1246
1314
static char __pyx_k__mpos[] = "mpos";
1247
1315
static char __pyx_k__name[] = "name";
1248
1316
static char __pyx_k__size[] = "size";
1262
1330
static char __pyx_k__group[] = "group";
1263
1331
static char __pyx_k__msize[] = "msize";
1264
1332
static char __pyx_k__names[] = "names";
 
1333
static char __pyx_k__range[] = "range";
1265
1334
static char __pyx_k__value[] = "value";
1266
1335
static char __pyx_k__BKG_NO[] = "BKG_NO";
1267
1336
static char __pyx_k__OPAQUE[] = "OPAQUE";
1268
1337
static char __pyx_k__STRING[] = "STRING";
1269
1338
static char __pyx_k__elsize[] = "elsize";
 
1339
static char __pyx_k__encode[] = "encode";
1270
1340
static char __pyx_k__fields[] = "fields";
1271
1341
static char __pyx_k__little[] = "little";
1272
1342
static char __pyx_k__offset[] = "offset";
1519
1589
static PyObject *__pyx_n_s__dtype_in;
1520
1590
static PyObject *__pyx_n_s__dxpl;
1521
1591
static PyObject *__pyx_n_s__elsize;
 
1592
static PyObject *__pyx_n_s__encode;
1522
1593
static PyObject *__pyx_n_s__enum;
1523
1594
static PyObject *__pyx_n_s__enum_convert;
1524
1595
static PyObject *__pyx_n_s__enum_insert;
1547
1618
static PyObject *__pyx_n_s__itemsize;
1548
1619
static PyObject *__pyx_n_s__iu;
1549
1620
static PyObject *__pyx_n_s__kind;
 
1621
static PyObject *__pyx_n_s__lcpl;
1550
1622
static PyObject *__pyx_n_s__little;
1551
1623
static PyObject *__pyx_n_s__logical;
1552
1624
static PyObject *__pyx_n_s__lsb;
1561
1633
static PyObject *__pyx_n_s__popitem;
1562
1634
static PyObject *__pyx_n_s__py_create;
1563
1635
static PyObject *__pyx_n_s__py_dtype;
 
1636
static PyObject *__pyx_n_s__range;
1564
1637
static PyObject *__pyx_n_s__ref;
1565
1638
static PyObject *__pyx_n_s__size;
1566
1639
static PyObject *__pyx_n_s__sorted;
1583
1656
static PyObject *__pyx_int_2;
1584
1657
static PyObject *__pyx_int_4;
1585
1658
static PyObject *__pyx_int_8;
 
1659
static PyObject *__pyx_int_neg_1;
1586
1660
 
1587
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":45
 
1661
/* "/home/tachyon/h5py/h5py/h5t.pyx":44
1588
1662
 * # === Custom C API ============================================================
1589
1663
 * 
1590
1664
 * cdef TypeID typewrap(hid_t id_):             # <<<<<<<<<<<<<<
1603
1677
  __Pyx_RefNannySetupContext("typewrap");
1604
1678
  __pyx_v_pcls = Py_None; __Pyx_INCREF(Py_None);
1605
1679
 
1606
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":48
 
1680
  /* "/home/tachyon/h5py/h5py/h5t.pyx":47
1607
1681
 * 
1608
1682
 *     cdef H5T_class_t cls
1609
1683
 *     cls = H5Tget_class(id_)             # <<<<<<<<<<<<<<
1610
1684
 * 
1611
1685
 *     if cls == H5T_INTEGER:
1612
1686
 */
1613
 
  __pyx_t_1 = H5Tget_class(__pyx_v_id_); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1687
  __pyx_t_1 = H5Tget_class(__pyx_v_id_); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1614
1688
  __pyx_v_cls = __pyx_t_1;
1615
1689
 
1616
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":50
 
1690
  /* "/home/tachyon/h5py/h5py/h5t.pyx":49
1617
1691
 *     cls = H5Tget_class(id_)
1618
1692
 * 
1619
1693
 *     if cls == H5T_INTEGER:             # <<<<<<<<<<<<<<
1623
1697
  __pyx_t_2 = (__pyx_v_cls == H5T_INTEGER);
1624
1698
  if (__pyx_t_2) {
1625
1699
 
1626
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":51
 
1700
    /* "/home/tachyon/h5py/h5py/h5t.pyx":50
1627
1701
 * 
1628
1702
 *     if cls == H5T_INTEGER:
1629
1703
 *         pcls = TypeIntegerID             # <<<<<<<<<<<<<<
1636
1710
    goto __pyx_L3;
1637
1711
  }
1638
1712
 
1639
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":52
 
1713
  /* "/home/tachyon/h5py/h5py/h5t.pyx":51
1640
1714
 *     if cls == H5T_INTEGER:
1641
1715
 *         pcls = TypeIntegerID
1642
1716
 *     elif cls == H5T_FLOAT:             # <<<<<<<<<<<<<<
1646
1720
  __pyx_t_2 = (__pyx_v_cls == H5T_FLOAT);
1647
1721
  if (__pyx_t_2) {
1648
1722
 
1649
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":53
 
1723
    /* "/home/tachyon/h5py/h5py/h5t.pyx":52
1650
1724
 *         pcls = TypeIntegerID
1651
1725
 *     elif cls == H5T_FLOAT:
1652
1726
 *         pcls = TypeFloatID             # <<<<<<<<<<<<<<
1659
1733
    goto __pyx_L3;
1660
1734
  }
1661
1735
 
1662
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":54
 
1736
  /* "/home/tachyon/h5py/h5py/h5t.pyx":53
1663
1737
 *     elif cls == H5T_FLOAT:
1664
1738
 *         pcls = TypeFloatID
1665
1739
 *     elif cls == H5T_TIME:             # <<<<<<<<<<<<<<
1669
1743
  __pyx_t_2 = (__pyx_v_cls == H5T_TIME);
1670
1744
  if (__pyx_t_2) {
1671
1745
 
1672
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":55
 
1746
    /* "/home/tachyon/h5py/h5py/h5t.pyx":54
1673
1747
 *         pcls = TypeFloatID
1674
1748
 *     elif cls == H5T_TIME:
1675
1749
 *         pcls = TypeTimeID             # <<<<<<<<<<<<<<
1682
1756
    goto __pyx_L3;
1683
1757
  }
1684
1758
 
1685
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":56
 
1759
  /* "/home/tachyon/h5py/h5py/h5t.pyx":55
1686
1760
 *     elif cls == H5T_TIME:
1687
1761
 *         pcls = TypeTimeID
1688
1762
 *     elif cls == H5T_STRING:             # <<<<<<<<<<<<<<
1692
1766
  __pyx_t_2 = (__pyx_v_cls == H5T_STRING);
1693
1767
  if (__pyx_t_2) {
1694
1768
 
1695
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":57
 
1769
    /* "/home/tachyon/h5py/h5py/h5t.pyx":56
1696
1770
 *         pcls = TypeTimeID
1697
1771
 *     elif cls == H5T_STRING:
1698
1772
 *         pcls = TypeStringID             # <<<<<<<<<<<<<<
1705
1779
    goto __pyx_L3;
1706
1780
  }
1707
1781
 
1708
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":58
 
1782
  /* "/home/tachyon/h5py/h5py/h5t.pyx":57
1709
1783
 *     elif cls == H5T_STRING:
1710
1784
 *         pcls = TypeStringID
1711
1785
 *     elif cls == H5T_BITFIELD:             # <<<<<<<<<<<<<<
1715
1789
  __pyx_t_2 = (__pyx_v_cls == H5T_BITFIELD);
1716
1790
  if (__pyx_t_2) {
1717
1791
 
1718
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":59
 
1792
    /* "/home/tachyon/h5py/h5py/h5t.pyx":58
1719
1793
 *         pcls = TypeStringID
1720
1794
 *     elif cls == H5T_BITFIELD:
1721
1795
 *         pcls = TypeBitfieldID             # <<<<<<<<<<<<<<
1728
1802
    goto __pyx_L3;
1729
1803
  }
1730
1804
 
1731
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":60
 
1805
  /* "/home/tachyon/h5py/h5py/h5t.pyx":59
1732
1806
 *     elif cls == H5T_BITFIELD:
1733
1807
 *         pcls = TypeBitfieldID
1734
1808
 *     elif cls == H5T_OPAQUE:             # <<<<<<<<<<<<<<
1738
1812
  __pyx_t_2 = (__pyx_v_cls == H5T_OPAQUE);
1739
1813
  if (__pyx_t_2) {
1740
1814
 
1741
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":61
 
1815
    /* "/home/tachyon/h5py/h5py/h5t.pyx":60
1742
1816
 *         pcls = TypeBitfieldID
1743
1817
 *     elif cls == H5T_OPAQUE:
1744
1818
 *         pcls = TypeOpaqueID             # <<<<<<<<<<<<<<
1751
1825
    goto __pyx_L3;
1752
1826
  }
1753
1827
 
1754
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":62
 
1828
  /* "/home/tachyon/h5py/h5py/h5t.pyx":61
1755
1829
 *     elif cls == H5T_OPAQUE:
1756
1830
 *         pcls = TypeOpaqueID
1757
1831
 *     elif cls == H5T_COMPOUND:             # <<<<<<<<<<<<<<
1761
1835
  __pyx_t_2 = (__pyx_v_cls == H5T_COMPOUND);
1762
1836
  if (__pyx_t_2) {
1763
1837
 
1764
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":63
 
1838
    /* "/home/tachyon/h5py/h5py/h5t.pyx":62
1765
1839
 *         pcls = TypeOpaqueID
1766
1840
 *     elif cls == H5T_COMPOUND:
1767
1841
 *         pcls = TypeCompoundID             # <<<<<<<<<<<<<<
1774
1848
    goto __pyx_L3;
1775
1849
  }
1776
1850
 
1777
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":64
 
1851
  /* "/home/tachyon/h5py/h5py/h5t.pyx":63
1778
1852
 *     elif cls == H5T_COMPOUND:
1779
1853
 *         pcls = TypeCompoundID
1780
1854
 *     elif cls == H5T_REFERENCE:             # <<<<<<<<<<<<<<
1784
1858
  __pyx_t_2 = (__pyx_v_cls == H5T_REFERENCE);
1785
1859
  if (__pyx_t_2) {
1786
1860
 
1787
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":65
 
1861
    /* "/home/tachyon/h5py/h5py/h5t.pyx":64
1788
1862
 *         pcls = TypeCompoundID
1789
1863
 *     elif cls == H5T_REFERENCE:
1790
1864
 *         pcls = TypeReferenceID             # <<<<<<<<<<<<<<
1797
1871
    goto __pyx_L3;
1798
1872
  }
1799
1873
 
1800
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":66
 
1874
  /* "/home/tachyon/h5py/h5py/h5t.pyx":65
1801
1875
 *     elif cls == H5T_REFERENCE:
1802
1876
 *         pcls = TypeReferenceID
1803
1877
 *     elif cls == H5T_ENUM:             # <<<<<<<<<<<<<<
1807
1881
  __pyx_t_2 = (__pyx_v_cls == H5T_ENUM);
1808
1882
  if (__pyx_t_2) {
1809
1883
 
1810
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":67
 
1884
    /* "/home/tachyon/h5py/h5py/h5t.pyx":66
1811
1885
 *         pcls = TypeReferenceID
1812
1886
 *     elif cls == H5T_ENUM:
1813
1887
 *         pcls = TypeEnumID             # <<<<<<<<<<<<<<
1820
1894
    goto __pyx_L3;
1821
1895
  }
1822
1896
 
1823
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":68
 
1897
  /* "/home/tachyon/h5py/h5py/h5t.pyx":67
1824
1898
 *     elif cls == H5T_ENUM:
1825
1899
 *         pcls = TypeEnumID
1826
1900
 *     elif cls == H5T_VLEN:             # <<<<<<<<<<<<<<
1830
1904
  __pyx_t_2 = (__pyx_v_cls == H5T_VLEN);
1831
1905
  if (__pyx_t_2) {
1832
1906
 
1833
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":69
 
1907
    /* "/home/tachyon/h5py/h5py/h5t.pyx":68
1834
1908
 *         pcls = TypeEnumID
1835
1909
 *     elif cls == H5T_VLEN:
1836
1910
 *         pcls = TypeVlenID             # <<<<<<<<<<<<<<
1843
1917
    goto __pyx_L3;
1844
1918
  }
1845
1919
 
1846
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":70
 
1920
  /* "/home/tachyon/h5py/h5py/h5t.pyx":69
1847
1921
 *     elif cls == H5T_VLEN:
1848
1922
 *         pcls = TypeVlenID
1849
1923
 *     elif cls == H5T_ARRAY:             # <<<<<<<<<<<<<<
1853
1927
  __pyx_t_2 = (__pyx_v_cls == H5T_ARRAY);
1854
1928
  if (__pyx_t_2) {
1855
1929
 
1856
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":71
 
1930
    /* "/home/tachyon/h5py/h5py/h5t.pyx":70
1857
1931
 *         pcls = TypeVlenID
1858
1932
 *     elif cls == H5T_ARRAY:
1859
1933
 *         pcls = TypeArrayID             # <<<<<<<<<<<<<<
1867
1941
  }
1868
1942
  /*else*/ {
1869
1943
 
1870
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":73
 
1944
    /* "/home/tachyon/h5py/h5py/h5t.pyx":72
1871
1945
 *         pcls = TypeArrayID
1872
1946
 *     else:
1873
1947
 *         pcls = TypeID             # <<<<<<<<<<<<<<
1880
1954
  }
1881
1955
  __pyx_L3:;
1882
1956
 
1883
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":75
 
1957
  /* "/home/tachyon/h5py/h5py/h5t.pyx":74
1884
1958
 *         pcls = TypeID
1885
1959
 * 
1886
1960
 *     return pcls(id_)             # <<<<<<<<<<<<<<
1888
1962
 * cdef object lockid(hid_t id_in):
1889
1963
 */
1890
1964
  __Pyx_XDECREF(((PyObject *)__pyx_r));
1891
 
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_id_); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1965
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_id_); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1892
1966
  __Pyx_GOTREF(__pyx_t_3);
1893
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1967
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1894
1968
  __Pyx_GOTREF(__pyx_t_4);
1895
1969
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
1896
1970
  __Pyx_GIVEREF(__pyx_t_3);
1897
1971
  __pyx_t_3 = 0;
1898
 
  __pyx_t_3 = PyObject_Call(__pyx_v_pcls, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1972
  __pyx_t_3 = PyObject_Call(__pyx_v_pcls, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1899
1973
  __Pyx_GOTREF(__pyx_t_3);
1900
1974
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
1901
 
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1975
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1902
1976
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
1903
1977
  __pyx_t_3 = 0;
1904
1978
  goto __pyx_L0;
1917
1991
  return __pyx_r;
1918
1992
}
1919
1993
 
1920
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":77
 
1994
/* "/home/tachyon/h5py/h5py/h5t.pyx":76
1921
1995
 *     return pcls(id_)
1922
1996
 * 
1923
1997
 * cdef object lockid(hid_t id_in):             # <<<<<<<<<<<<<<
1932
2006
  __Pyx_RefNannySetupContext("lockid");
1933
2007
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
1934
2008
 
1935
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":79
 
2009
  /* "/home/tachyon/h5py/h5py/h5t.pyx":78
1936
2010
 * cdef object lockid(hid_t id_in):
1937
2011
 *     cdef TypeID tid
1938
2012
 *     tid = typewrap(id_in)             # <<<<<<<<<<<<<<
1939
2013
 *     tid._locked = 1
1940
2014
 *     return tid
1941
2015
 */
1942
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_v_id_in)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2016
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_v_id_in)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1943
2017
  __Pyx_GOTREF(__pyx_t_1);
1944
2018
  __Pyx_DECREF(((PyObject *)__pyx_v_tid));
1945
2019
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_1);
1946
2020
  __pyx_t_1 = 0;
1947
2021
 
1948
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":80
 
2022
  /* "/home/tachyon/h5py/h5py/h5t.pyx":79
1949
2023
 *     cdef TypeID tid
1950
2024
 *     tid = typewrap(id_in)
1951
2025
 *     tid._locked = 1             # <<<<<<<<<<<<<<
1952
2026
 *     return tid
1953
2027
 * 
1954
2028
 */
1955
 
  __pyx_v_tid->__pyx_base._locked = 1;
 
2029
  if (PyObject_SetAttr(((PyObject *)__pyx_v_tid), __pyx_n_s___locked, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1956
2030
 
1957
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":81
 
2031
  /* "/home/tachyon/h5py/h5py/h5t.pyx":80
1958
2032
 *     tid = typewrap(id_in)
1959
2033
 *     tid._locked = 1
1960
2034
 *     return tid             # <<<<<<<<<<<<<<
1979
2053
  return __pyx_r;
1980
2054
}
1981
2055
 
1982
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":212
 
2056
/* "/home/tachyon/h5py/h5py/h5t.pyx":211
1983
2057
 * 
1984
2058
 * 
1985
2059
 * def create(int classtype, size_t size):             # <<<<<<<<<<<<<<
2020
2094
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size);
2021
2095
      if (likely(values[1])) kw_args--;
2022
2096
      else {
2023
 
        __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2097
        __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2024
2098
      }
2025
2099
    }
2026
2100
    if (unlikely(kw_args > 0)) {
2027
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2101
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2028
2102
    }
2029
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2030
 
    __pyx_v_size = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2103
    __pyx_v_classtype = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2104
    __pyx_v_size = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2031
2105
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
2032
2106
    goto __pyx_L5_argtuple_error;
2033
2107
  } else {
2034
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2035
 
    __pyx_v_size = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2108
    __pyx_v_classtype = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2109
    __pyx_v_size = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2036
2110
  }
2037
2111
  goto __pyx_L4_argument_unpacking_done;
2038
2112
  __pyx_L5_argtuple_error:;
2039
 
  __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2113
  __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2040
2114
  __pyx_L3_error:;
2041
2115
  __Pyx_AddTraceback("h5py.h5t.create");
2042
2116
  return NULL;
2043
2117
  __pyx_L4_argument_unpacking_done:;
2044
2118
 
2045
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":220
 
2119
  /* "/home/tachyon/h5py/h5py/h5t.pyx":219
2046
2120
 * 
2047
2121
 *     # HDF5 versions 1.6.X segfault with anything else
2048
2122
 *     if classtype != H5T_COMPOUND and classtype != H5T_OPAQUE:             # <<<<<<<<<<<<<<
2058
2132
  }
2059
2133
  if (__pyx_t_3) {
2060
2134
 
2061
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":221
 
2135
    /* "/home/tachyon/h5py/h5py/h5t.pyx":220
2062
2136
 *     # HDF5 versions 1.6.X segfault with anything else
2063
2137
 *     if classtype != H5T_COMPOUND and classtype != H5T_OPAQUE:
2064
2138
 *         raise ValueError("Class must be COMPOUND or OPAQUE.")             # <<<<<<<<<<<<<<
2065
2139
 * 
2066
2140
 *     return typewrap(H5Tcreate(<H5T_class_t>classtype, size))
2067
2141
 */
2068
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2142
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2069
2143
    __Pyx_GOTREF(__pyx_t_4);
2070
2144
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_1));
2071
2145
    PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_kp_s_1));
2072
2146
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_1));
2073
 
    __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2147
    __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2074
2148
    __Pyx_GOTREF(__pyx_t_5);
2075
2149
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2076
2150
    __Pyx_Raise(__pyx_t_5, 0, 0);
2077
2151
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
2078
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2152
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2079
2153
    goto __pyx_L6;
2080
2154
  }
2081
2155
  __pyx_L6:;
2082
2156
 
2083
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":223
 
2157
  /* "/home/tachyon/h5py/h5py/h5t.pyx":222
2084
2158
 *         raise ValueError("Class must be COMPOUND or OPAQUE.")
2085
2159
 * 
2086
2160
 *     return typewrap(H5Tcreate(<H5T_class_t>classtype, size))             # <<<<<<<<<<<<<<
2088
2162
 * 
2089
2163
 */
2090
2164
  __Pyx_XDECREF(__pyx_r);
2091
 
  __pyx_t_6 = H5Tcreate(((enum H5T_class_t)__pyx_v_classtype), __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2092
 
  __pyx_t_5 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_6)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2165
  __pyx_t_6 = H5Tcreate(((enum H5T_class_t)__pyx_v_classtype), __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2166
  __pyx_t_5 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_6)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2093
2167
  __Pyx_GOTREF(__pyx_t_5);
2094
2168
  __pyx_r = __pyx_t_5;
2095
2169
  __pyx_t_5 = 0;
2108
2182
  return __pyx_r;
2109
2183
}
2110
2184
 
2111
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":226
 
2185
/* "/home/tachyon/h5py/h5py/h5t.pyx":225
2112
2186
 * 
2113
2187
 * 
2114
2188
 * def open(ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
2122
2196
  struct __pyx_obj_4h5py_2h5_ObjectID *__pyx_v_group = 0;
2123
2197
  char *__pyx_v_name;
2124
2198
  PyObject *__pyx_r = NULL;
2125
 
  hid_t __pyx_t_1;
2126
 
  PyObject *__pyx_t_2 = NULL;
 
2199
  PyObject *__pyx_t_1 = NULL;
 
2200
  hid_t __pyx_t_2;
 
2201
  hid_t __pyx_t_3;
2127
2202
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,0};
2128
2203
  __Pyx_RefNannySetupContext("open");
2129
2204
  __pyx_self = __pyx_self;
2145
2220
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
2146
2221
      if (likely(values[1])) kw_args--;
2147
2222
      else {
2148
 
        __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2223
        __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2149
2224
      }
2150
2225
    }
2151
2226
    if (unlikely(kw_args > 0)) {
2152
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "open") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2227
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "open") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2153
2228
    }
2154
2229
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)values[0]);
2155
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2230
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2156
2231
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
2157
2232
    goto __pyx_L5_argtuple_error;
2158
2233
  } else {
2159
2234
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)PyTuple_GET_ITEM(__pyx_args, 0));
2160
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2235
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2161
2236
  }
2162
2237
  goto __pyx_L4_argument_unpacking_done;
2163
2238
  __pyx_L5_argtuple_error:;
2164
 
  __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2239
  __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2165
2240
  __pyx_L3_error:;
2166
2241
  __Pyx_AddTraceback("h5py.h5t.open");
2167
2242
  return NULL;
2168
2243
  __pyx_L4_argument_unpacking_done:;
2169
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2244
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2170
2245
 
2171
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":231
 
2246
  /* "/home/tachyon/h5py/h5py/h5t.pyx":230
2172
2247
 *     Open a named datatype from a file.
2173
2248
 *     """
2174
2249
 *     return typewrap(H5Topen(group.id, name))             # <<<<<<<<<<<<<<
2176
2251
 * 
2177
2252
 */
2178
2253
  __Pyx_XDECREF(__pyx_r);
2179
 
  __pyx_t_1 = H5Topen(__pyx_v_group->id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2180
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2181
 
  __Pyx_GOTREF(__pyx_t_2);
2182
 
  __pyx_r = __pyx_t_2;
2183
 
  __pyx_t_2 = 0;
 
2254
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_group), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2255
  __Pyx_GOTREF(__pyx_t_1);
 
2256
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2257
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
2258
  __pyx_t_3 = H5Topen(__pyx_t_2, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2259
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2260
  __Pyx_GOTREF(__pyx_t_1);
 
2261
  __pyx_r = __pyx_t_1;
 
2262
  __pyx_t_1 = 0;
2184
2263
  goto __pyx_L0;
2185
2264
 
2186
2265
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2187
2266
  goto __pyx_L0;
2188
2267
  __pyx_L1_error:;
2189
 
  __Pyx_XDECREF(__pyx_t_2);
 
2268
  __Pyx_XDECREF(__pyx_t_1);
2190
2269
  __Pyx_AddTraceback("h5py.h5t.open");
2191
2270
  __pyx_r = NULL;
2192
2271
  __pyx_L0:;
2195
2274
  return __pyx_r;
2196
2275
}
2197
2276
 
2198
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":234
 
2277
/* "/home/tachyon/h5py/h5py/h5t.pyx":233
2199
2278
 * 
2200
2279
 * 
2201
2280
 * def array_create(TypeID base not None, object dims_tpl):             # <<<<<<<<<<<<<<
2214
2293
  int __pyx_t_1;
2215
2294
  Py_ssize_t __pyx_t_2;
2216
2295
  void *__pyx_t_3;
2217
 
  hid_t __pyx_t_4;
2218
 
  PyObject *__pyx_t_5 = NULL;
2219
 
  PyObject *__pyx_t_6 = NULL;
 
2296
  PyObject *__pyx_t_4 = NULL;
 
2297
  hid_t __pyx_t_5;
 
2298
  hid_t __pyx_t_6;
 
2299
  PyObject *__pyx_t_7 = NULL;
2220
2300
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__base,&__pyx_n_s__dims_tpl,0};
2221
2301
  __Pyx_RefNannySetupContext("array_create");
2222
2302
  __pyx_self = __pyx_self;
2238
2318
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dims_tpl);
2239
2319
      if (likely(values[1])) kw_args--;
2240
2320
      else {
2241
 
        __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2321
        __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2242
2322
      }
2243
2323
    }
2244
2324
    if (unlikely(kw_args > 0)) {
2245
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "array_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2325
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "array_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2246
2326
    }
2247
2327
    __pyx_v_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
2248
2328
    __pyx_v_dims_tpl = values[1];
2254
2334
  }
2255
2335
  goto __pyx_L4_argument_unpacking_done;
2256
2336
  __pyx_L5_argtuple_error:;
2257
 
  __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2337
  __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2258
2338
  __pyx_L3_error:;
2259
2339
  __Pyx_AddTraceback("h5py.h5t.array_create");
2260
2340
  return NULL;
2261
2341
  __pyx_L4_argument_unpacking_done:;
2262
2342
  __Pyx_INCREF((PyObject *)__pyx_v_base);
2263
2343
  __Pyx_INCREF(__pyx_v_dims_tpl);
2264
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2344
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2265
2345
 
2266
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":242
 
2346
  /* "/home/tachyon/h5py/h5py/h5t.pyx":241
2267
2347
 *     """
2268
2348
 *     cdef hsize_t rank
2269
2349
 *     cdef hsize_t *dims = NULL             # <<<<<<<<<<<<<<
2272
2352
 */
2273
2353
  __pyx_v_dims = NULL;
2274
2354
 
2275
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":244
 
2355
  /* "/home/tachyon/h5py/h5py/h5t.pyx":243
2276
2356
 *     cdef hsize_t *dims = NULL
2277
2357
 * 
2278
2358
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")             # <<<<<<<<<<<<<<
2279
2359
 *     rank = len(dims_tpl)
2280
2360
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2281
2361
 */
2282
 
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_dims_tpl, 0, -1, __pyx_k__dims_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2362
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_dims_tpl, 0, -1, __pyx_k__dims_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2283
2363
 
2284
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":245
 
2364
  /* "/home/tachyon/h5py/h5py/h5t.pyx":244
2285
2365
 * 
2286
2366
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")
2287
2367
 *     rank = len(dims_tpl)             # <<<<<<<<<<<<<<
2288
2368
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2289
2369
 * 
2290
2370
 */
2291
 
  __pyx_t_2 = PyObject_Length(__pyx_v_dims_tpl); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2371
  __pyx_t_2 = PyObject_Length(__pyx_v_dims_tpl); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2292
2372
  __pyx_v_rank = __pyx_t_2;
2293
2373
 
2294
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":246
 
2374
  /* "/home/tachyon/h5py/h5py/h5t.pyx":245
2295
2375
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")
2296
2376
 *     rank = len(dims_tpl)
2297
2377
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
2298
2378
 * 
2299
2379
 *     try:
2300
2380
 */
2301
 
  __pyx_t_3 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_3 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2381
  __pyx_t_3 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_3 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2302
2382
  __pyx_v_dims = ((hsize_t *)__pyx_t_3);
2303
2383
 
2304
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":248
 
2384
  /* "/home/tachyon/h5py/h5py/h5t.pyx":247
2305
2385
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2306
2386
 * 
2307
2387
 *     try:             # <<<<<<<<<<<<<<
2310
2390
 */
2311
2391
  /*try:*/ {
2312
2392
 
2313
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":249
 
2393
    /* "/home/tachyon/h5py/h5py/h5t.pyx":248
2314
2394
 * 
2315
2395
 *     try:
2316
2396
 *         convert_tuple(dims_tpl, dims, rank)             # <<<<<<<<<<<<<<
2317
2397
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))
2318
2398
 *     finally:
2319
2399
 */
2320
 
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_tuple(__pyx_v_dims_tpl, __pyx_v_dims, __pyx_v_rank); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2400
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_tuple(__pyx_v_dims_tpl, __pyx_v_dims, __pyx_v_rank); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L7;}
2321
2401
 
2322
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":250
 
2402
    /* "/home/tachyon/h5py/h5py/h5t.pyx":249
2323
2403
 *     try:
2324
2404
 *         convert_tuple(dims_tpl, dims, rank)
2325
2405
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))             # <<<<<<<<<<<<<<
2327
2407
 *         efree(dims)
2328
2408
 */
2329
2409
    __Pyx_XDECREF(__pyx_r);
2330
 
    __pyx_t_4 = H5Tarray_create(__pyx_v_base->__pyx_base.id, __pyx_v_rank, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2331
 
    __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2332
 
    __Pyx_GOTREF(__pyx_t_5);
2333
 
    __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2334
 
    __Pyx_GOTREF(__pyx_t_6);
2335
 
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5);
2336
 
    __Pyx_GIVEREF(__pyx_t_5);
2337
 
    __pyx_t_5 = 0;
2338
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeArrayID)), __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2339
 
    __Pyx_GOTREF(__pyx_t_5);
2340
 
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2341
 
    __pyx_r = __pyx_t_5;
2342
 
    __pyx_t_5 = 0;
 
2410
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_base), __pyx_n_s__id); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2411
    __Pyx_GOTREF(__pyx_t_4);
 
2412
    __pyx_t_5 = __Pyx_PyInt_from_py_hid_t(__pyx_t_4); if (unlikely((__pyx_t_5 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2413
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
2414
    __pyx_t_6 = H5Tarray_create(__pyx_t_5, __pyx_v_rank, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2415
    __pyx_t_4 = __Pyx_PyInt_to_py_hid_t(__pyx_t_6); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2416
    __Pyx_GOTREF(__pyx_t_4);
 
2417
    __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2418
    __Pyx_GOTREF(__pyx_t_7);
 
2419
    PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_4);
 
2420
    __Pyx_GIVEREF(__pyx_t_4);
 
2421
    __pyx_t_4 = 0;
 
2422
    __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeArrayID)), __pyx_t_7, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2423
    __Pyx_GOTREF(__pyx_t_4);
 
2424
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
2425
    __pyx_r = __pyx_t_4;
 
2426
    __pyx_t_4 = 0;
2343
2427
    goto __pyx_L6;
2344
2428
  }
2345
2429
  /*finally:*/ {
2352
2436
    __pyx_why = 3; goto __pyx_L8;
2353
2437
    __pyx_L7: {
2354
2438
      __pyx_why = 4;
2355
 
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
2356
 
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
 
2439
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
 
2440
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
2357
2441
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
2358
2442
      __pyx_exc_lineno = __pyx_lineno;
2359
2443
      goto __pyx_L8;
2360
2444
    }
2361
2445
    __pyx_L8:;
2362
2446
 
2363
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":252
 
2447
    /* "/home/tachyon/h5py/h5py/h5t.pyx":251
2364
2448
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))
2365
2449
 *     finally:
2366
2450
 *         efree(dims)             # <<<<<<<<<<<<<<
2384
2468
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2385
2469
  goto __pyx_L0;
2386
2470
  __pyx_L1_error:;
2387
 
  __Pyx_XDECREF(__pyx_t_5);
2388
 
  __Pyx_XDECREF(__pyx_t_6);
 
2471
  __Pyx_XDECREF(__pyx_t_4);
 
2472
  __Pyx_XDECREF(__pyx_t_7);
2389
2473
  __Pyx_AddTraceback("h5py.h5t.array_create");
2390
2474
  __pyx_r = NULL;
2391
2475
  __pyx_L0:;
2396
2480
  return __pyx_r;
2397
2481
}
2398
2482
 
2399
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":255
 
2483
/* "/home/tachyon/h5py/h5py/h5t.pyx":254
2400
2484
 * 
2401
2485
 * 
2402
2486
 * def enum_create(TypeID base not None):             # <<<<<<<<<<<<<<
2408
2492
static char __pyx_doc_4h5py_3h5t_enum_create[] = "(TypeID base) => TypeID\n\n    Create a new enumerated type based on an (integer) parent type.\n    ";
2409
2493
static PyObject *__pyx_pf_4h5py_3h5t_enum_create(PyObject *__pyx_self, PyObject *__pyx_v_base) {
2410
2494
  PyObject *__pyx_r = NULL;
2411
 
  hid_t __pyx_t_1;
2412
 
  PyObject *__pyx_t_2 = NULL;
 
2495
  PyObject *__pyx_t_1 = NULL;
 
2496
  hid_t __pyx_t_2;
 
2497
  hid_t __pyx_t_3;
2413
2498
  __Pyx_RefNannySetupContext("enum_create");
2414
2499
  __pyx_self = __pyx_self;
2415
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2500
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2416
2501
 
2417
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":260
 
2502
  /* "/home/tachyon/h5py/h5py/h5t.pyx":259
2418
2503
 *     Create a new enumerated type based on an (integer) parent type.
2419
2504
 *     """
2420
2505
 *     return typewrap(H5Tenum_create(base.id))             # <<<<<<<<<<<<<<
2422
2507
 * 
2423
2508
 */
2424
2509
  __Pyx_XDECREF(__pyx_r);
2425
 
  __pyx_t_1 = H5Tenum_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2426
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2427
 
  __Pyx_GOTREF(__pyx_t_2);
2428
 
  __pyx_r = __pyx_t_2;
2429
 
  __pyx_t_2 = 0;
 
2510
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_base, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2511
  __Pyx_GOTREF(__pyx_t_1);
 
2512
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2513
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
2514
  __pyx_t_3 = H5Tenum_create(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2515
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2516
  __Pyx_GOTREF(__pyx_t_1);
 
2517
  __pyx_r = __pyx_t_1;
 
2518
  __pyx_t_1 = 0;
2430
2519
  goto __pyx_L0;
2431
2520
 
2432
2521
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2433
2522
  goto __pyx_L0;
2434
2523
  __pyx_L1_error:;
2435
 
  __Pyx_XDECREF(__pyx_t_2);
 
2524
  __Pyx_XDECREF(__pyx_t_1);
2436
2525
  __Pyx_AddTraceback("h5py.h5t.enum_create");
2437
2526
  __pyx_r = NULL;
2438
2527
  __pyx_L0:;
2441
2530
  return __pyx_r;
2442
2531
}
2443
2532
 
2444
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":263
 
2533
/* "/home/tachyon/h5py/h5py/h5t.pyx":262
2445
2534
 * 
2446
2535
 * 
2447
2536
 * def vlen_create(TypeID base not None):             # <<<<<<<<<<<<<<
2453
2542
static char __pyx_doc_4h5py_3h5t_vlen_create[] = "(TypeID base) => TypeID\n\n    Create a new variable-length datatype, using any HDF5 type as a base.\n\n    Although the Python interface can manipulate these types, there is no\n    provision for reading/writing vlen data.\n    ";
2454
2543
static PyObject *__pyx_pf_4h5py_3h5t_vlen_create(PyObject *__pyx_self, PyObject *__pyx_v_base) {
2455
2544
  PyObject *__pyx_r = NULL;
2456
 
  hid_t __pyx_t_1;
2457
 
  PyObject *__pyx_t_2 = NULL;
 
2545
  PyObject *__pyx_t_1 = NULL;
 
2546
  hid_t __pyx_t_2;
 
2547
  hid_t __pyx_t_3;
2458
2548
  __Pyx_RefNannySetupContext("vlen_create");
2459
2549
  __pyx_self = __pyx_self;
2460
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2550
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2461
2551
 
2462
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":271
 
2552
  /* "/home/tachyon/h5py/h5py/h5t.pyx":270
2463
2553
 *     provision for reading/writing vlen data.
2464
2554
 *     """
2465
2555
 *     return typewrap(H5Tvlen_create(base.id))             # <<<<<<<<<<<<<<
2467
2557
 * IF H5PY_18API:
2468
2558
 */
2469
2559
  __Pyx_XDECREF(__pyx_r);
2470
 
  __pyx_t_1 = H5Tvlen_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2471
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2472
 
  __Pyx_GOTREF(__pyx_t_2);
2473
 
  __pyx_r = __pyx_t_2;
2474
 
  __pyx_t_2 = 0;
 
2560
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_base, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2561
  __Pyx_GOTREF(__pyx_t_1);
 
2562
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2563
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
2564
  __pyx_t_3 = H5Tvlen_create(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2565
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2566
  __Pyx_GOTREF(__pyx_t_1);
 
2567
  __pyx_r = __pyx_t_1;
 
2568
  __pyx_t_1 = 0;
2475
2569
  goto __pyx_L0;
2476
2570
 
2477
2571
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2478
2572
  goto __pyx_L0;
2479
2573
  __pyx_L1_error:;
2480
 
  __Pyx_XDECREF(__pyx_t_2);
 
2574
  __Pyx_XDECREF(__pyx_t_1);
2481
2575
  __Pyx_AddTraceback("h5py.h5t.vlen_create");
2482
2576
  __pyx_r = NULL;
2483
2577
  __pyx_L0:;
2486
2580
  return __pyx_r;
2487
2581
}
2488
2582
 
2489
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":294
 
2583
/* "/home/tachyon/h5py/h5py/h5t.pyx":274
 
2584
 * IF H5PY_18API:
 
2585
 * 
 
2586
 *     def decode(char* buf):             # <<<<<<<<<<<<<<
 
2587
 *         """(STRING buf) => TypeID
 
2588
 * 
 
2589
 */
 
2590
 
 
2591
static PyObject *__pyx_pf_4h5py_3h5t_decode(PyObject *__pyx_self, PyObject *__pyx_arg_buf); /*proto*/
 
2592
static char __pyx_doc_4h5py_3h5t_decode[] = "(STRING buf) => TypeID\n\n        Unserialize an HDF5 type.  You can also do this with the native\n        Python pickling machinery.\n        ";
 
2593
static PyObject *__pyx_pf_4h5py_3h5t_decode(PyObject *__pyx_self, PyObject *__pyx_arg_buf) {
 
2594
  char *__pyx_v_buf;
 
2595
  PyObject *__pyx_r = NULL;
 
2596
  hid_t __pyx_t_1;
 
2597
  PyObject *__pyx_t_2 = NULL;
 
2598
  __Pyx_RefNannySetupContext("decode");
 
2599
  __pyx_self = __pyx_self;
 
2600
  assert(__pyx_arg_buf); {
 
2601
    __pyx_v_buf = __Pyx_PyBytes_AsString(__pyx_arg_buf); if (unlikely((!__pyx_v_buf) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2602
  }
 
2603
  goto __pyx_L4_argument_unpacking_done;
 
2604
  __pyx_L3_error:;
 
2605
  __Pyx_AddTraceback("h5py.h5t.decode");
 
2606
  return NULL;
 
2607
  __pyx_L4_argument_unpacking_done:;
 
2608
 
 
2609
  /* "/home/tachyon/h5py/h5py/h5t.pyx":280
 
2610
 *         Python pickling machinery.
 
2611
 *         """
 
2612
 *         return typewrap(H5Tdecode(<unsigned char*>buf))             # <<<<<<<<<<<<<<
 
2613
 * 
 
2614
 * # === Base type class =========================================================
 
2615
 */
 
2616
  __Pyx_XDECREF(__pyx_r);
 
2617
  __pyx_t_1 = H5Tdecode(((unsigned char *)__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2618
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2619
  __Pyx_GOTREF(__pyx_t_2);
 
2620
  __pyx_r = __pyx_t_2;
 
2621
  __pyx_t_2 = 0;
 
2622
  goto __pyx_L0;
 
2623
 
 
2624
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2625
  goto __pyx_L0;
 
2626
  __pyx_L1_error:;
 
2627
  __Pyx_XDECREF(__pyx_t_2);
 
2628
  __Pyx_AddTraceback("h5py.h5t.decode");
 
2629
  __pyx_r = NULL;
 
2630
  __pyx_L0:;
 
2631
  __Pyx_XGIVEREF(__pyx_r);
 
2632
  __Pyx_RefNannyFinishContext();
 
2633
  return __pyx_r;
 
2634
}
 
2635
 
 
2636
/* "/home/tachyon/h5py/h5py/h5t.pyx":293
2490
2637
 *     """
2491
2638
 * 
2492
2639
 *     def __hash__(self):             # <<<<<<<<<<<<<<
2508
2655
  __Pyx_RefNannySetupContext("__hash__");
2509
2656
  __Pyx_INCREF((PyObject *)__pyx_v_self);
2510
2657
 
2511
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":295
 
2658
  /* "/home/tachyon/h5py/h5py/h5t.pyx":294
2512
2659
 * 
2513
2660
 *     def __hash__(self):
2514
2661
 *         if self._hash is None:             # <<<<<<<<<<<<<<
2518
2665
  __pyx_t_1 = (((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash == Py_None);
2519
2666
  if (__pyx_t_1) {
2520
2667
 
2521
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":296
 
2668
    /* "/home/tachyon/h5py/h5py/h5t.pyx":295
2522
2669
 *     def __hash__(self):
2523
2670
 *         if self._hash is None:
2524
2671
 *             try:             # <<<<<<<<<<<<<<
2533
2680
      __Pyx_XGOTREF(__pyx_save_exc_tb);
2534
2681
      /*try:*/ {
2535
2682
 
2536
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":298
 
2683
        /* "/home/tachyon/h5py/h5py/h5t.pyx":297
2537
2684
 *             try:
2538
2685
 *                 # Try to use object header first
2539
2686
 *                 return ObjectID.__hash__(self)             # <<<<<<<<<<<<<<
2540
2687
 *             except TypeError:
2541
2688
 *                 # It's a transient type object
2542
2689
 */
2543
 
        __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____hash__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2690
        __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____hash__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2544
2691
        __Pyx_GOTREF(__pyx_t_2);
2545
 
        __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2692
        __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2546
2693
        __Pyx_GOTREF(__pyx_t_3);
2547
2694
        __Pyx_INCREF(__pyx_v_self);
2548
2695
        PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_self);
2549
2696
        __Pyx_GIVEREF(__pyx_v_self);
2550
 
        __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2697
        __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2551
2698
        __Pyx_GOTREF(__pyx_t_4);
2552
2699
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2553
2700
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2554
 
        __pyx_t_5 = __Pyx_PyInt_AsLong(__pyx_t_4); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2701
        __pyx_t_5 = __Pyx_PyInt_AsLong(__pyx_t_4); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2555
2702
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2556
2703
        __pyx_r = __pyx_t_5;
2557
2704
        goto __pyx_L10_try_return;
2571
2718
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
2572
2719
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
2573
2720
 
2574
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":299
 
2721
      /* "/home/tachyon/h5py/h5py/h5t.pyx":298
2575
2722
 *                 # Try to use object header first
2576
2723
 *                 return ObjectID.__hash__(self)
2577
2724
 *             except TypeError:             # <<<<<<<<<<<<<<
2581
2728
      __pyx_t_6 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
2582
2729
      if (__pyx_t_6) {
2583
2730
        __Pyx_AddTraceback("h5py.h5t.TypeID.__hash__");
2584
 
        if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2731
        if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2585
2732
        __Pyx_GOTREF(__pyx_t_4);
2586
2733
        __Pyx_GOTREF(__pyx_t_3);
2587
2734
        __Pyx_GOTREF(__pyx_t_2);
2588
2735
 
2589
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":307
 
2736
        /* "/home/tachyon/h5py/h5py/h5t.pyx":301
 
2737
 *                 # It's a transient type object
 
2738
 *                 IF H5PY_18API:
 
2739
 *                     if self._locked:             # <<<<<<<<<<<<<<
 
2740
 *                         self._hash = hash(self.encode())
 
2741
 *                     else:
 
2742
 */
 
2743
        __pyx_t_7 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s___locked); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2744
        __Pyx_GOTREF(__pyx_t_7);
 
2745
        __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2746
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
2747
        if (__pyx_t_1) {
 
2748
 
 
2749
          /* "/home/tachyon/h5py/h5py/h5t.pyx":302
 
2750
 *                 IF H5PY_18API:
 
2751
 *                     if self._locked:
 
2752
 *                         self._hash = hash(self.encode())             # <<<<<<<<<<<<<<
 
2753
 *                     else:
2590
2754
 *                         raise TypeError("Only locked or committed types can be hashed")
 
2755
 */
 
2756
          __pyx_t_7 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__encode); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2757
          __Pyx_GOTREF(__pyx_t_7);
 
2758
          __pyx_t_8 = PyObject_Call(__pyx_t_7, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2759
          __Pyx_GOTREF(__pyx_t_8);
 
2760
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
2761
          __pyx_t_5 = PyObject_Hash(__pyx_t_8); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2762
          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
2763
          __pyx_t_8 = PyInt_FromLong(__pyx_t_5); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2764
          __Pyx_GOTREF(__pyx_t_8);
 
2765
          __Pyx_GIVEREF(__pyx_t_8);
 
2766
          __Pyx_GOTREF(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash);
 
2767
          __Pyx_DECREF(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash);
 
2768
          ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash = __pyx_t_8;
 
2769
          __pyx_t_8 = 0;
 
2770
          goto __pyx_L16;
 
2771
        }
 
2772
        /*else*/ {
 
2773
 
 
2774
          /* "/home/tachyon/h5py/h5py/h5t.pyx":304
 
2775
 *                         self._hash = hash(self.encode())
 
2776
 *                     else:
 
2777
 *                         raise TypeError("Only locked or committed types can be hashed")             # <<<<<<<<<<<<<<
2591
2778
 *                 ELSE:
2592
 
 *                     raise TypeError("Only committed types can be hashed")             # <<<<<<<<<<<<<<
2593
 
 * 
2594
 
 *         return self._hash
 
2779
 *                     raise TypeError("Only committed types can be hashed")
2595
2780
 */
2596
 
        __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2597
 
        __Pyx_GOTREF(__pyx_t_7);
2598
 
        __Pyx_INCREF(((PyObject *)__pyx_kp_s_2));
2599
 
        PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_kp_s_2));
2600
 
        __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_2));
2601
 
        __pyx_t_8 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_7, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2602
 
        __Pyx_GOTREF(__pyx_t_8);
2603
 
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2604
 
        __Pyx_Raise(__pyx_t_8, 0, 0);
2605
 
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
2606
 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2781
          __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2782
          __Pyx_GOTREF(__pyx_t_8);
 
2783
          __Pyx_INCREF(((PyObject *)__pyx_kp_s_2));
 
2784
          PyTuple_SET_ITEM(__pyx_t_8, 0, ((PyObject *)__pyx_kp_s_2));
 
2785
          __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_2));
 
2786
          __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2787
          __Pyx_GOTREF(__pyx_t_7);
 
2788
          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
2789
          __Pyx_Raise(__pyx_t_7, 0, 0);
 
2790
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
2791
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2792
        }
 
2793
        __pyx_L16:;
2607
2794
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2608
2795
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2609
2796
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2626
2813
  }
2627
2814
  __pyx_L5:;
2628
2815
 
2629
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":309
 
2816
  /* "/home/tachyon/h5py/h5py/h5t.pyx":308
2630
2817
 *                     raise TypeError("Only committed types can be hashed")
2631
2818
 * 
2632
2819
 *         return self._hash             # <<<<<<<<<<<<<<
2633
2820
 * 
2634
2821
 *     def __richcmp__(self, object other, int how):
2635
2822
 */
2636
 
  __pyx_t_5 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2823
  __pyx_t_5 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2637
2824
  __pyx_r = __pyx_t_5;
2638
2825
  goto __pyx_L0;
2639
2826
 
2654
2841
  return __pyx_r;
2655
2842
}
2656
2843
 
2657
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":311
 
2844
/* "/home/tachyon/h5py/h5py/h5t.pyx":310
2658
2845
 *         return self._hash
2659
2846
 * 
2660
2847
 *     def __richcmp__(self, object other, int how):             # <<<<<<<<<<<<<<
2676
2863
  __Pyx_INCREF(__pyx_v_self);
2677
2864
  __Pyx_INCREF(__pyx_v_other);
2678
2865
 
2679
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":312
 
2866
  /* "/home/tachyon/h5py/h5py/h5t.pyx":311
2680
2867
 * 
2681
2868
 *     def __richcmp__(self, object other, int how):
2682
2869
 *         cdef bint truthval = 0             # <<<<<<<<<<<<<<
2685
2872
 */
2686
2873
  __pyx_v_truthval = 0;
2687
2874
 
2688
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":313
 
2875
  /* "/home/tachyon/h5py/h5py/h5t.pyx":312
2689
2876
 *     def __richcmp__(self, object other, int how):
2690
2877
 *         cdef bint truthval = 0
2691
2878
 *         if how != 2 and how != 3:             # <<<<<<<<<<<<<<
2701
2888
  }
2702
2889
  if (__pyx_t_3) {
2703
2890
 
2704
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":314
 
2891
    /* "/home/tachyon/h5py/h5py/h5t.pyx":313
2705
2892
 *         cdef bint truthval = 0
2706
2893
 *         if how != 2 and how != 3:
2707
2894
 *             return NotImplemented             # <<<<<<<<<<<<<<
2716
2903
  }
2717
2904
  __pyx_L5:;
2718
2905
 
2719
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":315
 
2906
  /* "/home/tachyon/h5py/h5py/h5t.pyx":314
2720
2907
 *         if how != 2 and how != 3:
2721
2908
 *             return NotImplemented
2722
2909
 *         if isinstance(other, TypeID):             # <<<<<<<<<<<<<<
2726
2913
  __pyx_t_3 = PyObject_TypeCheck(__pyx_v_other, ((PyTypeObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeID))); 
2727
2914
  if (__pyx_t_3) {
2728
2915
 
2729
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":316
 
2916
    /* "/home/tachyon/h5py/h5py/h5t.pyx":315
2730
2917
 *             return NotImplemented
2731
2918
 *         if isinstance(other, TypeID):
2732
2919
 *             truthval = self.equal(other)             # <<<<<<<<<<<<<<
2733
2920
 * 
2734
2921
 *         if how == 2:
2735
2922
 */
2736
 
    __pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__equal); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2923
    __pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__equal); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2737
2924
    __Pyx_GOTREF(__pyx_t_4);
2738
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2925
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2739
2926
    __Pyx_GOTREF(__pyx_t_5);
2740
2927
    __Pyx_INCREF(__pyx_v_other);
2741
2928
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_other);
2742
2929
    __Pyx_GIVEREF(__pyx_v_other);
2743
 
    __pyx_t_6 = PyObject_Call(__pyx_t_4, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2930
    __pyx_t_6 = PyObject_Call(__pyx_t_4, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2744
2931
    __Pyx_GOTREF(__pyx_t_6);
2745
2932
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2746
2933
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
2747
 
    __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2934
    __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2748
2935
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2749
2936
    __pyx_v_truthval = __pyx_t_3;
2750
2937
    goto __pyx_L6;
2751
2938
  }
2752
2939
  __pyx_L6:;
2753
2940
 
2754
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":318
 
2941
  /* "/home/tachyon/h5py/h5py/h5t.pyx":317
2755
2942
 *             truthval = self.equal(other)
2756
2943
 * 
2757
2944
 *         if how == 2:             # <<<<<<<<<<<<<<
2761
2948
  __pyx_t_3 = (__pyx_v_how == 2);
2762
2949
  if (__pyx_t_3) {
2763
2950
 
2764
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":319
 
2951
    /* "/home/tachyon/h5py/h5py/h5t.pyx":318
2765
2952
 * 
2766
2953
 *         if how == 2:
2767
2954
 *             return truthval             # <<<<<<<<<<<<<<
2769
2956
 * 
2770
2957
 */
2771
2958
    __Pyx_XDECREF(__pyx_r);
2772
 
    __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_truthval); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2959
    __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_truthval); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2773
2960
    __Pyx_GOTREF(__pyx_t_6);
2774
2961
    __pyx_r = __pyx_t_6;
2775
2962
    __pyx_t_6 = 0;
2778
2965
  }
2779
2966
  __pyx_L7:;
2780
2967
 
2781
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":320
 
2968
  /* "/home/tachyon/h5py/h5py/h5t.pyx":319
2782
2969
 *         if how == 2:
2783
2970
 *             return truthval
2784
2971
 *         return not truthval             # <<<<<<<<<<<<<<
2786
2973
 *     def __copy__(self):
2787
2974
 */
2788
2975
  __Pyx_XDECREF(__pyx_r);
2789
 
  __pyx_t_6 = __Pyx_PyBool_FromLong((!__pyx_v_truthval)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2976
  __pyx_t_6 = __Pyx_PyBool_FromLong((!__pyx_v_truthval)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2790
2977
  __Pyx_GOTREF(__pyx_t_6);
2791
2978
  __pyx_r = __pyx_t_6;
2792
2979
  __pyx_t_6 = 0;
2808
2995
  return __pyx_r;
2809
2996
}
2810
2997
 
2811
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":322
 
2998
/* "/home/tachyon/h5py/h5py/h5t.pyx":321
2812
2999
 *         return not truthval
2813
3000
 * 
2814
3001
 *     def __copy__(self):             # <<<<<<<<<<<<<<
2826
3013
  __Pyx_RefNannySetupContext("__copy__");
2827
3014
  __pyx_v_cpy = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
2828
3015
 
2829
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":324
 
3016
  /* "/home/tachyon/h5py/h5py/h5t.pyx":323
2830
3017
 *     def __copy__(self):
2831
3018
 *         cdef TypeID cpy
2832
3019
 *         cpy = ObjectID.__copy__(self)             # <<<<<<<<<<<<<<
2833
3020
 *         return cpy
2834
3021
 * 
2835
3022
 */
2836
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____copy__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3023
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____copy__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2837
3024
  __Pyx_GOTREF(__pyx_t_1);
2838
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3025
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2839
3026
  __Pyx_GOTREF(__pyx_t_2);
2840
3027
  __Pyx_INCREF(__pyx_v_self);
2841
3028
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self);
2842
3029
  __Pyx_GIVEREF(__pyx_v_self);
2843
 
  __pyx_t_3 = PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3030
  __pyx_t_3 = PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2844
3031
  __Pyx_GOTREF(__pyx_t_3);
2845
3032
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2846
3033
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2847
 
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3034
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2848
3035
  __Pyx_DECREF(((PyObject *)__pyx_v_cpy));
2849
3036
  __pyx_v_cpy = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
2850
3037
  __pyx_t_3 = 0;
2851
3038
 
2852
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":325
 
3039
  /* "/home/tachyon/h5py/h5py/h5t.pyx":324
2853
3040
 *         cdef TypeID cpy
2854
3041
 *         cpy = ObjectID.__copy__(self)
2855
3042
 *         return cpy             # <<<<<<<<<<<<<<
2876
3063
  return __pyx_r;
2877
3064
}
2878
3065
 
2879
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":330
 
3066
/* "/home/tachyon/h5py/h5py/h5t.pyx":329
2880
3067
 *         """ A Numpy-style dtype object representing this object.
2881
3068
 *         """
2882
3069
 *         def __get__(self):             # <<<<<<<<<<<<<<
2890
3077
  PyObject *__pyx_t_1 = NULL;
2891
3078
  __Pyx_RefNannySetupContext("__get__");
2892
3079
 
2893
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":331
 
3080
  /* "/home/tachyon/h5py/h5py/h5t.pyx":330
2894
3081
 *         """
2895
3082
 *         def __get__(self):
2896
3083
 *             return self.py_dtype()             # <<<<<<<<<<<<<<
2898
3085
 *     cdef object py_dtype(self):
2899
3086
 */
2900
3087
  __Pyx_XDECREF(__pyx_r);
2901
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_vtab)->py_dtype(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3088
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_vtab)->py_dtype(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2902
3089
  __Pyx_GOTREF(__pyx_t_1);
2903
3090
  __pyx_r = __pyx_t_1;
2904
3091
  __pyx_t_1 = 0;
2916
3103
  return __pyx_r;
2917
3104
}
2918
3105
 
2919
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":333
 
3106
/* "/home/tachyon/h5py/h5py/h5t.pyx":332
2920
3107
 *             return self.py_dtype()
2921
3108
 * 
2922
3109
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
2930
3117
  PyObject *__pyx_t_2 = NULL;
2931
3118
  __Pyx_RefNannySetupContext("py_dtype");
2932
3119
 
2933
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":334
 
3120
  /* "/home/tachyon/h5py/h5py/h5t.pyx":333
2934
3121
 * 
2935
3122
 *     cdef object py_dtype(self):
2936
3123
 *         raise TypeError("No NumPy equivalent for %s exists" % self.__class__.__name__)             # <<<<<<<<<<<<<<
2937
3124
 * 
2938
3125
 *     IF H5PY_18API:
2939
3126
 */
2940
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3127
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2941
3128
  __Pyx_GOTREF(__pyx_t_1);
2942
 
  __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3129
  __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2943
3130
  __Pyx_GOTREF(__pyx_t_2);
2944
3131
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2945
 
  __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_3), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3132
  __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_3), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2946
3133
  __Pyx_GOTREF(__pyx_t_1);
2947
3134
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2948
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3135
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2949
3136
  __Pyx_GOTREF(__pyx_t_2);
2950
3137
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
2951
3138
  __Pyx_GIVEREF(__pyx_t_1);
2952
3139
  __pyx_t_1 = 0;
2953
 
  __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3140
  __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2954
3141
  __Pyx_GOTREF(__pyx_t_1);
2955
3142
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2956
3143
  __Pyx_Raise(__pyx_t_1, 0, 0);
2957
3144
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2958
 
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3145
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2959
3146
 
2960
3147
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2961
3148
  goto __pyx_L0;
2970
3157
  return __pyx_r;
2971
3158
}
2972
3159
 
2973
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":348
2974
 
 *     ELSE:
 
3160
/* "/home/tachyon/h5py/h5py/h5t.pyx":337
 
3161
 *     IF H5PY_18API:
2975
3162
 * 
2976
 
 *         def commit(self, ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
2977
 
 *             """(ObjectID group, STRING name)
 
3163
 *         def commit(self, ObjectID group not None, char* name, PropID lcpl=None):             # <<<<<<<<<<<<<<
 
3164
 *             """(ObjectID group, STRING name, PropID lcpl=None)
2978
3165
 * 
2979
3166
 */
2980
3167
 
2981
3168
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_commit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
2982
 
static char __pyx_doc_4h5py_3h5t_6TypeID_commit[] = "(ObjectID group, STRING name)\n\n            Commit this (transient) datatype to a named datatype in a file.\n            ";
 
3169
static char __pyx_doc_4h5py_3h5t_6TypeID_commit[] = "(ObjectID group, STRING name, PropID lcpl=None)\n\n            Commit this (transient) datatype to a named datatype in a file.\n            If present, lcpl may be a link creation property list.\n            ";
2983
3170
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_commit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
2984
3171
  struct __pyx_obj_4h5py_2h5_ObjectID *__pyx_v_group = 0;
2985
3172
  char *__pyx_v_name;
 
3173
  struct __pyx_obj_4h5py_3h5p_PropID *__pyx_v_lcpl = 0;
2986
3174
  PyObject *__pyx_r = NULL;
2987
 
  herr_t __pyx_t_1;
2988
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,0};
 
3175
  PyObject *__pyx_t_1 = NULL;
 
3176
  hid_t __pyx_t_2;
 
3177
  hid_t __pyx_t_3;
 
3178
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,&__pyx_n_s__lcpl,0};
2989
3179
  __Pyx_RefNannySetupContext("commit");
2990
3180
  if (unlikely(__pyx_kwds)) {
2991
3181
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2992
 
    PyObject* values[2] = {0,0};
 
3182
    PyObject* values[3] = {0,0,0};
 
3183
    values[2] = (PyObject*)((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
2993
3184
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
3185
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
2994
3186
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
2995
3187
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
2996
3188
      case  0: break;
3005
3197
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
3006
3198
      if (likely(values[1])) kw_args--;
3007
3199
      else {
3008
 
        __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3200
        __Pyx_RaiseArgtupleInvalid("commit", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3201
      }
 
3202
      case  2:
 
3203
      if (kw_args > 1) {
 
3204
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lcpl);
 
3205
        if (unlikely(value)) { values[2] = value; kw_args--; }
3009
3206
      }
3010
3207
    }
3011
3208
    if (unlikely(kw_args > 0)) {
3012
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "commit") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3209
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "commit") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3013
3210
    }
3014
3211
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)values[0]);
3015
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3016
 
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
3017
 
    goto __pyx_L5_argtuple_error;
 
3212
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3213
    __pyx_v_lcpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)values[2]);
3018
3214
  } else {
3019
 
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)PyTuple_GET_ITEM(__pyx_args, 0));
3020
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3215
    __pyx_v_lcpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
 
3216
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
3217
      case  3:
 
3218
      __pyx_v_lcpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)PyTuple_GET_ITEM(__pyx_args, 2));
 
3219
      case  2:
 
3220
      __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3221
      __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)PyTuple_GET_ITEM(__pyx_args, 0));
 
3222
      break;
 
3223
      default: goto __pyx_L5_argtuple_error;
 
3224
    }
3021
3225
  }
3022
3226
  goto __pyx_L4_argument_unpacking_done;
3023
3227
  __pyx_L5_argtuple_error:;
3024
 
  __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3228
  __Pyx_RaiseArgtupleInvalid("commit", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3025
3229
  __pyx_L3_error:;
3026
3230
  __Pyx_AddTraceback("h5py.h5t.TypeID.commit");
3027
3231
  return NULL;
3028
3232
  __pyx_L4_argument_unpacking_done:;
3029
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3030
 
 
3031
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":353
3032
 
 *             Commit this (transient) datatype to a named datatype in a file.
3033
 
 *             """
3034
 
 *             H5Tcommit(group.id, name, self.id)             # <<<<<<<<<<<<<<
3035
 
 * 
3036
 
 * 
3037
 
 */
3038
 
  __pyx_t_1 = H5Tcommit(__pyx_v_group->id, __pyx_v_name, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3233
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3234
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_lcpl), __pyx_ptype_4h5py_3h5p_PropID, 1, "lcpl", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3235
 
 
3236
  /* "/home/tachyon/h5py/h5py/h5t.pyx":343
 
3237
 *             If present, lcpl may be a link creation property list.
 
3238
 *             """
 
3239
 *             H5Tcommit2(group.id, name, self.id, pdefault(lcpl),             # <<<<<<<<<<<<<<
 
3240
 *                 H5P_DEFAULT, H5P_DEFAULT)
 
3241
 *     ELSE:
 
3242
 */
 
3243
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_group), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3244
  __Pyx_GOTREF(__pyx_t_1);
 
3245
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3246
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3247
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3248
  __Pyx_GOTREF(__pyx_t_1);
 
3249
  __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3250
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3251
 
 
3252
  /* "/home/tachyon/h5py/h5py/h5t.pyx":344
 
3253
 *             """
 
3254
 *             H5Tcommit2(group.id, name, self.id, pdefault(lcpl),
 
3255
 *                 H5P_DEFAULT, H5P_DEFAULT)             # <<<<<<<<<<<<<<
 
3256
 *     ELSE:
 
3257
 * 
 
3258
 */
 
3259
  H5Tcommit2(__pyx_t_2, __pyx_v_name, __pyx_t_3, __pyx_f_4h5py_3h5p_pdefault(__pyx_v_lcpl), H5P_DEFAULT, H5P_DEFAULT);
3039
3260
 
3040
3261
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3041
3262
  goto __pyx_L0;
3042
3263
  __pyx_L1_error:;
 
3264
  __Pyx_XDECREF(__pyx_t_1);
3043
3265
  __Pyx_AddTraceback("h5py.h5t.TypeID.commit");
3044
3266
  __pyx_r = NULL;
3045
3267
  __pyx_L0:;
3048
3270
  return __pyx_r;
3049
3271
}
3050
3272
 
3051
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":356
 
3273
/* "/home/tachyon/h5py/h5py/h5t.pyx":355
3052
3274
 * 
3053
3275
 * 
3054
3276
 *     def committed(self):             # <<<<<<<<<<<<<<
3060
3282
static char __pyx_doc_4h5py_3h5t_6TypeID_committed[] = "() => BOOL is_comitted\n\n        Determine if a given type object is named (T) or transient (F).\n        ";
3061
3283
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_committed(PyObject *__pyx_v_self, PyObject *unused) {
3062
3284
  PyObject *__pyx_r = NULL;
3063
 
  htri_t __pyx_t_1;
3064
 
  PyObject *__pyx_t_2 = NULL;
 
3285
  PyObject *__pyx_t_1 = NULL;
 
3286
  hid_t __pyx_t_2;
 
3287
  htri_t __pyx_t_3;
3065
3288
  __Pyx_RefNannySetupContext("committed");
3066
3289
 
3067
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":361
 
3290
  /* "/home/tachyon/h5py/h5py/h5t.pyx":360
3068
3291
 *         Determine if a given type object is named (T) or transient (F).
3069
3292
 *         """
3070
3293
 *         return <bint>(H5Tcommitted(self.id))             # <<<<<<<<<<<<<<
3072
3295
 * 
3073
3296
 */
3074
3297
  __Pyx_XDECREF(__pyx_r);
3075
 
  __pyx_t_1 = H5Tcommitted(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3076
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3077
 
  __Pyx_GOTREF(__pyx_t_2);
3078
 
  __pyx_r = __pyx_t_2;
3079
 
  __pyx_t_2 = 0;
 
3298
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3299
  __Pyx_GOTREF(__pyx_t_1);
 
3300
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3301
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3302
  __pyx_t_3 = H5Tcommitted(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3303
  __pyx_t_1 = __Pyx_PyBool_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3304
  __Pyx_GOTREF(__pyx_t_1);
 
3305
  __pyx_r = __pyx_t_1;
 
3306
  __pyx_t_1 = 0;
3080
3307
  goto __pyx_L0;
3081
3308
 
3082
3309
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3083
3310
  goto __pyx_L0;
3084
3311
  __pyx_L1_error:;
3085
 
  __Pyx_XDECREF(__pyx_t_2);
 
3312
  __Pyx_XDECREF(__pyx_t_1);
3086
3313
  __Pyx_AddTraceback("h5py.h5t.TypeID.committed");
3087
3314
  __pyx_r = NULL;
3088
3315
  __pyx_L0:;
3091
3318
  return __pyx_r;
3092
3319
}
3093
3320
 
3094
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":364
 
3321
/* "/home/tachyon/h5py/h5py/h5t.pyx":363
3095
3322
 * 
3096
3323
 * 
3097
3324
 *     def copy(self):             # <<<<<<<<<<<<<<
3103
3330
static char __pyx_doc_4h5py_3h5t_6TypeID_copy[] = "() => TypeID\n\n        Create a copy of this type object.\n        ";
3104
3331
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_copy(PyObject *__pyx_v_self, PyObject *unused) {
3105
3332
  PyObject *__pyx_r = NULL;
3106
 
  hid_t __pyx_t_1;
3107
 
  PyObject *__pyx_t_2 = NULL;
 
3333
  PyObject *__pyx_t_1 = NULL;
 
3334
  hid_t __pyx_t_2;
 
3335
  hid_t __pyx_t_3;
3108
3336
  __Pyx_RefNannySetupContext("copy");
3109
3337
 
3110
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":369
 
3338
  /* "/home/tachyon/h5py/h5py/h5t.pyx":368
3111
3339
 *         Create a copy of this type object.
3112
3340
 *         """
3113
3341
 *         return typewrap(H5Tcopy(self.id))             # <<<<<<<<<<<<<<
3115
3343
 * 
3116
3344
 */
3117
3345
  __Pyx_XDECREF(__pyx_r);
3118
 
  __pyx_t_1 = H5Tcopy(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3119
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3120
 
  __Pyx_GOTREF(__pyx_t_2);
3121
 
  __pyx_r = __pyx_t_2;
3122
 
  __pyx_t_2 = 0;
 
3346
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3347
  __Pyx_GOTREF(__pyx_t_1);
 
3348
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3349
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3350
  __pyx_t_3 = H5Tcopy(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3351
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3352
  __Pyx_GOTREF(__pyx_t_1);
 
3353
  __pyx_r = __pyx_t_1;
 
3354
  __pyx_t_1 = 0;
3123
3355
  goto __pyx_L0;
3124
3356
 
3125
3357
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3126
3358
  goto __pyx_L0;
3127
3359
  __pyx_L1_error:;
3128
 
  __Pyx_XDECREF(__pyx_t_2);
 
3360
  __Pyx_XDECREF(__pyx_t_1);
3129
3361
  __Pyx_AddTraceback("h5py.h5t.TypeID.copy");
3130
3362
  __pyx_r = NULL;
3131
3363
  __pyx_L0:;
3134
3366
  return __pyx_r;
3135
3367
}
3136
3368
 
3137
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":372
 
3369
/* "/home/tachyon/h5py/h5py/h5t.pyx":371
3138
3370
 * 
3139
3371
 * 
3140
3372
 *     def equal(self, TypeID typeid):             # <<<<<<<<<<<<<<
3146
3378
static char __pyx_doc_4h5py_3h5t_6TypeID_equal[] = "(TypeID typeid) => BOOL\n\n        Logical comparison between datatypes.  Also called by\n        Python's \"==\" operator.\n        ";
3147
3379
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_equal(PyObject *__pyx_v_self, PyObject *__pyx_v_typeid) {
3148
3380
  PyObject *__pyx_r = NULL;
3149
 
  htri_t __pyx_t_1;
3150
 
  PyObject *__pyx_t_2 = NULL;
 
3381
  PyObject *__pyx_t_1 = NULL;
 
3382
  hid_t __pyx_t_2;
 
3383
  hid_t __pyx_t_3;
 
3384
  htri_t __pyx_t_4;
3151
3385
  __Pyx_RefNannySetupContext("equal");
3152
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_typeid), __pyx_ptype_4h5py_3h5t_TypeID, 1, "typeid", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3386
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_typeid), __pyx_ptype_4h5py_3h5t_TypeID, 1, "typeid", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3153
3387
 
3154
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":378
 
3388
  /* "/home/tachyon/h5py/h5py/h5t.pyx":377
3155
3389
 *         Python's "==" operator.
3156
3390
 *         """
3157
3391
 *         return <bint>(H5Tequal(self.id, typeid.id))             # <<<<<<<<<<<<<<
3159
3393
 * 
3160
3394
 */
3161
3395
  __Pyx_XDECREF(__pyx_r);
3162
 
  __pyx_t_1 = H5Tequal(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_typeid)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3163
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3164
 
  __Pyx_GOTREF(__pyx_t_2);
3165
 
  __pyx_r = __pyx_t_2;
3166
 
  __pyx_t_2 = 0;
 
3396
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3397
  __Pyx_GOTREF(__pyx_t_1);
 
3398
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3399
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3400
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_typeid, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3401
  __Pyx_GOTREF(__pyx_t_1);
 
3402
  __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3403
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3404
  __pyx_t_4 = H5Tequal(__pyx_t_2, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3405
  __pyx_t_1 = __Pyx_PyBool_FromLong(((int)__pyx_t_4)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3406
  __Pyx_GOTREF(__pyx_t_1);
 
3407
  __pyx_r = __pyx_t_1;
 
3408
  __pyx_t_1 = 0;
3167
3409
  goto __pyx_L0;
3168
3410
 
3169
3411
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3170
3412
  goto __pyx_L0;
3171
3413
  __pyx_L1_error:;
3172
 
  __Pyx_XDECREF(__pyx_t_2);
 
3414
  __Pyx_XDECREF(__pyx_t_1);
3173
3415
  __Pyx_AddTraceback("h5py.h5t.TypeID.equal");
3174
3416
  __pyx_r = NULL;
3175
3417
  __pyx_L0:;
3178
3420
  return __pyx_r;
3179
3421
}
3180
3422
 
3181
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":381
 
3423
/* "/home/tachyon/h5py/h5py/h5t.pyx":380
3182
3424
 * 
3183
3425
 * 
3184
3426
 *     def lock(self):             # <<<<<<<<<<<<<<
3190
3432
static char __pyx_doc_4h5py_3h5t_6TypeID_lock[] = "()\n\n        Lock this datatype, which makes it immutable and indestructible.\n        Once locked, it can't be unlocked.\n        ";
3191
3433
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_lock(PyObject *__pyx_v_self, PyObject *unused) {
3192
3434
  PyObject *__pyx_r = NULL;
3193
 
  herr_t __pyx_t_1;
 
3435
  PyObject *__pyx_t_1 = NULL;
 
3436
  hid_t __pyx_t_2;
 
3437
  herr_t __pyx_t_3;
3194
3438
  __Pyx_RefNannySetupContext("lock");
3195
3439
 
3196
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":387
 
3440
  /* "/home/tachyon/h5py/h5py/h5t.pyx":386
3197
3441
 *         Once locked, it can't be unlocked.
3198
3442
 *         """
3199
3443
 *         H5Tlock(self.id)             # <<<<<<<<<<<<<<
3200
3444
 *         self._locked = 1
3201
3445
 * 
3202
3446
 */
3203
 
  __pyx_t_1 = H5Tlock(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3447
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3448
  __Pyx_GOTREF(__pyx_t_1);
 
3449
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3450
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3451
  __pyx_t_3 = H5Tlock(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3204
3452
 
3205
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":388
 
3453
  /* "/home/tachyon/h5py/h5py/h5t.pyx":387
3206
3454
 *         """
3207
3455
 *         H5Tlock(self.id)
3208
3456
 *         self._locked = 1             # <<<<<<<<<<<<<<
3209
3457
 * 
3210
3458
 * 
3211
3459
 */
3212
 
  ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._locked = 1;
 
3460
  if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s___locked, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3213
3461
 
3214
3462
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3215
3463
  goto __pyx_L0;
3216
3464
  __pyx_L1_error:;
 
3465
  __Pyx_XDECREF(__pyx_t_1);
3217
3466
  __Pyx_AddTraceback("h5py.h5t.TypeID.lock");
3218
3467
  __pyx_r = NULL;
3219
3468
  __pyx_L0:;
3222
3471
  return __pyx_r;
3223
3472
}
3224
3473
 
3225
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":391
 
3474
/* "/home/tachyon/h5py/h5py/h5t.pyx":390
3226
3475
 * 
3227
3476
 * 
3228
3477
 *     def get_class(self):             # <<<<<<<<<<<<<<
3234
3483
static char __pyx_doc_4h5py_3h5t_6TypeID_get_class[] = "() => INT classcode\n\n        Determine the datatype's class code.\n        ";
3235
3484
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_get_class(PyObject *__pyx_v_self, PyObject *unused) {
3236
3485
  PyObject *__pyx_r = NULL;
3237
 
  enum H5T_class_t __pyx_t_1;
3238
 
  PyObject *__pyx_t_2 = NULL;
 
3486
  PyObject *__pyx_t_1 = NULL;
 
3487
  hid_t __pyx_t_2;
 
3488
  enum H5T_class_t __pyx_t_3;
3239
3489
  __Pyx_RefNannySetupContext("get_class");
3240
3490
 
3241
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":396
 
3491
  /* "/home/tachyon/h5py/h5py/h5t.pyx":395
3242
3492
 *         Determine the datatype's class code.
3243
3493
 *         """
3244
3494
 *         return <int>H5Tget_class(self.id)             # <<<<<<<<<<<<<<
3246
3496
 * 
3247
3497
 */
3248
3498
  __Pyx_XDECREF(__pyx_r);
3249
 
  __pyx_t_1 = H5Tget_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3250
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3251
 
  __Pyx_GOTREF(__pyx_t_2);
3252
 
  __pyx_r = __pyx_t_2;
3253
 
  __pyx_t_2 = 0;
 
3499
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3500
  __Pyx_GOTREF(__pyx_t_1);
 
3501
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3502
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3503
  __pyx_t_3 = H5Tget_class(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3504
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3505
  __Pyx_GOTREF(__pyx_t_1);
 
3506
  __pyx_r = __pyx_t_1;
 
3507
  __pyx_t_1 = 0;
3254
3508
  goto __pyx_L0;
3255
3509
 
3256
3510
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3257
3511
  goto __pyx_L0;
3258
3512
  __pyx_L1_error:;
3259
 
  __Pyx_XDECREF(__pyx_t_2);
 
3513
  __Pyx_XDECREF(__pyx_t_1);
3260
3514
  __Pyx_AddTraceback("h5py.h5t.TypeID.get_class");
3261
3515
  __pyx_r = NULL;
3262
3516
  __pyx_L0:;
3265
3519
  return __pyx_r;
3266
3520
}
3267
3521
 
3268
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":399
 
3522
/* "/home/tachyon/h5py/h5py/h5t.pyx":398
3269
3523
 * 
3270
3524
 * 
3271
3525
 *     def set_size(self, size_t size):             # <<<<<<<<<<<<<<
3278
3532
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_set_size(PyObject *__pyx_v_self, PyObject *__pyx_arg_size) {
3279
3533
  size_t __pyx_v_size;
3280
3534
  PyObject *__pyx_r = NULL;
3281
 
  herr_t __pyx_t_1;
 
3535
  PyObject *__pyx_t_1 = NULL;
 
3536
  hid_t __pyx_t_2;
 
3537
  herr_t __pyx_t_3;
3282
3538
  __Pyx_RefNannySetupContext("set_size");
3283
3539
  assert(__pyx_arg_size); {
3284
 
    __pyx_v_size = __Pyx_PyInt_AsSize_t(__pyx_arg_size); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3540
    __pyx_v_size = __Pyx_PyInt_AsSize_t(__pyx_arg_size); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3285
3541
  }
3286
3542
  goto __pyx_L4_argument_unpacking_done;
3287
3543
  __pyx_L3_error:;
3289
3545
  return NULL;
3290
3546
  __pyx_L4_argument_unpacking_done:;
3291
3547
 
3292
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":404
 
3548
  /* "/home/tachyon/h5py/h5py/h5t.pyx":403
3293
3549
 *         Set the total size of the datatype, in bytes.
3294
3550
 *         """
3295
3551
 *         H5Tset_size(self.id, size)             # <<<<<<<<<<<<<<
3296
3552
 * 
3297
3553
 * 
3298
3554
 */
3299
 
  __pyx_t_1 = H5Tset_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3555
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3556
  __Pyx_GOTREF(__pyx_t_1);
 
3557
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3558
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3559
  __pyx_t_3 = H5Tset_size(__pyx_t_2, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3300
3560
 
3301
3561
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3302
3562
  goto __pyx_L0;
3303
3563
  __pyx_L1_error:;
 
3564
  __Pyx_XDECREF(__pyx_t_1);
3304
3565
  __Pyx_AddTraceback("h5py.h5t.TypeID.set_size");
3305
3566
  __pyx_r = NULL;
3306
3567
  __pyx_L0:;
3309
3570
  return __pyx_r;
3310
3571
}
3311
3572
 
3312
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":407
 
3573
/* "/home/tachyon/h5py/h5py/h5t.pyx":406
3313
3574
 * 
3314
3575
 * 
3315
3576
 *     def get_size(self):             # <<<<<<<<<<<<<<
3321
3582
static char __pyx_doc_4h5py_3h5t_6TypeID_get_size[] = " () => INT size\n\n            Determine the total size of a datatype, in bytes.\n        ";
3322
3583
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_get_size(PyObject *__pyx_v_self, PyObject *unused) {
3323
3584
  PyObject *__pyx_r = NULL;
3324
 
  size_t __pyx_t_1;
3325
 
  PyObject *__pyx_t_2 = NULL;
 
3585
  PyObject *__pyx_t_1 = NULL;
 
3586
  hid_t __pyx_t_2;
 
3587
  size_t __pyx_t_3;
3326
3588
  __Pyx_RefNannySetupContext("get_size");
3327
3589
 
3328
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":412
 
3590
  /* "/home/tachyon/h5py/h5py/h5t.pyx":411
3329
3591
 *             Determine the total size of a datatype, in bytes.
3330
3592
 *         """
3331
3593
 *         return H5Tget_size(self.id)             # <<<<<<<<<<<<<<
3333
3595
 * 
3334
3596
 */
3335
3597
  __Pyx_XDECREF(__pyx_r);
3336
 
  __pyx_t_1 = H5Tget_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3337
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3338
 
  __Pyx_GOTREF(__pyx_t_2);
3339
 
  __pyx_r = __pyx_t_2;
3340
 
  __pyx_t_2 = 0;
 
3598
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3599
  __Pyx_GOTREF(__pyx_t_1);
 
3600
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3601
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3602
  __pyx_t_3 = H5Tget_size(__pyx_t_2); if (unlikely(__pyx_t_3 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3603
  __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3604
  __Pyx_GOTREF(__pyx_t_1);
 
3605
  __pyx_r = __pyx_t_1;
 
3606
  __pyx_t_1 = 0;
3341
3607
  goto __pyx_L0;
3342
3608
 
3343
3609
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3344
3610
  goto __pyx_L0;
3345
3611
  __pyx_L1_error:;
3346
 
  __Pyx_XDECREF(__pyx_t_2);
 
3612
  __Pyx_XDECREF(__pyx_t_1);
3347
3613
  __Pyx_AddTraceback("h5py.h5t.TypeID.get_size");
3348
3614
  __pyx_r = NULL;
3349
3615
  __pyx_L0:;
3352
3618
  return __pyx_r;
3353
3619
}
3354
3620
 
3355
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":415
 
3621
/* "/home/tachyon/h5py/h5py/h5t.pyx":414
3356
3622
 * 
3357
3623
 * 
3358
3624
 *     def get_super(self):             # <<<<<<<<<<<<<<
3364
3630
static char __pyx_doc_4h5py_3h5t_6TypeID_get_super[] = "() => TypeID\n\n        Determine the parent type of an array, enumeration or vlen datatype.\n        ";
3365
3631
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_get_super(PyObject *__pyx_v_self, PyObject *unused) {
3366
3632
  PyObject *__pyx_r = NULL;
3367
 
  hid_t __pyx_t_1;
3368
 
  PyObject *__pyx_t_2 = NULL;
 
3633
  PyObject *__pyx_t_1 = NULL;
 
3634
  hid_t __pyx_t_2;
 
3635
  hid_t __pyx_t_3;
3369
3636
  __Pyx_RefNannySetupContext("get_super");
3370
3637
 
3371
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":420
 
3638
  /* "/home/tachyon/h5py/h5py/h5t.pyx":419
3372
3639
 *         Determine the parent type of an array, enumeration or vlen datatype.
3373
3640
 *         """
3374
3641
 *         return typewrap(H5Tget_super(self.id))             # <<<<<<<<<<<<<<
3376
3643
 * 
3377
3644
 */
3378
3645
  __Pyx_XDECREF(__pyx_r);
3379
 
  __pyx_t_1 = H5Tget_super(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3380
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3381
 
  __Pyx_GOTREF(__pyx_t_2);
3382
 
  __pyx_r = __pyx_t_2;
3383
 
  __pyx_t_2 = 0;
 
3646
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3647
  __Pyx_GOTREF(__pyx_t_1);
 
3648
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3649
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3650
  __pyx_t_3 = H5Tget_super(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3651
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3652
  __Pyx_GOTREF(__pyx_t_1);
 
3653
  __pyx_r = __pyx_t_1;
 
3654
  __pyx_t_1 = 0;
3384
3655
  goto __pyx_L0;
3385
3656
 
3386
3657
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3387
3658
  goto __pyx_L0;
3388
3659
  __pyx_L1_error:;
3389
 
  __Pyx_XDECREF(__pyx_t_2);
 
3660
  __Pyx_XDECREF(__pyx_t_1);
3390
3661
  __Pyx_AddTraceback("h5py.h5t.TypeID.get_super");
3391
3662
  __pyx_r = NULL;
3392
3663
  __pyx_L0:;
3395
3666
  return __pyx_r;
3396
3667
}
3397
3668
 
3398
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":423
 
3669
/* "/home/tachyon/h5py/h5py/h5t.pyx":422
3399
3670
 * 
3400
3671
 * 
3401
3672
 *     def detect_class(self, int classtype):             # <<<<<<<<<<<<<<
3408
3679
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_detect_class(PyObject *__pyx_v_self, PyObject *__pyx_arg_classtype) {
3409
3680
  int __pyx_v_classtype;
3410
3681
  PyObject *__pyx_r = NULL;
3411
 
  htri_t __pyx_t_1;
3412
 
  PyObject *__pyx_t_2 = NULL;
 
3682
  PyObject *__pyx_t_1 = NULL;
 
3683
  hid_t __pyx_t_2;
 
3684
  htri_t __pyx_t_3;
3413
3685
  __Pyx_RefNannySetupContext("detect_class");
3414
3686
  assert(__pyx_arg_classtype); {
3415
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(__pyx_arg_classtype); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3687
    __pyx_v_classtype = __Pyx_PyInt_AsInt(__pyx_arg_classtype); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3416
3688
  }
3417
3689
  goto __pyx_L4_argument_unpacking_done;
3418
3690
  __pyx_L3_error:;
3420
3692
  return NULL;
3421
3693
  __pyx_L4_argument_unpacking_done:;
3422
3694
 
3423
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":429
 
3695
  /* "/home/tachyon/h5py/h5py/h5t.pyx":428
3424
3696
 *         datatype.  The search is recursive.
3425
3697
 *         """
3426
3698
 *         return <bint>(H5Tdetect_class(self.id, <H5T_class_t>classtype))             # <<<<<<<<<<<<<<
3428
3700
 * 
3429
3701
 */
3430
3702
  __Pyx_XDECREF(__pyx_r);
3431
 
  __pyx_t_1 = H5Tdetect_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((enum H5T_class_t)__pyx_v_classtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3432
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3433
 
  __Pyx_GOTREF(__pyx_t_2);
3434
 
  __pyx_r = __pyx_t_2;
3435
 
  __pyx_t_2 = 0;
 
3703
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3704
  __Pyx_GOTREF(__pyx_t_1);
 
3705
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3706
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3707
  __pyx_t_3 = H5Tdetect_class(__pyx_t_2, ((enum H5T_class_t)__pyx_v_classtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3708
  __pyx_t_1 = __Pyx_PyBool_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3709
  __Pyx_GOTREF(__pyx_t_1);
 
3710
  __pyx_r = __pyx_t_1;
 
3711
  __pyx_t_1 = 0;
3436
3712
  goto __pyx_L0;
3437
3713
 
3438
3714
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3439
3715
  goto __pyx_L0;
3440
3716
  __pyx_L1_error:;
3441
 
  __Pyx_XDECREF(__pyx_t_2);
 
3717
  __Pyx_XDECREF(__pyx_t_1);
3442
3718
  __Pyx_AddTraceback("h5py.h5t.TypeID.detect_class");
3443
3719
  __pyx_r = NULL;
3444
3720
  __pyx_L0:;
3447
3723
  return __pyx_r;
3448
3724
}
3449
3725
 
3450
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":432
 
3726
/* "/home/tachyon/h5py/h5py/h5t.pyx":431
3451
3727
 * 
3452
3728
 * 
3453
3729
 *     def _close(self):             # <<<<<<<<<<<<<<
3459
3735
static char __pyx_doc_4h5py_3h5t_6TypeID__close[] = "()\n\n        Close this datatype.  If it's locked, nothing happens.\n\n        You shouldn't ordinarily need to call this function; datatype\n        objects are automatically closed when they're deallocated.\n        ";
3460
3736
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID__close(PyObject *__pyx_v_self, PyObject *unused) {
3461
3737
  PyObject *__pyx_r = NULL;
3462
 
  int __pyx_t_1;
3463
 
  herr_t __pyx_t_2;
 
3738
  PyObject *__pyx_t_1 = NULL;
 
3739
  int __pyx_t_2;
 
3740
  int __pyx_t_3;
 
3741
  hid_t __pyx_t_4;
 
3742
  herr_t __pyx_t_5;
3464
3743
  __Pyx_RefNannySetupContext("_close");
3465
3744
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3466
3745
 
3467
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":440
 
3746
  /* "/home/tachyon/h5py/h5py/h5t.pyx":439
3468
3747
 *         objects are automatically closed when they're deallocated.
3469
3748
 *         """
3470
3749
 *         if not self._locked:             # <<<<<<<<<<<<<<
3471
3750
 *             H5Tclose(self.id)
3472
3751
 * 
3473
3752
 */
3474
 
  __pyx_t_1 = (!((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._locked);
3475
 
  if (__pyx_t_1) {
 
3753
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s___locked); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3754
  __Pyx_GOTREF(__pyx_t_1);
 
3755
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3756
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3757
  __pyx_t_3 = (!__pyx_t_2);
 
3758
  if (__pyx_t_3) {
3476
3759
 
3477
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":441
 
3760
    /* "/home/tachyon/h5py/h5py/h5t.pyx":440
3478
3761
 *         """
3479
3762
 *         if not self._locked:
3480
3763
 *             H5Tclose(self.id)             # <<<<<<<<<<<<<<
3481
3764
 * 
3482
3765
 *     IF H5PY_18API:
3483
3766
 */
3484
 
    __pyx_t_2 = H5Tclose(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3767
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3768
    __Pyx_GOTREF(__pyx_t_1);
 
3769
    __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3770
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3771
    __pyx_t_5 = H5Tclose(__pyx_t_4); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3485
3772
    goto __pyx_L5;
3486
3773
  }
3487
3774
  __pyx_L5:;
3489
3776
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3490
3777
  goto __pyx_L0;
3491
3778
  __pyx_L1_error:;
 
3779
  __Pyx_XDECREF(__pyx_t_1);
3492
3780
  __Pyx_AddTraceback("h5py.h5t.TypeID._close");
3493
3781
  __pyx_r = NULL;
3494
3782
  __pyx_L0:;
3498
3786
  return __pyx_r;
3499
3787
}
3500
3788
 
3501
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":485
 
3789
/* "/home/tachyon/h5py/h5py/h5t.pyx":444
 
3790
 *     IF H5PY_18API:
 
3791
 * 
 
3792
 *         def encode(self):             # <<<<<<<<<<<<<<
 
3793
 *             """() => STRING
 
3794
 * 
 
3795
 */
 
3796
 
 
3797
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_encode(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3798
static char __pyx_doc_4h5py_3h5t_6TypeID_encode[] = "() => STRING\n\n            Serialize an HDF5 type.  Bear in mind you can also use the\n            native Python pickle/unpickle machinery to do this.  The\n            returned string may contain binary values, including NULLs.\n            ";
 
3799
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_encode(PyObject *__pyx_v_self, PyObject *unused) {
 
3800
  size_t __pyx_v_nalloc;
 
3801
  char *__pyx_v_buf;
 
3802
  PyObject *__pyx_v_pystr;
 
3803
  PyObject *__pyx_r = NULL;
 
3804
  PyObject *__pyx_t_1 = NULL;
 
3805
  hid_t __pyx_t_2;
 
3806
  herr_t __pyx_t_3;
 
3807
  void *__pyx_t_4;
 
3808
  __Pyx_RefNannySetupContext("encode");
 
3809
  __Pyx_INCREF((PyObject *)__pyx_v_self);
 
3810
  __pyx_v_pystr = Py_None; __Pyx_INCREF(Py_None);
 
3811
 
 
3812
  /* "/home/tachyon/h5py/h5py/h5t.pyx":451
 
3813
 *             returned string may contain binary values, including NULLs.
 
3814
 *             """
 
3815
 *             cdef size_t nalloc = 0             # <<<<<<<<<<<<<<
 
3816
 *             cdef char* buf = NULL
 
3817
 * 
 
3818
 */
 
3819
  __pyx_v_nalloc = 0;
 
3820
 
 
3821
  /* "/home/tachyon/h5py/h5py/h5t.pyx":452
 
3822
 *             """
 
3823
 *             cdef size_t nalloc = 0
 
3824
 *             cdef char* buf = NULL             # <<<<<<<<<<<<<<
 
3825
 * 
 
3826
 *             H5Tencode(self.id, NULL, &nalloc)
 
3827
 */
 
3828
  __pyx_v_buf = NULL;
 
3829
 
 
3830
  /* "/home/tachyon/h5py/h5py/h5t.pyx":454
 
3831
 *             cdef char* buf = NULL
 
3832
 * 
 
3833
 *             H5Tencode(self.id, NULL, &nalloc)             # <<<<<<<<<<<<<<
 
3834
 *             buf = <char*>emalloc(sizeof(char)*nalloc)
 
3835
 *             try:
 
3836
 */
 
3837
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3838
  __Pyx_GOTREF(__pyx_t_1);
 
3839
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3840
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3841
  __pyx_t_3 = H5Tencode(__pyx_t_2, NULL, (&__pyx_v_nalloc)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3842
 
 
3843
  /* "/home/tachyon/h5py/h5py/h5t.pyx":455
 
3844
 * 
 
3845
 *             H5Tencode(self.id, NULL, &nalloc)
 
3846
 *             buf = <char*>emalloc(sizeof(char)*nalloc)             # <<<<<<<<<<<<<<
 
3847
 *             try:
 
3848
 *                 H5Tencode(self.id, <unsigned char*>buf, &nalloc)
 
3849
 */
 
3850
  __pyx_t_4 = __pyx_f_4h5py_5utils_emalloc(((sizeof(char)) * __pyx_v_nalloc)); if (unlikely(__pyx_t_4 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3851
  __pyx_v_buf = ((char *)__pyx_t_4);
 
3852
 
 
3853
  /* "/home/tachyon/h5py/h5py/h5t.pyx":456
 
3854
 *             H5Tencode(self.id, NULL, &nalloc)
 
3855
 *             buf = <char*>emalloc(sizeof(char)*nalloc)
 
3856
 *             try:             # <<<<<<<<<<<<<<
 
3857
 *                 H5Tencode(self.id, <unsigned char*>buf, &nalloc)
 
3858
 *                 pystr = PyString_FromStringAndSize(buf, nalloc)
 
3859
 */
 
3860
  /*try:*/ {
 
3861
 
 
3862
    /* "/home/tachyon/h5py/h5py/h5t.pyx":457
 
3863
 *             buf = <char*>emalloc(sizeof(char)*nalloc)
 
3864
 *             try:
 
3865
 *                 H5Tencode(self.id, <unsigned char*>buf, &nalloc)             # <<<<<<<<<<<<<<
 
3866
 *                 pystr = PyString_FromStringAndSize(buf, nalloc)
 
3867
 *             finally:
 
3868
 */
 
3869
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3870
    __Pyx_GOTREF(__pyx_t_1);
 
3871
    __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3872
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3873
    __pyx_t_3 = H5Tencode(__pyx_t_2, ((unsigned char *)__pyx_v_buf), (&__pyx_v_nalloc)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3874
 
 
3875
    /* "/home/tachyon/h5py/h5py/h5t.pyx":458
 
3876
 *             try:
 
3877
 *                 H5Tencode(self.id, <unsigned char*>buf, &nalloc)
 
3878
 *                 pystr = PyString_FromStringAndSize(buf, nalloc)             # <<<<<<<<<<<<<<
 
3879
 *             finally:
 
3880
 *                 efree(buf)
 
3881
 */
 
3882
    __pyx_t_1 = PyString_FromStringAndSize(__pyx_v_buf, __pyx_v_nalloc); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3883
    __Pyx_GOTREF(__pyx_t_1);
 
3884
    __Pyx_DECREF(__pyx_v_pystr);
 
3885
    __pyx_v_pystr = __pyx_t_1;
 
3886
    __pyx_t_1 = 0;
 
3887
  }
 
3888
  /*finally:*/ {
 
3889
    int __pyx_why;
 
3890
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
 
3891
    int __pyx_exc_lineno;
 
3892
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
3893
    __pyx_why = 0; goto __pyx_L7;
 
3894
    __pyx_L6: {
 
3895
      __pyx_why = 4;
 
3896
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3897
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
 
3898
      __pyx_exc_lineno = __pyx_lineno;
 
3899
      goto __pyx_L7;
 
3900
    }
 
3901
    __pyx_L7:;
 
3902
 
 
3903
    /* "/home/tachyon/h5py/h5py/h5t.pyx":460
 
3904
 *                 pystr = PyString_FromStringAndSize(buf, nalloc)
 
3905
 *             finally:
 
3906
 *                 efree(buf)             # <<<<<<<<<<<<<<
 
3907
 * 
 
3908
 *             return pystr
 
3909
 */
 
3910
    __pyx_f_4h5py_5utils_efree(__pyx_v_buf);
 
3911
    switch (__pyx_why) {
 
3912
      case 4: {
 
3913
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
 
3914
        __pyx_lineno = __pyx_exc_lineno;
 
3915
        __pyx_exc_type = 0;
 
3916
        __pyx_exc_value = 0;
 
3917
        __pyx_exc_tb = 0;
 
3918
        goto __pyx_L1_error;
 
3919
      }
 
3920
    }
 
3921
  }
 
3922
 
 
3923
  /* "/home/tachyon/h5py/h5py/h5t.pyx":462
 
3924
 *                 efree(buf)
 
3925
 * 
 
3926
 *             return pystr             # <<<<<<<<<<<<<<
 
3927
 * 
 
3928
 *     IF H5PY_18API:
 
3929
 */
 
3930
  __Pyx_XDECREF(__pyx_r);
 
3931
  __Pyx_INCREF(__pyx_v_pystr);
 
3932
  __pyx_r = __pyx_v_pystr;
 
3933
  goto __pyx_L0;
 
3934
 
 
3935
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3936
  goto __pyx_L0;
 
3937
  __pyx_L1_error:;
 
3938
  __Pyx_XDECREF(__pyx_t_1);
 
3939
  __Pyx_AddTraceback("h5py.h5t.TypeID.encode");
 
3940
  __pyx_r = NULL;
 
3941
  __pyx_L0:;
 
3942
  __Pyx_DECREF(__pyx_v_pystr);
 
3943
  __Pyx_DECREF((PyObject *)__pyx_v_self);
 
3944
  __Pyx_XGIVEREF(__pyx_r);
 
3945
  __Pyx_RefNannyFinishContext();
 
3946
  return __pyx_r;
 
3947
}
 
3948
 
 
3949
/* "/home/tachyon/h5py/h5py/h5t.pyx":467
 
3950
 *         # Enable pickling
 
3951
 * 
 
3952
 *         def __reduce__(self):             # <<<<<<<<<<<<<<
 
3953
 *             return (type(self), (-1,), self.encode())
 
3954
 * 
 
3955
 */
 
3956
 
 
3957
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID___reduce__(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3958
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID___reduce__(PyObject *__pyx_v_self, PyObject *unused) {
 
3959
  PyObject *__pyx_r = NULL;
 
3960
  PyObject *__pyx_t_1 = NULL;
 
3961
  PyObject *__pyx_t_2 = NULL;
 
3962
  PyObject *__pyx_t_3 = NULL;
 
3963
  __Pyx_RefNannySetupContext("__reduce__");
 
3964
 
 
3965
  /* "/home/tachyon/h5py/h5py/h5t.pyx":468
 
3966
 * 
 
3967
 *         def __reduce__(self):
 
3968
 *             return (type(self), (-1,), self.encode())             # <<<<<<<<<<<<<<
 
3969
 * 
 
3970
 * 
 
3971
 */
 
3972
  __Pyx_XDECREF(__pyx_r);
 
3973
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3974
  __Pyx_GOTREF(__pyx_t_1);
 
3975
  __Pyx_INCREF(__pyx_int_neg_1);
 
3976
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_int_neg_1);
 
3977
  __Pyx_GIVEREF(__pyx_int_neg_1);
 
3978
  __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__encode); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3979
  __Pyx_GOTREF(__pyx_t_2);
 
3980
  __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 = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3981
  __Pyx_GOTREF(__pyx_t_3);
 
3982
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
3983
  __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3984
  __Pyx_GOTREF(__pyx_t_2);
 
3985
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_self)));
 
3986
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(__pyx_v_self)));
 
3987
  __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_self)));
 
3988
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
 
3989
  __Pyx_GIVEREF(__pyx_t_1);
 
3990
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_t_3);
 
3991
  __Pyx_GIVEREF(__pyx_t_3);
 
3992
  __pyx_t_1 = 0;
 
3993
  __pyx_t_3 = 0;
 
3994
  __pyx_r = __pyx_t_2;
 
3995
  __pyx_t_2 = 0;
 
3996
  goto __pyx_L0;
 
3997
 
 
3998
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3999
  goto __pyx_L0;
 
4000
  __pyx_L1_error:;
 
4001
  __Pyx_XDECREF(__pyx_t_1);
 
4002
  __Pyx_XDECREF(__pyx_t_2);
 
4003
  __Pyx_XDECREF(__pyx_t_3);
 
4004
  __Pyx_AddTraceback("h5py.h5t.TypeID.__reduce__");
 
4005
  __pyx_r = NULL;
 
4006
  __pyx_L0:;
 
4007
  __Pyx_XGIVEREF(__pyx_r);
 
4008
  __Pyx_RefNannyFinishContext();
 
4009
  return __pyx_r;
 
4010
}
 
4011
 
 
4012
/* "/home/tachyon/h5py/h5py/h5t.pyx":471
 
4013
 * 
 
4014
 * 
 
4015
 *         def __setstate__(self, char* state):             # <<<<<<<<<<<<<<
 
4016
 *             self.id = H5Tdecode(<unsigned char*>state)
 
4017
 * 
 
4018
 */
 
4019
 
 
4020
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID___setstate__(PyObject *__pyx_v_self, PyObject *__pyx_arg_state); /*proto*/
 
4021
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID___setstate__(PyObject *__pyx_v_self, PyObject *__pyx_arg_state) {
 
4022
  char *__pyx_v_state;
 
4023
  PyObject *__pyx_r = NULL;
 
4024
  hid_t __pyx_t_1;
 
4025
  PyObject *__pyx_t_2 = NULL;
 
4026
  __Pyx_RefNannySetupContext("__setstate__");
 
4027
  assert(__pyx_arg_state); {
 
4028
    __pyx_v_state = __Pyx_PyBytes_AsString(__pyx_arg_state); if (unlikely((!__pyx_v_state) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4029
  }
 
4030
  goto __pyx_L4_argument_unpacking_done;
 
4031
  __pyx_L3_error:;
 
4032
  __Pyx_AddTraceback("h5py.h5t.TypeID.__setstate__");
 
4033
  return NULL;
 
4034
  __pyx_L4_argument_unpacking_done:;
 
4035
 
 
4036
  /* "/home/tachyon/h5py/h5py/h5t.pyx":472
 
4037
 * 
 
4038
 *         def __setstate__(self, char* state):
 
4039
 *             self.id = H5Tdecode(<unsigned char*>state)             # <<<<<<<<<<<<<<
 
4040
 * 
 
4041
 * 
 
4042
 */
 
4043
  __pyx_t_1 = H5Tdecode(((unsigned char *)__pyx_v_state)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4044
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4045
  __Pyx_GOTREF(__pyx_t_2);
 
4046
  if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__id, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4047
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4048
 
 
4049
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4050
  goto __pyx_L0;
 
4051
  __pyx_L1_error:;
 
4052
  __Pyx_XDECREF(__pyx_t_2);
 
4053
  __Pyx_AddTraceback("h5py.h5t.TypeID.__setstate__");
 
4054
  __pyx_r = NULL;
 
4055
  __pyx_L0:;
 
4056
  __Pyx_XGIVEREF(__pyx_r);
 
4057
  __Pyx_RefNannyFinishContext();
 
4058
  return __pyx_r;
 
4059
}
 
4060
 
 
4061
/* "/home/tachyon/h5py/h5py/h5t.pyx":484
3502
4062
 * 
3503
4063
 * 
3504
4064
 *     def get_array_ndims(self):             # <<<<<<<<<<<<<<
3510
4070
static char __pyx_doc_4h5py_3h5t_11TypeArrayID_get_array_ndims[] = "() => INT rank\n\n        Get the rank of the given array datatype.\n        ";
3511
4071
static PyObject *__pyx_pf_4h5py_3h5t_11TypeArrayID_get_array_ndims(PyObject *__pyx_v_self, PyObject *unused) {
3512
4072
  PyObject *__pyx_r = NULL;
3513
 
  int __pyx_t_1;
3514
 
  PyObject *__pyx_t_2 = NULL;
 
4073
  PyObject *__pyx_t_1 = NULL;
 
4074
  hid_t __pyx_t_2;
 
4075
  int __pyx_t_3;
3515
4076
  __Pyx_RefNannySetupContext("get_array_ndims");
3516
4077
 
3517
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":490
 
4078
  /* "/home/tachyon/h5py/h5py/h5t.pyx":489
3518
4079
 *         Get the rank of the given array datatype.
3519
4080
 *         """
3520
4081
 *         return H5Tget_array_ndims(self.id)             # <<<<<<<<<<<<<<
3522
4083
 * 
3523
4084
 */
3524
4085
  __Pyx_XDECREF(__pyx_r);
3525
 
  __pyx_t_1 = H5Tget_array_ndims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3526
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3527
 
  __Pyx_GOTREF(__pyx_t_2);
3528
 
  __pyx_r = __pyx_t_2;
3529
 
  __pyx_t_2 = 0;
 
4086
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4087
  __Pyx_GOTREF(__pyx_t_1);
 
4088
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4089
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4090
  __pyx_t_3 = H5Tget_array_ndims(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4091
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4092
  __Pyx_GOTREF(__pyx_t_1);
 
4093
  __pyx_r = __pyx_t_1;
 
4094
  __pyx_t_1 = 0;
3530
4095
  goto __pyx_L0;
3531
4096
 
3532
4097
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3533
4098
  goto __pyx_L0;
3534
4099
  __pyx_L1_error:;
3535
 
  __Pyx_XDECREF(__pyx_t_2);
 
4100
  __Pyx_XDECREF(__pyx_t_1);
3536
4101
  __Pyx_AddTraceback("h5py.h5t.TypeArrayID.get_array_ndims");
3537
4102
  __pyx_r = NULL;
3538
4103
  __pyx_L0:;
3541
4106
  return __pyx_r;
3542
4107
}
3543
4108
 
3544
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":493
 
4109
/* "/home/tachyon/h5py/h5py/h5t.pyx":492
3545
4110
 * 
3546
4111
 * 
3547
4112
 *     def get_array_dims(self):             # <<<<<<<<<<<<<<
3555
4120
  hsize_t __pyx_v_rank;
3556
4121
  hsize_t *__pyx_v_dims;
3557
4122
  PyObject *__pyx_r = NULL;
3558
 
  int __pyx_t_1;
3559
 
  void *__pyx_t_2;
3560
 
  PyObject *__pyx_t_3 = NULL;
 
4123
  PyObject *__pyx_t_1 = NULL;
 
4124
  hid_t __pyx_t_2;
 
4125
  int __pyx_t_3;
 
4126
  void *__pyx_t_4;
3561
4127
  __Pyx_RefNannySetupContext("get_array_dims");
3562
4128
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3563
4129
 
3564
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":500
 
4130
  /* "/home/tachyon/h5py/h5py/h5t.pyx":499
3565
4131
 *         """
3566
4132
 *         cdef hsize_t rank
3567
4133
 *         cdef hsize_t* dims = NULL             # <<<<<<<<<<<<<<
3570
4136
 */
3571
4137
  __pyx_v_dims = NULL;
3572
4138
 
3573
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":502
 
4139
  /* "/home/tachyon/h5py/h5py/h5t.pyx":501
3574
4140
 *         cdef hsize_t* dims = NULL
3575
4141
 * 
3576
4142
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)             # <<<<<<<<<<<<<<
3577
4143
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3578
4144
 *         try:
3579
4145
 */
3580
 
  __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, NULL, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3581
 
  __pyx_v_rank = __pyx_t_1;
 
4146
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4147
  __Pyx_GOTREF(__pyx_t_1);
 
4148
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4149
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4150
  __pyx_t_3 = H5Tget_array_dims(__pyx_t_2, NULL, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4151
  __pyx_v_rank = __pyx_t_3;
3582
4152
 
3583
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":503
 
4153
  /* "/home/tachyon/h5py/h5py/h5t.pyx":502
3584
4154
 * 
3585
4155
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)
3586
4156
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
3587
4157
 *         try:
3588
4158
 *             H5Tget_array_dims(self.id, dims, NULL)
3589
4159
 */
3590
 
  __pyx_t_2 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_2 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3591
 
  __pyx_v_dims = ((hsize_t *)__pyx_t_2);
 
4160
  __pyx_t_4 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_4 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4161
  __pyx_v_dims = ((hsize_t *)__pyx_t_4);
3592
4162
 
3593
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":504
 
4163
  /* "/home/tachyon/h5py/h5py/h5t.pyx":503
3594
4164
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)
3595
4165
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3596
4166
 *         try:             # <<<<<<<<<<<<<<
3599
4169
 */
3600
4170
  /*try:*/ {
3601
4171
 
3602
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":505
 
4172
    /* "/home/tachyon/h5py/h5py/h5t.pyx":504
3603
4173
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3604
4174
 *         try:
3605
4175
 *             H5Tget_array_dims(self.id, dims, NULL)             # <<<<<<<<<<<<<<
3606
4176
 *             return convert_dims(dims, rank)
3607
4177
 *         finally:
3608
4178
 */
3609
 
    __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4179
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4180
    __Pyx_GOTREF(__pyx_t_1);
 
4181
    __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4182
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4183
    __pyx_t_3 = H5Tget_array_dims(__pyx_t_2, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L6;}
3610
4184
 
3611
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":506
 
4185
    /* "/home/tachyon/h5py/h5py/h5t.pyx":505
3612
4186
 *         try:
3613
4187
 *             H5Tget_array_dims(self.id, dims, NULL)
3614
4188
 *             return convert_dims(dims, rank)             # <<<<<<<<<<<<<<
3616
4190
 *             efree(dims)
3617
4191
 */
3618
4192
    __Pyx_XDECREF(__pyx_r);
3619
 
    __pyx_t_3 = __pyx_f_4h5py_5utils_convert_dims(__pyx_v_dims, __pyx_v_rank); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L6;}
3620
 
    __Pyx_GOTREF(__pyx_t_3);
3621
 
    __pyx_r = __pyx_t_3;
3622
 
    __pyx_t_3 = 0;
 
4193
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_dims(__pyx_v_dims, __pyx_v_rank); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4194
    __Pyx_GOTREF(__pyx_t_1);
 
4195
    __pyx_r = __pyx_t_1;
 
4196
    __pyx_t_1 = 0;
3623
4197
    goto __pyx_L5;
3624
4198
  }
3625
4199
  /*finally:*/ {
3632
4206
    __pyx_why = 3; goto __pyx_L7;
3633
4207
    __pyx_L6: {
3634
4208
      __pyx_why = 4;
3635
 
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
4209
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
3636
4210
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
3637
4211
      __pyx_exc_lineno = __pyx_lineno;
3638
4212
      goto __pyx_L7;
3639
4213
    }
3640
4214
    __pyx_L7:;
3641
4215
 
3642
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":508
 
4216
    /* "/home/tachyon/h5py/h5py/h5t.pyx":507
3643
4217
 *             return convert_dims(dims, rank)
3644
4218
 *         finally:
3645
4219
 *             efree(dims)             # <<<<<<<<<<<<<<
3663
4237
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3664
4238
  goto __pyx_L0;
3665
4239
  __pyx_L1_error:;
3666
 
  __Pyx_XDECREF(__pyx_t_3);
 
4240
  __Pyx_XDECREF(__pyx_t_1);
3667
4241
  __Pyx_AddTraceback("h5py.h5t.TypeArrayID.get_array_dims");
3668
4242
  __pyx_r = NULL;
3669
4243
  __pyx_L0:;
3673
4247
  return __pyx_r;
3674
4248
}
3675
4249
 
3676
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":510
 
4250
/* "/home/tachyon/h5py/h5py/h5t.pyx":509
3677
4251
 *             efree(dims)
3678
4252
 * 
3679
4253
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
3693
4267
  __pyx_v_base_dtype = Py_None; __Pyx_INCREF(Py_None);
3694
4268
  __pyx_v_shape = Py_None; __Pyx_INCREF(Py_None);
3695
4269
 
3696
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":513
 
4270
  /* "/home/tachyon/h5py/h5py/h5t.pyx":512
3697
4271
 *         # Numpy translation function for array types
3698
4272
 *         cdef TypeID tmp_type
3699
4273
 *         tmp_type = self.get_super()             # <<<<<<<<<<<<<<
3700
4274
 * 
3701
4275
 *         base_dtype = tmp_type.py_dtype()
3702
4276
 */
3703
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4277
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3704
4278
  __Pyx_GOTREF(__pyx_t_1);
3705
 
  __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 = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4279
  __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 = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3706
4280
  __Pyx_GOTREF(__pyx_t_2);
3707
4281
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3708
 
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4282
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3709
4283
  __Pyx_DECREF(((PyObject *)__pyx_v_tmp_type));
3710
4284
  __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
3711
4285
  __pyx_t_2 = 0;
3712
4286
 
3713
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":515
 
4287
  /* "/home/tachyon/h5py/h5py/h5t.pyx":514
3714
4288
 *         tmp_type = self.get_super()
3715
4289
 * 
3716
4290
 *         base_dtype = tmp_type.py_dtype()             # <<<<<<<<<<<<<<
3717
4291
 * 
3718
4292
 *         shape = self.get_array_dims()
3719
4293
 */
3720
 
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4294
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3721
4295
  __Pyx_GOTREF(__pyx_t_2);
3722
4296
  __Pyx_DECREF(__pyx_v_base_dtype);
3723
4297
  __pyx_v_base_dtype = __pyx_t_2;
3724
4298
  __pyx_t_2 = 0;
3725
4299
 
3726
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":517
 
4300
  /* "/home/tachyon/h5py/h5py/h5t.pyx":516
3727
4301
 *         base_dtype = tmp_type.py_dtype()
3728
4302
 * 
3729
4303
 *         shape = self.get_array_dims()             # <<<<<<<<<<<<<<
3730
4304
 *         return dtype( (base_dtype, shape) )
3731
4305
 * 
3732
4306
 */
3733
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_array_dims); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4307
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_array_dims); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3734
4308
  __Pyx_GOTREF(__pyx_t_2);
3735
 
  __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 = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4309
  __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 = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3736
4310
  __Pyx_GOTREF(__pyx_t_1);
3737
4311
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3738
4312
  __Pyx_DECREF(__pyx_v_shape);
3739
4313
  __pyx_v_shape = __pyx_t_1;
3740
4314
  __pyx_t_1 = 0;
3741
4315
 
3742
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":518
 
4316
  /* "/home/tachyon/h5py/h5py/h5t.pyx":517
3743
4317
 * 
3744
4318
 *         shape = self.get_array_dims()
3745
4319
 *         return dtype( (base_dtype, shape) )             # <<<<<<<<<<<<<<
3747
4321
 * 
3748
4322
 */
3749
4323
  __Pyx_XDECREF(__pyx_r);
3750
 
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4324
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3751
4325
  __Pyx_GOTREF(__pyx_t_1);
3752
4326
  __Pyx_INCREF(__pyx_v_base_dtype);
3753
4327
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base_dtype);
3755
4329
  __Pyx_INCREF(__pyx_v_shape);
3756
4330
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_shape);
3757
4331
  __Pyx_GIVEREF(__pyx_v_shape);
3758
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4332
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3759
4333
  __Pyx_GOTREF(__pyx_t_2);
3760
4334
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
3761
4335
  __Pyx_GIVEREF(__pyx_t_1);
3762
4336
  __pyx_t_1 = 0;
3763
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4337
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3764
4338
  __Pyx_GOTREF(__pyx_t_1);
3765
4339
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3766
4340
  __pyx_r = __pyx_t_1;
3783
4357
  return __pyx_r;
3784
4358
}
3785
4359
 
3786
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":528
 
4360
/* "/home/tachyon/h5py/h5py/h5t.pyx":527
3787
4361
 * 
3788
4362
 * 
3789
4363
 *     def set_tag(self, char* tag):             # <<<<<<<<<<<<<<
3796
4370
static PyObject *__pyx_pf_4h5py_3h5t_12TypeOpaqueID_set_tag(PyObject *__pyx_v_self, PyObject *__pyx_arg_tag) {
3797
4371
  char *__pyx_v_tag;
3798
4372
  PyObject *__pyx_r = NULL;
3799
 
  herr_t __pyx_t_1;
 
4373
  PyObject *__pyx_t_1 = NULL;
 
4374
  hid_t __pyx_t_2;
 
4375
  herr_t __pyx_t_3;
3800
4376
  __Pyx_RefNannySetupContext("set_tag");
3801
4377
  assert(__pyx_arg_tag); {
3802
 
    __pyx_v_tag = __Pyx_PyBytes_AsString(__pyx_arg_tag); if (unlikely((!__pyx_v_tag) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4378
    __pyx_v_tag = __Pyx_PyBytes_AsString(__pyx_arg_tag); if (unlikely((!__pyx_v_tag) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3803
4379
  }
3804
4380
  goto __pyx_L4_argument_unpacking_done;
3805
4381
  __pyx_L3_error:;
3807
4383
  return NULL;
3808
4384
  __pyx_L4_argument_unpacking_done:;
3809
4385
 
3810
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":534
 
4386
  /* "/home/tachyon/h5py/h5py/h5t.pyx":533
3811
4387
 *         Limited to 256 characters.
3812
4388
 *         """
3813
4389
 *         H5Tset_tag(self.id, tag)             # <<<<<<<<<<<<<<
3814
4390
 * 
3815
4391
 * 
3816
4392
 */
3817
 
  __pyx_t_1 = H5Tset_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_tag); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4393
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4394
  __Pyx_GOTREF(__pyx_t_1);
 
4395
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4396
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4397
  __pyx_t_3 = H5Tset_tag(__pyx_t_2, __pyx_v_tag); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3818
4398
 
3819
4399
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3820
4400
  goto __pyx_L0;
3821
4401
  __pyx_L1_error:;
 
4402
  __Pyx_XDECREF(__pyx_t_1);
3822
4403
  __Pyx_AddTraceback("h5py.h5t.TypeOpaqueID.set_tag");
3823
4404
  __pyx_r = NULL;
3824
4405
  __pyx_L0:;
3827
4408
  return __pyx_r;
3828
4409
}
3829
4410
 
3830
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":537
 
4411
/* "/home/tachyon/h5py/h5py/h5t.pyx":536
3831
4412
 * 
3832
4413
 * 
3833
4414
 *     def get_tag(self):             # <<<<<<<<<<<<<<
3841
4422
  char *__pyx_v_buf;
3842
4423
  PyObject *__pyx_v_tag;
3843
4424
  PyObject *__pyx_r = NULL;
3844
 
  char *__pyx_t_1;
3845
 
  PyObject *__pyx_t_2 = NULL;
 
4425
  PyObject *__pyx_t_1 = NULL;
 
4426
  hid_t __pyx_t_2;
 
4427
  char *__pyx_t_3;
3846
4428
  __Pyx_RefNannySetupContext("get_tag");
3847
4429
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3848
4430
  __pyx_v_tag = Py_None; __Pyx_INCREF(Py_None);
3849
4431
 
3850
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":542
 
4432
  /* "/home/tachyon/h5py/h5py/h5t.pyx":541
3851
4433
 *         Get the tag associated with an opaque datatype.
3852
4434
 *         """
3853
4435
 *         cdef char* buf = NULL             # <<<<<<<<<<<<<<
3856
4438
 */
3857
4439
  __pyx_v_buf = NULL;
3858
4440
 
3859
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":544
 
4441
  /* "/home/tachyon/h5py/h5py/h5t.pyx":543
3860
4442
 *         cdef char* buf = NULL
3861
4443
 * 
3862
4444
 *         try:             # <<<<<<<<<<<<<<
3865
4447
 */
3866
4448
  /*try:*/ {
3867
4449
 
3868
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":545
 
4450
    /* "/home/tachyon/h5py/h5py/h5t.pyx":544
3869
4451
 * 
3870
4452
 *         try:
3871
4453
 *             buf = H5Tget_tag(self.id)             # <<<<<<<<<<<<<<
3872
4454
 *             assert buf != NULL
3873
4455
 *             tag = buf
3874
4456
 */
3875
 
    __pyx_t_1 = H5Tget_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L6;}
3876
 
    __pyx_v_buf = __pyx_t_1;
 
4457
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4458
    __Pyx_GOTREF(__pyx_t_1);
 
4459
    __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4460
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4461
    __pyx_t_3 = H5Tget_tag(__pyx_t_2); if (unlikely(__pyx_t_3 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4462
    __pyx_v_buf = __pyx_t_3;
3877
4463
 
3878
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":546
 
4464
    /* "/home/tachyon/h5py/h5py/h5t.pyx":545
3879
4465
 *         try:
3880
4466
 *             buf = H5Tget_tag(self.id)
3881
4467
 *             assert buf != NULL             # <<<<<<<<<<<<<<
3885
4471
    #ifndef PYREX_WITHOUT_ASSERTIONS
3886
4472
    if (unlikely(!(__pyx_v_buf != NULL))) {
3887
4473
      PyErr_SetNone(PyExc_AssertionError);
3888
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4474
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L6;}
3889
4475
    }
3890
4476
    #endif
3891
4477
 
3892
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":547
 
4478
    /* "/home/tachyon/h5py/h5py/h5t.pyx":546
3893
4479
 *             buf = H5Tget_tag(self.id)
3894
4480
 *             assert buf != NULL
3895
4481
 *             tag = buf             # <<<<<<<<<<<<<<
3896
4482
 *             return tag
3897
4483
 *         finally:
3898
4484
 */
3899
 
    __pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_v_buf); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L6;}
3900
 
    __Pyx_GOTREF(__pyx_t_2);
 
4485
    __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_buf); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
4486
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
3901
4487
    __Pyx_DECREF(__pyx_v_tag);
3902
 
    __pyx_v_tag = __pyx_t_2;
3903
 
    __pyx_t_2 = 0;
 
4488
    __pyx_v_tag = ((PyObject *)__pyx_t_1);
 
4489
    __pyx_t_1 = 0;
3904
4490
 
3905
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":548
 
4491
    /* "/home/tachyon/h5py/h5py/h5t.pyx":547
3906
4492
 *             assert buf != NULL
3907
4493
 *             tag = buf
3908
4494
 *             return tag             # <<<<<<<<<<<<<<
3924
4510
    __pyx_why = 3; goto __pyx_L7;
3925
4511
    __pyx_L6: {
3926
4512
      __pyx_why = 4;
3927
 
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4513
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
3928
4514
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
3929
4515
      __pyx_exc_lineno = __pyx_lineno;
3930
4516
      goto __pyx_L7;
3931
4517
    }
3932
4518
    __pyx_L7:;
3933
4519
 
3934
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":550
 
4520
    /* "/home/tachyon/h5py/h5py/h5t.pyx":549
3935
4521
 *             return tag
3936
4522
 *         finally:
3937
4523
 *             free(buf)             # <<<<<<<<<<<<<<
3955
4541
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3956
4542
  goto __pyx_L0;
3957
4543
  __pyx_L1_error:;
3958
 
  __Pyx_XDECREF(__pyx_t_2);
 
4544
  __Pyx_XDECREF(__pyx_t_1);
3959
4545
  __Pyx_AddTraceback("h5py.h5t.TypeOpaqueID.get_tag");
3960
4546
  __pyx_r = NULL;
3961
4547
  __pyx_L0:;
3966
4552
  return __pyx_r;
3967
4553
}
3968
4554
 
3969
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":552
 
4555
/* "/home/tachyon/h5py/h5py/h5t.pyx":551
3970
4556
 *             free(buf)
3971
4557
 * 
3972
4558
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
3980
4566
  PyObject *__pyx_t_2 = NULL;
3981
4567
  __Pyx_RefNannySetupContext("py_dtype");
3982
4568
 
3983
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":554
 
4569
  /* "/home/tachyon/h5py/h5py/h5t.pyx":553
3984
4570
 *     cdef object py_dtype(self):
3985
4571
 *         # Numpy translation function for opaque types
3986
4572
 *         return dtype("|V" + str(self.get_size()))             # <<<<<<<<<<<<<<
3988
4574
 * cdef class TypeStringID(TypeID):
3989
4575
 */
3990
4576
  __Pyx_XDECREF(__pyx_r);
3991
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4577
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3992
4578
  __Pyx_GOTREF(__pyx_t_1);
3993
 
  __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 = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4579
  __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 = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3994
4580
  __Pyx_GOTREF(__pyx_t_2);
3995
4581
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3996
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4582
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3997
4583
  __Pyx_GOTREF(__pyx_t_1);
3998
4584
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
3999
4585
  __Pyx_GIVEREF(__pyx_t_2);
4000
4586
  __pyx_t_2 = 0;
4001
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4587
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4002
4588
  __Pyx_GOTREF(__pyx_t_2);
4003
4589
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4004
 
  __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_kp_s_4), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4590
  __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_kp_s_4), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4005
4591
  __Pyx_GOTREF(__pyx_t_1);
4006
4592
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4007
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4593
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4008
4594
  __Pyx_GOTREF(__pyx_t_2);
4009
4595
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
4010
4596
  __Pyx_GIVEREF(__pyx_t_1);
4011
4597
  __pyx_t_1 = 0;
4012
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4598
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4013
4599
  __Pyx_GOTREF(__pyx_t_1);
4014
4600
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4015
4601
  __pyx_r = __pyx_t_1;
4029
4615
  return __pyx_r;
4030
4616
}
4031
4617
 
4032
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":563
 
4618
/* "/home/tachyon/h5py/h5py/h5t.pyx":562
4033
4619
 * 
4034
4620
 * 
4035
4621
 *     def is_variable_str(self):             # <<<<<<<<<<<<<<
4041
4627
static char __pyx_doc_4h5py_3h5t_12TypeStringID_is_variable_str[] = "() => BOOL is_variable\n\n        Determine if the given string datatype is a variable-length string.\n        ";
4042
4628
static PyObject *__pyx_pf_4h5py_3h5t_12TypeStringID_is_variable_str(PyObject *__pyx_v_self, PyObject *unused) {
4043
4629
  PyObject *__pyx_r = NULL;
4044
 
  htri_t __pyx_t_1;
4045
 
  PyObject *__pyx_t_2 = NULL;
 
4630
  PyObject *__pyx_t_1 = NULL;
 
4631
  hid_t __pyx_t_2;
 
4632
  htri_t __pyx_t_3;
4046
4633
  __Pyx_RefNannySetupContext("is_variable_str");
4047
4634
 
4048
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":568
 
4635
  /* "/home/tachyon/h5py/h5py/h5t.pyx":567
4049
4636
 *         Determine if the given string datatype is a variable-length string.
4050
4637
 *         """
4051
4638
 *         return <bint>(H5Tis_variable_str(self.id))             # <<<<<<<<<<<<<<
4053
4640
 * 
4054
4641
 */
4055
4642
  __Pyx_XDECREF(__pyx_r);
4056
 
  __pyx_t_1 = H5Tis_variable_str(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4057
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4058
 
  __Pyx_GOTREF(__pyx_t_2);
4059
 
  __pyx_r = __pyx_t_2;
4060
 
  __pyx_t_2 = 0;
 
4643
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4644
  __Pyx_GOTREF(__pyx_t_1);
 
4645
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4646
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4647
  __pyx_t_3 = H5Tis_variable_str(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4648
  __pyx_t_1 = __Pyx_PyBool_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4649
  __Pyx_GOTREF(__pyx_t_1);
 
4650
  __pyx_r = __pyx_t_1;
 
4651
  __pyx_t_1 = 0;
4061
4652
  goto __pyx_L0;
4062
4653
 
4063
4654
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4064
4655
  goto __pyx_L0;
4065
4656
  __pyx_L1_error:;
4066
 
  __Pyx_XDECREF(__pyx_t_2);
 
4657
  __Pyx_XDECREF(__pyx_t_1);
4067
4658
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.is_variable_str");
4068
4659
  __pyx_r = NULL;
4069
4660
  __pyx_L0:;
4072
4663
  return __pyx_r;
4073
4664
}
4074
4665
 
4075
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":571
 
4666
/* "/home/tachyon/h5py/h5py/h5t.pyx":570
4076
4667
 * 
4077
4668
 * 
4078
4669
 *     def get_cset(self):             # <<<<<<<<<<<<<<
4084
4675
static char __pyx_doc_4h5py_3h5t_12TypeStringID_get_cset[] = "() => INT character_set\n\n        Retrieve the character set used for a string.\n        ";
4085
4676
static PyObject *__pyx_pf_4h5py_3h5t_12TypeStringID_get_cset(PyObject *__pyx_v_self, PyObject *unused) {
4086
4677
  PyObject *__pyx_r = NULL;
4087
 
  H5T_cset_t __pyx_t_1;
4088
 
  PyObject *__pyx_t_2 = NULL;
 
4678
  PyObject *__pyx_t_1 = NULL;
 
4679
  hid_t __pyx_t_2;
 
4680
  H5T_cset_t __pyx_t_3;
4089
4681
  __Pyx_RefNannySetupContext("get_cset");
4090
4682
 
4091
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":576
 
4683
  /* "/home/tachyon/h5py/h5py/h5t.pyx":575
4092
4684
 *         Retrieve the character set used for a string.
4093
4685
 *         """
4094
4686
 *         return <int>H5Tget_cset(self.id)             # <<<<<<<<<<<<<<
4096
4688
 * 
4097
4689
 */
4098
4690
  __Pyx_XDECREF(__pyx_r);
4099
 
  __pyx_t_1 = H5Tget_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4100
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4101
 
  __Pyx_GOTREF(__pyx_t_2);
4102
 
  __pyx_r = __pyx_t_2;
4103
 
  __pyx_t_2 = 0;
 
4691
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4692
  __Pyx_GOTREF(__pyx_t_1);
 
4693
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4694
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4695
  __pyx_t_3 = H5Tget_cset(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4696
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4697
  __Pyx_GOTREF(__pyx_t_1);
 
4698
  __pyx_r = __pyx_t_1;
 
4699
  __pyx_t_1 = 0;
4104
4700
  goto __pyx_L0;
4105
4701
 
4106
4702
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4107
4703
  goto __pyx_L0;
4108
4704
  __pyx_L1_error:;
4109
 
  __Pyx_XDECREF(__pyx_t_2);
 
4705
  __Pyx_XDECREF(__pyx_t_1);
4110
4706
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.get_cset");
4111
4707
  __pyx_r = NULL;
4112
4708
  __pyx_L0:;
4115
4711
  return __pyx_r;
4116
4712
}
4117
4713
 
4118
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":579
 
4714
/* "/home/tachyon/h5py/h5py/h5t.pyx":578
4119
4715
 * 
4120
4716
 * 
4121
4717
 *     def set_cset(self, int cset):             # <<<<<<<<<<<<<<
4128
4724
static PyObject *__pyx_pf_4h5py_3h5t_12TypeStringID_set_cset(PyObject *__pyx_v_self, PyObject *__pyx_arg_cset) {
4129
4725
  int __pyx_v_cset;
4130
4726
  PyObject *__pyx_r = NULL;
4131
 
  herr_t __pyx_t_1;
 
4727
  PyObject *__pyx_t_1 = NULL;
 
4728
  hid_t __pyx_t_2;
 
4729
  herr_t __pyx_t_3;
4132
4730
  __Pyx_RefNannySetupContext("set_cset");
4133
4731
  assert(__pyx_arg_cset); {
4134
 
    __pyx_v_cset = __Pyx_PyInt_AsInt(__pyx_arg_cset); if (unlikely((__pyx_v_cset == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4732
    __pyx_v_cset = __Pyx_PyInt_AsInt(__pyx_arg_cset); if (unlikely((__pyx_v_cset == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4135
4733
  }
4136
4734
  goto __pyx_L4_argument_unpacking_done;
4137
4735
  __pyx_L3_error:;
4139
4737
  return NULL;
4140
4738
  __pyx_L4_argument_unpacking_done:;
4141
4739
 
4142
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":584
 
4740
  /* "/home/tachyon/h5py/h5py/h5t.pyx":583
4143
4741
 *         Set the character set used for a string.
4144
4742
 *         """
4145
4743
 *         H5Tset_cset(self.id, <H5T_cset_t>cset)             # <<<<<<<<<<<<<<
4146
4744
 * 
4147
4745
 * 
4148
4746
 */
4149
 
  __pyx_t_1 = H5Tset_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_cset_t)__pyx_v_cset)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4747
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4748
  __Pyx_GOTREF(__pyx_t_1);
 
4749
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4750
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4751
  __pyx_t_3 = H5Tset_cset(__pyx_t_2, ((H5T_cset_t)__pyx_v_cset)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4150
4752
 
4151
4753
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4152
4754
  goto __pyx_L0;
4153
4755
  __pyx_L1_error:;
 
4756
  __Pyx_XDECREF(__pyx_t_1);
4154
4757
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.set_cset");
4155
4758
  __pyx_r = NULL;
4156
4759
  __pyx_L0:;
4159
4762
  return __pyx_r;
4160
4763
}
4161
4764
 
4162
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":587
 
4765
/* "/home/tachyon/h5py/h5py/h5t.pyx":586
4163
4766
 * 
4164
4767
 * 
4165
4768
 *     def get_strpad(self):             # <<<<<<<<<<<<<<
4171
4774
static char __pyx_doc_4h5py_3h5t_12TypeStringID_get_strpad[] = "() => INT padding_type\n\n        Get the padding type.  Legal values are:\n\n        STR_NULLTERM\n            NULL termination only (C style)\n\n        STR_NULLPAD\n            Pad buffer with NULLs\n\n        STR_SPACEPAD\n            Pad buffer with spaces (FORTRAN style)\n        ";
4172
4775
static PyObject *__pyx_pf_4h5py_3h5t_12TypeStringID_get_strpad(PyObject *__pyx_v_self, PyObject *unused) {
4173
4776
  PyObject *__pyx_r = NULL;
4174
 
  H5T_str_t __pyx_t_1;
4175
 
  PyObject *__pyx_t_2 = NULL;
 
4777
  PyObject *__pyx_t_1 = NULL;
 
4778
  hid_t __pyx_t_2;
 
4779
  H5T_str_t __pyx_t_3;
4176
4780
  __Pyx_RefNannySetupContext("get_strpad");
4177
4781
 
4178
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":601
 
4782
  /* "/home/tachyon/h5py/h5py/h5t.pyx":600
4179
4783
 *             Pad buffer with spaces (FORTRAN style)
4180
4784
 *         """
4181
4785
 *         return <int>H5Tget_strpad(self.id)             # <<<<<<<<<<<<<<
4183
4787
 * 
4184
4788
 */
4185
4789
  __Pyx_XDECREF(__pyx_r);
4186
 
  __pyx_t_1 = H5Tget_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4187
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4188
 
  __Pyx_GOTREF(__pyx_t_2);
4189
 
  __pyx_r = __pyx_t_2;
4190
 
  __pyx_t_2 = 0;
 
4790
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4791
  __Pyx_GOTREF(__pyx_t_1);
 
4792
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4793
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4794
  __pyx_t_3 = H5Tget_strpad(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4795
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4796
  __Pyx_GOTREF(__pyx_t_1);
 
4797
  __pyx_r = __pyx_t_1;
 
4798
  __pyx_t_1 = 0;
4191
4799
  goto __pyx_L0;
4192
4800
 
4193
4801
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4194
4802
  goto __pyx_L0;
4195
4803
  __pyx_L1_error:;
4196
 
  __Pyx_XDECREF(__pyx_t_2);
 
4804
  __Pyx_XDECREF(__pyx_t_1);
4197
4805
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.get_strpad");
4198
4806
  __pyx_r = NULL;
4199
4807
  __pyx_L0:;
4202
4810
  return __pyx_r;
4203
4811
}
4204
4812
 
4205
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":604
 
4813
/* "/home/tachyon/h5py/h5py/h5t.pyx":603
4206
4814
 * 
4207
4815
 * 
4208
4816
 *     def set_strpad(self, int pad):             # <<<<<<<<<<<<<<
4215
4823
static PyObject *__pyx_pf_4h5py_3h5t_12TypeStringID_set_strpad(PyObject *__pyx_v_self, PyObject *__pyx_arg_pad) {
4216
4824
  int __pyx_v_pad;
4217
4825
  PyObject *__pyx_r = NULL;
4218
 
  herr_t __pyx_t_1;
 
4826
  PyObject *__pyx_t_1 = NULL;
 
4827
  hid_t __pyx_t_2;
 
4828
  herr_t __pyx_t_3;
4219
4829
  __Pyx_RefNannySetupContext("set_strpad");
4220
4830
  assert(__pyx_arg_pad); {
4221
 
    __pyx_v_pad = __Pyx_PyInt_AsInt(__pyx_arg_pad); if (unlikely((__pyx_v_pad == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4831
    __pyx_v_pad = __Pyx_PyInt_AsInt(__pyx_arg_pad); if (unlikely((__pyx_v_pad == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4222
4832
  }
4223
4833
  goto __pyx_L4_argument_unpacking_done;
4224
4834
  __pyx_L3_error:;
4226
4836
  return NULL;
4227
4837
  __pyx_L4_argument_unpacking_done:;
4228
4838
 
4229
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":618
 
4839
  /* "/home/tachyon/h5py/h5py/h5t.pyx":617
4230
4840
 *             Pad buffer with spaces (FORTRAN style)
4231
4841
 *         """
4232
4842
 *         H5Tset_strpad(self.id, <H5T_str_t>pad)             # <<<<<<<<<<<<<<
4233
4843
 * 
4234
4844
 *     cdef object py_dtype(self):
4235
4845
 */
4236
 
  __pyx_t_1 = H5Tset_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_str_t)__pyx_v_pad)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4846
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4847
  __Pyx_GOTREF(__pyx_t_1);
 
4848
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4849
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4850
  __pyx_t_3 = H5Tset_strpad(__pyx_t_2, ((H5T_str_t)__pyx_v_pad)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4237
4851
 
4238
4852
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4239
4853
  goto __pyx_L0;
4240
4854
  __pyx_L1_error:;
 
4855
  __Pyx_XDECREF(__pyx_t_1);
4241
4856
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.set_strpad");
4242
4857
  __pyx_r = NULL;
4243
4858
  __pyx_L0:;
4246
4861
  return __pyx_r;
4247
4862
}
4248
4863
 
4249
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":620
 
4864
/* "/home/tachyon/h5py/h5py/h5t.pyx":619
4250
4865
 *         H5Tset_strpad(self.id, <H5T_str_t>pad)
4251
4866
 * 
4252
4867
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
4263
4878
  __Pyx_RefNannySetupContext("py_dtype");
4264
4879
  __Pyx_INCREF((PyObject *)__pyx_v_self);
4265
4880
 
4266
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":622
 
4881
  /* "/home/tachyon/h5py/h5py/h5t.pyx":621
4267
4882
 *     cdef object py_dtype(self):
4268
4883
 *         # Numpy translation function for string types
4269
4884
 *         if self.is_variable_str():             # <<<<<<<<<<<<<<
4270
4885
 *             return special_dtype(vlen=str)
4271
4886
 * 
4272
4887
 */
4273
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__is_variable_str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4888
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__is_variable_str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4274
4889
  __Pyx_GOTREF(__pyx_t_1);
4275
 
  __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 = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4890
  __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 = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4276
4891
  __Pyx_GOTREF(__pyx_t_2);
4277
4892
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4278
 
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4893
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4279
4894
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4280
4895
  if (__pyx_t_3) {
4281
4896
 
4282
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":623
 
4897
    /* "/home/tachyon/h5py/h5py/h5t.pyx":622
4283
4898
 *         # Numpy translation function for string types
4284
4899
 *         if self.is_variable_str():
4285
4900
 *             return special_dtype(vlen=str)             # <<<<<<<<<<<<<<
4287
4902
 *         return dtype("|S" + str(self.get_size()))
4288
4903
 */
4289
4904
    __Pyx_XDECREF(__pyx_r);
4290
 
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4905
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4291
4906
    __Pyx_GOTREF(__pyx_t_2);
4292
 
    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4907
    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4293
4908
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
4294
 
    if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)((PyObject*)&PyString_Type))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4295
 
    __pyx_t_4 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4909
    if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)((PyObject*)&PyString_Type))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4910
    __pyx_t_4 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4296
4911
    __Pyx_GOTREF(__pyx_t_4);
4297
4912
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4298
4913
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4303
4918
  }
4304
4919
  __pyx_L3:;
4305
4920
 
4306
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":625
 
4921
  /* "/home/tachyon/h5py/h5py/h5t.pyx":624
4307
4922
 *             return special_dtype(vlen=str)
4308
4923
 * 
4309
4924
 *         return dtype("|S" + str(self.get_size()))             # <<<<<<<<<<<<<<
4311
4926
 * cdef class TypeVlenID(TypeID):
4312
4927
 */
4313
4928
  __Pyx_XDECREF(__pyx_r);
4314
 
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4929
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4315
4930
  __Pyx_GOTREF(__pyx_t_4);
4316
 
  __pyx_t_1 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4931
  __pyx_t_1 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4317
4932
  __Pyx_GOTREF(__pyx_t_1);
4318
4933
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4319
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4934
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4320
4935
  __Pyx_GOTREF(__pyx_t_4);
4321
4936
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
4322
4937
  __Pyx_GIVEREF(__pyx_t_1);
4323
4938
  __pyx_t_1 = 0;
4324
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4939
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4325
4940
  __Pyx_GOTREF(__pyx_t_1);
4326
4941
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4327
 
  __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_kp_s_5), __pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4942
  __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_kp_s_5), __pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4328
4943
  __Pyx_GOTREF(__pyx_t_4);
4329
4944
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4330
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4945
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4331
4946
  __Pyx_GOTREF(__pyx_t_1);
4332
4947
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4);
4333
4948
  __Pyx_GIVEREF(__pyx_t_4);
4334
4949
  __pyx_t_4 = 0;
4335
 
  __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4950
  __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4336
4951
  __Pyx_GOTREF(__pyx_t_4);
4337
4952
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4338
4953
  __pyx_r = __pyx_t_4;
4354
4969
  return __pyx_r;
4355
4970
}
4356
4971
 
4357
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":654
 
4972
/* "/home/tachyon/h5py/h5py/h5t.pyx":653
4358
4973
 *     """
4359
4974
 * 
4360
4975
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
4364
4979
 
4365
4980
static  PyObject *__pyx_f_4h5py_3h5t_15TypeReferenceID_py_dtype(struct __pyx_obj_4h5py_3h5t_TypeReferenceID *__pyx_v_self) {
4366
4981
  PyObject *__pyx_r = NULL;
4367
 
  htri_t __pyx_t_1;
4368
 
  PyObject *__pyx_t_2 = NULL;
4369
 
  PyObject *__pyx_t_3 = NULL;
 
4982
  PyObject *__pyx_t_1 = NULL;
 
4983
  hid_t __pyx_t_2;
 
4984
  htri_t __pyx_t_3;
4370
4985
  PyObject *__pyx_t_4 = NULL;
 
4986
  PyObject *__pyx_t_5 = NULL;
4371
4987
  __Pyx_RefNannySetupContext("py_dtype");
4372
4988
  __Pyx_INCREF((PyObject *)__pyx_v_self);
4373
4989
 
4374
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":655
 
4990
  /* "/home/tachyon/h5py/h5py/h5t.pyx":654
4375
4991
 * 
4376
4992
 *     cdef object py_dtype(self):
4377
4993
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):             # <<<<<<<<<<<<<<
4378
4994
 *             return special_dtype(ref=Reference)
4379
4995
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):
4380
4996
 */
4381
 
  __pyx_t_1 = H5Tequal(__pyx_v_self->__pyx_base.__pyx_base.id, H5T_STD_REF_OBJ); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4382
 
  if (__pyx_t_1) {
 
4997
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4998
  __Pyx_GOTREF(__pyx_t_1);
 
4999
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5000
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5001
  __pyx_t_3 = H5Tequal(__pyx_t_2, H5T_STD_REF_OBJ); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5002
  if (__pyx_t_3) {
4383
5003
 
4384
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":656
 
5004
    /* "/home/tachyon/h5py/h5py/h5t.pyx":655
4385
5005
 *     cdef object py_dtype(self):
4386
5006
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):
4387
5007
 *             return special_dtype(ref=Reference)             # <<<<<<<<<<<<<<
4389
5009
 *             return special_dtype(ref=RegionReference)
4390
5010
 */
4391
5011
    __Pyx_XDECREF(__pyx_r);
4392
 
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4393
 
    __Pyx_GOTREF(__pyx_t_2);
4394
 
    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4395
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
4396
 
    if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4397
 
    __pyx_t_4 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4398
 
    __Pyx_GOTREF(__pyx_t_4);
4399
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4400
 
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
4401
 
    __pyx_r = __pyx_t_4;
4402
 
    __pyx_t_4 = 0;
 
5012
    __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5013
    __Pyx_GOTREF(__pyx_t_1);
 
5014
    __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5015
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
5016
    if (PyDict_SetItem(__pyx_t_4, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5017
    __pyx_t_5 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5018
    __Pyx_GOTREF(__pyx_t_5);
 
5019
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5020
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
5021
    __pyx_r = __pyx_t_5;
 
5022
    __pyx_t_5 = 0;
4403
5023
    goto __pyx_L0;
4404
5024
    goto __pyx_L3;
4405
5025
  }
4406
5026
 
4407
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":657
 
5027
  /* "/home/tachyon/h5py/h5py/h5t.pyx":656
4408
5028
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):
4409
5029
 *             return special_dtype(ref=Reference)
4410
5030
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):             # <<<<<<<<<<<<<<
4411
5031
 *             return special_dtype(ref=RegionReference)
4412
5032
 *         else:
4413
5033
 */
4414
 
  __pyx_t_1 = H5Tequal(__pyx_v_self->__pyx_base.__pyx_base.id, H5T_STD_REF_DSETREG); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4415
 
  if (__pyx_t_1) {
 
5034
  __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__id); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5035
  __Pyx_GOTREF(__pyx_t_5);
 
5036
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_5); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5037
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
5038
  __pyx_t_3 = H5Tequal(__pyx_t_2, H5T_STD_REF_DSETREG); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5039
  if (__pyx_t_3) {
4416
5040
 
4417
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":658
 
5041
    /* "/home/tachyon/h5py/h5py/h5t.pyx":657
4418
5042
 *             return special_dtype(ref=Reference)
4419
5043
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):
4420
5044
 *             return special_dtype(ref=RegionReference)             # <<<<<<<<<<<<<<
4422
5046
 *             raise TypeError("Unknown reference type")
4423
5047
 */
4424
5048
    __Pyx_XDECREF(__pyx_r);
4425
 
    __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4426
 
    __Pyx_GOTREF(__pyx_t_4);
4427
 
    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4428
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
4429
 
    if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4430
 
    __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4431
 
    __Pyx_GOTREF(__pyx_t_2);
4432
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4433
 
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
4434
 
    __pyx_r = __pyx_t_2;
4435
 
    __pyx_t_2 = 0;
 
5049
    __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5050
    __Pyx_GOTREF(__pyx_t_5);
 
5051
    __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5052
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
5053
    if (PyDict_SetItem(__pyx_t_4, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5054
    __pyx_t_1 = PyEval_CallObjectWithKeywords(__pyx_t_5, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5055
    __Pyx_GOTREF(__pyx_t_1);
 
5056
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
5057
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
5058
    __pyx_r = __pyx_t_1;
 
5059
    __pyx_t_1 = 0;
4436
5060
    goto __pyx_L0;
4437
5061
    goto __pyx_L3;
4438
5062
  }
4439
5063
  /*else*/ {
4440
5064
 
4441
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":660
 
5065
    /* "/home/tachyon/h5py/h5py/h5t.pyx":659
4442
5066
 *             return special_dtype(ref=RegionReference)
4443
5067
 *         else:
4444
5068
 *             raise TypeError("Unknown reference type")             # <<<<<<<<<<<<<<
4445
5069
 * 
4446
5070
 * 
4447
5071
 */
4448
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4449
 
    __Pyx_GOTREF(__pyx_t_2);
 
5072
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5073
    __Pyx_GOTREF(__pyx_t_1);
4450
5074
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_6));
4451
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_6));
 
5075
    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_kp_s_6));
4452
5076
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_6));
4453
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4454
 
    __Pyx_GOTREF(__pyx_t_3);
4455
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4456
 
    __Pyx_Raise(__pyx_t_3, 0, 0);
4457
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4458
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5077
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5078
    __Pyx_GOTREF(__pyx_t_4);
 
5079
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5080
    __Pyx_Raise(__pyx_t_4, 0, 0);
 
5081
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
5082
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4459
5083
  }
4460
5084
  __pyx_L3:;
4461
5085
 
4462
5086
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4463
5087
  goto __pyx_L0;
4464
5088
  __pyx_L1_error:;
4465
 
  __Pyx_XDECREF(__pyx_t_2);
4466
 
  __Pyx_XDECREF(__pyx_t_3);
 
5089
  __Pyx_XDECREF(__pyx_t_1);
4467
5090
  __Pyx_XDECREF(__pyx_t_4);
 
5091
  __Pyx_XDECREF(__pyx_t_5);
4468
5092
  __Pyx_AddTraceback("h5py.h5t.TypeReferenceID.py_dtype");
4469
5093
  __pyx_r = 0;
4470
5094
  __pyx_L0:;
4474
5098
  return __pyx_r;
4475
5099
}
4476
5100
 
4477
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":672
 
5101
/* "/home/tachyon/h5py/h5py/h5t.pyx":671
4478
5102
 * 
4479
5103
 * 
4480
5104
 *     def get_order(self):             # <<<<<<<<<<<<<<
4486
5110
static char __pyx_doc_4h5py_3h5t_12TypeAtomicID_get_order[] = "() => INT order\n\n        Obtain the byte order of the datatype; one of:\n\n        - ORDER_LE\n        - ORDER_BE\n        ";
4487
5111
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_get_order(PyObject *__pyx_v_self, PyObject *unused) {
4488
5112
  PyObject *__pyx_r = NULL;
4489
 
  H5T_order_t __pyx_t_1;
4490
 
  PyObject *__pyx_t_2 = NULL;
 
5113
  PyObject *__pyx_t_1 = NULL;
 
5114
  hid_t __pyx_t_2;
 
5115
  H5T_order_t __pyx_t_3;
4491
5116
  __Pyx_RefNannySetupContext("get_order");
4492
5117
 
4493
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":680
 
5118
  /* "/home/tachyon/h5py/h5py/h5t.pyx":679
4494
5119
 *         - ORDER_BE
4495
5120
 *         """
4496
5121
 *         return <int>H5Tget_order(self.id)             # <<<<<<<<<<<<<<
4498
5123
 * 
4499
5124
 */
4500
5125
  __Pyx_XDECREF(__pyx_r);
4501
 
  __pyx_t_1 = H5Tget_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4502
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4503
 
  __Pyx_GOTREF(__pyx_t_2);
4504
 
  __pyx_r = __pyx_t_2;
4505
 
  __pyx_t_2 = 0;
 
5126
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5127
  __Pyx_GOTREF(__pyx_t_1);
 
5128
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5129
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5130
  __pyx_t_3 = H5Tget_order(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5131
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5132
  __Pyx_GOTREF(__pyx_t_1);
 
5133
  __pyx_r = __pyx_t_1;
 
5134
  __pyx_t_1 = 0;
4506
5135
  goto __pyx_L0;
4507
5136
 
4508
5137
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4509
5138
  goto __pyx_L0;
4510
5139
  __pyx_L1_error:;
4511
 
  __Pyx_XDECREF(__pyx_t_2);
 
5140
  __Pyx_XDECREF(__pyx_t_1);
4512
5141
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.get_order");
4513
5142
  __pyx_r = NULL;
4514
5143
  __pyx_L0:;
4517
5146
  return __pyx_r;
4518
5147
}
4519
5148
 
4520
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":683
 
5149
/* "/home/tachyon/h5py/h5py/h5t.pyx":682
4521
5150
 * 
4522
5151
 * 
4523
5152
 *     def set_order(self, int order):             # <<<<<<<<<<<<<<
4530
5159
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_set_order(PyObject *__pyx_v_self, PyObject *__pyx_arg_order) {
4531
5160
  int __pyx_v_order;
4532
5161
  PyObject *__pyx_r = NULL;
4533
 
  herr_t __pyx_t_1;
 
5162
  PyObject *__pyx_t_1 = NULL;
 
5163
  hid_t __pyx_t_2;
 
5164
  herr_t __pyx_t_3;
4534
5165
  __Pyx_RefNannySetupContext("set_order");
4535
5166
  assert(__pyx_arg_order); {
4536
 
    __pyx_v_order = __Pyx_PyInt_AsInt(__pyx_arg_order); if (unlikely((__pyx_v_order == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5167
    __pyx_v_order = __Pyx_PyInt_AsInt(__pyx_arg_order); if (unlikely((__pyx_v_order == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4537
5168
  }
4538
5169
  goto __pyx_L4_argument_unpacking_done;
4539
5170
  __pyx_L3_error:;
4541
5172
  return NULL;
4542
5173
  __pyx_L4_argument_unpacking_done:;
4543
5174
 
4544
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":691
 
5175
  /* "/home/tachyon/h5py/h5py/h5t.pyx":690
4545
5176
 *         - ORDER_BE
4546
5177
 *         """
4547
5178
 *         H5Tset_order(self.id, <H5T_order_t>order)             # <<<<<<<<<<<<<<
4548
5179
 * 
4549
5180
 * 
4550
5181
 */
4551
 
  __pyx_t_1 = H5Tset_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_order_t)__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5182
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 690; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5183
  __Pyx_GOTREF(__pyx_t_1);
 
5184
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 690; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5185
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5186
  __pyx_t_3 = H5Tset_order(__pyx_t_2, ((H5T_order_t)__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 690; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4552
5187
 
4553
5188
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4554
5189
  goto __pyx_L0;
4555
5190
  __pyx_L1_error:;
 
5191
  __Pyx_XDECREF(__pyx_t_1);
4556
5192
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_order");
4557
5193
  __pyx_r = NULL;
4558
5194
  __pyx_L0:;
4561
5197
  return __pyx_r;
4562
5198
}
4563
5199
 
4564
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":694
 
5200
/* "/home/tachyon/h5py/h5py/h5t.pyx":693
4565
5201
 * 
4566
5202
 * 
4567
5203
 *     def get_precision(self):             # <<<<<<<<<<<<<<
4573
5209
static char __pyx_doc_4h5py_3h5t_12TypeAtomicID_get_precision[] = "() => UINT precision\n\n        Get the number of significant bits (excludes padding).\n        ";
4574
5210
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_get_precision(PyObject *__pyx_v_self, PyObject *unused) {
4575
5211
  PyObject *__pyx_r = NULL;
4576
 
  hsize_t __pyx_t_1;
4577
 
  PyObject *__pyx_t_2 = NULL;
 
5212
  PyObject *__pyx_t_1 = NULL;
 
5213
  hid_t __pyx_t_2;
 
5214
  hsize_t __pyx_t_3;
4578
5215
  __Pyx_RefNannySetupContext("get_precision");
4579
5216
 
4580
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":699
 
5217
  /* "/home/tachyon/h5py/h5py/h5t.pyx":698
4581
5218
 *         Get the number of significant bits (excludes padding).
4582
5219
 *         """
4583
5220
 *         return H5Tget_precision(self.id)             # <<<<<<<<<<<<<<
4585
5222
 * 
4586
5223
 */
4587
5224
  __Pyx_XDECREF(__pyx_r);
4588
 
  __pyx_t_1 = H5Tget_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4589
 
  __pyx_t_2 = __Pyx_PyInt_to_py_hsize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4590
 
  __Pyx_GOTREF(__pyx_t_2);
4591
 
  __pyx_r = __pyx_t_2;
4592
 
  __pyx_t_2 = 0;
 
5225
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5226
  __Pyx_GOTREF(__pyx_t_1);
 
5227
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5228
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5229
  __pyx_t_3 = H5Tget_precision(__pyx_t_2); if (unlikely(__pyx_t_3 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5230
  __pyx_t_1 = __Pyx_PyInt_to_py_hsize_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5231
  __Pyx_GOTREF(__pyx_t_1);
 
5232
  __pyx_r = __pyx_t_1;
 
5233
  __pyx_t_1 = 0;
4593
5234
  goto __pyx_L0;
4594
5235
 
4595
5236
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4596
5237
  goto __pyx_L0;
4597
5238
  __pyx_L1_error:;
4598
 
  __Pyx_XDECREF(__pyx_t_2);
 
5239
  __Pyx_XDECREF(__pyx_t_1);
4599
5240
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.get_precision");
4600
5241
  __pyx_r = NULL;
4601
5242
  __pyx_L0:;
4604
5245
  return __pyx_r;
4605
5246
}
4606
5247
 
4607
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":702
 
5248
/* "/home/tachyon/h5py/h5py/h5t.pyx":701
4608
5249
 * 
4609
5250
 * 
4610
5251
 *     def set_precision(self, size_t precision):             # <<<<<<<<<<<<<<
4617
5258
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_set_precision(PyObject *__pyx_v_self, PyObject *__pyx_arg_precision) {
4618
5259
  size_t __pyx_v_precision;
4619
5260
  PyObject *__pyx_r = NULL;
4620
 
  herr_t __pyx_t_1;
 
5261
  PyObject *__pyx_t_1 = NULL;
 
5262
  hid_t __pyx_t_2;
 
5263
  herr_t __pyx_t_3;
4621
5264
  __Pyx_RefNannySetupContext("set_precision");
4622
5265
  assert(__pyx_arg_precision); {
4623
 
    __pyx_v_precision = __Pyx_PyInt_AsSize_t(__pyx_arg_precision); if (unlikely((__pyx_v_precision == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5266
    __pyx_v_precision = __Pyx_PyInt_AsSize_t(__pyx_arg_precision); if (unlikely((__pyx_v_precision == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 701; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4624
5267
  }
4625
5268
  goto __pyx_L4_argument_unpacking_done;
4626
5269
  __pyx_L3_error:;
4628
5271
  return NULL;
4629
5272
  __pyx_L4_argument_unpacking_done:;
4630
5273
 
4631
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":707
 
5274
  /* "/home/tachyon/h5py/h5py/h5t.pyx":706
4632
5275
 *         Set the number of significant bits (excludes padding).
4633
5276
 *         """
4634
5277
 *         H5Tset_precision(self.id, precision)             # <<<<<<<<<<<<<<
4635
5278
 * 
4636
5279
 * 
4637
5280
 */
4638
 
  __pyx_t_1 = H5Tset_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_precision); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 707; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5281
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5282
  __Pyx_GOTREF(__pyx_t_1);
 
5283
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5284
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5285
  __pyx_t_3 = H5Tset_precision(__pyx_t_2, __pyx_v_precision); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4639
5286
 
4640
5287
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4641
5288
  goto __pyx_L0;
4642
5289
  __pyx_L1_error:;
 
5290
  __Pyx_XDECREF(__pyx_t_1);
4643
5291
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_precision");
4644
5292
  __pyx_r = NULL;
4645
5293
  __pyx_L0:;
4648
5296
  return __pyx_r;
4649
5297
}
4650
5298
 
4651
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":710
 
5299
/* "/home/tachyon/h5py/h5py/h5t.pyx":709
4652
5300
 * 
4653
5301
 * 
4654
5302
 *     def get_offset(self):             # <<<<<<<<<<<<<<
4660
5308
static char __pyx_doc_4h5py_3h5t_12TypeAtomicID_get_offset[] = "() => INT offset\n\n        Get the offset of the first significant bit.\n        ";
4661
5309
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_get_offset(PyObject *__pyx_v_self, PyObject *unused) {
4662
5310
  PyObject *__pyx_r = NULL;
4663
 
  int __pyx_t_1;
4664
 
  PyObject *__pyx_t_2 = NULL;
 
5311
  PyObject *__pyx_t_1 = NULL;
 
5312
  hid_t __pyx_t_2;
 
5313
  int __pyx_t_3;
4665
5314
  __Pyx_RefNannySetupContext("get_offset");
4666
5315
 
4667
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":715
 
5316
  /* "/home/tachyon/h5py/h5py/h5t.pyx":714
4668
5317
 *         Get the offset of the first significant bit.
4669
5318
 *         """
4670
5319
 *         return H5Tget_offset(self.id)             # <<<<<<<<<<<<<<
4672
5321
 * 
4673
5322
 */
4674
5323
  __Pyx_XDECREF(__pyx_r);
4675
 
  __pyx_t_1 = H5Tget_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4676
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4677
 
  __Pyx_GOTREF(__pyx_t_2);
4678
 
  __pyx_r = __pyx_t_2;
4679
 
  __pyx_t_2 = 0;
 
5324
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5325
  __Pyx_GOTREF(__pyx_t_1);
 
5326
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5327
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5328
  __pyx_t_3 = H5Tget_offset(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5329
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5330
  __Pyx_GOTREF(__pyx_t_1);
 
5331
  __pyx_r = __pyx_t_1;
 
5332
  __pyx_t_1 = 0;
4680
5333
  goto __pyx_L0;
4681
5334
 
4682
5335
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4683
5336
  goto __pyx_L0;
4684
5337
  __pyx_L1_error:;
4685
 
  __Pyx_XDECREF(__pyx_t_2);
 
5338
  __Pyx_XDECREF(__pyx_t_1);
4686
5339
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.get_offset");
4687
5340
  __pyx_r = NULL;
4688
5341
  __pyx_L0:;
4691
5344
  return __pyx_r;
4692
5345
}
4693
5346
 
4694
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":718
 
5347
/* "/home/tachyon/h5py/h5py/h5t.pyx":717
4695
5348
 * 
4696
5349
 * 
4697
5350
 *     def set_offset(self, size_t offset):             # <<<<<<<<<<<<<<
4704
5357
static PyObject *__pyx_pf_4h5py_3h5t_12TypeAtomicID_set_offset(PyObject *__pyx_v_self, PyObject *__pyx_arg_offset) {
4705
5358
  size_t __pyx_v_offset;
4706
5359
  PyObject *__pyx_r = NULL;
4707
 
  herr_t __pyx_t_1;
 
5360
  PyObject *__pyx_t_1 = NULL;
 
5361
  hid_t __pyx_t_2;
 
5362
  herr_t __pyx_t_3;
4708
5363
  __Pyx_RefNannySetupContext("set_offset");
4709
5364
  assert(__pyx_arg_offset); {
4710
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(__pyx_arg_offset); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5365
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(__pyx_arg_offset); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4711
5366
  }
4712
5367
  goto __pyx_L4_argument_unpacking_done;
4713
5368
  __pyx_L3_error:;
4715
5370
  return NULL;
4716
5371
  __pyx_L4_argument_unpacking_done:;
4717
5372
 
4718
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":723
 
5373
  /* "/home/tachyon/h5py/h5py/h5t.pyx":722
4719
5374
 *         Set the offset of the first significant bit.
4720
5375
 *         """
4721
5376
 *         H5Tset_offset(self.id, offset)             # <<<<<<<<<<<<<<
4722
5377
 * 
4723
5378
 * 
4724
5379
 */
4725
 
  __pyx_t_1 = H5Tset_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_offset); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5380
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5381
  __Pyx_GOTREF(__pyx_t_1);
 
5382
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5383
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5384
  __pyx_t_3 = H5Tset_offset(__pyx_t_2, __pyx_v_offset); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 722; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4726
5385
 
4727
5386
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4728
5387
  goto __pyx_L0;
4729
5388
  __pyx_L1_error:;
 
5389
  __Pyx_XDECREF(__pyx_t_1);
4730
5390
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_offset");
4731
5391
  __pyx_r = NULL;
4732
5392
  __pyx_L0:;
4735
5395
  return __pyx_r;
4736
5396
}
4737
5397
 
4738
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":726
 
5398
/* "/home/tachyon/h5py/h5py/h5t.pyx":725
4739
5399
 * 
4740
5400
 * 
4741
5401
 *     def get_pad(self):             # <<<<<<<<<<<<<<
4749
5409
  H5T_pad_t __pyx_v_lsb;
4750
5410
  H5T_pad_t __pyx_v_msb;
4751
5411
  PyObject *__pyx_r = NULL;
4752
 
  herr_t __pyx_t_1;
4753
 
  PyObject *__pyx_t_2 = NULL;
4754
 
  PyObject *__pyx_t_3 = NULL;
 
5412
  PyObject *__pyx_t_1 = NULL;
 
5413
  hid_t __pyx_t_2;
 
5414
  herr_t __pyx_t_3;
4755
5415
  PyObject *__pyx_t_4 = NULL;
 
5416
  PyObject *__pyx_t_5 = NULL;
4756
5417
  __Pyx_RefNannySetupContext("get_pad");
4757
5418
 
4758
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":737
 
5419
  /* "/home/tachyon/h5py/h5py/h5t.pyx":736
4759
5420
 *         cdef H5T_pad_t lsb
4760
5421
 *         cdef H5T_pad_t msb
4761
5422
 *         H5Tget_pad(self.id, &lsb, &msb)             # <<<<<<<<<<<<<<
4762
5423
 *         return (<int>lsb, <int>msb)
4763
5424
 * 
4764
5425
 */
4765
 
  __pyx_t_1 = H5Tget_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, (&__pyx_v_lsb), (&__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5426
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5427
  __Pyx_GOTREF(__pyx_t_1);
 
5428
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5429
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5430
  __pyx_t_3 = H5Tget_pad(__pyx_t_2, (&__pyx_v_lsb), (&__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4766
5431
 
4767
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":738
 
5432
  /* "/home/tachyon/h5py/h5py/h5t.pyx":737
4768
5433
 *         cdef H5T_pad_t msb
4769
5434
 *         H5Tget_pad(self.id, &lsb, &msb)
4770
5435
 *         return (<int>lsb, <int>msb)             # <<<<<<<<<<<<<<
4772
5437
 * 
4773
5438
 */
4774
5439
  __Pyx_XDECREF(__pyx_r);
4775
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_lsb)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4776
 
  __Pyx_GOTREF(__pyx_t_2);
4777
 
  __pyx_t_3 = PyInt_FromLong(((int)__pyx_v_msb)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4778
 
  __Pyx_GOTREF(__pyx_t_3);
4779
 
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5440
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_v_lsb)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5441
  __Pyx_GOTREF(__pyx_t_1);
 
5442
  __pyx_t_4 = PyInt_FromLong(((int)__pyx_v_msb)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4780
5443
  __Pyx_GOTREF(__pyx_t_4);
4781
 
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
4782
 
  __Pyx_GIVEREF(__pyx_t_2);
4783
 
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
4784
 
  __Pyx_GIVEREF(__pyx_t_3);
4785
 
  __pyx_t_2 = 0;
4786
 
  __pyx_t_3 = 0;
4787
 
  __pyx_r = __pyx_t_4;
 
5444
  __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5445
  __Pyx_GOTREF(__pyx_t_5);
 
5446
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
 
5447
  __Pyx_GIVEREF(__pyx_t_1);
 
5448
  PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
 
5449
  __Pyx_GIVEREF(__pyx_t_4);
 
5450
  __pyx_t_1 = 0;
4788
5451
  __pyx_t_4 = 0;
 
5452
  __pyx_r = __pyx_t_5;
 
5453
  __pyx_t_5 = 0;
4789
5454
  goto __pyx_L0;
4790
5455
 
4791
5456
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4792
5457
  goto __pyx_L0;
4793
5458
  __pyx_L1_error:;
4794
 
  __Pyx_XDECREF(__pyx_t_2);
4795
 
  __Pyx_XDECREF(__pyx_t_3);
 
5459
  __Pyx_XDECREF(__pyx_t_1);
4796
5460
  __Pyx_XDECREF(__pyx_t_4);
 
5461
  __Pyx_XDECREF(__pyx_t_5);
4797
5462
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.get_pad");
4798
5463
  __pyx_r = NULL;
4799
5464
  __pyx_L0:;
4802
5467
  return __pyx_r;
4803
5468
}
4804
5469
 
4805
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":741
 
5470
/* "/home/tachyon/h5py/h5py/h5t.pyx":740
4806
5471
 * 
4807
5472
 * 
4808
5473
 *     def set_pad(self, int lsb, int msb):             # <<<<<<<<<<<<<<
4816
5481
  int __pyx_v_lsb;
4817
5482
  int __pyx_v_msb;
4818
5483
  PyObject *__pyx_r = NULL;
4819
 
  herr_t __pyx_t_1;
 
5484
  PyObject *__pyx_t_1 = NULL;
 
5485
  hid_t __pyx_t_2;
 
5486
  herr_t __pyx_t_3;
4820
5487
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lsb,&__pyx_n_s__msb,0};
4821
5488
  __Pyx_RefNannySetupContext("set_pad");
4822
5489
  if (unlikely(__pyx_kwds)) {
4837
5504
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__msb);
4838
5505
      if (likely(values[1])) kw_args--;
4839
5506
      else {
4840
 
        __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5507
        __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4841
5508
      }
4842
5509
    }
4843
5510
    if (unlikely(kw_args > 0)) {
4844
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_pad") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5511
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_pad") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4845
5512
    }
4846
 
    __pyx_v_lsb = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4847
 
    __pyx_v_msb = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5513
    __pyx_v_lsb = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5514
    __pyx_v_msb = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4848
5515
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
4849
5516
    goto __pyx_L5_argtuple_error;
4850
5517
  } else {
4851
 
    __pyx_v_lsb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4852
 
    __pyx_v_msb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5518
    __pyx_v_lsb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5519
    __pyx_v_msb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4853
5520
  }
4854
5521
  goto __pyx_L4_argument_unpacking_done;
4855
5522
  __pyx_L5_argtuple_error:;
4856
 
  __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5523
  __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4857
5524
  __pyx_L3_error:;
4858
5525
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_pad");
4859
5526
  return NULL;
4860
5527
  __pyx_L4_argument_unpacking_done:;
4861
5528
 
4862
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":750
 
5529
  /* "/home/tachyon/h5py/h5py/h5t.pyx":749
4863
5530
 *         - PAD_BACKGROUND
4864
5531
 *         """
4865
5532
 *         H5Tset_pad(self.id, <H5T_pad_t>lsb, <H5T_pad_t>msb)             # <<<<<<<<<<<<<<
4866
5533
 * 
4867
5534
 * 
4868
5535
 */
4869
 
  __pyx_t_1 = H5Tset_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_lsb), ((H5T_pad_t)__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5536
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5537
  __Pyx_GOTREF(__pyx_t_1);
 
5538
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5539
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5540
  __pyx_t_3 = H5Tset_pad(__pyx_t_2, ((H5T_pad_t)__pyx_v_lsb), ((H5T_pad_t)__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4870
5541
 
4871
5542
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4872
5543
  goto __pyx_L0;
4873
5544
  __pyx_L1_error:;
 
5545
  __Pyx_XDECREF(__pyx_t_1);
4874
5546
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_pad");
4875
5547
  __pyx_r = NULL;
4876
5548
  __pyx_L0:;
4879
5551
  return __pyx_r;
4880
5552
}
4881
5553
 
4882
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":760
 
5554
/* "/home/tachyon/h5py/h5py/h5t.pyx":759
4883
5555
 * 
4884
5556
 * 
4885
5557
 *     def get_sign(self):             # <<<<<<<<<<<<<<
4891
5563
static char __pyx_doc_4h5py_3h5t_13TypeIntegerID_get_sign[] = "() => INT sign\n\n        Get the \"signedness\" of the datatype; one of:\n\n        SGN_NONE\n            Unsigned\n\n        SGN_2\n            Signed 2's complement\n        ";
4892
5564
static PyObject *__pyx_pf_4h5py_3h5t_13TypeIntegerID_get_sign(PyObject *__pyx_v_self, PyObject *unused) {
4893
5565
  PyObject *__pyx_r = NULL;
4894
 
  H5T_sign_t __pyx_t_1;
4895
 
  PyObject *__pyx_t_2 = NULL;
 
5566
  PyObject *__pyx_t_1 = NULL;
 
5567
  hid_t __pyx_t_2;
 
5568
  H5T_sign_t __pyx_t_3;
4896
5569
  __Pyx_RefNannySetupContext("get_sign");
4897
5570
 
4898
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":771
 
5571
  /* "/home/tachyon/h5py/h5py/h5t.pyx":770
4899
5572
 *             Signed 2's complement
4900
5573
 *         """
4901
5574
 *         return <int>H5Tget_sign(self.id)             # <<<<<<<<<<<<<<
4903
5576
 * 
4904
5577
 */
4905
5578
  __Pyx_XDECREF(__pyx_r);
4906
 
  __pyx_t_1 = H5Tget_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4907
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4908
 
  __Pyx_GOTREF(__pyx_t_2);
4909
 
  __pyx_r = __pyx_t_2;
4910
 
  __pyx_t_2 = 0;
 
5579
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5580
  __Pyx_GOTREF(__pyx_t_1);
 
5581
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5582
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5583
  __pyx_t_3 = H5Tget_sign(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5584
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5585
  __Pyx_GOTREF(__pyx_t_1);
 
5586
  __pyx_r = __pyx_t_1;
 
5587
  __pyx_t_1 = 0;
4911
5588
  goto __pyx_L0;
4912
5589
 
4913
5590
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4914
5591
  goto __pyx_L0;
4915
5592
  __pyx_L1_error:;
4916
 
  __Pyx_XDECREF(__pyx_t_2);
 
5593
  __Pyx_XDECREF(__pyx_t_1);
4917
5594
  __Pyx_AddTraceback("h5py.h5t.TypeIntegerID.get_sign");
4918
5595
  __pyx_r = NULL;
4919
5596
  __pyx_L0:;
4922
5599
  return __pyx_r;
4923
5600
}
4924
5601
 
4925
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":774
 
5602
/* "/home/tachyon/h5py/h5py/h5t.pyx":773
4926
5603
 * 
4927
5604
 * 
4928
5605
 *     def set_sign(self, int sign):             # <<<<<<<<<<<<<<
4935
5612
static PyObject *__pyx_pf_4h5py_3h5t_13TypeIntegerID_set_sign(PyObject *__pyx_v_self, PyObject *__pyx_arg_sign) {
4936
5613
  int __pyx_v_sign;
4937
5614
  PyObject *__pyx_r = NULL;
4938
 
  herr_t __pyx_t_1;
 
5615
  PyObject *__pyx_t_1 = NULL;
 
5616
  hid_t __pyx_t_2;
 
5617
  herr_t __pyx_t_3;
4939
5618
  __Pyx_RefNannySetupContext("set_sign");
4940
5619
  assert(__pyx_arg_sign); {
4941
 
    __pyx_v_sign = __Pyx_PyInt_AsInt(__pyx_arg_sign); if (unlikely((__pyx_v_sign == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 774; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5620
    __pyx_v_sign = __Pyx_PyInt_AsInt(__pyx_arg_sign); if (unlikely((__pyx_v_sign == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 773; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4942
5621
  }
4943
5622
  goto __pyx_L4_argument_unpacking_done;
4944
5623
  __pyx_L3_error:;
4946
5625
  return NULL;
4947
5626
  __pyx_L4_argument_unpacking_done:;
4948
5627
 
4949
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":785
 
5628
  /* "/home/tachyon/h5py/h5py/h5t.pyx":784
4950
5629
 *             Signed 2's complement
4951
5630
 *         """
4952
5631
 *         H5Tset_sign(self.id, <H5T_sign_t>sign)             # <<<<<<<<<<<<<<
4953
5632
 * 
4954
5633
 *     cdef object py_dtype(self):
4955
5634
 */
4956
 
  __pyx_t_1 = H5Tset_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_sign_t)__pyx_v_sign)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5635
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5636
  __Pyx_GOTREF(__pyx_t_1);
 
5637
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5638
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5639
  __pyx_t_3 = H5Tset_sign(__pyx_t_2, ((H5T_sign_t)__pyx_v_sign)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4957
5640
 
4958
5641
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4959
5642
  goto __pyx_L0;
4960
5643
  __pyx_L1_error:;
 
5644
  __Pyx_XDECREF(__pyx_t_1);
4961
5645
  __Pyx_AddTraceback("h5py.h5t.TypeIntegerID.set_sign");
4962
5646
  __pyx_r = NULL;
4963
5647
  __pyx_L0:;
4966
5650
  return __pyx_r;
4967
5651
}
4968
5652
 
4969
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":787
 
5653
/* "/home/tachyon/h5py/h5py/h5t.pyx":786
4970
5654
 *         H5Tset_sign(self.id, <H5T_sign_t>sign)
4971
5655
 * 
4972
5656
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
4981
5665
  PyObject *__pyx_t_3 = NULL;
4982
5666
  __Pyx_RefNannySetupContext("py_dtype");
4983
5667
 
4984
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":789
 
5668
  /* "/home/tachyon/h5py/h5py/h5t.pyx":788
4985
5669
 *     cdef object py_dtype(self):
4986
5670
 *         # Translation function for integer types
4987
5671
 *         return dtype( _order_map[self.get_order()] +             # <<<<<<<<<<<<<<
4990
5674
 */
4991
5675
  __Pyx_XDECREF(__pyx_r);
4992
5676
 
4993
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":790
 
5677
  /* "/home/tachyon/h5py/h5py/h5t.pyx":789
4994
5678
 *         # Translation function for integer types
4995
5679
 *         return dtype( _order_map[self.get_order()] +
4996
5680
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )             # <<<<<<<<<<<<<<
4997
5681
 * 
4998
5682
 * 
4999
5683
 */
5000
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5684
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5001
5685
  __Pyx_GOTREF(__pyx_t_1);
5002
5686
 
5003
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":789
 
5687
  /* "/home/tachyon/h5py/h5py/h5t.pyx":788
5004
5688
 *     cdef object py_dtype(self):
5005
5689
 *         # Translation function for integer types
5006
5690
 *         return dtype( _order_map[self.get_order()] +             # <<<<<<<<<<<<<<
5007
5691
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )
5008
5692
 * 
5009
5693
 */
5010
 
  __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 = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5694
  __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 = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5011
5695
  __Pyx_GOTREF(__pyx_t_2);
5012
5696
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5013
 
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5697
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5014
5698
  __Pyx_GOTREF(__pyx_t_1);
5015
5699
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5016
5700
 
5017
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":790
 
5701
  /* "/home/tachyon/h5py/h5py/h5t.pyx":789
5018
5702
 *         # Translation function for integer types
5019
5703
 *         return dtype( _order_map[self.get_order()] +
5020
5704
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )             # <<<<<<<<<<<<<<
5021
5705
 * 
5022
5706
 * 
5023
5707
 */
5024
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_sign); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5708
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_sign); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5025
5709
  __Pyx_GOTREF(__pyx_t_2);
5026
 
  __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 = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5710
  __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 = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5027
5711
  __Pyx_GOTREF(__pyx_t_3);
5028
5712
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5029
 
  __pyx_t_2 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__sign_map), __pyx_t_3); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5713
  __pyx_t_2 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__sign_map), __pyx_t_3); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5030
5714
  __Pyx_GOTREF(__pyx_t_2);
5031
5715
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5032
 
  __pyx_t_3 = PyNumber_Add(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5716
  __pyx_t_3 = PyNumber_Add(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5033
5717
  __Pyx_GOTREF(__pyx_t_3);
5034
5718
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5035
5719
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5036
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5720
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5037
5721
  __Pyx_GOTREF(__pyx_t_2);
5038
 
  __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 = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5722
  __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 = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5039
5723
  __Pyx_GOTREF(__pyx_t_1);
5040
5724
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5041
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5725
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5042
5726
  __Pyx_GOTREF(__pyx_t_2);
5043
5727
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
5044
5728
  __Pyx_GIVEREF(__pyx_t_1);
5045
5729
  __pyx_t_1 = 0;
5046
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5730
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5047
5731
  __Pyx_GOTREF(__pyx_t_1);
5048
5732
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5049
 
  __pyx_t_2 = PyNumber_Add(__pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5733
  __pyx_t_2 = PyNumber_Add(__pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5050
5734
  __Pyx_GOTREF(__pyx_t_2);
5051
5735
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5052
5736
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5053
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5737
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5054
5738
  __Pyx_GOTREF(__pyx_t_1);
5055
5739
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
5056
5740
  __Pyx_GIVEREF(__pyx_t_2);
5057
5741
  __pyx_t_2 = 0;
5058
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5742
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5059
5743
  __Pyx_GOTREF(__pyx_t_2);
5060
5744
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5061
5745
  __pyx_r = __pyx_t_2;
5076
5760
  return __pyx_r;
5077
5761
}
5078
5762
 
5079
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":800
 
5763
/* "/home/tachyon/h5py/h5py/h5t.pyx":799
5080
5764
 * 
5081
5765
 * 
5082
5766
 *     def get_fields(self):             # <<<<<<<<<<<<<<
5093
5777
  size_t __pyx_v_mpos;
5094
5778
  size_t __pyx_v_msize;
5095
5779
  PyObject *__pyx_r = NULL;
5096
 
  herr_t __pyx_t_1;
5097
 
  PyObject *__pyx_t_2 = NULL;
5098
 
  PyObject *__pyx_t_3 = NULL;
 
5780
  PyObject *__pyx_t_1 = NULL;
 
5781
  hid_t __pyx_t_2;
 
5782
  herr_t __pyx_t_3;
5099
5783
  PyObject *__pyx_t_4 = NULL;
5100
5784
  PyObject *__pyx_t_5 = NULL;
5101
5785
  PyObject *__pyx_t_6 = NULL;
5102
5786
  PyObject *__pyx_t_7 = NULL;
 
5787
  PyObject *__pyx_t_8 = NULL;
5103
5788
  __Pyx_RefNannySetupContext("get_fields");
5104
5789
 
5105
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":813
 
5790
  /* "/home/tachyon/h5py/h5py/h5t.pyx":812
5106
5791
 *         """
5107
5792
 *         cdef size_t spos, epos, esize, mpos, msize
5108
5793
 *         H5Tget_fields(self.id, &spos, &epos, &esize, &mpos, &msize)             # <<<<<<<<<<<<<<
5109
5794
 *         return (spos, epos, esize, mpos, msize)
5110
5795
 * 
5111
5796
 */
5112
 
  __pyx_t_1 = H5Tget_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_spos), (&__pyx_v_epos), (&__pyx_v_esize), (&__pyx_v_mpos), (&__pyx_v_msize)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5797
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5798
  __Pyx_GOTREF(__pyx_t_1);
 
5799
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5800
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5801
  __pyx_t_3 = H5Tget_fields(__pyx_t_2, (&__pyx_v_spos), (&__pyx_v_epos), (&__pyx_v_esize), (&__pyx_v_mpos), (&__pyx_v_msize)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5113
5802
 
5114
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":814
 
5803
  /* "/home/tachyon/h5py/h5py/h5t.pyx":813
5115
5804
 *         cdef size_t spos, epos, esize, mpos, msize
5116
5805
 *         H5Tget_fields(self.id, &spos, &epos, &esize, &mpos, &msize)
5117
5806
 *         return (spos, epos, esize, mpos, msize)             # <<<<<<<<<<<<<<
5119
5808
 * 
5120
5809
 */
5121
5810
  __Pyx_XDECREF(__pyx_r);
5122
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_spos); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5123
 
  __Pyx_GOTREF(__pyx_t_2);
5124
 
  __pyx_t_3 = __Pyx_PyInt_FromSize_t(__pyx_v_epos); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5125
 
  __Pyx_GOTREF(__pyx_t_3);
5126
 
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(__pyx_v_esize); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5811
  __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_v_spos); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5812
  __Pyx_GOTREF(__pyx_t_1);
 
5813
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(__pyx_v_epos); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5127
5814
  __Pyx_GOTREF(__pyx_t_4);
5128
 
  __pyx_t_5 = __Pyx_PyInt_FromSize_t(__pyx_v_mpos); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5815
  __pyx_t_5 = __Pyx_PyInt_FromSize_t(__pyx_v_esize); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5129
5816
  __Pyx_GOTREF(__pyx_t_5);
5130
 
  __pyx_t_6 = __Pyx_PyInt_FromSize_t(__pyx_v_msize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5817
  __pyx_t_6 = __Pyx_PyInt_FromSize_t(__pyx_v_mpos); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5131
5818
  __Pyx_GOTREF(__pyx_t_6);
5132
 
  __pyx_t_7 = PyTuple_New(5); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5819
  __pyx_t_7 = __Pyx_PyInt_FromSize_t(__pyx_v_msize); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5133
5820
  __Pyx_GOTREF(__pyx_t_7);
5134
 
  PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_2);
5135
 
  __Pyx_GIVEREF(__pyx_t_2);
5136
 
  PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_3);
5137
 
  __Pyx_GIVEREF(__pyx_t_3);
5138
 
  PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_4);
 
5821
  __pyx_t_8 = PyTuple_New(5); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5822
  __Pyx_GOTREF(__pyx_t_8);
 
5823
  PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_1);
 
5824
  __Pyx_GIVEREF(__pyx_t_1);
 
5825
  PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_4);
5139
5826
  __Pyx_GIVEREF(__pyx_t_4);
5140
 
  PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_5);
 
5827
  PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_5);
5141
5828
  __Pyx_GIVEREF(__pyx_t_5);
5142
 
  PyTuple_SET_ITEM(__pyx_t_7, 4, __pyx_t_6);
 
5829
  PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_6);
5143
5830
  __Pyx_GIVEREF(__pyx_t_6);
5144
 
  __pyx_t_2 = 0;
5145
 
  __pyx_t_3 = 0;
 
5831
  PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_7);
 
5832
  __Pyx_GIVEREF(__pyx_t_7);
 
5833
  __pyx_t_1 = 0;
5146
5834
  __pyx_t_4 = 0;
5147
5835
  __pyx_t_5 = 0;
5148
5836
  __pyx_t_6 = 0;
5149
 
  __pyx_r = __pyx_t_7;
5150
5837
  __pyx_t_7 = 0;
 
5838
  __pyx_r = __pyx_t_8;
 
5839
  __pyx_t_8 = 0;
5151
5840
  goto __pyx_L0;
5152
5841
 
5153
5842
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5154
5843
  goto __pyx_L0;
5155
5844
  __pyx_L1_error:;
5156
 
  __Pyx_XDECREF(__pyx_t_2);
5157
 
  __Pyx_XDECREF(__pyx_t_3);
 
5845
  __Pyx_XDECREF(__pyx_t_1);
5158
5846
  __Pyx_XDECREF(__pyx_t_4);
5159
5847
  __Pyx_XDECREF(__pyx_t_5);
5160
5848
  __Pyx_XDECREF(__pyx_t_6);
5161
5849
  __Pyx_XDECREF(__pyx_t_7);
 
5850
  __Pyx_XDECREF(__pyx_t_8);
5162
5851
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.get_fields");
5163
5852
  __pyx_r = NULL;
5164
5853
  __pyx_L0:;
5167
5856
  return __pyx_r;
5168
5857
}
5169
5858
 
5170
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":817
 
5859
/* "/home/tachyon/h5py/h5py/h5t.pyx":816
5171
5860
 * 
5172
5861
 * 
5173
5862
 *     def set_fields(self, size_t spos, size_t epos, size_t esize,             # <<<<<<<<<<<<<<
5184
5873
  size_t __pyx_v_mpos;
5185
5874
  size_t __pyx_v_msize;
5186
5875
  PyObject *__pyx_r = NULL;
5187
 
  herr_t __pyx_t_1;
 
5876
  PyObject *__pyx_t_1 = NULL;
 
5877
  hid_t __pyx_t_2;
 
5878
  herr_t __pyx_t_3;
5188
5879
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__spos,&__pyx_n_s__epos,&__pyx_n_s__esize,&__pyx_n_s__mpos,&__pyx_n_s__msize,0};
5189
5880
  __Pyx_RefNannySetupContext("set_fields");
5190
5881
  if (unlikely(__pyx_kwds)) {
5208
5899
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__epos);
5209
5900
      if (likely(values[1])) kw_args--;
5210
5901
      else {
5211
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5902
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5212
5903
      }
5213
5904
      case  2:
5214
5905
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__esize);
5215
5906
      if (likely(values[2])) kw_args--;
5216
5907
      else {
5217
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5908
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5218
5909
      }
5219
5910
      case  3:
5220
5911
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mpos);
5221
5912
      if (likely(values[3])) kw_args--;
5222
5913
      else {
5223
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5914
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5224
5915
      }
5225
5916
      case  4:
5226
5917
      values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__msize);
5227
5918
      if (likely(values[4])) kw_args--;
5228
5919
      else {
5229
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 4); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5920
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 4); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5230
5921
      }
5231
5922
    }
5232
5923
    if (unlikely(kw_args > 0)) {
5233
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fields") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5924
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fields") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5234
5925
    }
5235
 
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5236
 
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5237
 
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5238
 
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(values[3]); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5239
 
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(values[4]); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5926
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5927
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5928
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5929
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(values[3]); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5930
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(values[4]); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5240
5931
  } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
5241
5932
    goto __pyx_L5_argtuple_error;
5242
5933
  } else {
5243
 
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5244
 
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5245
 
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5246
 
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 3)); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5247
 
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 4)); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5934
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5935
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5936
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5937
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 3)); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5938
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 4)); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5248
5939
  }
5249
5940
  goto __pyx_L4_argument_unpacking_done;
5250
5941
  __pyx_L5_argtuple_error:;
5251
 
  __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5942
  __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5252
5943
  __pyx_L3_error:;
5253
5944
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_fields");
5254
5945
  return NULL;
5255
5946
  __pyx_L4_argument_unpacking_done:;
5256
5947
 
5257
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":824
 
5948
  /* "/home/tachyon/h5py/h5py/h5t.pyx":823
5258
5949
 *         argument definitions.
5259
5950
 *         """
5260
5951
 *         H5Tset_fields(self.id, spos, epos, esize, mpos, msize)             # <<<<<<<<<<<<<<
5261
5952
 * 
5262
5953
 * 
5263
5954
 */
5264
 
  __pyx_t_1 = H5Tset_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_spos, __pyx_v_epos, __pyx_v_esize, __pyx_v_mpos, __pyx_v_msize); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5955
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5956
  __Pyx_GOTREF(__pyx_t_1);
 
5957
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5958
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5959
  __pyx_t_3 = H5Tset_fields(__pyx_t_2, __pyx_v_spos, __pyx_v_epos, __pyx_v_esize, __pyx_v_mpos, __pyx_v_msize); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5265
5960
 
5266
5961
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5267
5962
  goto __pyx_L0;
5268
5963
  __pyx_L1_error:;
 
5964
  __Pyx_XDECREF(__pyx_t_1);
5269
5965
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_fields");
5270
5966
  __pyx_r = NULL;
5271
5967
  __pyx_L0:;
5274
5970
  return __pyx_r;
5275
5971
}
5276
5972
 
5277
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":827
 
5973
/* "/home/tachyon/h5py/h5py/h5t.pyx":826
5278
5974
 * 
5279
5975
 * 
5280
5976
 *     def get_ebias(self):             # <<<<<<<<<<<<<<
5286
5982
static char __pyx_doc_4h5py_3h5t_11TypeFloatID_get_ebias[] = "() => UINT ebias\n\n        Get the exponent bias.\n        ";
5287
5983
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_get_ebias(PyObject *__pyx_v_self, PyObject *unused) {
5288
5984
  PyObject *__pyx_r = NULL;
5289
 
  size_t __pyx_t_1;
5290
 
  PyObject *__pyx_t_2 = NULL;
 
5985
  PyObject *__pyx_t_1 = NULL;
 
5986
  hid_t __pyx_t_2;
 
5987
  size_t __pyx_t_3;
5291
5988
  __Pyx_RefNannySetupContext("get_ebias");
5292
5989
 
5293
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":832
 
5990
  /* "/home/tachyon/h5py/h5py/h5t.pyx":831
5294
5991
 *         Get the exponent bias.
5295
5992
 *         """
5296
5993
 *         return H5Tget_ebias(self.id)             # <<<<<<<<<<<<<<
5298
5995
 * 
5299
5996
 */
5300
5997
  __Pyx_XDECREF(__pyx_r);
5301
 
  __pyx_t_1 = H5Tget_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5302
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5303
 
  __Pyx_GOTREF(__pyx_t_2);
5304
 
  __pyx_r = __pyx_t_2;
5305
 
  __pyx_t_2 = 0;
 
5998
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5999
  __Pyx_GOTREF(__pyx_t_1);
 
6000
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6001
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6002
  __pyx_t_3 = H5Tget_ebias(__pyx_t_2); if (unlikely(__pyx_t_3 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6003
  __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6004
  __Pyx_GOTREF(__pyx_t_1);
 
6005
  __pyx_r = __pyx_t_1;
 
6006
  __pyx_t_1 = 0;
5306
6007
  goto __pyx_L0;
5307
6008
 
5308
6009
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5309
6010
  goto __pyx_L0;
5310
6011
  __pyx_L1_error:;
5311
 
  __Pyx_XDECREF(__pyx_t_2);
 
6012
  __Pyx_XDECREF(__pyx_t_1);
5312
6013
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.get_ebias");
5313
6014
  __pyx_r = NULL;
5314
6015
  __pyx_L0:;
5317
6018
  return __pyx_r;
5318
6019
}
5319
6020
 
5320
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":835
 
6021
/* "/home/tachyon/h5py/h5py/h5t.pyx":834
5321
6022
 * 
5322
6023
 * 
5323
6024
 *     def set_ebias(self, size_t ebias):             # <<<<<<<<<<<<<<
5330
6031
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_set_ebias(PyObject *__pyx_v_self, PyObject *__pyx_arg_ebias) {
5331
6032
  size_t __pyx_v_ebias;
5332
6033
  PyObject *__pyx_r = NULL;
5333
 
  herr_t __pyx_t_1;
 
6034
  PyObject *__pyx_t_1 = NULL;
 
6035
  hid_t __pyx_t_2;
 
6036
  herr_t __pyx_t_3;
5334
6037
  __Pyx_RefNannySetupContext("set_ebias");
5335
6038
  assert(__pyx_arg_ebias); {
5336
 
    __pyx_v_ebias = __Pyx_PyInt_AsSize_t(__pyx_arg_ebias); if (unlikely((__pyx_v_ebias == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6039
    __pyx_v_ebias = __Pyx_PyInt_AsSize_t(__pyx_arg_ebias); if (unlikely((__pyx_v_ebias == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5337
6040
  }
5338
6041
  goto __pyx_L4_argument_unpacking_done;
5339
6042
  __pyx_L3_error:;
5341
6044
  return NULL;
5342
6045
  __pyx_L4_argument_unpacking_done:;
5343
6046
 
5344
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":840
 
6047
  /* "/home/tachyon/h5py/h5py/h5t.pyx":839
5345
6048
 *         Set the exponent bias.
5346
6049
 *         """
5347
6050
 *         H5Tset_ebias(self.id, ebias)             # <<<<<<<<<<<<<<
5348
6051
 * 
5349
6052
 * 
5350
6053
 */
5351
 
  __pyx_t_1 = H5Tset_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_ebias); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6054
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6055
  __Pyx_GOTREF(__pyx_t_1);
 
6056
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6057
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6058
  __pyx_t_3 = H5Tset_ebias(__pyx_t_2, __pyx_v_ebias); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5352
6059
 
5353
6060
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5354
6061
  goto __pyx_L0;
5355
6062
  __pyx_L1_error:;
 
6063
  __Pyx_XDECREF(__pyx_t_1);
5356
6064
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_ebias");
5357
6065
  __pyx_r = NULL;
5358
6066
  __pyx_L0:;
5361
6069
  return __pyx_r;
5362
6070
}
5363
6071
 
5364
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":843
 
6072
/* "/home/tachyon/h5py/h5py/h5t.pyx":842
5365
6073
 * 
5366
6074
 * 
5367
6075
 *     def get_norm(self):             # <<<<<<<<<<<<<<
5373
6081
static char __pyx_doc_4h5py_3h5t_11TypeFloatID_get_norm[] = "() => INT normalization_code\n\n        Get the normalization strategy.  Legal values are:\n\n        - NORM_IMPLIED\n        - NORM_MSBSET\n        - NORM_NONE\n        ";
5374
6082
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_get_norm(PyObject *__pyx_v_self, PyObject *unused) {
5375
6083
  PyObject *__pyx_r = NULL;
5376
 
  H5T_norm_t __pyx_t_1;
5377
 
  PyObject *__pyx_t_2 = NULL;
 
6084
  PyObject *__pyx_t_1 = NULL;
 
6085
  hid_t __pyx_t_2;
 
6086
  H5T_norm_t __pyx_t_3;
5378
6087
  __Pyx_RefNannySetupContext("get_norm");
5379
6088
 
5380
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":852
 
6089
  /* "/home/tachyon/h5py/h5py/h5t.pyx":851
5381
6090
 *         - NORM_NONE
5382
6091
 *         """
5383
6092
 *         return <int>H5Tget_norm(self.id)             # <<<<<<<<<<<<<<
5385
6094
 * 
5386
6095
 */
5387
6096
  __Pyx_XDECREF(__pyx_r);
5388
 
  __pyx_t_1 = H5Tget_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5389
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5390
 
  __Pyx_GOTREF(__pyx_t_2);
5391
 
  __pyx_r = __pyx_t_2;
5392
 
  __pyx_t_2 = 0;
 
6097
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6098
  __Pyx_GOTREF(__pyx_t_1);
 
6099
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6100
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6101
  __pyx_t_3 = H5Tget_norm(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6102
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6103
  __Pyx_GOTREF(__pyx_t_1);
 
6104
  __pyx_r = __pyx_t_1;
 
6105
  __pyx_t_1 = 0;
5393
6106
  goto __pyx_L0;
5394
6107
 
5395
6108
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5396
6109
  goto __pyx_L0;
5397
6110
  __pyx_L1_error:;
5398
 
  __Pyx_XDECREF(__pyx_t_2);
 
6111
  __Pyx_XDECREF(__pyx_t_1);
5399
6112
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.get_norm");
5400
6113
  __pyx_r = NULL;
5401
6114
  __pyx_L0:;
5404
6117
  return __pyx_r;
5405
6118
}
5406
6119
 
5407
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":855
 
6120
/* "/home/tachyon/h5py/h5py/h5t.pyx":854
5408
6121
 * 
5409
6122
 * 
5410
6123
 *     def set_norm(self, int norm):             # <<<<<<<<<<<<<<
5417
6130
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_set_norm(PyObject *__pyx_v_self, PyObject *__pyx_arg_norm) {
5418
6131
  int __pyx_v_norm;
5419
6132
  PyObject *__pyx_r = NULL;
5420
 
  herr_t __pyx_t_1;
 
6133
  PyObject *__pyx_t_1 = NULL;
 
6134
  hid_t __pyx_t_2;
 
6135
  herr_t __pyx_t_3;
5421
6136
  __Pyx_RefNannySetupContext("set_norm");
5422
6137
  assert(__pyx_arg_norm); {
5423
 
    __pyx_v_norm = __Pyx_PyInt_AsInt(__pyx_arg_norm); if (unlikely((__pyx_v_norm == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 855; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6138
    __pyx_v_norm = __Pyx_PyInt_AsInt(__pyx_arg_norm); if (unlikely((__pyx_v_norm == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5424
6139
  }
5425
6140
  goto __pyx_L4_argument_unpacking_done;
5426
6141
  __pyx_L3_error:;
5428
6143
  return NULL;
5429
6144
  __pyx_L4_argument_unpacking_done:;
5430
6145
 
5431
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":864
 
6146
  /* "/home/tachyon/h5py/h5py/h5t.pyx":863
5432
6147
 *         - NORM_NONE
5433
6148
 *         """
5434
6149
 *         H5Tset_norm(self.id, <H5T_norm_t>norm)             # <<<<<<<<<<<<<<
5435
6150
 * 
5436
6151
 * 
5437
6152
 */
5438
 
  __pyx_t_1 = H5Tset_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_norm_t)__pyx_v_norm)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6153
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6154
  __Pyx_GOTREF(__pyx_t_1);
 
6155
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6156
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6157
  __pyx_t_3 = H5Tset_norm(__pyx_t_2, ((H5T_norm_t)__pyx_v_norm)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5439
6158
 
5440
6159
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5441
6160
  goto __pyx_L0;
5442
6161
  __pyx_L1_error:;
 
6162
  __Pyx_XDECREF(__pyx_t_1);
5443
6163
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_norm");
5444
6164
  __pyx_r = NULL;
5445
6165
  __pyx_L0:;
5448
6168
  return __pyx_r;
5449
6169
}
5450
6170
 
5451
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":867
 
6171
/* "/home/tachyon/h5py/h5py/h5t.pyx":866
5452
6172
 * 
5453
6173
 * 
5454
6174
 *     def get_inpad(self):             # <<<<<<<<<<<<<<
5460
6180
static char __pyx_doc_4h5py_3h5t_11TypeFloatID_get_inpad[] = "() => INT pad_code\n\n        Determine the internal padding strategy.  Legal values are:\n\n        - PAD_ZERO\n        - PAD_ONE\n        - PAD_BACKGROUND\n        ";
5461
6181
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_get_inpad(PyObject *__pyx_v_self, PyObject *unused) {
5462
6182
  PyObject *__pyx_r = NULL;
5463
 
  H5T_pad_t __pyx_t_1;
5464
 
  PyObject *__pyx_t_2 = NULL;
 
6183
  PyObject *__pyx_t_1 = NULL;
 
6184
  hid_t __pyx_t_2;
 
6185
  H5T_pad_t __pyx_t_3;
5465
6186
  __Pyx_RefNannySetupContext("get_inpad");
5466
6187
 
5467
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":876
 
6188
  /* "/home/tachyon/h5py/h5py/h5t.pyx":875
5468
6189
 *         - PAD_BACKGROUND
5469
6190
 *         """
5470
6191
 *         return <int>H5Tget_inpad(self.id)             # <<<<<<<<<<<<<<
5472
6193
 * 
5473
6194
 */
5474
6195
  __Pyx_XDECREF(__pyx_r);
5475
 
  __pyx_t_1 = H5Tget_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5476
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5477
 
  __Pyx_GOTREF(__pyx_t_2);
5478
 
  __pyx_r = __pyx_t_2;
5479
 
  __pyx_t_2 = 0;
 
6196
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6197
  __Pyx_GOTREF(__pyx_t_1);
 
6198
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6199
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6200
  __pyx_t_3 = H5Tget_inpad(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6201
  __pyx_t_1 = PyInt_FromLong(((int)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6202
  __Pyx_GOTREF(__pyx_t_1);
 
6203
  __pyx_r = __pyx_t_1;
 
6204
  __pyx_t_1 = 0;
5480
6205
  goto __pyx_L0;
5481
6206
 
5482
6207
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5483
6208
  goto __pyx_L0;
5484
6209
  __pyx_L1_error:;
5485
 
  __Pyx_XDECREF(__pyx_t_2);
 
6210
  __Pyx_XDECREF(__pyx_t_1);
5486
6211
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.get_inpad");
5487
6212
  __pyx_r = NULL;
5488
6213
  __pyx_L0:;
5491
6216
  return __pyx_r;
5492
6217
}
5493
6218
 
5494
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":879
 
6219
/* "/home/tachyon/h5py/h5py/h5t.pyx":878
5495
6220
 * 
5496
6221
 * 
5497
6222
 *     def set_inpad(self, int pad_code):             # <<<<<<<<<<<<<<
5504
6229
static PyObject *__pyx_pf_4h5py_3h5t_11TypeFloatID_set_inpad(PyObject *__pyx_v_self, PyObject *__pyx_arg_pad_code) {
5505
6230
  int __pyx_v_pad_code;
5506
6231
  PyObject *__pyx_r = NULL;
5507
 
  herr_t __pyx_t_1;
 
6232
  PyObject *__pyx_t_1 = NULL;
 
6233
  hid_t __pyx_t_2;
 
6234
  herr_t __pyx_t_3;
5508
6235
  __Pyx_RefNannySetupContext("set_inpad");
5509
6236
  assert(__pyx_arg_pad_code); {
5510
 
    __pyx_v_pad_code = __Pyx_PyInt_AsInt(__pyx_arg_pad_code); if (unlikely((__pyx_v_pad_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6237
    __pyx_v_pad_code = __Pyx_PyInt_AsInt(__pyx_arg_pad_code); if (unlikely((__pyx_v_pad_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 878; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5511
6238
  }
5512
6239
  goto __pyx_L4_argument_unpacking_done;
5513
6240
  __pyx_L3_error:;
5515
6242
  return NULL;
5516
6243
  __pyx_L4_argument_unpacking_done:;
5517
6244
 
5518
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":888
 
6245
  /* "/home/tachyon/h5py/h5py/h5t.pyx":887
5519
6246
 *         - PAD_BACKGROUND
5520
6247
 *         """
5521
6248
 *         H5Tset_inpad(self.id, <H5T_pad_t>pad_code)             # <<<<<<<<<<<<<<
5522
6249
 * 
5523
6250
 *     cdef object py_dtype(self):
5524
6251
 */
5525
 
  __pyx_t_1 = H5Tset_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_pad_code)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 888; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6252
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6253
  __Pyx_GOTREF(__pyx_t_1);
 
6254
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6255
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6256
  __pyx_t_3 = H5Tset_inpad(__pyx_t_2, ((H5T_pad_t)__pyx_v_pad_code)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5526
6257
 
5527
6258
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5528
6259
  goto __pyx_L0;
5529
6260
  __pyx_L1_error:;
 
6261
  __Pyx_XDECREF(__pyx_t_1);
5530
6262
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_inpad");
5531
6263
  __pyx_r = NULL;
5532
6264
  __pyx_L0:;
5535
6267
  return __pyx_r;
5536
6268
}
5537
6269
 
5538
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":890
 
6270
/* "/home/tachyon/h5py/h5py/h5t.pyx":889
5539
6271
 *         H5Tset_inpad(self.id, <H5T_pad_t>pad_code)
5540
6272
 * 
5541
6273
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
5550
6282
  PyObject *__pyx_t_3 = NULL;
5551
6283
  __Pyx_RefNannySetupContext("py_dtype");
5552
6284
 
5553
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":892
 
6285
  /* "/home/tachyon/h5py/h5py/h5t.pyx":891
5554
6286
 *     cdef object py_dtype(self):
5555
6287
 *         # Translation function for floating-point types
5556
6288
 *         return dtype( _order_map[self.get_order()] + "f" + \             # <<<<<<<<<<<<<<
5558
6290
 * 
5559
6291
 */
5560
6292
  __Pyx_XDECREF(__pyx_r);
5561
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6293
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5562
6294
  __Pyx_GOTREF(__pyx_t_1);
5563
 
  __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 = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6295
  __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 = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5564
6296
  __Pyx_GOTREF(__pyx_t_2);
5565
6297
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5566
 
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6298
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5567
6299
  __Pyx_GOTREF(__pyx_t_1);
5568
6300
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5569
 
  __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__f)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6301
  __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__f)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5570
6302
  __Pyx_GOTREF(__pyx_t_2);
5571
6303
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5572
6304
 
5573
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":893
 
6305
  /* "/home/tachyon/h5py/h5py/h5t.pyx":892
5574
6306
 *         # Translation function for floating-point types
5575
6307
 *         return dtype( _order_map[self.get_order()] + "f" + \
5576
6308
 *                       str(self.get_size()) )             # <<<<<<<<<<<<<<
5577
6309
 * 
5578
6310
 * 
5579
6311
 */
5580
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6312
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5581
6313
  __Pyx_GOTREF(__pyx_t_1);
5582
 
  __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 = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6314
  __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 = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5583
6315
  __Pyx_GOTREF(__pyx_t_3);
5584
6316
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5585
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6317
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5586
6318
  __Pyx_GOTREF(__pyx_t_1);
5587
6319
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
5588
6320
  __Pyx_GIVEREF(__pyx_t_3);
5589
6321
  __pyx_t_3 = 0;
5590
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6322
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5591
6323
  __Pyx_GOTREF(__pyx_t_3);
5592
6324
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5593
 
  __pyx_t_1 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6325
  __pyx_t_1 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5594
6326
  __Pyx_GOTREF(__pyx_t_1);
5595
6327
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5596
6328
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5597
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6329
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5598
6330
  __Pyx_GOTREF(__pyx_t_3);
5599
6331
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
5600
6332
  __Pyx_GIVEREF(__pyx_t_1);
5601
6333
  __pyx_t_1 = 0;
5602
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6334
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 891; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5603
6335
  __Pyx_GOTREF(__pyx_t_1);
5604
6336
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5605
6337
  __pyx_r = __pyx_t_1;
5620
6352
  return __pyx_r;
5621
6353
}
5622
6354
 
5623
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":905
 
6355
/* "/home/tachyon/h5py/h5py/h5t.pyx":904
5624
6356
 * 
5625
6357
 * 
5626
6358
 *     def get_nmembers(self):             # <<<<<<<<<<<<<<
5632
6364
static char __pyx_doc_4h5py_3h5t_15TypeCompositeID_get_nmembers[] = "() => INT number_of_members\n\n        Determine the number of members in a compound or enumerated type.\n        ";
5633
6365
static PyObject *__pyx_pf_4h5py_3h5t_15TypeCompositeID_get_nmembers(PyObject *__pyx_v_self, PyObject *unused) {
5634
6366
  PyObject *__pyx_r = NULL;
5635
 
  int __pyx_t_1;
5636
 
  PyObject *__pyx_t_2 = NULL;
 
6367
  PyObject *__pyx_t_1 = NULL;
 
6368
  hid_t __pyx_t_2;
 
6369
  int __pyx_t_3;
5637
6370
  __Pyx_RefNannySetupContext("get_nmembers");
5638
6371
 
5639
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":910
 
6372
  /* "/home/tachyon/h5py/h5py/h5t.pyx":909
5640
6373
 *         Determine the number of members in a compound or enumerated type.
5641
6374
 *         """
5642
6375
 *         return H5Tget_nmembers(self.id)             # <<<<<<<<<<<<<<
5644
6377
 * 
5645
6378
 */
5646
6379
  __Pyx_XDECREF(__pyx_r);
5647
 
  __pyx_t_1 = H5Tget_nmembers(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 910; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5648
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 910; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5649
 
  __Pyx_GOTREF(__pyx_t_2);
5650
 
  __pyx_r = __pyx_t_2;
5651
 
  __pyx_t_2 = 0;
 
6380
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6381
  __Pyx_GOTREF(__pyx_t_1);
 
6382
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6383
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6384
  __pyx_t_3 = H5Tget_nmembers(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6385
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6386
  __Pyx_GOTREF(__pyx_t_1);
 
6387
  __pyx_r = __pyx_t_1;
 
6388
  __pyx_t_1 = 0;
5652
6389
  goto __pyx_L0;
5653
6390
 
5654
6391
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5655
6392
  goto __pyx_L0;
5656
6393
  __pyx_L1_error:;
5657
 
  __Pyx_XDECREF(__pyx_t_2);
 
6394
  __Pyx_XDECREF(__pyx_t_1);
5658
6395
  __Pyx_AddTraceback("h5py.h5t.TypeCompositeID.get_nmembers");
5659
6396
  __pyx_r = NULL;
5660
6397
  __pyx_L0:;
5663
6400
  return __pyx_r;
5664
6401
}
5665
6402
 
5666
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":913
 
6403
/* "/home/tachyon/h5py/h5py/h5t.pyx":912
5667
6404
 * 
5668
6405
 * 
5669
6406
 *     def get_member_name(self, int member):             # <<<<<<<<<<<<<<
5681
6418
  int __pyx_t_1;
5682
6419
  PyObject *__pyx_t_2 = NULL;
5683
6420
  PyObject *__pyx_t_3 = NULL;
5684
 
  char *__pyx_t_4;
 
6421
  hid_t __pyx_t_4;
 
6422
  char *__pyx_t_5;
5685
6423
  __Pyx_RefNannySetupContext("get_member_name");
5686
6424
  assert(__pyx_arg_member); {
5687
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 913; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6425
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 912; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5688
6426
  }
5689
6427
  goto __pyx_L4_argument_unpacking_done;
5690
6428
  __pyx_L3_error:;
5694
6432
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5695
6433
  __pyx_v_pyname = Py_None; __Pyx_INCREF(Py_None);
5696
6434
 
5697
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":920
 
6435
  /* "/home/tachyon/h5py/h5py/h5t.pyx":919
5698
6436
 *         """
5699
6437
 *         cdef char* name
5700
6438
 *         name = NULL             # <<<<<<<<<<<<<<
5703
6441
 */
5704
6442
  __pyx_v_name = NULL;
5705
6443
 
5706
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":922
 
6444
  /* "/home/tachyon/h5py/h5py/h5t.pyx":921
5707
6445
 *         name = NULL
5708
6446
 * 
5709
6447
 *         if member < 0:             # <<<<<<<<<<<<<<
5713
6451
  __pyx_t_1 = (__pyx_v_member < 0);
5714
6452
  if (__pyx_t_1) {
5715
6453
 
5716
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":923
 
6454
    /* "/home/tachyon/h5py/h5py/h5t.pyx":922
5717
6455
 * 
5718
6456
 *         if member < 0:
5719
6457
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5720
6458
 * 
5721
6459
 *         try:
5722
6460
 */
5723
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6461
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5724
6462
    __Pyx_GOTREF(__pyx_t_2);
5725
6463
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
5726
6464
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
5727
6465
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
5728
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6466
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5729
6467
    __Pyx_GOTREF(__pyx_t_3);
5730
6468
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5731
6469
    __Pyx_Raise(__pyx_t_3, 0, 0);
5732
6470
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5733
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6471
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5734
6472
    goto __pyx_L5;
5735
6473
  }
5736
6474
  __pyx_L5:;
5737
6475
 
5738
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":925
 
6476
  /* "/home/tachyon/h5py/h5py/h5t.pyx":924
5739
6477
 *             raise ValueError("Member index must be non-negative.")
5740
6478
 * 
5741
6479
 *         try:             # <<<<<<<<<<<<<<
5744
6482
 */
5745
6483
  /*try:*/ {
5746
6484
 
5747
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":926
 
6485
    /* "/home/tachyon/h5py/h5py/h5t.pyx":925
5748
6486
 * 
5749
6487
 *         try:
5750
6488
 *             name = H5Tget_member_name(self.id, member)             # <<<<<<<<<<<<<<
5751
6489
 *             assert name != NULL
5752
 
 *             pyname = name
 
6490
 *             pyname = <bytes>name
5753
6491
 */
5754
 
    __pyx_t_4 = H5Tget_member_name(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(__pyx_t_4 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L7;}
5755
 
    __pyx_v_name = __pyx_t_4;
 
6492
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
6493
    __Pyx_GOTREF(__pyx_t_3);
 
6494
    __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_3); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
6495
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
6496
    __pyx_t_5 = H5Tget_member_name(__pyx_t_4, __pyx_v_member); if (unlikely(__pyx_t_5 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 925; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
6497
    __pyx_v_name = __pyx_t_5;
5756
6498
 
5757
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":927
 
6499
    /* "/home/tachyon/h5py/h5py/h5t.pyx":926
5758
6500
 *         try:
5759
6501
 *             name = H5Tget_member_name(self.id, member)
5760
6502
 *             assert name != NULL             # <<<<<<<<<<<<<<
5761
 
 *             pyname = name
 
6503
 *             pyname = <bytes>name
5762
6504
 *         finally:
5763
6505
 */
5764
6506
    #ifndef PYREX_WITHOUT_ASSERTIONS
5765
6507
    if (unlikely(!(__pyx_v_name != NULL))) {
5766
6508
      PyErr_SetNone(PyExc_AssertionError);
5767
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
6509
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L7;}
5768
6510
    }
5769
6511
    #endif
5770
6512
 
5771
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":928
 
6513
    /* "/home/tachyon/h5py/h5py/h5t.pyx":927
5772
6514
 *             name = H5Tget_member_name(self.id, member)
5773
6515
 *             assert name != NULL
5774
 
 *             pyname = name             # <<<<<<<<<<<<<<
 
6516
 *             pyname = <bytes>name             # <<<<<<<<<<<<<<
5775
6517
 *         finally:
5776
6518
 *             free(name)
5777
6519
 */
5778
 
    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L7;}
5779
 
    __Pyx_GOTREF(__pyx_t_3);
 
6520
    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
6521
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
6522
    __Pyx_INCREF(((PyObject *)__pyx_t_3));
5780
6523
    __Pyx_DECREF(__pyx_v_pyname);
5781
 
    __pyx_v_pyname = __pyx_t_3;
5782
 
    __pyx_t_3 = 0;
 
6524
    __pyx_v_pyname = ((PyObject *)__pyx_t_3);
 
6525
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
5783
6526
  }
5784
6527
  /*finally:*/ {
5785
6528
    int __pyx_why;
5797
6540
    }
5798
6541
    __pyx_L8:;
5799
6542
 
5800
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":930
5801
 
 *             pyname = name
 
6543
    /* "/home/tachyon/h5py/h5py/h5t.pyx":929
 
6544
 *             pyname = <bytes>name
5802
6545
 *         finally:
5803
6546
 *             free(name)             # <<<<<<<<<<<<<<
5804
6547
 * 
5817
6560
    }
5818
6561
  }
5819
6562
 
5820
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":932
 
6563
  /* "/home/tachyon/h5py/h5py/h5t.pyx":931
5821
6564
 *             free(name)
5822
6565
 * 
5823
6566
 *         return pyname             # <<<<<<<<<<<<<<
5844
6587
  return __pyx_r;
5845
6588
}
5846
6589
 
5847
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":935
 
6590
/* "/home/tachyon/h5py/h5py/h5t.pyx":934
5848
6591
 * 
5849
6592
 * 
5850
6593
 *     def get_member_index(self, char* name):             # <<<<<<<<<<<<<<
5857
6600
static PyObject *__pyx_pf_4h5py_3h5t_15TypeCompositeID_get_member_index(PyObject *__pyx_v_self, PyObject *__pyx_arg_name) {
5858
6601
  char *__pyx_v_name;
5859
6602
  PyObject *__pyx_r = NULL;
5860
 
  int __pyx_t_1;
5861
 
  PyObject *__pyx_t_2 = NULL;
 
6603
  PyObject *__pyx_t_1 = NULL;
 
6604
  hid_t __pyx_t_2;
 
6605
  int __pyx_t_3;
5862
6606
  __Pyx_RefNannySetupContext("get_member_index");
5863
6607
  assert(__pyx_arg_name); {
5864
 
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6608
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 934; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5865
6609
  }
5866
6610
  goto __pyx_L4_argument_unpacking_done;
5867
6611
  __pyx_L3_error:;
5869
6613
  return NULL;
5870
6614
  __pyx_L4_argument_unpacking_done:;
5871
6615
 
5872
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":941
 
6616
  /* "/home/tachyon/h5py/h5py/h5t.pyx":940
5873
6617
 *         identified by a string name.
5874
6618
 *         """
5875
6619
 *         return H5Tget_member_index(self.id, name)             # <<<<<<<<<<<<<<
5877
6621
 * 
5878
6622
 */
5879
6623
  __Pyx_XDECREF(__pyx_r);
5880
 
  __pyx_t_1 = H5Tget_member_index(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5881
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5882
 
  __Pyx_GOTREF(__pyx_t_2);
5883
 
  __pyx_r = __pyx_t_2;
5884
 
  __pyx_t_2 = 0;
 
6624
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 940; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6625
  __Pyx_GOTREF(__pyx_t_1);
 
6626
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 940; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6627
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6628
  __pyx_t_3 = H5Tget_member_index(__pyx_t_2, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 940; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6629
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 940; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6630
  __Pyx_GOTREF(__pyx_t_1);
 
6631
  __pyx_r = __pyx_t_1;
 
6632
  __pyx_t_1 = 0;
5885
6633
  goto __pyx_L0;
5886
6634
 
5887
6635
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5888
6636
  goto __pyx_L0;
5889
6637
  __pyx_L1_error:;
5890
 
  __Pyx_XDECREF(__pyx_t_2);
 
6638
  __Pyx_XDECREF(__pyx_t_1);
5891
6639
  __Pyx_AddTraceback("h5py.h5t.TypeCompositeID.get_member_index");
5892
6640
  __pyx_r = NULL;
5893
6641
  __pyx_L0:;
5896
6644
  return __pyx_r;
5897
6645
}
5898
6646
 
5899
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":952
 
6647
/* "/home/tachyon/h5py/h5py/h5t.pyx":951
5900
6648
 * 
5901
6649
 * 
5902
6650
 *     def get_member_class(self, int member):             # <<<<<<<<<<<<<<
5912
6660
  int __pyx_t_1;
5913
6661
  PyObject *__pyx_t_2 = NULL;
5914
6662
  PyObject *__pyx_t_3 = NULL;
5915
 
  enum H5T_class_t __pyx_t_4;
 
6663
  hid_t __pyx_t_4;
 
6664
  enum H5T_class_t __pyx_t_5;
5916
6665
  __Pyx_RefNannySetupContext("get_member_class");
5917
6666
  assert(__pyx_arg_member); {
5918
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 952; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6667
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5919
6668
  }
5920
6669
  goto __pyx_L4_argument_unpacking_done;
5921
6670
  __pyx_L3_error:;
5924
6673
  __pyx_L4_argument_unpacking_done:;
5925
6674
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5926
6675
 
5927
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":958
 
6676
  /* "/home/tachyon/h5py/h5py/h5t.pyx":957
5928
6677
 *         identified by its index (0 <= member < nmembers).
5929
6678
 *         """
5930
6679
 *         if member < 0:             # <<<<<<<<<<<<<<
5934
6683
  __pyx_t_1 = (__pyx_v_member < 0);
5935
6684
  if (__pyx_t_1) {
5936
6685
 
5937
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":959
 
6686
    /* "/home/tachyon/h5py/h5py/h5t.pyx":958
5938
6687
 *         """
5939
6688
 *         if member < 0:
5940
6689
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5941
6690
 *         return H5Tget_member_class(self.id, member)
5942
6691
 * 
5943
6692
 */
5944
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6693
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5945
6694
    __Pyx_GOTREF(__pyx_t_2);
5946
6695
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
5947
6696
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
5948
6697
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
5949
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6698
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5950
6699
    __Pyx_GOTREF(__pyx_t_3);
5951
6700
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5952
6701
    __Pyx_Raise(__pyx_t_3, 0, 0);
5953
6702
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5954
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6703
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5955
6704
    goto __pyx_L5;
5956
6705
  }
5957
6706
  __pyx_L5:;
5958
6707
 
5959
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":960
 
6708
  /* "/home/tachyon/h5py/h5py/h5t.pyx":959
5960
6709
 *         if member < 0:
5961
6710
 *             raise ValueError("Member index must be non-negative.")
5962
6711
 *         return H5Tget_member_class(self.id, member)             # <<<<<<<<<<<<<<
5964
6713
 * 
5965
6714
 */
5966
6715
  __Pyx_XDECREF(__pyx_r);
5967
 
  __pyx_t_4 = H5Tget_member_class(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5968
 
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6716
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6717
  __Pyx_GOTREF(__pyx_t_3);
 
6718
  __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_3); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6719
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
6720
  __pyx_t_5 = H5Tget_member_class(__pyx_t_4, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6721
  __pyx_t_3 = PyInt_FromLong(__pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5969
6722
  __Pyx_GOTREF(__pyx_t_3);
5970
6723
  __pyx_r = __pyx_t_3;
5971
6724
  __pyx_t_3 = 0;
5985
6738
  return __pyx_r;
5986
6739
}
5987
6740
 
5988
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":964
 
6741
/* "/home/tachyon/h5py/h5py/h5t.pyx":963
5989
6742
 * 
5990
6743
 * 
5991
6744
 *     def get_member_offset(self, int member):             # <<<<<<<<<<<<<<
6001
6754
  int __pyx_t_1;
6002
6755
  PyObject *__pyx_t_2 = NULL;
6003
6756
  PyObject *__pyx_t_3 = NULL;
6004
 
  int __pyx_t_4;
 
6757
  hid_t __pyx_t_4;
 
6758
  int __pyx_t_5;
6005
6759
  __Pyx_RefNannySetupContext("get_member_offset");
6006
6760
  assert(__pyx_arg_member); {
6007
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6761
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6008
6762
  }
6009
6763
  goto __pyx_L4_argument_unpacking_done;
6010
6764
  __pyx_L3_error:;
6013
6767
  __pyx_L4_argument_unpacking_done:;
6014
6768
  __Pyx_INCREF((PyObject *)__pyx_v_self);
6015
6769
 
6016
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":970
 
6770
  /* "/home/tachyon/h5py/h5py/h5t.pyx":969
6017
6771
 *         member of a compound datatype.
6018
6772
 *         """
6019
6773
 *         if member < 0:             # <<<<<<<<<<<<<<
6023
6777
  __pyx_t_1 = (__pyx_v_member < 0);
6024
6778
  if (__pyx_t_1) {
6025
6779
 
6026
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":971
 
6780
    /* "/home/tachyon/h5py/h5py/h5t.pyx":970
6027
6781
 *         """
6028
6782
 *         if member < 0:
6029
6783
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
6030
6784
 *         return H5Tget_member_offset(self.id, member)
6031
6785
 * 
6032
6786
 */
6033
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6787
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6034
6788
    __Pyx_GOTREF(__pyx_t_2);
6035
6789
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
6036
6790
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
6037
6791
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
6038
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6792
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6039
6793
    __Pyx_GOTREF(__pyx_t_3);
6040
6794
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6041
6795
    __Pyx_Raise(__pyx_t_3, 0, 0);
6042
6796
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6043
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6797
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6044
6798
    goto __pyx_L5;
6045
6799
  }
6046
6800
  __pyx_L5:;
6047
6801
 
6048
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":972
 
6802
  /* "/home/tachyon/h5py/h5py/h5t.pyx":971
6049
6803
 *         if member < 0:
6050
6804
 *             raise ValueError("Member index must be non-negative.")
6051
6805
 *         return H5Tget_member_offset(self.id, member)             # <<<<<<<<<<<<<<
6053
6807
 * 
6054
6808
 */
6055
6809
  __Pyx_XDECREF(__pyx_r);
6056
 
  __pyx_t_4 = H5Tget_member_offset(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6057
 
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6810
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6811
  __Pyx_GOTREF(__pyx_t_3);
 
6812
  __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_3); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6813
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
6814
  __pyx_t_5 = H5Tget_member_offset(__pyx_t_4, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6815
  __pyx_t_3 = PyInt_FromLong(__pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6058
6816
  __Pyx_GOTREF(__pyx_t_3);
6059
6817
  __pyx_r = __pyx_t_3;
6060
6818
  __pyx_t_3 = 0;
6074
6832
  return __pyx_r;
6075
6833
}
6076
6834
 
6077
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":975
 
6835
/* "/home/tachyon/h5py/h5py/h5t.pyx":974
6078
6836
 * 
6079
6837
 * 
6080
6838
 *     def get_member_type(self, int member):             # <<<<<<<<<<<<<<
6091
6849
  PyObject *__pyx_t_2 = NULL;
6092
6850
  PyObject *__pyx_t_3 = NULL;
6093
6851
  hid_t __pyx_t_4;
 
6852
  hid_t __pyx_t_5;
6094
6853
  __Pyx_RefNannySetupContext("get_member_type");
6095
6854
  assert(__pyx_arg_member); {
6096
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 975; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6855
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6097
6856
  }
6098
6857
  goto __pyx_L4_argument_unpacking_done;
6099
6858
  __pyx_L3_error:;
6102
6861
  __pyx_L4_argument_unpacking_done:;
6103
6862
  __Pyx_INCREF((PyObject *)__pyx_v_self);
6104
6863
 
6105
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":981
 
6864
  /* "/home/tachyon/h5py/h5py/h5t.pyx":980
6106
6865
 *         index.
6107
6866
 *         """
6108
6867
 *         if member < 0:             # <<<<<<<<<<<<<<
6112
6871
  __pyx_t_1 = (__pyx_v_member < 0);
6113
6872
  if (__pyx_t_1) {
6114
6873
 
6115
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":982
 
6874
    /* "/home/tachyon/h5py/h5py/h5t.pyx":981
6116
6875
 *         """
6117
6876
 *         if member < 0:
6118
6877
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
6119
6878
 *         return typewrap(H5Tget_member_type(self.id, member))
6120
6879
 * 
6121
6880
 */
6122
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6881
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6123
6882
    __Pyx_GOTREF(__pyx_t_2);
6124
6883
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
6125
6884
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
6126
6885
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
6127
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6886
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6128
6887
    __Pyx_GOTREF(__pyx_t_3);
6129
6888
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6130
6889
    __Pyx_Raise(__pyx_t_3, 0, 0);
6131
6890
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6132
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6891
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6133
6892
    goto __pyx_L5;
6134
6893
  }
6135
6894
  __pyx_L5:;
6136
6895
 
6137
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":983
 
6896
  /* "/home/tachyon/h5py/h5py/h5t.pyx":982
6138
6897
 *         if member < 0:
6139
6898
 *             raise ValueError("Member index must be non-negative.")
6140
6899
 *         return typewrap(H5Tget_member_type(self.id, member))             # <<<<<<<<<<<<<<
6142
6901
 * 
6143
6902
 */
6144
6903
  __Pyx_XDECREF(__pyx_r);
6145
 
  __pyx_t_4 = H5Tget_member_type(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6146
 
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6904
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6905
  __Pyx_GOTREF(__pyx_t_3);
 
6906
  __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_3); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6907
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
6908
  __pyx_t_5 = H5Tget_member_type(__pyx_t_4, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6909
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_5)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6147
6910
  __Pyx_GOTREF(__pyx_t_3);
6148
6911
  __pyx_r = __pyx_t_3;
6149
6912
  __pyx_t_3 = 0;
6163
6926
  return __pyx_r;
6164
6927
}
6165
6928
 
6166
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":986
 
6929
/* "/home/tachyon/h5py/h5py/h5t.pyx":985
6167
6930
 * 
6168
6931
 * 
6169
6932
 *     def insert(self, char* name, size_t offset, TypeID field not None):             # <<<<<<<<<<<<<<
6178
6941
  size_t __pyx_v_offset;
6179
6942
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_field = 0;
6180
6943
  PyObject *__pyx_r = NULL;
6181
 
  herr_t __pyx_t_1;
 
6944
  PyObject *__pyx_t_1 = NULL;
 
6945
  hid_t __pyx_t_2;
 
6946
  hid_t __pyx_t_3;
 
6947
  herr_t __pyx_t_4;
6182
6948
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__offset,&__pyx_n_s__field,0};
6183
6949
  __Pyx_RefNannySetupContext("insert");
6184
6950
  if (unlikely(__pyx_kwds)) {
6200
6966
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__offset);
6201
6967
      if (likely(values[1])) kw_args--;
6202
6968
      else {
6203
 
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6969
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6204
6970
      }
6205
6971
      case  2:
6206
6972
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__field);
6207
6973
      if (likely(values[2])) kw_args--;
6208
6974
      else {
6209
 
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6975
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6210
6976
      }
6211
6977
    }
6212
6978
    if (unlikely(kw_args > 0)) {
6213
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6979
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6214
6980
    }
6215
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6216
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6981
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6982
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6217
6983
    __pyx_v_field = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[2]);
6218
6984
  } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
6219
6985
    goto __pyx_L5_argtuple_error;
6220
6986
  } else {
6221
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6222
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6987
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6988
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6223
6989
    __pyx_v_field = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 2));
6224
6990
  }
6225
6991
  goto __pyx_L4_argument_unpacking_done;
6226
6992
  __pyx_L5_argtuple_error:;
6227
 
  __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6993
  __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6228
6994
  __pyx_L3_error:;
6229
6995
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.insert");
6230
6996
  return NULL;
6231
6997
  __pyx_L4_argument_unpacking_done:;
6232
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field), __pyx_ptype_4h5py_3h5t_TypeID, 0, "field", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6998
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field), __pyx_ptype_4h5py_3h5t_TypeID, 0, "field", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6233
6999
 
6234
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":993
 
7000
  /* "/home/tachyon/h5py/h5py/h5t.pyx":992
6235
7001
 *         in bytes.
6236
7002
 *         """
6237
7003
 *         H5Tinsert(self.id, name, offset, field.id)             # <<<<<<<<<<<<<<
6238
7004
 * 
6239
7005
 * 
6240
7006
 */
6241
 
  __pyx_t_1 = H5Tinsert(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, __pyx_v_offset, __pyx_v_field->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7007
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7008
  __Pyx_GOTREF(__pyx_t_1);
 
7009
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7010
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7011
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_field), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7012
  __Pyx_GOTREF(__pyx_t_1);
 
7013
  __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7014
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7015
  __pyx_t_4 = H5Tinsert(__pyx_t_2, __pyx_v_name, __pyx_v_offset, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6242
7016
 
6243
7017
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6244
7018
  goto __pyx_L0;
6245
7019
  __pyx_L1_error:;
 
7020
  __Pyx_XDECREF(__pyx_t_1);
6246
7021
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.insert");
6247
7022
  __pyx_r = NULL;
6248
7023
  __pyx_L0:;
6251
7026
  return __pyx_r;
6252
7027
}
6253
7028
 
6254
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":996
 
7029
/* "/home/tachyon/h5py/h5py/h5t.pyx":995
6255
7030
 * 
6256
7031
 * 
6257
7032
 *     def pack(self):             # <<<<<<<<<<<<<<
6263
7038
static char __pyx_doc_4h5py_3h5t_14TypeCompoundID_pack[] = "()\n\n        Recursively removes padding (introduced on account of e.g. compiler\n        alignment rules) from a compound datatype.\n        ";
6264
7039
static PyObject *__pyx_pf_4h5py_3h5t_14TypeCompoundID_pack(PyObject *__pyx_v_self, PyObject *unused) {
6265
7040
  PyObject *__pyx_r = NULL;
6266
 
  herr_t __pyx_t_1;
 
7041
  PyObject *__pyx_t_1 = NULL;
 
7042
  hid_t __pyx_t_2;
 
7043
  herr_t __pyx_t_3;
6267
7044
  __Pyx_RefNannySetupContext("pack");
6268
7045
 
6269
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1002
 
7046
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1001
6270
7047
 *         alignment rules) from a compound datatype.
6271
7048
 *         """
6272
7049
 *         H5Tpack(self.id)             # <<<<<<<<<<<<<<
6273
7050
 * 
6274
7051
 *     cdef object py_dtype(self):
6275
7052
 */
6276
 
  __pyx_t_1 = H5Tpack(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7053
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7054
  __Pyx_GOTREF(__pyx_t_1);
 
7055
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7056
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7057
  __pyx_t_3 = H5Tpack(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6277
7058
 
6278
7059
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6279
7060
  goto __pyx_L0;
6280
7061
  __pyx_L1_error:;
 
7062
  __Pyx_XDECREF(__pyx_t_1);
6281
7063
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.pack");
6282
7064
  __pyx_r = NULL;
6283
7065
  __pyx_L0:;
6286
7068
  return __pyx_r;
6287
7069
}
6288
7070
 
6289
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1004
 
7071
/* "/home/tachyon/h5py/h5py/h5t.pyx":1003
6290
7072
 *         H5Tpack(self.id)
6291
7073
 * 
6292
7074
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
6328
7110
  __pyx_v_nstring = Py_None; __Pyx_INCREF(Py_None);
6329
7111
  __pyx_v_typeobj = Py_None; __Pyx_INCREF(Py_None);
6330
7112
 
6331
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1010
 
7113
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1009
6332
7114
 *         cdef list field_types
6333
7115
 *         cdef int nfields
6334
7116
 *         field_names = []             # <<<<<<<<<<<<<<
6335
7117
 *         field_types = []
6336
7118
 *         nfields = self.get_nmembers()
6337
7119
 */
6338
 
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7120
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6339
7121
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
6340
7122
  __Pyx_DECREF(((PyObject *)__pyx_v_field_names));
6341
7123
  __pyx_v_field_names = __pyx_t_1;
6342
7124
  __pyx_t_1 = 0;
6343
7125
 
6344
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1011
 
7126
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1010
6345
7127
 *         cdef int nfields
6346
7128
 *         field_names = []
6347
7129
 *         field_types = []             # <<<<<<<<<<<<<<
6348
7130
 *         nfields = self.get_nmembers()
6349
7131
 * 
6350
7132
 */
6351
 
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7133
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6352
7134
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
6353
7135
  __Pyx_DECREF(((PyObject *)__pyx_v_field_types));
6354
7136
  __pyx_v_field_types = __pyx_t_1;
6355
7137
  __pyx_t_1 = 0;
6356
7138
 
6357
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1012
 
7139
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1011
6358
7140
 *         field_names = []
6359
7141
 *         field_types = []
6360
7142
 *         nfields = self.get_nmembers()             # <<<<<<<<<<<<<<
6361
7143
 * 
6362
7144
 *         # First step: read field names and their Numpy dtypes into
6363
7145
 */
6364
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7146
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6365
7147
  __Pyx_GOTREF(__pyx_t_1);
6366
 
  __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 = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7148
  __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 = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6367
7149
  __Pyx_GOTREF(__pyx_t_2);
6368
7150
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6369
 
  __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7151
  __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6370
7152
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6371
7153
  __pyx_v_nfields = __pyx_t_3;
6372
7154
 
6373
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1016
 
7155
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1015
6374
7156
 *         # First step: read field names and their Numpy dtypes into
6375
7157
 *         # two separate arrays.
6376
7158
 *         for i from 0 <= i < nfields:             # <<<<<<<<<<<<<<
6379
7161
 */
6380
7162
  __pyx_t_3 = __pyx_v_nfields;
6381
7163
  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) {
6382
 
    __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7164
    __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6383
7165
    __Pyx_GOTREF(__pyx_t_2);
6384
7166
    __Pyx_DECREF(__pyx_v_i);
6385
7167
    __pyx_v_i = __pyx_t_2;
6386
7168
    __pyx_t_2 = 0;
6387
7169
 
6388
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1017
 
7170
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1016
6389
7171
 *         # two separate arrays.
6390
7172
 *         for i from 0 <= i < nfields:
6391
7173
 *             tmp_type = self.get_member_type(i)             # <<<<<<<<<<<<<<
6392
7174
 *             field_names.append(self.get_member_name(i))
6393
7175
 *             field_types.append(tmp_type.py_dtype())
6394
7176
 */
6395
 
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7177
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6396
7178
    __Pyx_GOTREF(__pyx_t_2);
6397
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7179
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6398
7180
    __Pyx_GOTREF(__pyx_t_1);
6399
7181
    __Pyx_INCREF(__pyx_v_i);
6400
7182
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_i);
6401
7183
    __Pyx_GIVEREF(__pyx_v_i);
6402
 
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7184
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6403
7185
    __Pyx_GOTREF(__pyx_t_5);
6404
7186
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6405
7187
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6406
 
    if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7188
    if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6407
7189
    __Pyx_DECREF(((PyObject *)__pyx_v_tmp_type));
6408
7190
    __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_5);
6409
7191
    __pyx_t_5 = 0;
6410
7192
 
6411
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1018
 
7193
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1017
6412
7194
 *         for i from 0 <= i < nfields:
6413
7195
 *             tmp_type = self.get_member_type(i)
6414
7196
 *             field_names.append(self.get_member_name(i))             # <<<<<<<<<<<<<<
6416
7198
 * 
6417
7199
 */
6418
7200
    if (unlikely(__pyx_v_field_names == Py_None)) {
6419
 
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
7201
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
6420
7202
    }
6421
 
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7203
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6422
7204
    __Pyx_GOTREF(__pyx_t_5);
6423
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7205
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6424
7206
    __Pyx_GOTREF(__pyx_t_1);
6425
7207
    __Pyx_INCREF(__pyx_v_i);
6426
7208
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_i);
6427
7209
    __Pyx_GIVEREF(__pyx_v_i);
6428
 
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7210
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6429
7211
    __Pyx_GOTREF(__pyx_t_2);
6430
7212
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6431
7213
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6432
 
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_names), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7214
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_names), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6433
7215
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6434
7216
 
6435
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1019
 
7217
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1018
6436
7218
 *             tmp_type = self.get_member_type(i)
6437
7219
 *             field_names.append(self.get_member_name(i))
6438
7220
 *             field_types.append(tmp_type.py_dtype())             # <<<<<<<<<<<<<<
6440
7222
 * 
6441
7223
 */
6442
7224
    if (unlikely(__pyx_v_field_types == Py_None)) {
6443
 
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
7225
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
6444
7226
    }
6445
 
    __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7227
    __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6446
7228
    __Pyx_GOTREF(__pyx_t_2);
6447
 
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_types), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7229
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_types), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6448
7230
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6449
 
    __pyx_t_4 = __Pyx_PyInt_AsLong(__pyx_v_i); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7231
    __pyx_t_4 = __Pyx_PyInt_AsLong(__pyx_v_i); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6450
7232
  }
6451
7233
 
6452
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1016
 
7234
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1015
6453
7235
 *         # First step: read field names and their Numpy dtypes into
6454
7236
 *         # two separate arrays.
6455
7237
 *         for i from 0 <= i < nfields:             # <<<<<<<<<<<<<<
6456
7238
 *             tmp_type = self.get_member_type(i)
6457
7239
 *             field_names.append(self.get_member_name(i))
6458
7240
 */
6459
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7241
  __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6460
7242
  __Pyx_GOTREF(__pyx_t_2);
6461
7243
  __Pyx_DECREF(__pyx_v_i);
6462
7244
  __pyx_v_i = __pyx_t_2;
6463
7245
  __pyx_t_2 = 0;
6464
7246
 
6465
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1023
 
7247
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1022
6466
7248
 * 
6467
7249
 *         # 1. Check if it should be converted to a complex number
6468
7250
 *         if len(field_names) == 2                                and \             # <<<<<<<<<<<<<<
6469
7251
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6470
7252
 *             field_types[0] == field_types[1]                    and \
6471
7253
 */
6472
 
  __pyx_t_7 = PyObject_Length(((PyObject *)__pyx_v_field_names)); if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7254
  __pyx_t_7 = PyObject_Length(((PyObject *)__pyx_v_field_names)); if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6473
7255
  __pyx_t_8 = (__pyx_t_7 == 2);
6474
7256
  if (__pyx_t_8) {
6475
7257
 
6476
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1024
 
7258
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1023
6477
7259
 *         # 1. Check if it should be converted to a complex number
6478
7260
 *         if len(field_names) == 2                                and \
6479
7261
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \             # <<<<<<<<<<<<<<
6481
7263
 *             field_types[0].kind == 'f':
6482
7264
 */
6483
7265
    if (unlikely(__pyx_v_field_names == Py_None)) {
6484
 
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
7266
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
6485
7267
    }
6486
 
    __pyx_t_2 = ((PyObject *)PyList_AsTuple(__pyx_v_field_names)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7268
    __pyx_t_2 = ((PyObject *)PyList_AsTuple(__pyx_v_field_names)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6487
7269
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6488
 
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7270
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6489
7271
    __Pyx_GOTREF(__pyx_t_1);
6490
7272
    __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_r_name);
6491
7273
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_4h5py_3h5t_cfg->_r_name);
6493
7275
    __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_i_name);
6494
7276
    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_4h5py_3h5t_cfg->_i_name);
6495
7277
    __Pyx_GIVEREF(__pyx_v_4h5py_3h5t_cfg->_i_name);
6496
 
    __pyx_t_5 = PyObject_RichCompare(((PyObject *)__pyx_t_2), __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7278
    __pyx_t_5 = PyObject_RichCompare(((PyObject *)__pyx_t_2), __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6497
7279
    __Pyx_GOTREF(__pyx_t_5);
6498
7280
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6499
7281
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6500
 
    __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_9 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7282
    __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_9 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6501
7283
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6502
7284
    if (__pyx_t_9) {
6503
7285
 
6504
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1025
 
7286
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1024
6505
7287
 *         if len(field_names) == 2                                and \
6506
7288
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6507
7289
 *             field_types[0] == field_types[1]                    and \             # <<<<<<<<<<<<<<
6508
7290
 *             field_types[0].kind == 'f':
6509
7291
 * 
6510
7292
 */
6511
 
      __pyx_t_5 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7293
      __pyx_t_5 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6512
7294
      __Pyx_GOTREF(__pyx_t_5);
6513
 
      __pyx_t_1 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7295
      __pyx_t_1 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6514
7296
      __Pyx_GOTREF(__pyx_t_1);
6515
 
      __pyx_t_2 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7297
      __pyx_t_2 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6516
7298
      __Pyx_GOTREF(__pyx_t_2);
6517
7299
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6518
7300
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6519
 
      __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7301
      __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6520
7302
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6521
7303
      if (__pyx_t_10) {
6522
7304
 
6523
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1026
 
7305
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1025
6524
7306
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6525
7307
 *             field_types[0] == field_types[1]                    and \
6526
7308
 *             field_types[0].kind == 'f':             # <<<<<<<<<<<<<<
6527
7309
 * 
6528
7310
 *             bstring = field_types[0].str
6529
7311
 */
6530
 
        __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7312
        __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6531
7313
        __Pyx_GOTREF(__pyx_t_2);
6532
 
        __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7314
        __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6533
7315
        __Pyx_GOTREF(__pyx_t_1);
6534
7316
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6535
 
        __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)__pyx_n_s__f), Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7317
        __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)__pyx_n_s__f), Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6536
7318
        __Pyx_GOTREF(__pyx_t_2);
6537
7319
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6538
 
        __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7320
        __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6539
7321
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6540
7322
        __pyx_t_12 = __pyx_t_11;
6541
7323
      } else {
6551
7333
  }
6552
7334
  if (__pyx_t_9) {
6553
7335
 
6554
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1028
 
7336
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1027
6555
7337
 *             field_types[0].kind == 'f':
6556
7338
 * 
6557
7339
 *             bstring = field_types[0].str             # <<<<<<<<<<<<<<
6558
7340
 *             blen = int(bstring[2:])
6559
7341
 *             nstring = bstring[0] + "c" + str(2*blen)
6560
7342
 */
6561
 
    __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7343
    __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6562
7344
    __Pyx_GOTREF(__pyx_t_2);
6563
 
    __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7345
    __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6564
7346
    __Pyx_GOTREF(__pyx_t_1);
6565
7347
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6566
7348
    __Pyx_DECREF(__pyx_v_bstring);
6567
7349
    __pyx_v_bstring = __pyx_t_1;
6568
7350
    __pyx_t_1 = 0;
6569
7351
 
6570
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1029
 
7352
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1028
6571
7353
 * 
6572
7354
 *             bstring = field_types[0].str
6573
7355
 *             blen = int(bstring[2:])             # <<<<<<<<<<<<<<
6574
7356
 *             nstring = bstring[0] + "c" + str(2*blen)
6575
7357
 *             typeobj = dtype(nstring)
6576
7358
 */
6577
 
    __pyx_t_1 = PySequence_GetSlice(__pyx_v_bstring, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7359
    __pyx_t_1 = PySequence_GetSlice(__pyx_v_bstring, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6578
7360
    __Pyx_GOTREF(__pyx_t_1);
6579
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7361
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6580
7362
    __Pyx_GOTREF(__pyx_t_2);
6581
7363
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
6582
7364
    __Pyx_GIVEREF(__pyx_t_1);
6583
7365
    __pyx_t_1 = 0;
6584
 
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7366
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6585
7367
    __Pyx_GOTREF(__pyx_t_1);
6586
7368
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6587
7369
    __Pyx_DECREF(__pyx_v_blen);
6588
7370
    __pyx_v_blen = __pyx_t_1;
6589
7371
    __pyx_t_1 = 0;
6590
7372
 
6591
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1030
 
7373
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1029
6592
7374
 *             bstring = field_types[0].str
6593
7375
 *             blen = int(bstring[2:])
6594
7376
 *             nstring = bstring[0] + "c" + str(2*blen)             # <<<<<<<<<<<<<<
6595
7377
 *             typeobj = dtype(nstring)
6596
7378
 * 
6597
7379
 */
6598
 
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_bstring, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7380
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_bstring, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6599
7381
    __Pyx_GOTREF(__pyx_t_1);
6600
 
    __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__c)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7382
    __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__c)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6601
7383
    __Pyx_GOTREF(__pyx_t_2);
6602
7384
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6603
 
    __pyx_t_1 = PyNumber_Multiply(__pyx_int_2, __pyx_v_blen); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7385
    __pyx_t_1 = PyNumber_Multiply(__pyx_int_2, __pyx_v_blen); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6604
7386
    __Pyx_GOTREF(__pyx_t_1);
6605
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7387
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6606
7388
    __Pyx_GOTREF(__pyx_t_5);
6607
7389
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
6608
7390
    __Pyx_GIVEREF(__pyx_t_1);
6609
7391
    __pyx_t_1 = 0;
6610
 
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7392
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6611
7393
    __Pyx_GOTREF(__pyx_t_1);
6612
7394
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6613
 
    __pyx_t_5 = PyNumber_Add(__pyx_t_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7395
    __pyx_t_5 = PyNumber_Add(__pyx_t_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6614
7396
    __Pyx_GOTREF(__pyx_t_5);
6615
7397
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6616
7398
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6618
7400
    __pyx_v_nstring = __pyx_t_5;
6619
7401
    __pyx_t_5 = 0;
6620
7402
 
6621
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1031
 
7403
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1030
6622
7404
 *             blen = int(bstring[2:])
6623
7405
 *             nstring = bstring[0] + "c" + str(2*blen)
6624
7406
 *             typeobj = dtype(nstring)             # <<<<<<<<<<<<<<
6625
7407
 * 
6626
7408
 *         # 2. Otherwise, read all fields of the compound type, in HDF5 order.
6627
7409
 */
6628
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1031; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7410
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6629
7411
    __Pyx_GOTREF(__pyx_t_5);
6630
7412
    __Pyx_INCREF(__pyx_v_nstring);
6631
7413
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_nstring);
6632
7414
    __Pyx_GIVEREF(__pyx_v_nstring);
6633
 
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1031; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7415
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6634
7416
    __Pyx_GOTREF(__pyx_t_1);
6635
7417
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6636
7418
    __Pyx_DECREF(__pyx_v_typeobj);
6640
7422
  }
6641
7423
  /*else*/ {
6642
7424
 
6643
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1035
 
7425
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1034
6644
7426
 *         # 2. Otherwise, read all fields of the compound type, in HDF5 order.
6645
7427
 *         else:
6646
7428
 *             typeobj = dtype(zip(field_names, field_types))             # <<<<<<<<<<<<<<
6647
7429
 * 
6648
7430
 *         return typeobj
6649
7431
 */
6650
 
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7432
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6651
7433
    __Pyx_GOTREF(__pyx_t_1);
6652
7434
    __Pyx_INCREF(((PyObject *)__pyx_v_field_names));
6653
7435
    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_field_names));
6655
7437
    __Pyx_INCREF(((PyObject *)__pyx_v_field_types));
6656
7438
    PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_field_types));
6657
7439
    __Pyx_GIVEREF(((PyObject *)__pyx_v_field_types));
6658
 
    __pyx_t_5 = PyObject_Call(__pyx_builtin_zip, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7440
    __pyx_t_5 = PyObject_Call(__pyx_builtin_zip, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6659
7441
    __Pyx_GOTREF(__pyx_t_5);
6660
7442
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6661
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7443
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6662
7444
    __Pyx_GOTREF(__pyx_t_1);
6663
7445
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
6664
7446
    __Pyx_GIVEREF(__pyx_t_5);
6665
7447
    __pyx_t_5 = 0;
6666
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7448
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6667
7449
    __Pyx_GOTREF(__pyx_t_5);
6668
7450
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6669
7451
    __Pyx_DECREF(__pyx_v_typeobj);
6672
7454
  }
6673
7455
  __pyx_L5:;
6674
7456
 
6675
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1037
 
7457
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1036
6676
7458
 *             typeobj = dtype(zip(field_names, field_types))
6677
7459
 * 
6678
7460
 *         return typeobj             # <<<<<<<<<<<<<<
6707
7489
  return __pyx_r;
6708
7490
}
6709
7491
 
6710
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1045
 
7492
/* "/home/tachyon/h5py/h5py/h5t.pyx":1044
6711
7493
 *     """
6712
7494
 * 
6713
7495
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1:             # <<<<<<<<<<<<<<
6719
7501
  hid_t __pyx_v_basetype;
6720
7502
  enum H5T_class_t __pyx_v_class_code;
6721
7503
  int __pyx_r;
6722
 
  enum H5T_class_t __pyx_t_1;
6723
 
  int __pyx_t_2;
6724
 
  PyObject *__pyx_t_3 = NULL;
6725
 
  PyObject *__pyx_t_4 = NULL;
6726
 
  hid_t __pyx_t_5;
6727
 
  herr_t __pyx_t_6;
 
7504
  PyObject *__pyx_t_1 = NULL;
 
7505
  hid_t __pyx_t_2;
 
7506
  enum H5T_class_t __pyx_t_3;
 
7507
  int __pyx_t_4;
 
7508
  PyObject *__pyx_t_5 = NULL;
 
7509
  hid_t __pyx_t_6;
 
7510
  herr_t __pyx_t_7;
6728
7511
  __Pyx_RefNannySetupContext("enum_convert");
6729
7512
  __Pyx_INCREF((PyObject *)__pyx_v_self);
6730
7513
 
6731
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1053
 
7514
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1052
6732
7515
 *         cdef H5T_class_t class_code
6733
7516
 * 
6734
7517
 *         class_code = H5Tget_class(self.id)             # <<<<<<<<<<<<<<
6735
7518
 *         if class_code != H5T_ENUM:
6736
7519
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)
6737
7520
 */
6738
 
  __pyx_t_1 = H5Tget_class(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1053; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6739
 
  __pyx_v_class_code = __pyx_t_1;
 
7521
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7522
  __Pyx_GOTREF(__pyx_t_1);
 
7523
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7524
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7525
  __pyx_t_3 = H5Tget_class(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7526
  __pyx_v_class_code = __pyx_t_3;
6740
7527
 
6741
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1054
 
7528
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1053
6742
7529
 * 
6743
7530
 *         class_code = H5Tget_class(self.id)
6744
7531
 *         if class_code != H5T_ENUM:             # <<<<<<<<<<<<<<
6745
7532
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)
6746
7533
 * 
6747
7534
 */
6748
 
  __pyx_t_2 = (__pyx_v_class_code != H5T_ENUM);
6749
 
  if (__pyx_t_2) {
 
7535
  __pyx_t_4 = (__pyx_v_class_code != H5T_ENUM);
 
7536
  if (__pyx_t_4) {
6750
7537
 
6751
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1055
 
7538
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1054
6752
7539
 *         class_code = H5Tget_class(self.id)
6753
7540
 *         if class_code != H5T_ENUM:
6754
7541
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)             # <<<<<<<<<<<<<<
6755
7542
 * 
6756
7543
 *         basetype = H5Tget_super(self.id)
6757
7544
 */
6758
 
    __pyx_t_3 = PyInt_FromLong(__pyx_v_class_code); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6759
 
    __Pyx_GOTREF(__pyx_t_3);
6760
 
    __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6761
 
    __Pyx_GOTREF(__pyx_t_4);
6762
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6763
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6764
 
    __Pyx_GOTREF(__pyx_t_3);
6765
 
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
6766
 
    __Pyx_GIVEREF(__pyx_t_4);
6767
 
    __pyx_t_4 = 0;
6768
 
    __pyx_t_4 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6769
 
    __Pyx_GOTREF(__pyx_t_4);
6770
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6771
 
    __Pyx_Raise(__pyx_t_4, 0, 0);
6772
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6773
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7545
    __pyx_t_1 = PyInt_FromLong(__pyx_v_class_code); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7546
    __Pyx_GOTREF(__pyx_t_1);
 
7547
    __pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7548
    __Pyx_GOTREF(__pyx_t_5);
 
7549
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7550
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7551
    __Pyx_GOTREF(__pyx_t_1);
 
7552
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
 
7553
    __Pyx_GIVEREF(__pyx_t_5);
 
7554
    __pyx_t_5 = 0;
 
7555
    __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7556
    __Pyx_GOTREF(__pyx_t_5);
 
7557
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7558
    __Pyx_Raise(__pyx_t_5, 0, 0);
 
7559
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
7560
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6774
7561
    goto __pyx_L3;
6775
7562
  }
6776
7563
  __pyx_L3:;
6777
7564
 
6778
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1057
 
7565
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1056
6779
7566
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)
6780
7567
 * 
6781
7568
 *         basetype = H5Tget_super(self.id)             # <<<<<<<<<<<<<<
6782
7569
 *         assert basetype > 0
6783
7570
 * 
6784
7571
 */
6785
 
  __pyx_t_5 = H5Tget_super(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6786
 
  __pyx_v_basetype = __pyx_t_5;
 
7572
  __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__id); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7573
  __Pyx_GOTREF(__pyx_t_5);
 
7574
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_5); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7575
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
7576
  __pyx_t_6 = H5Tget_super(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7577
  __pyx_v_basetype = __pyx_t_6;
6787
7578
 
6788
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1058
 
7579
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1057
6789
7580
 * 
6790
7581
 *         basetype = H5Tget_super(self.id)
6791
7582
 *         assert basetype > 0             # <<<<<<<<<<<<<<
6795
7586
  #ifndef PYREX_WITHOUT_ASSERTIONS
6796
7587
  if (unlikely(!(__pyx_v_basetype > 0))) {
6797
7588
    PyErr_SetNone(PyExc_AssertionError);
6798
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7589
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6799
7590
  }
6800
7591
  #endif
6801
7592
 
6802
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1060
 
7593
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1059
6803
7594
 *         assert basetype > 0
6804
7595
 * 
6805
7596
 *         try:             # <<<<<<<<<<<<<<
6808
7599
 */
6809
7600
  /*try:*/ {
6810
7601
 
6811
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1061
 
7602
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1060
6812
7603
 * 
6813
7604
 *         try:
6814
7605
 *             if not reverse:             # <<<<<<<<<<<<<<
6815
7606
 *                 H5Tconvert(H5T_NATIVE_LLONG, basetype, 1, buf, NULL, H5P_DEFAULT)
6816
7607
 *             else:
6817
7608
 */
6818
 
    __pyx_t_2 = (!__pyx_v_reverse);
6819
 
    if (__pyx_t_2) {
 
7609
    __pyx_t_4 = (!__pyx_v_reverse);
 
7610
    if (__pyx_t_4) {
6820
7611
 
6821
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1062
 
7612
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1061
6822
7613
 *         try:
6823
7614
 *             if not reverse:
6824
7615
 *                 H5Tconvert(H5T_NATIVE_LLONG, basetype, 1, buf, NULL, H5P_DEFAULT)             # <<<<<<<<<<<<<<
6825
7616
 *             else:
6826
7617
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)
6827
7618
 */
6828
 
      __pyx_t_6 = H5Tconvert(H5T_NATIVE_LLONG, __pyx_v_basetype, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L5;}
 
7619
      __pyx_t_7 = H5Tconvert(H5T_NATIVE_LLONG, __pyx_v_basetype, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L5;}
6829
7620
      goto __pyx_L7;
6830
7621
    }
6831
7622
    /*else*/ {
6832
7623
 
6833
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1064
 
7624
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1063
6834
7625
 *                 H5Tconvert(H5T_NATIVE_LLONG, basetype, 1, buf, NULL, H5P_DEFAULT)
6835
7626
 *             else:
6836
7627
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)             # <<<<<<<<<<<<<<
6837
7628
 *         finally:
6838
7629
 *             H5Tclose(basetype)
6839
7630
 */
6840
 
      __pyx_t_6 = H5Tconvert(__pyx_v_basetype, H5T_NATIVE_LLONG, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L5;}
 
7631
      __pyx_t_7 = H5Tconvert(__pyx_v_basetype, H5T_NATIVE_LLONG, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L5;}
6841
7632
    }
6842
7633
    __pyx_L7:;
6843
7634
  }
6849
7640
    __pyx_why = 0; goto __pyx_L6;
6850
7641
    __pyx_L5: {
6851
7642
      __pyx_why = 4;
6852
 
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
6853
 
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
7643
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7644
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
6854
7645
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
6855
7646
      __pyx_exc_lineno = __pyx_lineno;
6856
7647
      goto __pyx_L6;
6857
7648
    }
6858
7649
    __pyx_L6:;
6859
7650
 
6860
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1066
 
7651
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1065
6861
7652
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)
6862
7653
 *         finally:
6863
7654
 *             H5Tclose(basetype)             # <<<<<<<<<<<<<<
6864
7655
 * 
6865
7656
 * 
6866
7657
 */
6867
 
    __pyx_t_6 = H5Tclose(__pyx_v_basetype); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
 
7658
    __pyx_t_7 = H5Tclose(__pyx_v_basetype); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
6868
7659
    goto __pyx_L9;
6869
7660
    __pyx_L8_error:;
6870
7661
    if (__pyx_why == 4) {
6889
7680
  __pyx_r = 0;
6890
7681
  goto __pyx_L0;
6891
7682
  __pyx_L1_error:;
6892
 
  __Pyx_XDECREF(__pyx_t_3);
6893
 
  __Pyx_XDECREF(__pyx_t_4);
 
7683
  __Pyx_XDECREF(__pyx_t_1);
 
7684
  __Pyx_XDECREF(__pyx_t_5);
6894
7685
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_convert");
6895
7686
  __pyx_r = -1;
6896
7687
  __pyx_L0:;
6899
7690
  return __pyx_r;
6900
7691
}
6901
7692
 
6902
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1069
 
7693
/* "/home/tachyon/h5py/h5py/h5t.pyx":1068
6903
7694
 * 
6904
7695
 * 
6905
7696
 *     def enum_insert(self, char* name, long long value):             # <<<<<<<<<<<<<<
6915
7706
  PY_LONG_LONG __pyx_v_buf;
6916
7707
  PyObject *__pyx_r = NULL;
6917
7708
  int __pyx_t_1;
6918
 
  herr_t __pyx_t_2;
 
7709
  PyObject *__pyx_t_2 = NULL;
 
7710
  hid_t __pyx_t_3;
 
7711
  herr_t __pyx_t_4;
6919
7712
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__value,0};
6920
7713
  __Pyx_RefNannySetupContext("enum_insert");
6921
7714
  if (unlikely(__pyx_kwds)) {
6936
7729
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__value);
6937
7730
      if (likely(values[1])) kw_args--;
6938
7731
      else {
6939
 
        __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7732
        __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6940
7733
      }
6941
7734
    }
6942
7735
    if (unlikely(kw_args > 0)) {
6943
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "enum_insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7736
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "enum_insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6944
7737
    }
6945
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6946
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(values[1]); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7738
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7739
    __pyx_v_value = __Pyx_PyInt_AsLongLong(values[1]); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6947
7740
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
6948
7741
    goto __pyx_L5_argtuple_error;
6949
7742
  } else {
6950
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6951
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7743
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7744
    __pyx_v_value = __Pyx_PyInt_AsLongLong(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6952
7745
  }
6953
7746
  goto __pyx_L4_argument_unpacking_done;
6954
7747
  __pyx_L5_argtuple_error:;
6955
 
  __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7748
  __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6956
7749
  __pyx_L3_error:;
6957
7750
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_insert");
6958
7751
  return NULL;
6959
7752
  __pyx_L4_argument_unpacking_done:;
6960
7753
 
6961
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1079
 
7754
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1078
6962
7755
 *         cdef long long buf
6963
7756
 * 
6964
7757
 *         buf = value             # <<<<<<<<<<<<<<
6967
7760
 */
6968
7761
  __pyx_v_buf = __pyx_v_value;
6969
7762
 
6970
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1080
 
7763
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1079
6971
7764
 * 
6972
7765
 *         buf = value
6973
7766
 *         self.enum_convert(&buf, 0)             # <<<<<<<<<<<<<<
6974
7767
 *         H5Tenum_insert(self.id, name, &buf)
6975
7768
 * 
6976
7769
 */
6977
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7770
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6978
7771
 
6979
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1081
 
7772
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1080
6980
7773
 *         buf = value
6981
7774
 *         self.enum_convert(&buf, 0)
6982
7775
 *         H5Tenum_insert(self.id, name, &buf)             # <<<<<<<<<<<<<<
6983
7776
 * 
6984
7777
 * 
6985
7778
 */
6986
 
  __pyx_t_2 = H5Tenum_insert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7779
  __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7780
  __Pyx_GOTREF(__pyx_t_2);
 
7781
  __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7782
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7783
  __pyx_t_4 = H5Tenum_insert(__pyx_t_3, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6987
7784
 
6988
7785
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6989
7786
  goto __pyx_L0;
6990
7787
  __pyx_L1_error:;
 
7788
  __Pyx_XDECREF(__pyx_t_2);
6991
7789
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_insert");
6992
7790
  __pyx_r = NULL;
6993
7791
  __pyx_L0:;
6996
7794
  return __pyx_r;
6997
7795
}
6998
7796
 
6999
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1084
 
7797
/* "/home/tachyon/h5py/h5py/h5t.pyx":1083
7000
7798
 * 
7001
7799
 * 
7002
7800
 *     def enum_nameof(self, long long value):             # <<<<<<<<<<<<<<
7014
7812
  PyObject *__pyx_v_retstring;
7015
7813
  PyObject *__pyx_r = NULL;
7016
7814
  int __pyx_t_1;
7017
 
  herr_t __pyx_t_2;
7018
 
  PyObject *__pyx_t_3 = NULL;
 
7815
  PyObject *__pyx_t_2 = NULL;
 
7816
  hid_t __pyx_t_3;
 
7817
  herr_t __pyx_t_4;
7019
7818
  __Pyx_RefNannySetupContext("enum_nameof");
7020
7819
  assert(__pyx_arg_value); {
7021
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(__pyx_arg_value); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7820
    __pyx_v_value = __Pyx_PyInt_AsLongLong(__pyx_arg_value); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7022
7821
  }
7023
7822
  goto __pyx_L4_argument_unpacking_done;
7024
7823
  __pyx_L3_error:;
7027
7826
  __pyx_L4_argument_unpacking_done:;
7028
7827
  __pyx_v_retstring = Py_None; __Pyx_INCREF(Py_None);
7029
7828
 
7030
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1095
 
7829
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1094
7031
7830
 *         cdef long long buf
7032
7831
 * 
7033
7832
 *         buf = value             # <<<<<<<<<<<<<<
7036
7835
 */
7037
7836
  __pyx_v_buf = __pyx_v_value;
7038
7837
 
7039
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1096
 
7838
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1095
7040
7839
 * 
7041
7840
 *         buf = value
7042
7841
 *         self.enum_convert(&buf, 0)             # <<<<<<<<<<<<<<
7043
7842
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
7044
7843
 *         assert retval >= 0
7045
7844
 */
7046
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7845
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7047
7846
 
7048
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1097
 
7847
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1096
7049
7848
 *         buf = value
7050
7849
 *         self.enum_convert(&buf, 0)
7051
7850
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)             # <<<<<<<<<<<<<<
7052
7851
 *         assert retval >= 0
7053
7852
 *         retstring = name
7054
7853
 */
7055
 
  __pyx_t_2 = H5Tenum_nameof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_buf), __pyx_v_name, 1024); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1097; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7056
 
  __pyx_v_retval = __pyx_t_2;
 
7854
  __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7855
  __Pyx_GOTREF(__pyx_t_2);
 
7856
  __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7857
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7858
  __pyx_t_4 = H5Tenum_nameof(__pyx_t_3, (&__pyx_v_buf), __pyx_v_name, 1024); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7859
  __pyx_v_retval = __pyx_t_4;
7057
7860
 
7058
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1098
 
7861
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1097
7059
7862
 *         self.enum_convert(&buf, 0)
7060
7863
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
7061
7864
 *         assert retval >= 0             # <<<<<<<<<<<<<<
7065
7868
  #ifndef PYREX_WITHOUT_ASSERTIONS
7066
7869
  if (unlikely(!(__pyx_v_retval >= 0))) {
7067
7870
    PyErr_SetNone(PyExc_AssertionError);
7068
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7871
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1097; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7069
7872
  }
7070
7873
  #endif
7071
7874
 
7072
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1099
 
7875
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1098
7073
7876
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
7074
7877
 *         assert retval >= 0
7075
7878
 *         retstring = name             # <<<<<<<<<<<<<<
7076
7879
 *         return retstring
7077
7880
 * 
7078
7881
 */
7079
 
  __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7080
 
  __Pyx_GOTREF(__pyx_t_3);
 
7882
  __pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7883
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
7081
7884
  __Pyx_DECREF(__pyx_v_retstring);
7082
 
  __pyx_v_retstring = __pyx_t_3;
7083
 
  __pyx_t_3 = 0;
 
7885
  __pyx_v_retstring = ((PyObject *)__pyx_t_2);
 
7886
  __pyx_t_2 = 0;
7084
7887
 
7085
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1100
 
7888
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1099
7086
7889
 *         assert retval >= 0
7087
7890
 *         retstring = name
7088
7891
 *         return retstring             # <<<<<<<<<<<<<<
7097
7900
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
7098
7901
  goto __pyx_L0;
7099
7902
  __pyx_L1_error:;
7100
 
  __Pyx_XDECREF(__pyx_t_3);
 
7903
  __Pyx_XDECREF(__pyx_t_2);
7101
7904
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_nameof");
7102
7905
  __pyx_r = NULL;
7103
7906
  __pyx_L0:;
7107
7910
  return __pyx_r;
7108
7911
}
7109
7912
 
7110
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1103
 
7913
/* "/home/tachyon/h5py/h5py/h5t.pyx":1102
7111
7914
 * 
7112
7915
 * 
7113
7916
 *     def enum_valueof(self, char* name):             # <<<<<<<<<<<<<<
7121
7924
  char *__pyx_v_name;
7122
7925
  PY_LONG_LONG __pyx_v_buf;
7123
7926
  PyObject *__pyx_r = NULL;
7124
 
  herr_t __pyx_t_1;
7125
 
  int __pyx_t_2;
7126
 
  PyObject *__pyx_t_3 = NULL;
 
7927
  PyObject *__pyx_t_1 = NULL;
 
7928
  hid_t __pyx_t_2;
 
7929
  herr_t __pyx_t_3;
 
7930
  int __pyx_t_4;
7127
7931
  __Pyx_RefNannySetupContext("enum_valueof");
7128
7932
  assert(__pyx_arg_name); {
7129
 
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1103; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7933
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1102; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7130
7934
  }
7131
7935
  goto __pyx_L4_argument_unpacking_done;
7132
7936
  __pyx_L3_error:;
7134
7938
  return NULL;
7135
7939
  __pyx_L4_argument_unpacking_done:;
7136
7940
 
7137
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1110
 
7941
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1109
7138
7942
 *         cdef long long buf
7139
7943
 * 
7140
7944
 *         H5Tenum_valueof(self.id, name, &buf)             # <<<<<<<<<<<<<<
7141
7945
 *         self.enum_convert(&buf, 1)
7142
7946
 *         return buf
7143
7947
 */
7144
 
  __pyx_t_1 = H5Tenum_valueof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7948
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7949
  __Pyx_GOTREF(__pyx_t_1);
 
7950
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7951
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7952
  __pyx_t_3 = H5Tenum_valueof(__pyx_t_2, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7145
7953
 
7146
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1111
 
7954
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1110
7147
7955
 * 
7148
7956
 *         H5Tenum_valueof(self.id, name, &buf)
7149
7957
 *         self.enum_convert(&buf, 1)             # <<<<<<<<<<<<<<
7150
7958
 *         return buf
7151
7959
 * 
7152
7960
 */
7153
 
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7961
  __pyx_t_4 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 1); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7154
7962
 
7155
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1112
 
7963
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1111
7156
7964
 *         H5Tenum_valueof(self.id, name, &buf)
7157
7965
 *         self.enum_convert(&buf, 1)
7158
7966
 *         return buf             # <<<<<<<<<<<<<<
7160
7968
 * 
7161
7969
 */
7162
7970
  __Pyx_XDECREF(__pyx_r);
7163
 
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_buf); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7164
 
  __Pyx_GOTREF(__pyx_t_3);
7165
 
  __pyx_r = __pyx_t_3;
7166
 
  __pyx_t_3 = 0;
 
7971
  __pyx_t_1 = PyLong_FromLongLong(__pyx_v_buf); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7972
  __Pyx_GOTREF(__pyx_t_1);
 
7973
  __pyx_r = __pyx_t_1;
 
7974
  __pyx_t_1 = 0;
7167
7975
  goto __pyx_L0;
7168
7976
 
7169
7977
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
7170
7978
  goto __pyx_L0;
7171
7979
  __pyx_L1_error:;
7172
 
  __Pyx_XDECREF(__pyx_t_3);
 
7980
  __Pyx_XDECREF(__pyx_t_1);
7173
7981
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_valueof");
7174
7982
  __pyx_r = NULL;
7175
7983
  __pyx_L0:;
7178
7986
  return __pyx_r;
7179
7987
}
7180
7988
 
7181
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1115
 
7989
/* "/home/tachyon/h5py/h5py/h5t.pyx":1114
7182
7990
 * 
7183
7991
 * 
7184
7992
 *     def get_member_value(self, int idx):             # <<<<<<<<<<<<<<
7196
8004
  int __pyx_t_1;
7197
8005
  PyObject *__pyx_t_2 = NULL;
7198
8006
  PyObject *__pyx_t_3 = NULL;
7199
 
  herr_t __pyx_t_4;
7200
 
  int __pyx_t_5;
 
8007
  hid_t __pyx_t_4;
 
8008
  herr_t __pyx_t_5;
 
8009
  int __pyx_t_6;
7201
8010
  __Pyx_RefNannySetupContext("get_member_value");
7202
8011
  assert(__pyx_arg_idx); {
7203
 
    __pyx_v_idx = __Pyx_PyInt_AsInt(__pyx_arg_idx); if (unlikely((__pyx_v_idx == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8012
    __pyx_v_idx = __Pyx_PyInt_AsInt(__pyx_arg_idx); if (unlikely((__pyx_v_idx == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1114; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7204
8013
  }
7205
8014
  goto __pyx_L4_argument_unpacking_done;
7206
8015
  __pyx_L3_error:;
7209
8018
  __pyx_L4_argument_unpacking_done:;
7210
8019
  __Pyx_INCREF((PyObject *)__pyx_v_self);
7211
8020
 
7212
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1123
 
8021
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1122
7213
8022
 *         cdef hid_t ptype
7214
8023
 *         cdef long long val
7215
8024
 *         ptype = 0             # <<<<<<<<<<<<<<
7218
8027
 */
7219
8028
  __pyx_v_ptype = 0;
7220
8029
 
7221
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1125
 
8030
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1124
7222
8031
 *         ptype = 0
7223
8032
 * 
7224
8033
 *         if idx < 0:             # <<<<<<<<<<<<<<
7228
8037
  __pyx_t_1 = (__pyx_v_idx < 0);
7229
8038
  if (__pyx_t_1) {
7230
8039
 
7231
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1126
 
8040
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1125
7232
8041
 * 
7233
8042
 *         if idx < 0:
7234
8043
 *             raise ValueError("Index must be non-negative.")             # <<<<<<<<<<<<<<
7235
8044
 * 
7236
8045
 *         H5Tget_member_value(self.id, idx, &val)
7237
8046
 */
7238
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8047
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7239
8048
    __Pyx_GOTREF(__pyx_t_2);
7240
8049
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_9));
7241
8050
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_9));
7242
8051
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_9));
7243
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8052
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7244
8053
    __Pyx_GOTREF(__pyx_t_3);
7245
8054
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7246
8055
    __Pyx_Raise(__pyx_t_3, 0, 0);
7247
8056
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7248
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8057
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7249
8058
    goto __pyx_L5;
7250
8059
  }
7251
8060
  __pyx_L5:;
7252
8061
 
7253
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1128
 
8062
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1127
7254
8063
 *             raise ValueError("Index must be non-negative.")
7255
8064
 * 
7256
8065
 *         H5Tget_member_value(self.id, idx, &val)             # <<<<<<<<<<<<<<
7257
8066
 *         self.enum_convert(&val, 1)
7258
8067
 *         return val
7259
8068
 */
7260
 
  __pyx_t_4 = H5Tget_member_value(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_idx, (&__pyx_v_val)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8069
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8070
  __Pyx_GOTREF(__pyx_t_3);
 
8071
  __pyx_t_4 = __Pyx_PyInt_from_py_hid_t(__pyx_t_3); if (unlikely((__pyx_t_4 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8072
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8073
  __pyx_t_5 = H5Tget_member_value(__pyx_t_4, __pyx_v_idx, (&__pyx_v_val)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7261
8074
 
7262
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1129
 
8075
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1128
7263
8076
 * 
7264
8077
 *         H5Tget_member_value(self.id, idx, &val)
7265
8078
 *         self.enum_convert(&val, 1)             # <<<<<<<<<<<<<<
7266
8079
 *         return val
7267
8080
 * 
7268
8081
 */
7269
 
  __pyx_t_5 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_val), 1); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8082
  __pyx_t_6 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_val), 1); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7270
8083
 
7271
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1130
 
8084
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1129
7272
8085
 *         H5Tget_member_value(self.id, idx, &val)
7273
8086
 *         self.enum_convert(&val, 1)
7274
8087
 *         return val             # <<<<<<<<<<<<<<
7276
8089
 *     cdef object py_dtype(self):
7277
8090
 */
7278
8091
  __Pyx_XDECREF(__pyx_r);
7279
 
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_val); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8092
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_val); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7280
8093
  __Pyx_GOTREF(__pyx_t_3);
7281
8094
  __pyx_r = __pyx_t_3;
7282
8095
  __pyx_t_3 = 0;
7296
8109
  return __pyx_r;
7297
8110
}
7298
8111
 
7299
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1132
 
8112
/* "/home/tachyon/h5py/h5py/h5t.pyx":1131
7300
8113
 *         return val
7301
8114
 * 
7302
8115
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
7328
8141
  __pyx_v_val = Py_None; __Pyx_INCREF(Py_None);
7329
8142
  __pyx_v_ref = Py_None; __Pyx_INCREF(Py_None);
7330
8143
 
7331
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1135
 
8144
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1134
7332
8145
 *         # Translation function for enum types
7333
8146
 * 
7334
8147
 *         cdef TypeID basetype = self.get_super()             # <<<<<<<<<<<<<<
7335
8148
 * 
7336
8149
 *         nmembers = self.get_nmembers()
7337
8150
 */
7338
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8151
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7339
8152
  __Pyx_GOTREF(__pyx_t_1);
7340
 
  __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 = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8153
  __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 = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7341
8154
  __Pyx_GOTREF(__pyx_t_2);
7342
8155
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7343
 
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8156
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7344
8157
  __pyx_v_basetype = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
7345
8158
  __pyx_t_2 = 0;
7346
8159
 
7347
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1137
 
8160
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1136
7348
8161
 *         cdef TypeID basetype = self.get_super()
7349
8162
 * 
7350
8163
 *         nmembers = self.get_nmembers()             # <<<<<<<<<<<<<<
7351
8164
 *         members = {}
7352
8165
 * 
7353
8166
 */
7354
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8167
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7355
8168
  __Pyx_GOTREF(__pyx_t_2);
7356
 
  __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 = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8169
  __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 = 1136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7357
8170
  __Pyx_GOTREF(__pyx_t_1);
7358
8171
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7359
8172
  __Pyx_DECREF(__pyx_v_nmembers);
7360
8173
  __pyx_v_nmembers = __pyx_t_1;
7361
8174
  __pyx_t_1 = 0;
7362
8175
 
7363
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1138
 
8176
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1137
7364
8177
 * 
7365
8178
 *         nmembers = self.get_nmembers()
7366
8179
 *         members = {}             # <<<<<<<<<<<<<<
7367
8180
 * 
7368
8181
 *         for idx in xrange(nmembers):
7369
8182
 */
7370
 
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8183
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7371
8184
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
7372
8185
  __Pyx_DECREF(__pyx_v_members);
7373
8186
  __pyx_v_members = ((PyObject *)__pyx_t_1);
7374
8187
  __pyx_t_1 = 0;
7375
8188
 
7376
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1140
 
8189
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1139
7377
8190
 *         members = {}
7378
8191
 * 
7379
8192
 *         for idx in xrange(nmembers):             # <<<<<<<<<<<<<<
7380
8193
 *             name = self.get_member_name(idx)
7381
8194
 *             val = self.get_member_value(idx)
7382
8195
 */
7383
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8196
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7384
8197
  __Pyx_GOTREF(__pyx_t_1);
7385
8198
  __Pyx_INCREF(__pyx_v_nmembers);
7386
8199
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_nmembers);
7387
8200
  __Pyx_GIVEREF(__pyx_v_nmembers);
7388
 
  __pyx_t_2 = PyObject_Call(__pyx_builtin_xrange, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8201
  __pyx_t_2 = PyObject_Call(__pyx_builtin_xrange, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7389
8202
  __Pyx_GOTREF(__pyx_t_2);
7390
8203
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7391
8204
  if (PyList_CheckExact(__pyx_t_2) || PyTuple_CheckExact(__pyx_t_2)) {
7392
8205
    __pyx_t_3 = 0; __pyx_t_1 = __pyx_t_2; __Pyx_INCREF(__pyx_t_1);
7393
8206
  } else {
7394
 
    __pyx_t_3 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8207
    __pyx_t_3 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7395
8208
    __Pyx_GOTREF(__pyx_t_1);
7396
8209
  }
7397
8210
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7405
8218
    } else {
7406
8219
      __pyx_t_2 = PyIter_Next(__pyx_t_1);
7407
8220
      if (!__pyx_t_2) {
7408
 
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8221
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7409
8222
        break;
7410
8223
      }
7411
8224
      __Pyx_GOTREF(__pyx_t_2);
7414
8227
    __pyx_v_idx = __pyx_t_2;
7415
8228
    __pyx_t_2 = 0;
7416
8229
 
7417
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1141
 
8230
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1140
7418
8231
 * 
7419
8232
 *         for idx in xrange(nmembers):
7420
8233
 *             name = self.get_member_name(idx)             # <<<<<<<<<<<<<<
7421
8234
 *             val = self.get_member_value(idx)
7422
8235
 *             members[name] = val
7423
8236
 */
7424
 
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8237
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7425
8238
    __Pyx_GOTREF(__pyx_t_2);
 
8239
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8240
    __Pyx_GOTREF(__pyx_t_4);
 
8241
    __Pyx_INCREF(__pyx_v_idx);
 
8242
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_idx);
 
8243
    __Pyx_GIVEREF(__pyx_v_idx);
 
8244
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8245
    __Pyx_GOTREF(__pyx_t_5);
 
8246
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8247
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
8248
    __Pyx_DECREF(__pyx_v_name);
 
8249
    __pyx_v_name = __pyx_t_5;
 
8250
    __pyx_t_5 = 0;
 
8251
 
 
8252
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1141
 
8253
 *         for idx in xrange(nmembers):
 
8254
 *             name = self.get_member_name(idx)
 
8255
 *             val = self.get_member_value(idx)             # <<<<<<<<<<<<<<
 
8256
 *             members[name] = val
 
8257
 * 
 
8258
 */
 
8259
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8260
    __Pyx_GOTREF(__pyx_t_5);
7426
8261
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7427
8262
    __Pyx_GOTREF(__pyx_t_4);
7428
8263
    __Pyx_INCREF(__pyx_v_idx);
7429
8264
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_idx);
7430
8265
    __Pyx_GIVEREF(__pyx_v_idx);
7431
 
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7432
 
    __Pyx_GOTREF(__pyx_t_5);
7433
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7434
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7435
 
    __Pyx_DECREF(__pyx_v_name);
7436
 
    __pyx_v_name = __pyx_t_5;
7437
 
    __pyx_t_5 = 0;
7438
 
 
7439
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1142
7440
 
 *         for idx in xrange(nmembers):
7441
 
 *             name = self.get_member_name(idx)
7442
 
 *             val = self.get_member_value(idx)             # <<<<<<<<<<<<<<
7443
 
 *             members[name] = val
7444
 
 * 
7445
 
 */
7446
 
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7447
 
    __Pyx_GOTREF(__pyx_t_5);
7448
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7449
 
    __Pyx_GOTREF(__pyx_t_4);
7450
 
    __Pyx_INCREF(__pyx_v_idx);
7451
 
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_idx);
7452
 
    __Pyx_GIVEREF(__pyx_v_idx);
7453
 
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8266
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7454
8267
    __Pyx_GOTREF(__pyx_t_2);
7455
8268
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7456
8269
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7458
8271
    __pyx_v_val = __pyx_t_2;
7459
8272
    __pyx_t_2 = 0;
7460
8273
 
7461
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1143
 
8274
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1142
7462
8275
 *             name = self.get_member_name(idx)
7463
8276
 *             val = self.get_member_value(idx)
7464
8277
 *             members[name] = val             # <<<<<<<<<<<<<<
7465
8278
 * 
7466
8279
 *         ref = {cfg._f_name: 0, cfg._t_name: 1}
7467
8280
 */
7468
 
    if (PyObject_SetItem(__pyx_v_members, __pyx_v_name, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8281
    if (PyObject_SetItem(__pyx_v_members, __pyx_v_name, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7469
8282
  }
7470
8283
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7471
8284
 
7472
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1145
 
8285
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1144
7473
8286
 *             members[name] = val
7474
8287
 * 
7475
8288
 *         ref = {cfg._f_name: 0, cfg._t_name: 1}             # <<<<<<<<<<<<<<
7476
8289
 * 
7477
8290
 *         # Boolean types have priority over standard enums
7478
8291
 */
7479
 
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8292
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7480
8293
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
7481
 
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_f_name, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7482
 
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_t_name, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8294
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_f_name, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8295
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_t_name, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7483
8296
  __Pyx_DECREF(__pyx_v_ref);
7484
8297
  __pyx_v_ref = ((PyObject *)__pyx_t_1);
7485
8298
  __pyx_t_1 = 0;
7486
8299
 
7487
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1148
 
8300
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1147
7488
8301
 * 
7489
8302
 *         # Boolean types have priority over standard enums
7490
8303
 *         if members == ref:             # <<<<<<<<<<<<<<
7491
8304
 *             return dtype('bool')
7492
8305
 * 
7493
8306
 */
7494
 
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_members, __pyx_v_ref, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8307
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_members, __pyx_v_ref, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7495
8308
  __Pyx_GOTREF(__pyx_t_1);
7496
 
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8309
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7497
8310
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7498
8311
  if (__pyx_t_6) {
7499
8312
 
7500
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1149
 
8313
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1148
7501
8314
 *         # Boolean types have priority over standard enums
7502
8315
 *         if members == ref:
7503
8316
 *             return dtype('bool')             # <<<<<<<<<<<<<<
7505
8318
 *         return special_dtype(enum=(basetype.py_dtype(), members))
7506
8319
 */
7507
8320
    __Pyx_XDECREF(__pyx_r);
7508
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8321
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7509
8322
    __Pyx_GOTREF(__pyx_t_1);
7510
8323
    __Pyx_INCREF(((PyObject *)__pyx_n_s__bool));
7511
8324
    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_n_s__bool));
7512
8325
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__bool));
7513
 
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8326
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7514
8327
    __Pyx_GOTREF(__pyx_t_2);
7515
8328
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7516
8329
    __pyx_r = __pyx_t_2;
7520
8333
  }
7521
8334
  __pyx_L5:;
7522
8335
 
7523
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1151
 
8336
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1150
7524
8337
 *             return dtype('bool')
7525
8338
 * 
7526
8339
 *         return special_dtype(enum=(basetype.py_dtype(), members))             # <<<<<<<<<<<<<<
7528
8341
 * 
7529
8342
 */
7530
8343
  __Pyx_XDECREF(__pyx_r);
7531
 
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8344
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7532
8345
  __Pyx_GOTREF(__pyx_t_2);
7533
 
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8346
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7534
8347
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
7535
 
  __pyx_t_4 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_basetype->__pyx_vtab)->py_dtype(__pyx_v_basetype); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8348
  __pyx_t_4 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_basetype->__pyx_vtab)->py_dtype(__pyx_v_basetype); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7536
8349
  __Pyx_GOTREF(__pyx_t_4);
7537
 
  __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8350
  __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7538
8351
  __Pyx_GOTREF(__pyx_t_5);
7539
8352
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
7540
8353
  __Pyx_GIVEREF(__pyx_t_4);
7542
8355
  PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_members);
7543
8356
  __Pyx_GIVEREF(__pyx_v_members);
7544
8357
  __pyx_t_4 = 0;
7545
 
  if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8358
  if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7546
8359
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7547
 
  __pyx_t_5 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8360
  __pyx_t_5 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7548
8361
  __Pyx_GOTREF(__pyx_t_5);
7549
8362
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7550
8363
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
7575
8388
  return __pyx_r;
7576
8389
}
7577
8390
 
7578
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1172
 
8391
/* "/home/tachyon/h5py/h5py/h5t.pyx":1171
7579
8392
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
7580
8393
 * 
7581
8394
 * cdef TypeFloatID _c_float(dtype dt):             # <<<<<<<<<<<<<<
7596
8409
  __Pyx_RefNannySetupContext("_c_float");
7597
8410
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
7598
8411
 
7599
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1176
 
8412
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1175
7600
8413
 *     cdef hid_t tid
7601
8414
 * 
7602
8415
 *     try:             # <<<<<<<<<<<<<<
7611
8424
    __Pyx_XGOTREF(__pyx_save_exc_tb);
7612
8425
    /*try:*/ {
7613
8426
 
7614
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1177
 
8427
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1176
7615
8428
 * 
7616
8429
 *     try:
7617
8430
 *         if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7621
8434
      switch (__pyx_v_dt->byteorder) {
7622
8435
        case '<':
7623
8436
 
7624
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1178
 
8437
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1177
7625
8438
 *     try:
7626
8439
 *         if dt.byteorder == c'<':
7627
8440
 *             tid =  _float_le[dt.elsize]             # <<<<<<<<<<<<<<
7628
8441
 *         elif dt.byteorder == c'>':
7629
8442
 *             tid =  _float_be[dt.elsize]
7630
8443
 */
7631
 
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8444
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7632
8445
        __Pyx_GOTREF(__pyx_t_1);
7633
 
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8446
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7634
8447
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7635
8448
        __pyx_v_tid = __pyx_t_2;
7636
8449
        break;
7637
8450
 
7638
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1179
 
8451
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1178
7639
8452
 *         if dt.byteorder == c'<':
7640
8453
 *             tid =  _float_le[dt.elsize]
7641
8454
 *         elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7644
8457
 */
7645
8458
        case '>':
7646
8459
 
7647
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1180
 
8460
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1179
7648
8461
 *             tid =  _float_le[dt.elsize]
7649
8462
 *         elif dt.byteorder == c'>':
7650
8463
 *             tid =  _float_be[dt.elsize]             # <<<<<<<<<<<<<<
7651
8464
 *         else:
7652
8465
 *             tid =  _float_nt[dt.elsize]
7653
8466
 */
7654
 
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8467
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1179; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7655
8468
        __Pyx_GOTREF(__pyx_t_1);
7656
 
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8469
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1179; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7657
8470
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7658
8471
        __pyx_v_tid = __pyx_t_2;
7659
8472
        break;
7660
8473
        default:
7661
8474
 
7662
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1182
 
8475
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1181
7663
8476
 *             tid =  _float_be[dt.elsize]
7664
8477
 *         else:
7665
8478
 *             tid =  _float_nt[dt.elsize]             # <<<<<<<<<<<<<<
7666
8479
 *     except KeyError:
7667
8480
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)
7668
8481
 */
7669
 
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8482
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7670
8483
        __Pyx_GOTREF(__pyx_t_1);
7671
 
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8484
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7672
8485
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7673
8486
        __pyx_v_tid = __pyx_t_2;
7674
8487
        break;
7681
8494
    __pyx_L3_error:;
7682
8495
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
7683
8496
 
7684
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1183
 
8497
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1182
7685
8498
 *         else:
7686
8499
 *             tid =  _float_nt[dt.elsize]
7687
8500
 *     except KeyError:             # <<<<<<<<<<<<<<
7691
8504
    __pyx_t_3 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
7692
8505
    if (__pyx_t_3) {
7693
8506
      __Pyx_AddTraceback("h5py.h5t._c_float");
7694
 
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_4, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8507
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_4, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7695
8508
      __Pyx_GOTREF(__pyx_t_1);
7696
8509
      __Pyx_GOTREF(__pyx_t_4);
7697
8510
      __Pyx_GOTREF(__pyx_t_5);
7698
8511
 
7699
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1184
 
8512
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1183
7700
8513
 *             tid =  _float_nt[dt.elsize]
7701
8514
 *     except KeyError:
7702
8515
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)             # <<<<<<<<<<<<<<
7703
8516
 * 
7704
8517
 *     return TypeFloatID(H5Tcopy(tid))
7705
8518
 */
7706
 
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8519
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7707
8520
      __Pyx_GOTREF(__pyx_t_6);
7708
 
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_10), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8521
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_10), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7709
8522
      __Pyx_GOTREF(__pyx_t_7);
7710
8523
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7711
 
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8524
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7712
8525
      __Pyx_GOTREF(__pyx_t_6);
7713
8526
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_7);
7714
8527
      __Pyx_GIVEREF(__pyx_t_7);
7715
8528
      __pyx_t_7 = 0;
7716
 
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8529
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7717
8530
      __Pyx_GOTREF(__pyx_t_7);
7718
8531
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7719
8532
      __Pyx_Raise(__pyx_t_7, 0, 0);
7720
8533
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7721
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8534
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
7722
8535
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7723
8536
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7724
8537
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7738
8551
    __pyx_L10_try_end:;
7739
8552
  }
7740
8553
 
7741
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1186
 
8554
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1185
7742
8555
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)
7743
8556
 * 
7744
8557
 *     return TypeFloatID(H5Tcopy(tid))             # <<<<<<<<<<<<<<
7746
8559
 * cdef TypeIntegerID _c_int(dtype dt):
7747
8560
 */
7748
8561
  __Pyx_XDECREF(((PyObject *)__pyx_r));
7749
 
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7750
 
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8562
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8563
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7751
8564
  __Pyx_GOTREF(__pyx_t_5);
7752
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8565
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7753
8566
  __Pyx_GOTREF(__pyx_t_4);
7754
8567
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
7755
8568
  __Pyx_GIVEREF(__pyx_t_5);
7756
8569
  __pyx_t_5 = 0;
7757
 
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeFloatID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8570
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeFloatID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7758
8571
  __Pyx_GOTREF(__pyx_t_5);
7759
8572
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7760
8573
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_t_5);
7778
8591
  return __pyx_r;
7779
8592
}
7780
8593
 
7781
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1188
 
8594
/* "/home/tachyon/h5py/h5py/h5t.pyx":1187
7782
8595
 *     return TypeFloatID(H5Tcopy(tid))
7783
8596
 * 
7784
8597
 * cdef TypeIntegerID _c_int(dtype dt):             # <<<<<<<<<<<<<<
7799
8612
  __Pyx_RefNannySetupContext("_c_int");
7800
8613
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
7801
8614
 
7802
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1192
 
8615
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1191
7803
8616
 *     cdef hid_t tid
7804
8617
 * 
7805
8618
 *     try:             # <<<<<<<<<<<<<<
7814
8627
    __Pyx_XGOTREF(__pyx_save_exc_tb);
7815
8628
    /*try:*/ {
7816
8629
 
7817
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1193
 
8630
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1192
7818
8631
 * 
7819
8632
 *     try:
7820
8633
 *         if dt.kind == c'i':             # <<<<<<<<<<<<<<
7824
8637
      switch (__pyx_v_dt->kind) {
7825
8638
        case 'i':
7826
8639
 
7827
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1194
 
8640
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1193
7828
8641
 *     try:
7829
8642
 *         if dt.kind == c'i':
7830
8643
 *             if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7834
8647
        switch (__pyx_v_dt->byteorder) {
7835
8648
          case '<':
7836
8649
 
7837
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1195
 
8650
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1194
7838
8651
 *         if dt.kind == c'i':
7839
8652
 *             if dt.byteorder == c'<':
7840
8653
 *                 tid = _int_le[dt.elsize]             # <<<<<<<<<<<<<<
7841
8654
 *             elif dt.byteorder == c'>':
7842
8655
 *                 tid = _int_be[dt.elsize]
7843
8656
 */
7844
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8657
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7845
8658
          __Pyx_GOTREF(__pyx_t_1);
7846
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8659
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7847
8660
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7848
8661
          __pyx_v_tid = __pyx_t_2;
7849
8662
          break;
7850
8663
 
7851
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1196
 
8664
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1195
7852
8665
 *             if dt.byteorder == c'<':
7853
8666
 *                 tid = _int_le[dt.elsize]
7854
8667
 *             elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7857
8670
 */
7858
8671
          case '>':
7859
8672
 
7860
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1197
 
8673
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1196
7861
8674
 *                 tid = _int_le[dt.elsize]
7862
8675
 *             elif dt.byteorder == c'>':
7863
8676
 *                 tid = _int_be[dt.elsize]             # <<<<<<<<<<<<<<
7864
8677
 *             else:
7865
8678
 *                 tid = _int_nt[dt.elsize]
7866
8679
 */
7867
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8680
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7868
8681
          __Pyx_GOTREF(__pyx_t_1);
7869
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8682
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7870
8683
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7871
8684
          __pyx_v_tid = __pyx_t_2;
7872
8685
          break;
7873
8686
          default:
7874
8687
 
7875
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1199
 
8688
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1198
7876
8689
 *                 tid = _int_be[dt.elsize]
7877
8690
 *             else:
7878
8691
 *                 tid = _int_nt[dt.elsize]             # <<<<<<<<<<<<<<
7879
8692
 *         elif dt.kind == c'u':
7880
8693
 *             if dt.byteorder == c'<':
7881
8694
 */
7882
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1199; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8695
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7883
8696
          __Pyx_GOTREF(__pyx_t_1);
7884
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1199; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8697
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7885
8698
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7886
8699
          __pyx_v_tid = __pyx_t_2;
7887
8700
          break;
7888
8701
        }
7889
8702
        break;
7890
8703
 
7891
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1200
 
8704
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1199
7892
8705
 *             else:
7893
8706
 *                 tid = _int_nt[dt.elsize]
7894
8707
 *         elif dt.kind == c'u':             # <<<<<<<<<<<<<<
7897
8710
 */
7898
8711
        case 'u':
7899
8712
 
7900
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1201
 
8713
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1200
7901
8714
 *                 tid = _int_nt[dt.elsize]
7902
8715
 *         elif dt.kind == c'u':
7903
8716
 *             if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7907
8720
        switch (__pyx_v_dt->byteorder) {
7908
8721
          case '<':
7909
8722
 
7910
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1202
 
8723
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1201
7911
8724
 *         elif dt.kind == c'u':
7912
8725
 *             if dt.byteorder == c'<':
7913
8726
 *                 tid = _uint_le[dt.elsize]             # <<<<<<<<<<<<<<
7914
8727
 *             elif dt.byteorder == c'>':
7915
8728
 *                 tid = _uint_be[dt.elsize]
7916
8729
 */
7917
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8730
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7918
8731
          __Pyx_GOTREF(__pyx_t_1);
7919
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8732
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7920
8733
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7921
8734
          __pyx_v_tid = __pyx_t_2;
7922
8735
          break;
7923
8736
 
7924
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1203
 
8737
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1202
7925
8738
 *             if dt.byteorder == c'<':
7926
8739
 *                 tid = _uint_le[dt.elsize]
7927
8740
 *             elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7930
8743
 */
7931
8744
          case '>':
7932
8745
 
7933
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1204
 
8746
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1203
7934
8747
 *                 tid = _uint_le[dt.elsize]
7935
8748
 *             elif dt.byteorder == c'>':
7936
8749
 *                 tid = _uint_be[dt.elsize]             # <<<<<<<<<<<<<<
7937
8750
 *             else:
7938
8751
 *                 tid = _uint_nt[dt.elsize]
7939
8752
 */
7940
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8753
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7941
8754
          __Pyx_GOTREF(__pyx_t_1);
7942
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8755
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7943
8756
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7944
8757
          __pyx_v_tid = __pyx_t_2;
7945
8758
          break;
7946
8759
          default:
7947
8760
 
7948
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1206
 
8761
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1205
7949
8762
 *                 tid = _uint_be[dt.elsize]
7950
8763
 *             else:
7951
8764
 *                 tid = _uint_nt[dt.elsize]             # <<<<<<<<<<<<<<
7952
8765
 *         else:
7953
8766
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
7954
8767
 */
7955
 
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8768
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1205; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7956
8769
          __Pyx_GOTREF(__pyx_t_1);
7957
 
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8770
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1205; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7958
8771
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7959
8772
          __pyx_v_tid = __pyx_t_2;
7960
8773
          break;
7962
8775
        break;
7963
8776
        default:
7964
8777
 
7965
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1208
 
8778
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1207
7966
8779
 *                 tid = _uint_nt[dt.elsize]
7967
8780
 *         else:
7968
8781
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)             # <<<<<<<<<<<<<<
7969
8782
 *     except KeyError:
7970
8783
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)
7971
8784
 */
7972
 
        __pyx_t_1 = PyInt_FromLong(__pyx_v_dt->kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8785
        __pyx_t_1 = PyInt_FromLong(__pyx_v_dt->kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7973
8786
        __Pyx_GOTREF(__pyx_t_1);
7974
 
        __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_11), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8787
        __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_11), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7975
8788
        __Pyx_GOTREF(__pyx_t_3);
7976
8789
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7977
 
        __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8790
        __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7978
8791
        __Pyx_GOTREF(__pyx_t_1);
7979
8792
        PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
7980
8793
        __Pyx_GIVEREF(__pyx_t_3);
7981
8794
        __pyx_t_3 = 0;
7982
 
        __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8795
        __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7983
8796
        __Pyx_GOTREF(__pyx_t_3);
7984
8797
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7985
8798
        __Pyx_Raise(__pyx_t_3, 0, 0);
7986
8799
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7987
 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8800
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7988
8801
        break;
7989
8802
      }
7990
8803
    }
7996
8809
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
7997
8810
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
7998
8811
 
7999
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1209
 
8812
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1208
8000
8813
 *         else:
8001
8814
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
8002
8815
 *     except KeyError:             # <<<<<<<<<<<<<<
8006
8819
    __pyx_t_4 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
8007
8820
    if (__pyx_t_4) {
8008
8821
      __Pyx_AddTraceback("h5py.h5t._c_int");
8009
 
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8822
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8010
8823
      __Pyx_GOTREF(__pyx_t_3);
8011
8824
      __Pyx_GOTREF(__pyx_t_1);
8012
8825
      __Pyx_GOTREF(__pyx_t_5);
8013
8826
 
8014
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1210
 
8827
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1209
8015
8828
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
8016
8829
 *     except KeyError:
8017
8830
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)             # <<<<<<<<<<<<<<
8018
8831
 * 
8019
8832
 *     return TypeIntegerID(H5Tcopy(tid))
8020
8833
 */
8021
 
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8834
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8022
8835
      __Pyx_GOTREF(__pyx_t_6);
8023
 
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_12), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8836
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_12), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8024
8837
      __Pyx_GOTREF(__pyx_t_7);
8025
8838
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
8026
 
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8839
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8027
8840
      __Pyx_GOTREF(__pyx_t_6);
8028
8841
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_7);
8029
8842
      __Pyx_GIVEREF(__pyx_t_7);
8030
8843
      __pyx_t_7 = 0;
8031
 
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8844
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8032
8845
      __Pyx_GOTREF(__pyx_t_7);
8033
8846
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
8034
8847
      __Pyx_Raise(__pyx_t_7, 0, 0);
8035
8848
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
8036
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8849
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8037
8850
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8038
8851
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8039
8852
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
8053
8866
    __pyx_L10_try_end:;
8054
8867
  }
8055
8868
 
8056
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1212
 
8869
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1211
8057
8870
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)
8058
8871
 * 
8059
8872
 *     return TypeIntegerID(H5Tcopy(tid))             # <<<<<<<<<<<<<<
8061
8874
 * cdef TypeEnumID _c_enum(dtype dt, dict vals):
8062
8875
 */
8063
8876
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8064
 
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8065
 
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8877
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8878
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8066
8879
  __Pyx_GOTREF(__pyx_t_5);
8067
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8880
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8068
8881
  __Pyx_GOTREF(__pyx_t_1);
8069
8882
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
8070
8883
  __Pyx_GIVEREF(__pyx_t_5);
8071
8884
  __pyx_t_5 = 0;
8072
 
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeIntegerID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8885
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeIntegerID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8073
8886
  __Pyx_GOTREF(__pyx_t_5);
8074
8887
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8075
8888
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_t_5);
8093
8906
  return __pyx_r;
8094
8907
}
8095
8908
 
8096
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1214
 
8909
/* "/home/tachyon/h5py/h5py/h5t.pyx":1213
8097
8910
 *     return TypeIntegerID(H5Tcopy(tid))
8098
8911
 * 
8099
8912
 * cdef TypeEnumID _c_enum(dtype dt, dict vals):             # <<<<<<<<<<<<<<
8108
8921
  struct __pyx_obj_4h5py_3h5t_TypeEnumID *__pyx_r = NULL;
8109
8922
  PyObject *__pyx_t_1 = NULL;
8110
8923
  hid_t __pyx_t_2;
8111
 
  PyObject *__pyx_t_3 = NULL;
8112
 
  Py_ssize_t __pyx_t_4;
8113
 
  PyObject *__pyx_t_5 = NULL;
 
8924
  hid_t __pyx_t_3;
 
8925
  PyObject *__pyx_t_4 = NULL;
 
8926
  Py_ssize_t __pyx_t_5;
8114
8927
  PyObject *__pyx_t_6 = NULL;
 
8928
  PyObject *__pyx_t_7 = NULL;
8115
8929
  __Pyx_RefNannySetupContext("_c_enum");
8116
8930
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
8117
8931
  __Pyx_INCREF(__pyx_v_vals);
8119
8933
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)Py_None); __Pyx_INCREF(Py_None);
8120
8934
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
8121
8935
 
8122
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1219
 
8936
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1218
8123
8937
 *     cdef TypeEnumID out
8124
8938
 * 
8125
8939
 *     base = _c_int(dt)             # <<<<<<<<<<<<<<
8126
8940
 * 
8127
8941
 *     out = TypeEnumID(H5Tenum_create(base.id))
8128
8942
 */
8129
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8943
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8130
8944
  __Pyx_GOTREF(__pyx_t_1);
8131
8945
  __Pyx_DECREF(((PyObject *)__pyx_v_base));
8132
8946
  __pyx_v_base = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_t_1);
8133
8947
  __pyx_t_1 = 0;
8134
8948
 
8135
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1221
 
8949
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1220
8136
8950
 *     base = _c_int(dt)
8137
8951
 * 
8138
8952
 *     out = TypeEnumID(H5Tenum_create(base.id))             # <<<<<<<<<<<<<<
8139
8953
 *     for name in sorted(vals):
8140
8954
 *         out.enum_insert(name, vals[name])
8141
8955
 */
8142
 
  __pyx_t_2 = H5Tenum_create(__pyx_v_base->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8143
 
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8144
 
  __Pyx_GOTREF(__pyx_t_1);
8145
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8146
 
  __Pyx_GOTREF(__pyx_t_3);
8147
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
 
8956
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_base), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8957
  __Pyx_GOTREF(__pyx_t_1);
 
8958
  __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8959
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8960
  __pyx_t_3 = H5Tenum_create(__pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8961
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8962
  __Pyx_GOTREF(__pyx_t_1);
 
8963
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8964
  __Pyx_GOTREF(__pyx_t_4);
 
8965
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
8148
8966
  __Pyx_GIVEREF(__pyx_t_1);
8149
8967
  __pyx_t_1 = 0;
8150
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8968
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8151
8969
  __Pyx_GOTREF(__pyx_t_1);
8152
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8970
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8153
8971
  __Pyx_DECREF(((PyObject *)__pyx_v_out));
8154
8972
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_t_1);
8155
8973
  __pyx_t_1 = 0;
8156
8974
 
8157
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1222
 
8975
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1221
8158
8976
 * 
8159
8977
 *     out = TypeEnumID(H5Tenum_create(base.id))
8160
8978
 *     for name in sorted(vals):             # <<<<<<<<<<<<<<
8161
8979
 *         out.enum_insert(name, vals[name])
8162
8980
 *     return out
8163
8981
 */
8164
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8982
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8165
8983
  __Pyx_GOTREF(__pyx_t_1);
8166
8984
  __Pyx_INCREF(((PyObject *)__pyx_v_vals));
8167
8985
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_vals));
8168
8986
  __Pyx_GIVEREF(((PyObject *)__pyx_v_vals));
8169
 
  __pyx_t_3 = PyObject_Call(__pyx_builtin_sorted, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8170
 
  __Pyx_GOTREF(__pyx_t_3);
 
8987
  __pyx_t_4 = PyObject_Call(__pyx_builtin_sorted, __pyx_t_1, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8988
  __Pyx_GOTREF(__pyx_t_4);
8171
8989
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8172
 
  if (PyList_CheckExact(__pyx_t_3) || PyTuple_CheckExact(__pyx_t_3)) {
8173
 
    __pyx_t_4 = 0; __pyx_t_1 = __pyx_t_3; __Pyx_INCREF(__pyx_t_1);
 
8990
  if (PyList_CheckExact(__pyx_t_4) || PyTuple_CheckExact(__pyx_t_4)) {
 
8991
    __pyx_t_5 = 0; __pyx_t_1 = __pyx_t_4; __Pyx_INCREF(__pyx_t_1);
8174
8992
  } else {
8175
 
    __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8993
    __pyx_t_5 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8176
8994
    __Pyx_GOTREF(__pyx_t_1);
8177
8995
  }
8178
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8996
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8179
8997
  for (;;) {
8180
8998
    if (likely(PyList_CheckExact(__pyx_t_1))) {
8181
 
      if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_1)) break;
8182
 
      __pyx_t_3 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++;
 
8999
      if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_1)) break;
 
9000
      __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_4); __pyx_t_5++;
8183
9001
    } else if (likely(PyTuple_CheckExact(__pyx_t_1))) {
8184
 
      if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
8185
 
      __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++;
 
9002
      if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
 
9003
      __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_4); __pyx_t_5++;
8186
9004
    } else {
8187
 
      __pyx_t_3 = PyIter_Next(__pyx_t_1);
8188
 
      if (!__pyx_t_3) {
8189
 
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9005
      __pyx_t_4 = PyIter_Next(__pyx_t_1);
 
9006
      if (!__pyx_t_4) {
 
9007
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8190
9008
        break;
8191
9009
      }
8192
 
      __Pyx_GOTREF(__pyx_t_3);
 
9010
      __Pyx_GOTREF(__pyx_t_4);
8193
9011
    }
8194
9012
    __Pyx_DECREF(__pyx_v_name);
8195
 
    __pyx_v_name = __pyx_t_3;
8196
 
    __pyx_t_3 = 0;
 
9013
    __pyx_v_name = __pyx_t_4;
 
9014
    __pyx_t_4 = 0;
8197
9015
 
8198
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1223
 
9016
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1222
8199
9017
 *     out = TypeEnumID(H5Tenum_create(base.id))
8200
9018
 *     for name in sorted(vals):
8201
9019
 *         out.enum_insert(name, vals[name])             # <<<<<<<<<<<<<<
8202
9020
 *     return out
8203
9021
 * 
8204
9022
 */
8205
 
    __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8206
 
    __Pyx_GOTREF(__pyx_t_3);
8207
 
    __pyx_t_5 = PyObject_GetItem(((PyObject *)__pyx_v_vals), __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8208
 
    __Pyx_GOTREF(__pyx_t_5);
8209
 
    __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9023
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9024
    __Pyx_GOTREF(__pyx_t_4);
 
9025
    __pyx_t_6 = PyObject_GetItem(((PyObject *)__pyx_v_vals), __pyx_v_name); if (!__pyx_t_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8210
9026
    __Pyx_GOTREF(__pyx_t_6);
 
9027
    __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9028
    __Pyx_GOTREF(__pyx_t_7);
8211
9029
    __Pyx_INCREF(__pyx_v_name);
8212
 
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_name);
 
9030
    PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_name);
8213
9031
    __Pyx_GIVEREF(__pyx_v_name);
8214
 
    PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_5);
8215
 
    __Pyx_GIVEREF(__pyx_t_5);
8216
 
    __pyx_t_5 = 0;
8217
 
    __pyx_t_5 = PyObject_Call(__pyx_t_3, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8218
 
    __Pyx_GOTREF(__pyx_t_5);
8219
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
9032
    PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_6);
 
9033
    __Pyx_GIVEREF(__pyx_t_6);
 
9034
    __pyx_t_6 = 0;
 
9035
    __pyx_t_6 = PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9036
    __Pyx_GOTREF(__pyx_t_6);
 
9037
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
9038
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
8220
9039
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
8221
 
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
8222
9040
  }
8223
9041
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8224
9042
 
8225
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1224
 
9043
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1223
8226
9044
 *     for name in sorted(vals):
8227
9045
 *         out.enum_insert(name, vals[name])
8228
9046
 *     return out             # <<<<<<<<<<<<<<
8238
9056
  goto __pyx_L0;
8239
9057
  __pyx_L1_error:;
8240
9058
  __Pyx_XDECREF(__pyx_t_1);
8241
 
  __Pyx_XDECREF(__pyx_t_3);
8242
 
  __Pyx_XDECREF(__pyx_t_5);
 
9059
  __Pyx_XDECREF(__pyx_t_4);
8243
9060
  __Pyx_XDECREF(__pyx_t_6);
 
9061
  __Pyx_XDECREF(__pyx_t_7);
8244
9062
  __Pyx_AddTraceback("h5py.h5t._c_enum");
8245
9063
  __pyx_r = 0;
8246
9064
  __pyx_L0:;
8254
9072
  return __pyx_r;
8255
9073
}
8256
9074
 
8257
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1226
 
9075
/* "/home/tachyon/h5py/h5py/h5t.pyx":1225
8258
9076
 *     return out
8259
9077
 * 
8260
9078
 * cdef TypeEnumID _c_bool(dtype dt):             # <<<<<<<<<<<<<<
8272
9090
  __Pyx_RefNannySetupContext("_c_bool");
8273
9091
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)Py_None); __Pyx_INCREF(Py_None);
8274
9092
 
8275
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1231
 
9093
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1230
8276
9094
 * 
8277
9095
 *     cdef TypeEnumID out
8278
9096
 *     out = TypeEnumID(H5Tenum_create(H5T_NATIVE_INT8))             # <<<<<<<<<<<<<<
8279
9097
 * 
8280
9098
 *     out.enum_insert(cfg._f_name, 0)
8281
9099
 */
8282
 
  __pyx_t_1 = H5Tenum_create(H5T_NATIVE_INT8); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8283
 
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9100
  __pyx_t_1 = H5Tenum_create(H5T_NATIVE_INT8); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9101
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8284
9102
  __Pyx_GOTREF(__pyx_t_2);
8285
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9103
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8286
9104
  __Pyx_GOTREF(__pyx_t_3);
8287
9105
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
8288
9106
  __Pyx_GIVEREF(__pyx_t_2);
8289
9107
  __pyx_t_2 = 0;
8290
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9108
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8291
9109
  __Pyx_GOTREF(__pyx_t_2);
8292
9110
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8293
9111
  __Pyx_DECREF(((PyObject *)__pyx_v_out));
8294
9112
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_t_2);
8295
9113
  __pyx_t_2 = 0;
8296
9114
 
8297
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1233
 
9115
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1232
8298
9116
 *     out = TypeEnumID(H5Tenum_create(H5T_NATIVE_INT8))
8299
9117
 * 
8300
9118
 *     out.enum_insert(cfg._f_name, 0)             # <<<<<<<<<<<<<<
8301
9119
 *     out.enum_insert(cfg._t_name, 1)
8302
9120
 * 
8303
9121
 */
8304
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9122
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8305
9123
  __Pyx_GOTREF(__pyx_t_2);
8306
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9124
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8307
9125
  __Pyx_GOTREF(__pyx_t_3);
8308
9126
  __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_f_name);
8309
9127
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_4h5py_3h5t_cfg->_f_name);
8311
9129
  __Pyx_INCREF(__pyx_int_0);
8312
9130
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_0);
8313
9131
  __Pyx_GIVEREF(__pyx_int_0);
8314
 
  __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9132
  __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8315
9133
  __Pyx_GOTREF(__pyx_t_4);
8316
9134
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8317
9135
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8318
9136
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8319
9137
 
8320
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1234
 
9138
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1233
8321
9139
 * 
8322
9140
 *     out.enum_insert(cfg._f_name, 0)
8323
9141
 *     out.enum_insert(cfg._t_name, 1)             # <<<<<<<<<<<<<<
8324
9142
 * 
8325
9143
 *     return out
8326
9144
 */
8327
 
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9145
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8328
9146
  __Pyx_GOTREF(__pyx_t_4);
8329
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9147
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8330
9148
  __Pyx_GOTREF(__pyx_t_3);
8331
9149
  __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_t_name);
8332
9150
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_4h5py_3h5t_cfg->_t_name);
8334
9152
  __Pyx_INCREF(__pyx_int_1);
8335
9153
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_1);
8336
9154
  __Pyx_GIVEREF(__pyx_int_1);
8337
 
  __pyx_t_2 = PyObject_Call(__pyx_t_4, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9155
  __pyx_t_2 = PyObject_Call(__pyx_t_4, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8338
9156
  __Pyx_GOTREF(__pyx_t_2);
8339
9157
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8340
9158
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8341
9159
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8342
9160
 
8343
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1236
 
9161
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1235
8344
9162
 *     out.enum_insert(cfg._t_name, 1)
8345
9163
 * 
8346
9164
 *     return out             # <<<<<<<<<<<<<<
8367
9185
  return __pyx_r;
8368
9186
}
8369
9187
 
8370
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1238
 
9188
/* "/home/tachyon/h5py/h5py/h5t.pyx":1237
8371
9189
 *     return out
8372
9190
 * 
8373
9191
 * cdef TypeArrayID _c_array(dtype dt, int logical):             # <<<<<<<<<<<<<<
8395
9213
  __pyx_v_type_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
8396
9214
  __pyx_v_shape = Py_None; __Pyx_INCREF(Py_None);
8397
9215
 
8398
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1244
 
9216
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1243
8399
9217
 *     cdef object shape
8400
9218
 * 
8401
9219
 *     base, shape = dt.subdtype             # <<<<<<<<<<<<<<
8402
9220
 *     try:
8403
9221
 *         shape = tuple(shape)
8404
9222
 */
8405
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9223
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8406
9224
  __Pyx_GOTREF(__pyx_t_1);
8407
9225
  if (PyTuple_CheckExact(__pyx_t_1) && likely(PyTuple_GET_SIZE(__pyx_t_1) == 2)) {
8408
9226
    PyObject* tuple = __pyx_t_1;
8409
9227
    __pyx_t_2 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_2);
8410
 
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9228
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8411
9229
    __pyx_t_3 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_3);
8412
9230
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8413
9231
    __Pyx_DECREF(((PyObject *)__pyx_v_base));
8417
9235
    __pyx_v_shape = __pyx_t_3;
8418
9236
    __pyx_t_3 = 0;
8419
9237
  } else {
8420
 
    __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9238
    __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8421
9239
    __Pyx_GOTREF(__pyx_t_4);
8422
9240
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8423
 
    __pyx_t_2 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9241
    __pyx_t_2 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8424
9242
    __Pyx_GOTREF(__pyx_t_2);
8425
 
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8426
 
    __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9243
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9244
    __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8427
9245
    __Pyx_GOTREF(__pyx_t_3);
8428
 
    if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9246
    if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8429
9247
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8430
9248
    __Pyx_DECREF(((PyObject *)__pyx_v_base));
8431
9249
    __pyx_v_base = ((PyArray_Descr *)__pyx_t_2);
8435
9253
    __pyx_t_3 = 0;
8436
9254
  }
8437
9255
 
8438
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1245
 
9256
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1244
8439
9257
 * 
8440
9258
 *     base, shape = dt.subdtype
8441
9259
 *     try:             # <<<<<<<<<<<<<<
8450
9268
    __Pyx_XGOTREF(__pyx_save_exc_tb);
8451
9269
    /*try:*/ {
8452
9270
 
8453
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1246
 
9271
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1245
8454
9272
 *     base, shape = dt.subdtype
8455
9273
 *     try:
8456
9274
 *         shape = tuple(shape)             # <<<<<<<<<<<<<<
8457
9275
 *     except TypeError:
8458
9276
 *         try:
8459
9277
 */
8460
 
      __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
9278
      __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8461
9279
      __Pyx_GOTREF(__pyx_t_1);
8462
9280
      __Pyx_INCREF(__pyx_v_shape);
8463
9281
      PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_shape);
8464
9282
      __Pyx_GIVEREF(__pyx_v_shape);
8465
 
      __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
9283
      __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8466
9284
      __Pyx_GOTREF(__pyx_t_3);
8467
9285
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8468
9286
      __Pyx_DECREF(__pyx_v_shape);
8479
9297
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
8480
9298
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
8481
9299
 
8482
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1247
 
9300
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1246
8483
9301
 *     try:
8484
9302
 *         shape = tuple(shape)
8485
9303
 *     except TypeError:             # <<<<<<<<<<<<<<
8489
9307
    __pyx_t_5 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
8490
9308
    if (__pyx_t_5) {
8491
9309
      __Pyx_AddTraceback("h5py.h5t._c_array");
8492
 
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
9310
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
8493
9311
      __Pyx_GOTREF(__pyx_t_3);
8494
9312
      __Pyx_GOTREF(__pyx_t_1);
8495
9313
      __Pyx_GOTREF(__pyx_t_2);
8496
9314
 
8497
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1248
 
9315
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1247
8498
9316
 *         shape = tuple(shape)
8499
9317
 *     except TypeError:
8500
9318
 *         try:             # <<<<<<<<<<<<<<
8509
9327
        __Pyx_XGOTREF(__pyx_save_exc_tb);
8510
9328
        /*try:*/ {
8511
9329
 
8512
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1249
 
9330
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1248
8513
9331
 *     except TypeError:
8514
9332
 *         try:
8515
9333
 *             shape = (int(shape),)             # <<<<<<<<<<<<<<
8516
9334
 *         except TypeError:
8517
9335
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
8518
9336
 */
8519
 
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
9337
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1248; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
8520
9338
          __Pyx_GOTREF(__pyx_t_4);
8521
9339
          __Pyx_INCREF(__pyx_v_shape);
8522
9340
          PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_shape);
8523
9341
          __Pyx_GIVEREF(__pyx_v_shape);
8524
 
          __pyx_t_6 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
9342
          __pyx_t_6 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1248; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
8525
9343
          __Pyx_GOTREF(__pyx_t_6);
8526
9344
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8527
 
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
9345
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1248; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
8528
9346
          __Pyx_GOTREF(__pyx_t_4);
8529
9347
          PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_6);
8530
9348
          __Pyx_GIVEREF(__pyx_t_6);
8541
9359
        __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
8542
9360
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
8543
9361
 
8544
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1250
 
9362
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1249
8545
9363
 *         try:
8546
9364
 *             shape = (int(shape),)
8547
9365
 *         except TypeError:             # <<<<<<<<<<<<<<
8551
9369
        __pyx_t_5 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
8552
9370
        if (__pyx_t_5) {
8553
9371
          __Pyx_AddTraceback("h5py.h5t._c_array");
8554
 
          if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1250; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
9372
          if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
8555
9373
          __Pyx_GOTREF(__pyx_t_4);
8556
9374
          __Pyx_GOTREF(__pyx_t_6);
8557
9375
          __Pyx_GOTREF(__pyx_t_7);
8558
9376
 
8559
 
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1251
 
9377
          /* "/home/tachyon/h5py/h5py/h5t.pyx":1250
8560
9378
 *             shape = (int(shape),)
8561
9379
 *         except TypeError:
8562
9380
 *             raise TypeError("Array shape for dtype must be a sequence or integer")             # <<<<<<<<<<<<<<
8563
9381
 *     type_base = py_create(base, logical=logical)
8564
9382
 *     return array_create(type_base, shape)
8565
9383
 */
8566
 
          __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
9384
          __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1250; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
8567
9385
          __Pyx_GOTREF(__pyx_t_8);
8568
9386
          __Pyx_INCREF(((PyObject *)__pyx_kp_s_13));
8569
9387
          PyTuple_SET_ITEM(__pyx_t_8, 0, ((PyObject *)__pyx_kp_s_13));
8570
9388
          __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_13));
8571
 
          __pyx_t_9 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_8, NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
9389
          __pyx_t_9 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_8, NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1250; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
8572
9390
          __Pyx_GOTREF(__pyx_t_9);
8573
9391
          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
8574
9392
          __Pyx_Raise(__pyx_t_9, 0, 0);
8575
9393
          __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
8576
 
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
9394
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1250; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
8577
9395
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8578
9396
          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
8579
9397
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
8611
9429
    __pyx_L10_try_end:;
8612
9430
  }
8613
9431
 
8614
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1252
 
9432
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1251
8615
9433
 *         except TypeError:
8616
9434
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
8617
9435
 *     type_base = py_create(base, logical=logical)             # <<<<<<<<<<<<<<
8618
9436
 *     return array_create(type_base, shape)
8619
9437
 * 
8620
9438
 */
8621
 
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9439
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8622
9440
  __Pyx_GOTREF(__pyx_t_2);
8623
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9441
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8624
9442
  __Pyx_GOTREF(__pyx_t_1);
8625
9443
  __Pyx_INCREF(((PyObject *)__pyx_v_base));
8626
9444
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_base));
8627
9445
  __Pyx_GIVEREF(((PyObject *)__pyx_v_base));
8628
 
  __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9446
  __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8629
9447
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
8630
 
  __pyx_t_7 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9448
  __pyx_t_7 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8631
9449
  __Pyx_GOTREF(__pyx_t_7);
8632
 
  if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__logical), __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9450
  if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__logical), __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8633
9451
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
8634
 
  __pyx_t_7 = PyEval_CallObjectWithKeywords(__pyx_t_2, __pyx_t_1, ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9452
  __pyx_t_7 = PyEval_CallObjectWithKeywords(__pyx_t_2, __pyx_t_1, ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8635
9453
  __Pyx_GOTREF(__pyx_t_7);
8636
9454
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8637
9455
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8638
9456
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
8639
 
  if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9457
  if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8640
9458
  __Pyx_DECREF(((PyObject *)__pyx_v_type_base));
8641
9459
  __pyx_v_type_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_7);
8642
9460
  __pyx_t_7 = 0;
8643
9461
 
8644
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1253
 
9462
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1252
8645
9463
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
8646
9464
 *     type_base = py_create(base, logical=logical)
8647
9465
 *     return array_create(type_base, shape)             # <<<<<<<<<<<<<<
8649
9467
 * cdef TypeOpaqueID _c_opaque(dtype dt):
8650
9468
 */
8651
9469
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8652
 
  __pyx_t_7 = __Pyx_GetName(__pyx_m, __pyx_n_s__array_create); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9470
  __pyx_t_7 = __Pyx_GetName(__pyx_m, __pyx_n_s__array_create); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8653
9471
  __Pyx_GOTREF(__pyx_t_7);
8654
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9472
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8655
9473
  __Pyx_GOTREF(__pyx_t_3);
8656
9474
  __Pyx_INCREF(((PyObject *)__pyx_v_type_base));
8657
9475
  PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_type_base));
8659
9477
  __Pyx_INCREF(__pyx_v_shape);
8660
9478
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_shape);
8661
9479
  __Pyx_GIVEREF(__pyx_v_shape);
8662
 
  __pyx_t_1 = PyObject_Call(__pyx_t_7, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9480
  __pyx_t_1 = PyObject_Call(__pyx_t_7, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8663
9481
  __Pyx_GOTREF(__pyx_t_1);
8664
9482
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
8665
9483
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8666
 
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeArrayID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9484
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeArrayID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8667
9485
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_t_1);
8668
9486
  __pyx_t_1 = 0;
8669
9487
  goto __pyx_L0;
8691
9509
  return __pyx_r;
8692
9510
}
8693
9511
 
8694
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1255
 
9512
/* "/home/tachyon/h5py/h5py/h5t.pyx":1254
8695
9513
 *     return array_create(type_base, shape)
8696
9514
 * 
8697
9515
 * cdef TypeOpaqueID _c_opaque(dtype dt):             # <<<<<<<<<<<<<<
8707
9525
  PyObject *__pyx_t_4 = NULL;
8708
9526
  __Pyx_RefNannySetupContext("_c_opaque");
8709
9527
 
8710
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1257
 
9528
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1256
8711
9529
 * cdef TypeOpaqueID _c_opaque(dtype dt):
8712
9530
 *     # Opaque
8713
9531
 *     return TypeOpaqueID(H5Tcreate(H5T_OPAQUE, dt.itemsize))             # <<<<<<<<<<<<<<
8715
9533
 * cdef TypeStringID _c_string(dtype dt):
8716
9534
 */
8717
9535
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8718
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9536
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8719
9537
  __Pyx_GOTREF(__pyx_t_1);
8720
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9538
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8721
9539
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8722
 
  __pyx_t_3 = H5Tcreate(H5T_OPAQUE, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8723
 
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9540
  __pyx_t_3 = H5Tcreate(H5T_OPAQUE, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9541
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8724
9542
  __Pyx_GOTREF(__pyx_t_1);
8725
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9543
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8726
9544
  __Pyx_GOTREF(__pyx_t_4);
8727
9545
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
8728
9546
  __Pyx_GIVEREF(__pyx_t_1);
8729
9547
  __pyx_t_1 = 0;
8730
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeOpaqueID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9548
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeOpaqueID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8731
9549
  __Pyx_GOTREF(__pyx_t_1);
8732
9550
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8733
9551
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_t_1);
8747
9565
  return __pyx_r;
8748
9566
}
8749
9567
 
8750
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1259
 
9568
/* "/home/tachyon/h5py/h5py/h5t.pyx":1258
8751
9569
 *     return TypeOpaqueID(H5Tcreate(H5T_OPAQUE, dt.itemsize))
8752
9570
 * 
8753
9571
 * cdef TypeStringID _c_string(dtype dt):             # <<<<<<<<<<<<<<
8765
9583
  PyObject *__pyx_t_5 = NULL;
8766
9584
  __Pyx_RefNannySetupContext("_c_string");
8767
9585
 
8768
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1263
 
9586
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1262
8769
9587
 *     cdef hid_t tid
8770
9588
 * 
8771
9589
 *     tid = H5Tcopy(H5T_C_S1)             # <<<<<<<<<<<<<<
8772
9590
 *     H5Tset_size(tid, dt.itemsize)
8773
9591
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8774
9592
 */
8775
 
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9593
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8776
9594
  __pyx_v_tid = __pyx_t_1;
8777
9595
 
8778
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1264
 
9596
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1263
8779
9597
 * 
8780
9598
 *     tid = H5Tcopy(H5T_C_S1)
8781
9599
 *     H5Tset_size(tid, dt.itemsize)             # <<<<<<<<<<<<<<
8782
9600
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8783
9601
 *     return TypeStringID(tid)
8784
9602
 */
8785
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9603
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8786
9604
  __Pyx_GOTREF(__pyx_t_2);
8787
 
  __pyx_t_3 = __Pyx_PyInt_AsSize_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9605
  __pyx_t_3 = __Pyx_PyInt_AsSize_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8788
9606
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8789
 
  __pyx_t_4 = H5Tset_size(__pyx_v_tid, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9607
  __pyx_t_4 = H5Tset_size(__pyx_v_tid, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8790
9608
 
8791
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1265
 
9609
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1264
8792
9610
 *     tid = H5Tcopy(H5T_C_S1)
8793
9611
 *     H5Tset_size(tid, dt.itemsize)
8794
9612
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)             # <<<<<<<<<<<<<<
8795
9613
 *     return TypeStringID(tid)
8796
9614
 * 
8797
9615
 */
8798
 
  __pyx_t_4 = H5Tset_strpad(__pyx_v_tid, H5T_STR_NULLPAD); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9616
  __pyx_t_4 = H5Tset_strpad(__pyx_v_tid, H5T_STR_NULLPAD); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8799
9617
 
8800
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1266
 
9618
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1265
8801
9619
 *     H5Tset_size(tid, dt.itemsize)
8802
9620
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8803
9621
 *     return TypeStringID(tid)             # <<<<<<<<<<<<<<
8805
9623
 * cdef TypeCompoundID _c_complex(dtype dt):
8806
9624
 */
8807
9625
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8808
 
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9626
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8809
9627
  __Pyx_GOTREF(__pyx_t_2);
8810
 
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9628
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8811
9629
  __Pyx_GOTREF(__pyx_t_5);
8812
9630
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
8813
9631
  __Pyx_GIVEREF(__pyx_t_2);
8814
9632
  __pyx_t_2 = 0;
8815
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9633
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8816
9634
  __Pyx_GOTREF(__pyx_t_2);
8817
9635
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
8818
9636
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_t_2);
8832
9650
  return __pyx_r;
8833
9651
}
8834
9652
 
8835
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1268
 
9653
/* "/home/tachyon/h5py/h5py/h5t.pyx":1267
8836
9654
 *     return TypeStringID(tid)
8837
9655
 * 
8838
9656
 * cdef TypeCompoundID _c_complex(dtype dt):             # <<<<<<<<<<<<<<
8858
9676
  __Pyx_RefNannySetupContext("_c_complex");
8859
9677
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
8860
9678
 
8861
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1275
 
9679
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1274
8862
9680
 *     cdef size_t size, off_r, off_i
8863
9681
 * 
8864
9682
 *     cdef size_t length = dt.itemsize             # <<<<<<<<<<<<<<
8865
9683
 *     cdef char byteorder = dt.byteorder
8866
9684
 * 
8867
9685
 */
8868
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9686
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8869
9687
  __Pyx_GOTREF(__pyx_t_1);
8870
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9688
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8871
9689
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8872
9690
  __pyx_v_length = __pyx_t_2;
8873
9691
 
8874
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1276
 
9692
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1275
8875
9693
 * 
8876
9694
 *     cdef size_t length = dt.itemsize
8877
9695
 *     cdef char byteorder = dt.byteorder             # <<<<<<<<<<<<<<
8880
9698
 */
8881
9699
  __pyx_v_byteorder = __pyx_v_dt->byteorder;
8882
9700
 
8883
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1278
 
9701
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1277
8884
9702
 *     cdef char byteorder = dt.byteorder
8885
9703
 * 
8886
9704
 *     if length == 8:             # <<<<<<<<<<<<<<
8890
9708
  switch (__pyx_v_length) {
8891
9709
    case 8:
8892
9710
 
8893
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1279
 
9711
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1278
8894
9712
 * 
8895
9713
 *     if length == 8:
8896
9714
 *         size = h5py_size_n64             # <<<<<<<<<<<<<<
8899
9717
 */
8900
9718
    __pyx_v_size = h5py_size_n64;
8901
9719
 
8902
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1280
 
9720
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1279
8903
9721
 *     if length == 8:
8904
9722
 *         size = h5py_size_n64
8905
9723
 *         off_r = h5py_offset_n64_real             # <<<<<<<<<<<<<<
8908
9726
 */
8909
9727
    __pyx_v_off_r = h5py_offset_n64_real;
8910
9728
 
8911
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1281
 
9729
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1280
8912
9730
 *         size = h5py_size_n64
8913
9731
 *         off_r = h5py_offset_n64_real
8914
9732
 *         off_i = h5py_offset_n64_imag             # <<<<<<<<<<<<<<
8917
9735
 */
8918
9736
    __pyx_v_off_i = h5py_offset_n64_imag;
8919
9737
 
8920
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1282
 
9738
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1281
8921
9739
 *         off_r = h5py_offset_n64_real
8922
9740
 *         off_i = h5py_offset_n64_imag
8923
9741
 *         if byteorder == c'<':             # <<<<<<<<<<<<<<
8927
9745
    switch (__pyx_v_byteorder) {
8928
9746
      case '<':
8929
9747
 
8930
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1283
 
9748
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1282
8931
9749
 *         off_i = h5py_offset_n64_imag
8932
9750
 *         if byteorder == c'<':
8933
9751
 *             tid_sub = H5T_IEEE_F32LE             # <<<<<<<<<<<<<<
8937
9755
      __pyx_v_tid_sub = H5T_IEEE_F32LE;
8938
9756
      break;
8939
9757
 
8940
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1284
 
9758
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1283
8941
9759
 *         if byteorder == c'<':
8942
9760
 *             tid_sub = H5T_IEEE_F32LE
8943
9761
 *         elif byteorder == c'>':             # <<<<<<<<<<<<<<
8946
9764
 */
8947
9765
      case '>':
8948
9766
 
8949
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1285
 
9767
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1284
8950
9768
 *             tid_sub = H5T_IEEE_F32LE
8951
9769
 *         elif byteorder == c'>':
8952
9770
 *             tid_sub = H5T_IEEE_F32BE             # <<<<<<<<<<<<<<
8957
9775
      break;
8958
9776
      default:
8959
9777
 
8960
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1287
 
9778
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1286
8961
9779
 *             tid_sub = H5T_IEEE_F32BE
8962
9780
 *         else:
8963
9781
 *             tid_sub = H5T_NATIVE_FLOAT             # <<<<<<<<<<<<<<
8969
9787
    }
8970
9788
    break;
8971
9789
 
8972
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1288
 
9790
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1287
8973
9791
 *         else:
8974
9792
 *             tid_sub = H5T_NATIVE_FLOAT
8975
9793
 *     elif length == 16:             # <<<<<<<<<<<<<<
8978
9796
 */
8979
9797
    case 16:
8980
9798
 
8981
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1289
 
9799
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1288
8982
9800
 *             tid_sub = H5T_NATIVE_FLOAT
8983
9801
 *     elif length == 16:
8984
9802
 *         size = h5py_size_n128             # <<<<<<<<<<<<<<
8987
9805
 */
8988
9806
    __pyx_v_size = h5py_size_n128;
8989
9807
 
8990
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1290
 
9808
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1289
8991
9809
 *     elif length == 16:
8992
9810
 *         size = h5py_size_n128
8993
9811
 *         off_r = h5py_offset_n128_real             # <<<<<<<<<<<<<<
8996
9814
 */
8997
9815
    __pyx_v_off_r = h5py_offset_n128_real;
8998
9816
 
8999
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1291
 
9817
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1290
9000
9818
 *         size = h5py_size_n128
9001
9819
 *         off_r = h5py_offset_n128_real
9002
9820
 *         off_i = h5py_offset_n128_imag             # <<<<<<<<<<<<<<
9005
9823
 */
9006
9824
    __pyx_v_off_i = h5py_offset_n128_imag;
9007
9825
 
9008
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1292
 
9826
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1291
9009
9827
 *         off_r = h5py_offset_n128_real
9010
9828
 *         off_i = h5py_offset_n128_imag
9011
9829
 *         if byteorder == c'<':             # <<<<<<<<<<<<<<
9015
9833
    switch (__pyx_v_byteorder) {
9016
9834
      case '<':
9017
9835
 
9018
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1293
 
9836
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1292
9019
9837
 *         off_i = h5py_offset_n128_imag
9020
9838
 *         if byteorder == c'<':
9021
9839
 *             tid_sub = H5T_IEEE_F64LE             # <<<<<<<<<<<<<<
9025
9843
      __pyx_v_tid_sub = H5T_IEEE_F64LE;
9026
9844
      break;
9027
9845
 
9028
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1294
 
9846
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1293
9029
9847
 *         if byteorder == c'<':
9030
9848
 *             tid_sub = H5T_IEEE_F64LE
9031
9849
 *         elif byteorder == c'>':             # <<<<<<<<<<<<<<
9034
9852
 */
9035
9853
      case '>':
9036
9854
 
9037
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1295
 
9855
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1294
9038
9856
 *             tid_sub = H5T_IEEE_F64LE
9039
9857
 *         elif byteorder == c'>':
9040
9858
 *             tid_sub = H5T_IEEE_F64BE             # <<<<<<<<<<<<<<
9045
9863
      break;
9046
9864
      default:
9047
9865
 
9048
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1297
 
9866
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1296
9049
9867
 *             tid_sub = H5T_IEEE_F64BE
9050
9868
 *         else:
9051
9869
 *             tid_sub = H5T_NATIVE_DOUBLE             # <<<<<<<<<<<<<<
9058
9876
    break;
9059
9877
    default:
9060
9878
 
9061
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1299
 
9879
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1298
9062
9880
 *             tid_sub = H5T_NATIVE_DOUBLE
9063
9881
 *     else:
9064
9882
 *         raise TypeError("Illegal length %d for complex dtype" % length)             # <<<<<<<<<<<<<<
9065
9883
 * 
9066
9884
 *     tid = H5Tcreate(H5T_COMPOUND, size)
9067
9885
 */
9068
 
    __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_v_length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9886
    __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_v_length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9069
9887
    __Pyx_GOTREF(__pyx_t_1);
9070
 
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_14), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9888
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_14), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9071
9889
    __Pyx_GOTREF(__pyx_t_3);
9072
9890
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9073
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9891
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9074
9892
    __Pyx_GOTREF(__pyx_t_1);
9075
9893
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
9076
9894
    __Pyx_GIVEREF(__pyx_t_3);
9077
9895
    __pyx_t_3 = 0;
9078
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9896
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9079
9897
    __Pyx_GOTREF(__pyx_t_3);
9080
9898
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9081
9899
    __Pyx_Raise(__pyx_t_3, 0, 0);
9082
9900
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9083
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9901
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9084
9902
    break;
9085
9903
  }
9086
9904
 
9087
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1301
 
9905
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1300
9088
9906
 *         raise TypeError("Illegal length %d for complex dtype" % length)
9089
9907
 * 
9090
9908
 *     tid = H5Tcreate(H5T_COMPOUND, size)             # <<<<<<<<<<<<<<
9091
9909
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)
9092
9910
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
9093
9911
 */
9094
 
  __pyx_t_4 = H5Tcreate(H5T_COMPOUND, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9912
  __pyx_t_4 = H5Tcreate(H5T_COMPOUND, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9095
9913
  __pyx_v_tid = __pyx_t_4;
9096
9914
 
9097
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1302
 
9915
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1301
9098
9916
 * 
9099
9917
 *     tid = H5Tcreate(H5T_COMPOUND, size)
9100
9918
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)             # <<<<<<<<<<<<<<
9101
9919
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
9102
9920
 * 
9103
9921
 */
9104
 
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_r_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9105
 
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_r, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9922
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_r_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9923
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_r, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9106
9924
 
9107
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1303
 
9925
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1302
9108
9926
 *     tid = H5Tcreate(H5T_COMPOUND, size)
9109
9927
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)
9110
9928
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)             # <<<<<<<<<<<<<<
9111
9929
 * 
9112
9930
 *     return TypeCompoundID(tid)
9113
9931
 */
9114
 
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_i_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9115
 
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_i, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9932
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_i_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9933
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_i, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9116
9934
 
9117
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1305
 
9935
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1304
9118
9936
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
9119
9937
 * 
9120
9938
 *     return TypeCompoundID(tid)             # <<<<<<<<<<<<<<
9122
9940
 * cdef TypeCompoundID _c_compound(dtype dt, int logical):
9123
9941
 */
9124
9942
  __Pyx_XDECREF(((PyObject *)__pyx_r));
9125
 
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9943
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9126
9944
  __Pyx_GOTREF(__pyx_t_3);
9127
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9945
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9128
9946
  __Pyx_GOTREF(__pyx_t_1);
9129
9947
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
9130
9948
  __Pyx_GIVEREF(__pyx_t_3);
9131
9949
  __pyx_t_3 = 0;
9132
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9950
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9133
9951
  __Pyx_GOTREF(__pyx_t_3);
9134
9952
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9135
9953
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_t_3);
9150
9968
  return __pyx_r;
9151
9969
}
9152
9970
 
9153
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1307
 
9971
/* "/home/tachyon/h5py/h5py/h5t.pyx":1306
9154
9972
 *     return TypeCompoundID(tid)
9155
9973
 * 
9156
9974
 * cdef TypeCompoundID _c_compound(dtype dt, int logical):             # <<<<<<<<<<<<<<
9183
10001
  __pyx_v_dt_tmp = ((PyArray_Descr *)Py_None); __Pyx_INCREF(Py_None);
9184
10002
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
9185
10003
 
9186
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1315
 
10004
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1314
9187
10005
 *     cdef size_t offset
9188
10006
 * 
9189
10007
 *     cdef dict fields = dt.fields             # <<<<<<<<<<<<<<
9190
10008
 *     cdef tuple names = dt.names
9191
10009
 * 
9192
10010
 */
9193
 
  if (!(likely(PyDict_CheckExact(__pyx_v_dt->fields))||((__pyx_v_dt->fields) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_dt->fields)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10011
  if (!(likely(PyDict_CheckExact(__pyx_v_dt->fields))||((__pyx_v_dt->fields) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_dt->fields)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9194
10012
  __Pyx_INCREF(__pyx_v_dt->fields);
9195
10013
  __pyx_v_fields = ((PyObject *)__pyx_v_dt->fields);
9196
10014
 
9197
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1316
 
10015
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1315
9198
10016
 * 
9199
10017
 *     cdef dict fields = dt.fields
9200
10018
 *     cdef tuple names = dt.names             # <<<<<<<<<<<<<<
9201
10019
 * 
9202
10020
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)
9203
10021
 */
9204
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10022
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9205
10023
  __Pyx_GOTREF(__pyx_t_1);
9206
 
  if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected tuple, got %.200s", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10024
  if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected tuple, got %.200s", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9207
10025
  __pyx_v_names = ((PyObject *)__pyx_t_1);
9208
10026
  __pyx_t_1 = 0;
9209
10027
 
9210
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1318
 
10028
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1317
9211
10029
 *     cdef tuple names = dt.names
9212
10030
 * 
9213
10031
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)             # <<<<<<<<<<<<<<
9214
10032
 * 
9215
10033
 *     for name in names:
9216
10034
 */
9217
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10035
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9218
10036
  __Pyx_GOTREF(__pyx_t_1);
9219
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10037
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9220
10038
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9221
 
  __pyx_t_3 = H5Tcreate(H5T_COMPOUND, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10039
  __pyx_t_3 = H5Tcreate(H5T_COMPOUND, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9222
10040
  __pyx_v_tid = __pyx_t_3;
9223
10041
 
9224
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1320
 
10042
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1319
9225
10043
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)
9226
10044
 * 
9227
10045
 *     for name in names:             # <<<<<<<<<<<<<<
9231
10049
  if (likely(((PyObject *)__pyx_v_names) != Py_None)) {
9232
10050
    __pyx_t_4 = 0; __pyx_t_1 = ((PyObject *)__pyx_v_names); __Pyx_INCREF(__pyx_t_1);
9233
10051
  } else {
9234
 
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10052
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9235
10053
  }
9236
10054
  for (;;) {
9237
10055
    if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
9240
10058
    __pyx_v_name = __pyx_t_5;
9241
10059
    __pyx_t_5 = 0;
9242
10060
 
9243
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1321
 
10061
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1320
9244
10062
 * 
9245
10063
 *     for name in names:
9246
10064
 *         dt_tmp, offset = dt.fields[name]             # <<<<<<<<<<<<<<
9247
10065
 *         type_tmp = py_create(dt_tmp, logical=logical)
9248
10066
 *         H5Tinsert(tid, name, offset, type_tmp.id)
9249
10067
 */
9250
 
    __pyx_t_5 = PyObject_GetItem(__pyx_v_dt->fields, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10068
    __pyx_t_5 = PyObject_GetItem(__pyx_v_dt->fields, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9251
10069
    __Pyx_GOTREF(__pyx_t_5);
9252
10070
    if (PyTuple_CheckExact(__pyx_t_5) && likely(PyTuple_GET_SIZE(__pyx_t_5) == 2)) {
9253
10071
      PyObject* tuple = __pyx_t_5;
9254
10072
      __pyx_t_6 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_6);
9255
 
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10073
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9256
10074
      __pyx_t_7 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_7);
9257
 
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10075
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9258
10076
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9259
10077
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
9260
10078
      __Pyx_DECREF(((PyObject *)__pyx_v_dt_tmp));
9262
10080
      __pyx_t_6 = 0;
9263
10081
      __pyx_v_offset = __pyx_t_2;
9264
10082
    } else {
9265
 
      __pyx_t_8 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10083
      __pyx_t_8 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9266
10084
      __Pyx_GOTREF(__pyx_t_8);
9267
10085
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
9268
 
      __pyx_t_6 = __Pyx_UnpackItem(__pyx_t_8, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10086
      __pyx_t_6 = __Pyx_UnpackItem(__pyx_t_8, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9269
10087
      __Pyx_GOTREF(__pyx_t_6);
9270
 
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9271
 
      __pyx_t_7 = __Pyx_UnpackItem(__pyx_t_8, 1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10088
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10089
      __pyx_t_7 = __Pyx_UnpackItem(__pyx_t_8, 1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9272
10090
      __Pyx_GOTREF(__pyx_t_7);
9273
 
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10091
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9274
10092
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9275
 
      if (__Pyx_EndUnpack(__pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10093
      if (__Pyx_EndUnpack(__pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9276
10094
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9277
10095
      __Pyx_DECREF(((PyObject *)__pyx_v_dt_tmp));
9278
10096
      __pyx_v_dt_tmp = ((PyArray_Descr *)__pyx_t_6);
9280
10098
      __pyx_v_offset = __pyx_t_2;
9281
10099
    }
9282
10100
 
9283
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1322
 
10101
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1321
9284
10102
 *     for name in names:
9285
10103
 *         dt_tmp, offset = dt.fields[name]
9286
10104
 *         type_tmp = py_create(dt_tmp, logical=logical)             # <<<<<<<<<<<<<<
9287
10105
 *         H5Tinsert(tid, name, offset, type_tmp.id)
9288
10106
 * 
9289
10107
 */
9290
 
    __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10108
    __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9291
10109
    __Pyx_GOTREF(__pyx_t_5);
9292
 
    __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10110
    __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9293
10111
    __Pyx_GOTREF(__pyx_t_7);
9294
10112
    __Pyx_INCREF(((PyObject *)__pyx_v_dt_tmp));
9295
10113
    PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_dt_tmp));
9296
10114
    __Pyx_GIVEREF(((PyObject *)__pyx_v_dt_tmp));
9297
 
    __pyx_t_6 = PyDict_New(); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10115
    __pyx_t_6 = PyDict_New(); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9298
10116
    __Pyx_GOTREF(((PyObject *)__pyx_t_6));
9299
 
    __pyx_t_8 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10117
    __pyx_t_8 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9300
10118
    __Pyx_GOTREF(__pyx_t_8);
9301
 
    if (PyDict_SetItem(__pyx_t_6, ((PyObject *)__pyx_n_s__logical), __pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10119
    if (PyDict_SetItem(__pyx_t_6, ((PyObject *)__pyx_n_s__logical), __pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9302
10120
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9303
 
    __pyx_t_8 = PyEval_CallObjectWithKeywords(__pyx_t_5, __pyx_t_7, ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10121
    __pyx_t_8 = PyEval_CallObjectWithKeywords(__pyx_t_5, __pyx_t_7, ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9304
10122
    __Pyx_GOTREF(__pyx_t_8);
9305
10123
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
9306
10124
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9307
10125
    __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
9308
 
    if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10126
    if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9309
10127
    __Pyx_DECREF(((PyObject *)__pyx_v_type_tmp));
9310
10128
    __pyx_v_type_tmp = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_8);
9311
10129
    __pyx_t_8 = 0;
9312
10130
 
9313
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1323
 
10131
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1322
9314
10132
 *         dt_tmp, offset = dt.fields[name]
9315
10133
 *         type_tmp = py_create(dt_tmp, logical=logical)
9316
10134
 *         H5Tinsert(tid, name, offset, type_tmp.id)             # <<<<<<<<<<<<<<
9317
10135
 * 
9318
10136
 *     return TypeCompoundID(tid)
9319
10137
 */
9320
 
    __pyx_t_9 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_t_9) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9321
 
    __pyx_t_10 = H5Tinsert(__pyx_v_tid, __pyx_t_9, __pyx_v_offset, __pyx_v_type_tmp->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10138
    __pyx_t_9 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_t_9) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10139
    __pyx_t_8 = PyObject_GetAttr(((PyObject *)__pyx_v_type_tmp), __pyx_n_s__id); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10140
    __Pyx_GOTREF(__pyx_t_8);
 
10141
    __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_8); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10142
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
10143
    __pyx_t_10 = H5Tinsert(__pyx_v_tid, __pyx_t_9, __pyx_v_offset, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9322
10144
  }
9323
10145
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9324
10146
 
9325
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1325
 
10147
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1324
9326
10148
 *         H5Tinsert(tid, name, offset, type_tmp.id)
9327
10149
 * 
9328
10150
 *     return TypeCompoundID(tid)             # <<<<<<<<<<<<<<
9330
10152
 * cdef TypeStringID _c_vlen_str(object basetype):
9331
10153
 */
9332
10154
  __Pyx_XDECREF(((PyObject *)__pyx_r));
9333
 
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10155
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9334
10156
  __Pyx_GOTREF(__pyx_t_1);
9335
 
  __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10157
  __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9336
10158
  __Pyx_GOTREF(__pyx_t_8);
9337
10159
  PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_1);
9338
10160
  __Pyx_GIVEREF(__pyx_t_1);
9339
10161
  __pyx_t_1 = 0;
9340
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_8, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10162
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_8, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9341
10163
  __Pyx_GOTREF(__pyx_t_1);
9342
10164
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9343
10165
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_t_1);
9366
10188
  return __pyx_r;
9367
10189
}
9368
10190
 
9369
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1327
 
10191
/* "/home/tachyon/h5py/h5py/h5t.pyx":1326
9370
10192
 *     return TypeCompoundID(tid)
9371
10193
 * 
9372
10194
 * cdef TypeStringID _c_vlen_str(object basetype):             # <<<<<<<<<<<<<<
9383
10205
  PyObject *__pyx_t_4 = NULL;
9384
10206
  __Pyx_RefNannySetupContext("_c_vlen_str");
9385
10207
 
9386
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1330
 
10208
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1329
9387
10209
 *     # Variable-length strings
9388
10210
 *     cdef hid_t tid
9389
10211
 *     tid = H5Tcopy(H5T_C_S1)             # <<<<<<<<<<<<<<
9390
10212
 *     H5Tset_size(tid, H5T_VARIABLE)
9391
10213
 *     return TypeStringID(tid)
9392
10214
 */
9393
 
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10215
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9394
10216
  __pyx_v_tid = __pyx_t_1;
9395
10217
 
9396
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1331
 
10218
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1330
9397
10219
 *     cdef hid_t tid
9398
10220
 *     tid = H5Tcopy(H5T_C_S1)
9399
10221
 *     H5Tset_size(tid, H5T_VARIABLE)             # <<<<<<<<<<<<<<
9400
10222
 *     return TypeStringID(tid)
9401
10223
 * 
9402
10224
 */
9403
 
  __pyx_t_2 = H5Tset_size(__pyx_v_tid, H5T_VARIABLE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10225
  __pyx_t_2 = H5Tset_size(__pyx_v_tid, H5T_VARIABLE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9404
10226
 
9405
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1332
 
10227
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1331
9406
10228
 *     tid = H5Tcopy(H5T_C_S1)
9407
10229
 *     H5Tset_size(tid, H5T_VARIABLE)
9408
10230
 *     return TypeStringID(tid)             # <<<<<<<<<<<<<<
9410
10232
 * cdef TypeReferenceID _c_ref(object refclass):
9411
10233
 */
9412
10234
  __Pyx_XDECREF(((PyObject *)__pyx_r));
9413
 
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10235
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9414
10236
  __Pyx_GOTREF(__pyx_t_3);
9415
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10237
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9416
10238
  __Pyx_GOTREF(__pyx_t_4);
9417
10239
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
9418
10240
  __Pyx_GIVEREF(__pyx_t_3);
9419
10241
  __pyx_t_3 = 0;
9420
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10242
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9421
10243
  __Pyx_GOTREF(__pyx_t_3);
9422
10244
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
9423
10245
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_t_3);
9437
10259
  return __pyx_r;
9438
10260
}
9439
10261
 
9440
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1334
 
10262
/* "/home/tachyon/h5py/h5py/h5t.pyx":1333
9441
10263
 *     return TypeStringID(tid)
9442
10264
 * 
9443
10265
 * cdef TypeReferenceID _c_ref(object refclass):             # <<<<<<<<<<<<<<
9453
10275
  __Pyx_RefNannySetupContext("_c_ref");
9454
10276
  __Pyx_INCREF(__pyx_v_refclass);
9455
10277
 
9456
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1335
 
10278
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1334
9457
10279
 * 
9458
10280
 * cdef TypeReferenceID _c_ref(object refclass):
9459
10281
 *     if refclass is Reference:             # <<<<<<<<<<<<<<
9463
10285
  __pyx_t_1 = (__pyx_v_refclass == ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference)));
9464
10286
  if (__pyx_t_1) {
9465
10287
 
9466
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1336
 
10288
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1335
9467
10289
 * cdef TypeReferenceID _c_ref(object refclass):
9468
10290
 *     if refclass is Reference:
9469
10291
 *         return STD_REF_OBJ             # <<<<<<<<<<<<<<
9471
10293
 *         return STD_REF_DSETREG
9472
10294
 */
9473
10295
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9474
 
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_OBJ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10296
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_OBJ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9475
10297
    __Pyx_GOTREF(__pyx_t_2);
9476
 
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10298
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9477
10299
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)__pyx_t_2);
9478
10300
    __pyx_t_2 = 0;
9479
10301
    goto __pyx_L0;
9480
10302
    goto __pyx_L3;
9481
10303
  }
9482
10304
 
9483
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1337
 
10305
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1336
9484
10306
 *     if refclass is Reference:
9485
10307
 *         return STD_REF_OBJ
9486
10308
 *     elif refclass is RegionReference:             # <<<<<<<<<<<<<<
9490
10312
  __pyx_t_1 = (__pyx_v_refclass == ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference)));
9491
10313
  if (__pyx_t_1) {
9492
10314
 
9493
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1338
 
10315
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1337
9494
10316
 *         return STD_REF_OBJ
9495
10317
 *     elif refclass is RegionReference:
9496
10318
 *         return STD_REF_DSETREG             # <<<<<<<<<<<<<<
9498
10320
 * 
9499
10321
 */
9500
10322
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9501
 
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_DSETREG); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10323
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_DSETREG); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9502
10324
    __Pyx_GOTREF(__pyx_t_2);
9503
 
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10325
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9504
10326
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)__pyx_t_2);
9505
10327
    __pyx_t_2 = 0;
9506
10328
    goto __pyx_L0;
9508
10330
  }
9509
10331
  __pyx_L3:;
9510
10332
 
9511
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1339
 
10333
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1338
9512
10334
 *     elif refclass is RegionReference:
9513
10335
 *         return STD_REF_DSETREG
9514
10336
 *     raise TypeError("Unrecognized reference code")             # <<<<<<<<<<<<<<
9515
10337
 * 
9516
10338
 * cpdef TypeID py_create(object dtype_in, bint logical=0):
9517
10339
 */
9518
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10340
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9519
10341
  __Pyx_GOTREF(__pyx_t_2);
9520
10342
  __Pyx_INCREF(((PyObject *)__pyx_kp_s_15));
9521
10343
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_15));
9522
10344
  __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_15));
9523
 
  __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10345
  __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9524
10346
  __Pyx_GOTREF(__pyx_t_3);
9525
10347
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9526
10348
  __Pyx_Raise(__pyx_t_3, 0, 0);
9527
10349
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9528
 
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10350
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9529
10351
 
9530
10352
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)Py_None); __Pyx_INCREF(Py_None);
9531
10353
  goto __pyx_L0;
9541
10363
  return __pyx_r;
9542
10364
}
9543
10365
 
9544
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1341
 
10366
/* "/home/tachyon/h5py/h5py/h5t.pyx":1340
9545
10367
 *     raise TypeError("Unrecognized reference code")
9546
10368
 * 
9547
10369
 * cpdef TypeID py_create(object dtype_in, bint logical=0):             # <<<<<<<<<<<<<<
9575
10397
  __pyx_v_vlen = Py_None; __Pyx_INCREF(Py_None);
9576
10398
  __pyx_v_refclass = Py_None; __Pyx_INCREF(Py_None);
9577
10399
 
9578
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1358
 
10400
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1357
9579
10401
 *         length string type.
9580
10402
 *     """
9581
10403
 *     cdef dtype dt = dtype(dtype_in)             # <<<<<<<<<<<<<<
9582
10404
 *     cdef char kind = dt.kind
9583
10405
 * 
9584
10406
 */
9585
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10407
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9586
10408
  __Pyx_GOTREF(__pyx_t_1);
9587
10409
  __Pyx_INCREF(__pyx_v_dtype_in);
9588
10410
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_dtype_in);
9589
10411
  __Pyx_GIVEREF(__pyx_v_dtype_in);
9590
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10412
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9591
10413
  __Pyx_GOTREF(__pyx_t_2);
9592
10414
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9593
10415
  __pyx_v_dt = ((PyArray_Descr *)__pyx_t_2);
9594
10416
  __pyx_t_2 = 0;
9595
10417
 
9596
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1359
 
10418
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1358
9597
10419
 *     """
9598
10420
 *     cdef dtype dt = dtype(dtype_in)
9599
10421
 *     cdef char kind = dt.kind             # <<<<<<<<<<<<<<
9600
10422
 * 
9601
 
 * 
 
10423
 *     # Float
9602
10424
 */
9603
10425
  __pyx_v_kind = __pyx_v_dt->kind;
9604
10426
 
9605
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1363
 
10427
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1361
9606
10428
 * 
9607
10429
 *     # Float
9608
10430
 *     if kind == c'f':             # <<<<<<<<<<<<<<
9612
10434
  __pyx_t_3 = (__pyx_v_kind == 'f');
9613
10435
  if (__pyx_t_3) {
9614
10436
 
9615
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1364
 
10437
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1362
9616
10438
 *     # Float
9617
10439
 *     if kind == c'f':
9618
10440
 *         return _c_float(dt)             # <<<<<<<<<<<<<<
9620
10442
 *     # Integer
9621
10443
 */
9622
10444
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9623
 
    __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_float(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10445
    __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_float(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9624
10446
    __Pyx_GOTREF(__pyx_t_2);
9625
10447
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9626
10448
    __pyx_t_2 = 0;
9628
10450
    goto __pyx_L3;
9629
10451
  }
9630
10452
 
9631
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1367
 
10453
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1365
9632
10454
 * 
9633
10455
 *     # Integer
9634
10456
 *     elif kind == c'u' or kind == c'i':             # <<<<<<<<<<<<<<
9644
10466
  }
9645
10467
  if (__pyx_t_5) {
9646
10468
 
9647
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1369
 
10469
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1367
9648
10470
 *     elif kind == c'u' or kind == c'i':
9649
10471
 * 
9650
10472
 *         if logical:             # <<<<<<<<<<<<<<
9654
10476
    __pyx_t_5 = __pyx_v_logical;
9655
10477
    if (__pyx_t_5) {
9656
10478
 
9657
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1371
 
10479
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1369
9658
10480
 *         if logical:
9659
10481
 *             # Check for an enumeration hint
9660
10482
 *             enum_vals = check_dtype(enum=dt)             # <<<<<<<<<<<<<<
9661
10483
 *             if enum_vals is not None:
9662
10484
 *                 return _c_enum(dt, enum_vals)
9663
10485
 */
9664
 
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10486
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9665
10487
      __Pyx_GOTREF(__pyx_t_2);
9666
 
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10488
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9667
10489
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9668
 
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9669
 
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10490
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10491
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9670
10492
      __Pyx_GOTREF(__pyx_t_6);
9671
10493
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9672
10494
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9674
10496
      __pyx_v_enum_vals = __pyx_t_6;
9675
10497
      __pyx_t_6 = 0;
9676
10498
 
9677
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1372
 
10499
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1370
9678
10500
 *             # Check for an enumeration hint
9679
10501
 *             enum_vals = check_dtype(enum=dt)
9680
10502
 *             if enum_vals is not None:             # <<<<<<<<<<<<<<
9684
10506
      __pyx_t_5 = (__pyx_v_enum_vals != Py_None);
9685
10507
      if (__pyx_t_5) {
9686
10508
 
9687
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1373
 
10509
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1371
9688
10510
 *             enum_vals = check_dtype(enum=dt)
9689
10511
 *             if enum_vals is not None:
9690
10512
 *                 return _c_enum(dt, enum_vals)             # <<<<<<<<<<<<<<
9692
10514
 *         return _c_int(dt)
9693
10515
 */
9694
10516
        __Pyx_XDECREF(((PyObject *)__pyx_r));
9695
 
        if (!(likely(PyDict_CheckExact(__pyx_v_enum_vals))||((__pyx_v_enum_vals) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_enum_vals)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9696
 
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_enum(__pyx_v_dt, ((PyObject *)__pyx_v_enum_vals))); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10517
        if (!(likely(PyDict_CheckExact(__pyx_v_enum_vals))||((__pyx_v_enum_vals) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_enum_vals)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10518
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_enum(__pyx_v_dt, ((PyObject *)__pyx_v_enum_vals))); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9697
10519
        __Pyx_GOTREF(__pyx_t_6);
9698
10520
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9699
10521
        __pyx_t_6 = 0;
9705
10527
    }
9706
10528
    __pyx_L4:;
9707
10529
 
9708
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1375
 
10530
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1373
9709
10531
 *                 return _c_enum(dt, enum_vals)
9710
10532
 * 
9711
10533
 *         return _c_int(dt)             # <<<<<<<<<<<<<<
9713
10535
 *     # Complex
9714
10536
 */
9715
10537
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9716
 
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10538
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9717
10539
    __Pyx_GOTREF(__pyx_t_6);
9718
10540
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9719
10541
    __pyx_t_6 = 0;
9721
10543
    goto __pyx_L3;
9722
10544
  }
9723
10545
 
9724
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1378
 
10546
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1376
9725
10547
 * 
9726
10548
 *     # Complex
9727
10549
 *     elif kind == c'c':             # <<<<<<<<<<<<<<
9731
10553
  __pyx_t_5 = (__pyx_v_kind == 'c');
9732
10554
  if (__pyx_t_5) {
9733
10555
 
9734
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1379
 
10556
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1377
9735
10557
 *     # Complex
9736
10558
 *     elif kind == c'c':
9737
10559
 *         return _c_complex(dt)             # <<<<<<<<<<<<<<
9739
10561
 *     # Compound
9740
10562
 */
9741
10563
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9742
 
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_complex(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10564
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_complex(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9743
10565
    __Pyx_GOTREF(__pyx_t_6);
9744
10566
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9745
10567
    __pyx_t_6 = 0;
9747
10569
    goto __pyx_L3;
9748
10570
  }
9749
10571
 
9750
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1382
 
10572
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1380
9751
10573
 * 
9752
10574
 *     # Compound
9753
10575
 *     elif kind == c'V' and dt.names is not None:             # <<<<<<<<<<<<<<
9756
10578
 */
9757
10579
  __pyx_t_5 = (__pyx_v_kind == 'V');
9758
10580
  if (__pyx_t_5) {
9759
 
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10581
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9760
10582
    __Pyx_GOTREF(__pyx_t_6);
9761
10583
    __pyx_t_3 = (__pyx_t_6 != Py_None);
9762
10584
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
9766
10588
  }
9767
10589
  if (__pyx_t_4) {
9768
10590
 
9769
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1383
 
10591
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1381
9770
10592
 *     # Compound
9771
10593
 *     elif kind == c'V' and dt.names is not None:
9772
10594
 *         return _c_compound(dt, logical)             # <<<<<<<<<<<<<<
9774
10596
 *     # Array or opaque
9775
10597
 */
9776
10598
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9777
 
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_compound(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10599
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_compound(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9778
10600
    __Pyx_GOTREF(__pyx_t_6);
9779
10601
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9780
10602
    __pyx_t_6 = 0;
9782
10604
    goto __pyx_L3;
9783
10605
  }
9784
10606
 
9785
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1386
 
10607
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1384
9786
10608
 * 
9787
10609
 *     # Array or opaque
9788
10610
 *     elif kind == c'V':             # <<<<<<<<<<<<<<
9792
10614
  __pyx_t_4 = (__pyx_v_kind == 'V');
9793
10615
  if (__pyx_t_4) {
9794
10616
 
9795
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1387
 
10617
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1385
9796
10618
 *     # Array or opaque
9797
10619
 *     elif kind == c'V':
9798
10620
 *         if dt.subdtype is not None:             # <<<<<<<<<<<<<<
9799
10621
 *             return _c_array(dt, logical)
9800
10622
 *         else:
9801
10623
 */
9802
 
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10624
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1385; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9803
10625
    __Pyx_GOTREF(__pyx_t_6);
9804
10626
    __pyx_t_4 = (__pyx_t_6 != Py_None);
9805
10627
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
9806
10628
    if (__pyx_t_4) {
9807
10629
 
9808
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1388
 
10630
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1386
9809
10631
 *     elif kind == c'V':
9810
10632
 *         if dt.subdtype is not None:
9811
10633
 *             return _c_array(dt, logical)             # <<<<<<<<<<<<<<
9813
10635
 *             return _c_opaque(dt)
9814
10636
 */
9815
10637
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9816
 
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_array(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10638
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_array(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9817
10639
      __Pyx_GOTREF(__pyx_t_6);
9818
10640
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9819
10641
      __pyx_t_6 = 0;
9822
10644
    }
9823
10645
    /*else*/ {
9824
10646
 
9825
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1390
 
10647
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1388
9826
10648
 *             return _c_array(dt, logical)
9827
10649
 *         else:
9828
10650
 *             return _c_opaque(dt)             # <<<<<<<<<<<<<<
9830
10652
 *     # String
9831
10653
 */
9832
10654
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9833
 
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_opaque(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10655
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_opaque(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9834
10656
      __Pyx_GOTREF(__pyx_t_6);
9835
10657
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9836
10658
      __pyx_t_6 = 0;
9840
10662
    goto __pyx_L3;
9841
10663
  }
9842
10664
 
9843
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1393
 
10665
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1391
9844
10666
 * 
9845
10667
 *     # String
9846
10668
 *     elif kind == c'S':             # <<<<<<<<<<<<<<
9850
10672
  __pyx_t_4 = (__pyx_v_kind == 'S');
9851
10673
  if (__pyx_t_4) {
9852
10674
 
9853
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1394
 
10675
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1392
9854
10676
 *     # String
9855
10677
 *     elif kind == c'S':
9856
10678
 *         return _c_string(dt)             # <<<<<<<<<<<<<<
9858
10680
 *     # Boolean
9859
10681
 */
9860
10682
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9861
 
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_string(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10683
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_string(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9862
10684
    __Pyx_GOTREF(__pyx_t_6);
9863
10685
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9864
10686
    __pyx_t_6 = 0;
9866
10688
    goto __pyx_L3;
9867
10689
  }
9868
10690
 
9869
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1397
 
10691
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1395
9870
10692
 * 
9871
10693
 *     # Boolean
9872
10694
 *     elif kind == c'b':             # <<<<<<<<<<<<<<
9876
10698
  __pyx_t_4 = (__pyx_v_kind == 'b');
9877
10699
  if (__pyx_t_4) {
9878
10700
 
9879
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1398
 
10701
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1396
9880
10702
 *     # Boolean
9881
10703
 *     elif kind == c'b':
9882
10704
 *         return _c_bool(dt)             # <<<<<<<<<<<<<<
9884
10706
 *     # Object types (including those with vlen hints)
9885
10707
 */
9886
10708
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9887
 
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_bool(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10709
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_bool(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9888
10710
    __Pyx_GOTREF(__pyx_t_6);
9889
10711
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
9890
10712
    __pyx_t_6 = 0;
9892
10714
    goto __pyx_L3;
9893
10715
  }
9894
10716
 
9895
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1401
 
10717
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1399
9896
10718
 * 
9897
10719
 *     # Object types (including those with vlen hints)
9898
10720
 *     elif kind == c'O':             # <<<<<<<<<<<<<<
9902
10724
  __pyx_t_4 = (__pyx_v_kind == 'O');
9903
10725
  if (__pyx_t_4) {
9904
10726
 
9905
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1403
 
10727
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1401
9906
10728
 *     elif kind == c'O':
9907
10729
 * 
9908
10730
 *         if logical:             # <<<<<<<<<<<<<<
9912
10734
    __pyx_t_4 = __pyx_v_logical;
9913
10735
    if (__pyx_t_4) {
9914
10736
 
9915
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1404
 
10737
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1402
9916
10738
 * 
9917
10739
 *         if logical:
9918
10740
 *             vlen = check_dtype(vlen=dt)             # <<<<<<<<<<<<<<
9919
10741
 *             if vlen is not None:
9920
10742
 *                 return _c_vlen_str(vlen)
9921
10743
 */
9922
 
      __pyx_t_6 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10744
      __pyx_t_6 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9923
10745
      __Pyx_GOTREF(__pyx_t_6);
9924
 
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10746
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9925
10747
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9926
 
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9927
 
      __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10748
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10749
      __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9928
10750
      __Pyx_GOTREF(__pyx_t_2);
9929
10751
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
9930
10752
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9932
10754
      __pyx_v_vlen = __pyx_t_2;
9933
10755
      __pyx_t_2 = 0;
9934
10756
 
9935
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1405
 
10757
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1403
9936
10758
 *         if logical:
9937
10759
 *             vlen = check_dtype(vlen=dt)
9938
10760
 *             if vlen is not None:             # <<<<<<<<<<<<<<
9942
10764
      __pyx_t_4 = (__pyx_v_vlen != Py_None);
9943
10765
      if (__pyx_t_4) {
9944
10766
 
9945
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1406
 
10767
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1404
9946
10768
 *             vlen = check_dtype(vlen=dt)
9947
10769
 *             if vlen is not None:
9948
10770
 *                 return _c_vlen_str(vlen)             # <<<<<<<<<<<<<<
9950
10772
 *             refclass = check_dtype(ref=dt)
9951
10773
 */
9952
10774
        __Pyx_XDECREF(((PyObject *)__pyx_r));
9953
 
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_vlen_str(__pyx_v_vlen)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10775
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_vlen_str(__pyx_v_vlen)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9954
10776
        __Pyx_GOTREF(__pyx_t_2);
9955
10777
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9956
10778
        __pyx_t_2 = 0;
9959
10781
      }
9960
10782
      __pyx_L8:;
9961
10783
 
9962
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1408
 
10784
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1406
9963
10785
 *                 return _c_vlen_str(vlen)
9964
10786
 * 
9965
10787
 *             refclass = check_dtype(ref=dt)             # <<<<<<<<<<<<<<
9966
10788
 *             if refclass is not None:
9967
10789
 *                     return _c_ref(refclass)
9968
10790
 */
9969
 
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10791
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9970
10792
      __Pyx_GOTREF(__pyx_t_2);
9971
 
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10793
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9972
10794
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9973
 
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__ref), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9974
 
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10795
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__ref), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10796
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9975
10797
      __Pyx_GOTREF(__pyx_t_6);
9976
10798
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9977
10799
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9979
10801
      __pyx_v_refclass = __pyx_t_6;
9980
10802
      __pyx_t_6 = 0;
9981
10803
 
9982
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1409
 
10804
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1407
9983
10805
 * 
9984
10806
 *             refclass = check_dtype(ref=dt)
9985
10807
 *             if refclass is not None:             # <<<<<<<<<<<<<<
9989
10811
      __pyx_t_4 = (__pyx_v_refclass != Py_None);
9990
10812
      if (__pyx_t_4) {
9991
10813
 
9992
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1410
 
10814
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1408
9993
10815
 *             refclass = check_dtype(ref=dt)
9994
10816
 *             if refclass is not None:
9995
10817
 *                     return _c_ref(refclass)             # <<<<<<<<<<<<<<
9997
10819
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))
9998
10820
 */
9999
10821
        __Pyx_XDECREF(((PyObject *)__pyx_r));
10000
 
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_ref(__pyx_v_refclass)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10822
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_ref(__pyx_v_refclass)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10001
10823
        __Pyx_GOTREF(__pyx_t_6);
10002
10824
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
10003
10825
        __pyx_t_6 = 0;
10006
10828
      }
10007
10829
      __pyx_L9:;
10008
10830
 
10009
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1412
 
10831
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1410
10010
10832
 *                     return _c_ref(refclass)
10011
10833
 * 
10012
10834
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))             # <<<<<<<<<<<<<<
10013
10835
 * 
10014
10836
 *         return PYTHON_OBJECT
10015
10837
 */
10016
 
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10838
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10017
10839
      __Pyx_GOTREF(__pyx_t_6);
10018
10840
      __Pyx_INCREF(((PyObject *)__pyx_v_dt));
10019
10841
      PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_dt));
10020
10842
      __Pyx_GIVEREF(((PyObject *)__pyx_v_dt));
10021
 
      __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_16), __pyx_t_6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10843
      __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_16), __pyx_t_6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10022
10844
      __Pyx_GOTREF(__pyx_t_1);
10023
10845
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10024
 
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10846
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10025
10847
      __Pyx_GOTREF(__pyx_t_6);
10026
10848
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
10027
10849
      __Pyx_GIVEREF(__pyx_t_1);
10028
10850
      __pyx_t_1 = 0;
10029
 
      __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10851
      __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10030
10852
      __Pyx_GOTREF(__pyx_t_1);
10031
10853
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10032
10854
      __Pyx_Raise(__pyx_t_1, 0, 0);
10033
10855
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10034
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10856
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10035
10857
      goto __pyx_L7;
10036
10858
    }
10037
10859
    __pyx_L7:;
10038
10860
 
10039
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1414
 
10861
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1412
10040
10862
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))
10041
10863
 * 
10042
10864
 *         return PYTHON_OBJECT             # <<<<<<<<<<<<<<
10044
10866
 *     # Unrecognized
10045
10867
 */
10046
10868
    __Pyx_XDECREF(((PyObject *)__pyx_r));
10047
 
    __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__PYTHON_OBJECT); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10869
    __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__PYTHON_OBJECT); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10048
10870
    __Pyx_GOTREF(__pyx_t_1);
10049
 
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10871
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10050
10872
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_1);
10051
10873
    __pyx_t_1 = 0;
10052
10874
    goto __pyx_L0;
10054
10876
  }
10055
10877
  /*else*/ {
10056
10878
 
10057
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1418
 
10879
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1416
10058
10880
 *     # Unrecognized
10059
10881
 *     else:
10060
10882
 *         raise TypeError("No conversion path for dtype: %s" % repr(dt))             # <<<<<<<<<<<<<<
10061
10883
 * 
10062
10884
 * def special_dtype(**kwds):
10063
10885
 */
10064
 
    __pyx_t_1 = PyObject_Repr(((PyObject *)__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10886
    __pyx_t_1 = PyObject_Repr(((PyObject *)__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10065
10887
    __Pyx_GOTREF(__pyx_t_1);
10066
 
    __pyx_t_6 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_17), __pyx_t_1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10888
    __pyx_t_6 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_17), __pyx_t_1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10067
10889
    __Pyx_GOTREF(__pyx_t_6);
10068
10890
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10069
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10891
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10070
10892
    __Pyx_GOTREF(__pyx_t_1);
10071
10893
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_6);
10072
10894
    __Pyx_GIVEREF(__pyx_t_6);
10073
10895
    __pyx_t_6 = 0;
10074
 
    __pyx_t_6 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10896
    __pyx_t_6 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10075
10897
    __Pyx_GOTREF(__pyx_t_6);
10076
10898
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10077
10899
    __Pyx_Raise(__pyx_t_6, 0, 0);
10078
10900
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10079
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10901
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10080
10902
  }
10081
10903
  __pyx_L3:;
10082
10904
 
10099
10921
  return __pyx_r;
10100
10922
}
10101
10923
 
10102
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1341
 
10924
/* "/home/tachyon/h5py/h5py/h5t.pyx":1340
10103
10925
 *     raise TypeError("Unrecognized reference code")
10104
10926
 * 
10105
10927
 * cpdef TypeID py_create(object dtype_in, bint logical=0):             # <<<<<<<<<<<<<<
10139
10961
      }
10140
10962
    }
10141
10963
    if (unlikely(kw_args > 0)) {
10142
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10964
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10143
10965
    }
10144
10966
    __pyx_v_dtype_in = values[0];
10145
10967
    if (values[1]) {
10146
 
      __pyx_v_logical = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10968
      __pyx_v_logical = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10147
10969
    } else {
10148
10970
      __pyx_v_logical = ((int)0);
10149
10971
    }
10150
10972
  } else {
10151
10973
    __pyx_v_logical = ((int)0);
10152
10974
    switch (PyTuple_GET_SIZE(__pyx_args)) {
10153
 
      case  2: __pyx_v_logical = __Pyx_PyObject_IsTrue(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10975
      case  2: __pyx_v_logical = __Pyx_PyObject_IsTrue(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10154
10976
      case  1: __pyx_v_dtype_in = PyTuple_GET_ITEM(__pyx_args, 0);
10155
10977
      break;
10156
10978
      default: goto __pyx_L5_argtuple_error;
10158
10980
  }
10159
10981
  goto __pyx_L4_argument_unpacking_done;
10160
10982
  __pyx_L5_argtuple_error:;
10161
 
  __Pyx_RaiseArgtupleInvalid("py_create", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10983
  __Pyx_RaiseArgtupleInvalid("py_create", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10162
10984
  __pyx_L3_error:;
10163
10985
  __Pyx_AddTraceback("h5py.h5t.py_create");
10164
10986
  return NULL;
10166
10988
  __Pyx_XDECREF(__pyx_r);
10167
10989
  __pyx_t_2.__pyx_n = 1;
10168
10990
  __pyx_t_2.logical = __pyx_v_logical;
10169
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_v_dtype_in, 0, &__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10991
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_v_dtype_in, 0, &__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10170
10992
  __Pyx_GOTREF(__pyx_t_1);
10171
10993
  __pyx_r = __pyx_t_1;
10172
10994
  __pyx_t_1 = 0;
10184
11006
  return __pyx_r;
10185
11007
}
10186
11008
 
10187
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1420
 
11009
/* "/home/tachyon/h5py/h5py/h5t.pyx":1418
10188
11010
 *         raise TypeError("No conversion path for dtype: %s" % repr(dt))
10189
11011
 * 
10190
11012
 * def special_dtype(**kwds):             # <<<<<<<<<<<<<<
10224
11046
  __pyx_v_dt = Py_None; __Pyx_INCREF(Py_None);
10225
11047
  __pyx_v_enum_vals = Py_None; __Pyx_INCREF(Py_None);
10226
11048
 
10227
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1440
 
11049
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1438
10228
11050
 *     """
10229
11051
 * 
10230
11052
 *     if len(kwds) != 1:             # <<<<<<<<<<<<<<
10231
11053
 *         raise TypeError("Exactly one keyword may be provided")
10232
11054
 * 
10233
11055
 */
10234
 
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11056
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1438; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10235
11057
  __pyx_t_2 = (__pyx_t_1 != 1);
10236
11058
  if (__pyx_t_2) {
10237
11059
 
10238
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1441
 
11060
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1439
10239
11061
 * 
10240
11062
 *     if len(kwds) != 1:
10241
11063
 *         raise TypeError("Exactly one keyword may be provided")             # <<<<<<<<<<<<<<
10242
11064
 * 
10243
11065
 *     name, val = kwds.popitem()
10244
11066
 */
10245
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11067
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10246
11068
    __Pyx_GOTREF(__pyx_t_3);
10247
11069
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_18));
10248
11070
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_18));
10249
11071
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_18));
10250
 
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11072
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10251
11073
    __Pyx_GOTREF(__pyx_t_4);
10252
11074
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10253
11075
    __Pyx_Raise(__pyx_t_4, 0, 0);
10254
11076
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10255
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11077
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10256
11078
    goto __pyx_L5;
10257
11079
  }
10258
11080
  __pyx_L5:;
10259
11081
 
10260
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1443
 
11082
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1441
10261
11083
 *         raise TypeError("Exactly one keyword may be provided")
10262
11084
 * 
10263
11085
 *     name, val = kwds.popitem()             # <<<<<<<<<<<<<<
10264
11086
 * 
10265
11087
 *     if name == 'vlen':
10266
11088
 */
10267
 
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11089
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10268
11090
  __Pyx_GOTREF(__pyx_t_4);
10269
 
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11091
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10270
11092
  __Pyx_GOTREF(__pyx_t_3);
10271
11093
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10272
11094
  if (PyTuple_CheckExact(__pyx_t_3) && likely(PyTuple_GET_SIZE(__pyx_t_3) == 2)) {
10281
11103
    __pyx_v_val = __pyx_t_5;
10282
11104
    __pyx_t_5 = 0;
10283
11105
  } else {
10284
 
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11106
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10285
11107
    __Pyx_GOTREF(__pyx_t_6);
10286
11108
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10287
 
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11109
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10288
11110
    __Pyx_GOTREF(__pyx_t_4);
10289
 
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11111
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10290
11112
    __Pyx_GOTREF(__pyx_t_5);
10291
 
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11113
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10292
11114
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10293
11115
    __Pyx_DECREF(__pyx_v_name);
10294
11116
    __pyx_v_name = __pyx_t_4;
10298
11120
    __pyx_t_5 = 0;
10299
11121
  }
10300
11122
 
10301
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1445
 
11123
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1443
10302
11124
 *     name, val = kwds.popitem()
10303
11125
 * 
10304
11126
 *     if name == 'vlen':             # <<<<<<<<<<<<<<
10305
11127
 *         if val is not str:
10306
11128
 *             raise NotImplementedError("Only string vlens are currently supported")
10307
11129
 */
10308
 
  __pyx_t_3 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__vlen), Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11130
  __pyx_t_3 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__vlen), Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10309
11131
  __Pyx_GOTREF(__pyx_t_3);
10310
 
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11132
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10311
11133
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10312
11134
  if (__pyx_t_2) {
10313
11135
 
10314
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1446
 
11136
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1444
10315
11137
 * 
10316
11138
 *     if name == 'vlen':
10317
11139
 *         if val is not str:             # <<<<<<<<<<<<<<
10321
11143
    __pyx_t_2 = (__pyx_v_val != ((PyObject *)((PyObject*)&PyString_Type)));
10322
11144
    if (__pyx_t_2) {
10323
11145
 
10324
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1447
 
11146
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1445
10325
11147
 *     if name == 'vlen':
10326
11148
 *         if val is not str:
10327
11149
 *             raise NotImplementedError("Only string vlens are currently supported")             # <<<<<<<<<<<<<<
10328
11150
 * 
10329
11151
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))
10330
11152
 */
10331
 
      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11153
      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10332
11154
      __Pyx_GOTREF(__pyx_t_3);
10333
11155
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_19));
10334
11156
      PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_19));
10335
11157
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_19));
10336
 
      __pyx_t_5 = PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11158
      __pyx_t_5 = PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10337
11159
      __Pyx_GOTREF(__pyx_t_5);
10338
11160
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10339
11161
      __Pyx_Raise(__pyx_t_5, 0, 0);
10340
11162
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10341
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11163
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10342
11164
      goto __pyx_L7;
10343
11165
    }
10344
11166
    __pyx_L7:;
10345
11167
 
10346
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1449
 
11168
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1447
10347
11169
 *             raise NotImplementedError("Only string vlens are currently supported")
10348
11170
 * 
10349
11171
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))             # <<<<<<<<<<<<<<
10351
11173
 *     if name == 'enum':
10352
11174
 */
10353
11175
    __Pyx_XDECREF(__pyx_r);
10354
 
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11176
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10355
11177
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
10356
 
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10357
 
    __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11178
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11179
    __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10358
11180
    __Pyx_GOTREF(__pyx_t_3);
10359
11181
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_5));
10360
11182
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
10362
11184
    PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_n_s__vlen));
10363
11185
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__vlen));
10364
11186
    __pyx_t_5 = 0;
10365
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11187
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10366
11188
    __Pyx_GOTREF(__pyx_t_5);
10367
11189
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
10368
11190
    __Pyx_GIVEREF(__pyx_t_3);
10370
11192
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__O));
10371
11193
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
10372
11194
    __pyx_t_3 = 0;
10373
 
    __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11195
    __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10374
11196
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
10375
11197
    PyList_SET_ITEM(__pyx_t_3, 0, __pyx_t_5);
10376
11198
    __Pyx_GIVEREF(__pyx_t_5);
10377
11199
    __pyx_t_5 = 0;
10378
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11200
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10379
11201
    __Pyx_GOTREF(__pyx_t_5);
10380
11202
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
10381
11203
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__O));
10383
11205
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_t_3));
10384
11206
    __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
10385
11207
    __pyx_t_3 = 0;
10386
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11208
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10387
11209
    __Pyx_GOTREF(__pyx_t_3);
10388
11210
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_5);
10389
11211
    __Pyx_GIVEREF(__pyx_t_5);
10390
11212
    __pyx_t_5 = 0;
10391
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11213
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10392
11214
    __Pyx_GOTREF(__pyx_t_5);
10393
11215
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10394
11216
    __pyx_r = __pyx_t_5;
10398
11220
  }
10399
11221
  __pyx_L6:;
10400
11222
 
10401
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1451
 
11223
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1449
10402
11224
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))
10403
11225
 * 
10404
11226
 *     if name == 'enum':             # <<<<<<<<<<<<<<
10405
11227
 * 
10406
11228
 *         try:
10407
11229
 */
10408
 
  __pyx_t_5 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__enum), Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11230
  __pyx_t_5 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__enum), Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10409
11231
  __Pyx_GOTREF(__pyx_t_5);
10410
 
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11232
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10411
11233
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10412
11234
  if (__pyx_t_2) {
10413
11235
 
10414
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1453
 
11236
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1451
10415
11237
 *     if name == 'enum':
10416
11238
 * 
10417
11239
 *         try:             # <<<<<<<<<<<<<<
10426
11248
      __Pyx_XGOTREF(__pyx_save_exc_tb);
10427
11249
      /*try:*/ {
10428
11250
 
10429
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1454
 
11251
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1452
10430
11252
 * 
10431
11253
 *         try:
10432
11254
 *             dt, enum_vals = val             # <<<<<<<<<<<<<<
10444
11266
          __pyx_v_enum_vals = __pyx_t_3;
10445
11267
          __pyx_t_3 = 0;
10446
11268
        } else {
10447
 
          __pyx_t_4 = PyObject_GetIter(__pyx_v_val); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
11269
          __pyx_t_4 = PyObject_GetIter(__pyx_v_val); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
10448
11270
          __Pyx_GOTREF(__pyx_t_4);
10449
 
          __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
11271
          __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
10450
11272
          __Pyx_GOTREF(__pyx_t_5);
10451
 
          __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
11273
          __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
10452
11274
          __Pyx_GOTREF(__pyx_t_3);
10453
 
          if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
11275
          if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
10454
11276
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10455
11277
          __Pyx_DECREF(__pyx_v_dt);
10456
11278
          __pyx_v_dt = __pyx_t_5;
10470
11292
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
10471
11293
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
10472
11294
 
10473
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1455
 
11295
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1453
10474
11296
 *         try:
10475
11297
 *             dt, enum_vals = val
10476
11298
 *         except TypeError:             # <<<<<<<<<<<<<<
10480
11302
      __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
10481
11303
      if (__pyx_t_7) {
10482
11304
        __Pyx_AddTraceback("h5py.h5t.special_dtype");
10483
 
        if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
11305
        if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1453; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
10484
11306
        __Pyx_GOTREF(__pyx_t_3);
10485
11307
        __Pyx_GOTREF(__pyx_t_5);
10486
11308
        __Pyx_GOTREF(__pyx_t_4);
10487
11309
 
10488
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1456
 
11310
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1454
10489
11311
 *             dt, enum_vals = val
10490
11312
 *         except TypeError:
10491
11313
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")             # <<<<<<<<<<<<<<
10492
11314
 * 
10493
11315
 *         dt = dtype(dt)
10494
11316
 */
10495
 
        __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
11317
        __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
10496
11318
        __Pyx_GOTREF(__pyx_t_6);
10497
11319
        __Pyx_INCREF(((PyObject *)__pyx_kp_s_20));
10498
11320
        PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_kp_s_20));
10499
11321
        __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_20));
10500
 
        __pyx_t_8 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
11322
        __pyx_t_8 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
10501
11323
        __Pyx_GOTREF(__pyx_t_8);
10502
11324
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10503
11325
        __Pyx_Raise(__pyx_t_8, 0, 0);
10504
11326
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
10505
 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
11327
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
10506
11328
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10507
11329
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10508
11330
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10522
11344
      __pyx_L16_try_end:;
10523
11345
    }
10524
11346
 
10525
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1458
 
11347
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1456
10526
11348
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")
10527
11349
 * 
10528
11350
 *         dt = dtype(dt)             # <<<<<<<<<<<<<<
10529
11351
 *         if dt.kind not in "iu":
10530
11352
 *             raise TypeError("Only integer types can be used as enums")
10531
11353
 */
10532
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11354
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10533
11355
    __Pyx_GOTREF(__pyx_t_4);
10534
11356
    __Pyx_INCREF(__pyx_v_dt);
10535
11357
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_dt);
10536
11358
    __Pyx_GIVEREF(__pyx_v_dt);
10537
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11359
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10538
11360
    __Pyx_GOTREF(__pyx_t_5);
10539
11361
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10540
11362
    __Pyx_DECREF(__pyx_v_dt);
10541
11363
    __pyx_v_dt = __pyx_t_5;
10542
11364
    __pyx_t_5 = 0;
10543
11365
 
10544
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1459
 
11366
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1457
10545
11367
 * 
10546
11368
 *         dt = dtype(dt)
10547
11369
 *         if dt.kind not in "iu":             # <<<<<<<<<<<<<<
10548
11370
 *             raise TypeError("Only integer types can be used as enums")
10549
11371
 * 
10550
11372
 */
10551
 
    __pyx_t_5 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__kind); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11373
    __pyx_t_5 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__kind); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10552
11374
    __Pyx_GOTREF(__pyx_t_5);
10553
 
    __pyx_t_2 = (__Pyx_NegateNonNeg(PySequence_Contains(((PyObject *)__pyx_n_s__iu), __pyx_t_5))); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11375
    __pyx_t_2 = (__Pyx_NegateNonNeg(PySequence_Contains(((PyObject *)__pyx_n_s__iu), __pyx_t_5))); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10554
11376
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10555
11377
    if (__pyx_t_2) {
10556
11378
 
10557
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1460
 
11379
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1458
10558
11380
 *         dt = dtype(dt)
10559
11381
 *         if dt.kind not in "iu":
10560
11382
 *             raise TypeError("Only integer types can be used as enums")             # <<<<<<<<<<<<<<
10561
11383
 * 
10562
11384
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
10563
11385
 */
10564
 
      __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11386
      __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10565
11387
      __Pyx_GOTREF(__pyx_t_5);
10566
11388
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_21));
10567
11389
      PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_21));
10568
11390
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_21));
10569
 
      __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11391
      __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10570
11392
      __Pyx_GOTREF(__pyx_t_4);
10571
11393
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10572
11394
      __Pyx_Raise(__pyx_t_4, 0, 0);
10573
11395
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10574
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11396
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10575
11397
      goto __pyx_L19;
10576
11398
    }
10577
11399
    __pyx_L19:;
10578
11400
 
10579
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1462
 
11401
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1460
10580
11402
 *             raise TypeError("Only integer types can be used as enums")
10581
11403
 * 
10582
11404
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))             # <<<<<<<<<<<<<<
10584
11406
 *     if name == 'ref':
10585
11407
 */
10586
11408
    __Pyx_XDECREF(__pyx_r);
10587
 
    __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11409
    __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10588
11410
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
10589
 
    if (PyDict_SetItem(__pyx_t_4, ((PyObject *)__pyx_n_s__vals), __pyx_v_enum_vals) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10590
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11411
    if (PyDict_SetItem(__pyx_t_4, ((PyObject *)__pyx_n_s__vals), __pyx_v_enum_vals) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11412
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10591
11413
    __Pyx_GOTREF(__pyx_t_5);
10592
11414
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_t_4));
10593
11415
    __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
10595
11417
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__enum));
10596
11418
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__enum));
10597
11419
    __pyx_t_4 = 0;
10598
 
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11420
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10599
11421
    __Pyx_GOTREF(__pyx_t_4);
10600
11422
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
10601
11423
    __Pyx_GIVEREF(__pyx_t_5);
10603
11425
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_dt);
10604
11426
    __Pyx_GIVEREF(__pyx_v_dt);
10605
11427
    __pyx_t_5 = 0;
10606
 
    __pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11428
    __pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10607
11429
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
10608
11430
    PyList_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
10609
11431
    __Pyx_GIVEREF(__pyx_t_4);
10610
11432
    __pyx_t_4 = 0;
10611
 
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11433
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10612
11434
    __Pyx_GOTREF(__pyx_t_4);
10613
11435
    __Pyx_INCREF(__pyx_v_dt);
10614
11436
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_dt);
10616
11438
    PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_t_5));
10617
11439
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
10618
11440
    __pyx_t_5 = 0;
10619
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11441
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10620
11442
    __Pyx_GOTREF(__pyx_t_5);
10621
11443
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
10622
11444
    __Pyx_GIVEREF(__pyx_t_4);
10623
11445
    __pyx_t_4 = 0;
10624
 
    __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11446
    __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10625
11447
    __Pyx_GOTREF(__pyx_t_4);
10626
11448
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10627
11449
    __pyx_r = __pyx_t_4;
10631
11453
  }
10632
11454
  __pyx_L8:;
10633
11455
 
10634
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1464
 
11456
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1462
10635
11457
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
10636
11458
 * 
10637
11459
 *     if name == 'ref':             # <<<<<<<<<<<<<<
10638
11460
 * 
10639
11461
 *         if val not in (Reference, RegionReference):
10640
11462
 */
10641
 
  __pyx_t_4 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__ref), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11463
  __pyx_t_4 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__ref), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10642
11464
  __Pyx_GOTREF(__pyx_t_4);
10643
 
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11465
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10644
11466
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10645
11467
  if (__pyx_t_2) {
10646
11468
 
10647
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1466
 
11469
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1464
10648
11470
 *     if name == 'ref':
10649
11471
 * 
10650
11472
 *         if val not in (Reference, RegionReference):             # <<<<<<<<<<<<<<
10653
11475
 */
10654
11476
    __Pyx_INCREF(__pyx_v_val);
10655
11477
    __pyx_t_4 = __pyx_v_val;
10656
 
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11478
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10657
11479
    __Pyx_GOTREF(__pyx_t_5);
10658
 
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11480
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10659
11481
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10660
11482
    __pyx_t_9 = ((int)__pyx_t_2);
10661
11483
    if (__pyx_t_9) {
10662
 
      __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11484
      __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10663
11485
      __Pyx_GOTREF(__pyx_t_5);
10664
 
      __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11486
      __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10665
11487
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10666
11488
      __pyx_t_10 = ((int)__pyx_t_2);
10667
11489
      __pyx_t_2 = __pyx_t_10;
10672
11494
    __pyx_t_9 = __pyx_t_2;
10673
11495
    if (__pyx_t_9) {
10674
11496
 
10675
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1467
 
11497
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1465
10676
11498
 * 
10677
11499
 *         if val not in (Reference, RegionReference):
10678
11500
 *             raise ValueError("Ref class must be Reference or RegionReference")             # <<<<<<<<<<<<<<
10679
11501
 * 
10680
11502
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))
10681
11503
 */
10682
 
      __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11504
      __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10683
11505
      __Pyx_GOTREF(__pyx_t_4);
10684
11506
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_22));
10685
11507
      PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_kp_s_22));
10686
11508
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_22));
10687
 
      __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11509
      __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10688
11510
      __Pyx_GOTREF(__pyx_t_5);
10689
11511
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10690
11512
      __Pyx_Raise(__pyx_t_5, 0, 0);
10691
11513
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10692
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11514
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10693
11515
      goto __pyx_L21;
10694
11516
    }
10695
11517
    __pyx_L21:;
10696
11518
 
10697
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1469
 
11519
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1467
10698
11520
 *             raise ValueError("Ref class must be Reference or RegionReference")
10699
11521
 * 
10700
11522
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))             # <<<<<<<<<<<<<<
10702
11524
 *     raise TypeError('Unknown special type "%s"' % name)
10703
11525
 */
10704
11526
    __Pyx_XDECREF(__pyx_r);
10705
 
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11527
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10706
11528
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
10707
 
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10708
 
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11529
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11530
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10709
11531
    __Pyx_GOTREF(__pyx_t_4);
10710
11532
    PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_t_5));
10711
11533
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
10713
11535
    PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_n_s__ref));
10714
11536
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ref));
10715
11537
    __pyx_t_5 = 0;
10716
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11538
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10717
11539
    __Pyx_GOTREF(__pyx_t_5);
10718
11540
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
10719
11541
    __Pyx_GIVEREF(__pyx_t_4);
10721
11543
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__O));
10722
11544
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
10723
11545
    __pyx_t_4 = 0;
10724
 
    __pyx_t_4 = PyList_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11546
    __pyx_t_4 = PyList_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10725
11547
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
10726
11548
    PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
10727
11549
    __Pyx_GIVEREF(__pyx_t_5);
10728
11550
    __pyx_t_5 = 0;
10729
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11551
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10730
11552
    __Pyx_GOTREF(__pyx_t_5);
10731
11553
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
10732
11554
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__O));
10734
11556
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_t_4));
10735
11557
    __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
10736
11558
    __pyx_t_4 = 0;
10737
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11559
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10738
11560
    __Pyx_GOTREF(__pyx_t_4);
10739
11561
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
10740
11562
    __Pyx_GIVEREF(__pyx_t_5);
10741
11563
    __pyx_t_5 = 0;
10742
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11564
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10743
11565
    __Pyx_GOTREF(__pyx_t_5);
10744
11566
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10745
11567
    __pyx_r = __pyx_t_5;
10749
11571
  }
10750
11572
  __pyx_L20:;
10751
11573
 
10752
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1471
 
11574
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1469
10753
11575
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))
10754
11576
 * 
10755
11577
 *     raise TypeError('Unknown special type "%s"' % name)             # <<<<<<<<<<<<<<
10756
11578
 * 
10757
11579
 * def check_dtype(**kwds):
10758
11580
 */
10759
 
  __pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11581
  __pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10760
11582
  __Pyx_GOTREF(__pyx_t_5);
10761
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11583
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10762
11584
  __Pyx_GOTREF(__pyx_t_4);
10763
11585
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
10764
11586
  __Pyx_GIVEREF(__pyx_t_5);
10765
11587
  __pyx_t_5 = 0;
10766
 
  __pyx_t_5 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11588
  __pyx_t_5 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10767
11589
  __Pyx_GOTREF(__pyx_t_5);
10768
11590
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10769
11591
  __Pyx_Raise(__pyx_t_5, 0, 0);
10770
11592
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10771
 
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11593
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10772
11594
 
10773
11595
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10774
11596
  goto __pyx_L0;
10791
11613
  return __pyx_r;
10792
11614
}
10793
11615
 
10794
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1473
 
11616
/* "/home/tachyon/h5py/h5py/h5t.pyx":1471
10795
11617
 *     raise TypeError('Unknown special type "%s"' % name)
10796
11618
 * 
10797
11619
 * def check_dtype(**kwds):             # <<<<<<<<<<<<<<
10831
11653
  __pyx_v_tpl = Py_None; __Pyx_INCREF(Py_None);
10832
11654
  __pyx_v_hint_dict = Py_None; __Pyx_INCREF(Py_None);
10833
11655
 
10834
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1493
 
11656
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1491
10835
11657
 *     """
10836
11658
 * 
10837
11659
 *     if len(kwds) != 1:             # <<<<<<<<<<<<<<
10838
11660
 *         raise TypeError("Exactly one keyword may be provided")
10839
11661
 * 
10840
11662
 */
10841
 
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11663
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10842
11664
  __pyx_t_2 = (__pyx_t_1 != 1);
10843
11665
  if (__pyx_t_2) {
10844
11666
 
10845
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1494
 
11667
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1492
10846
11668
 * 
10847
11669
 *     if len(kwds) != 1:
10848
11670
 *         raise TypeError("Exactly one keyword may be provided")             # <<<<<<<<<<<<<<
10849
11671
 * 
10850
11672
 *     name, dt = kwds.popitem()
10851
11673
 */
10852
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11674
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10853
11675
    __Pyx_GOTREF(__pyx_t_3);
10854
11676
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_18));
10855
11677
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_18));
10856
11678
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_18));
10857
 
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11679
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10858
11680
    __Pyx_GOTREF(__pyx_t_4);
10859
11681
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10860
11682
    __Pyx_Raise(__pyx_t_4, 0, 0);
10861
11683
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10862
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11684
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10863
11685
    goto __pyx_L5;
10864
11686
  }
10865
11687
  __pyx_L5:;
10866
11688
 
10867
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1496
 
11689
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1494
10868
11690
 *         raise TypeError("Exactly one keyword may be provided")
10869
11691
 * 
10870
11692
 *     name, dt = kwds.popitem()             # <<<<<<<<<<<<<<
10871
11693
 * 
10872
11694
 *     if name not in ('vlen', 'enum', 'ref'):
10873
11695
 */
10874
 
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11696
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10875
11697
  __Pyx_GOTREF(__pyx_t_4);
10876
 
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11698
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10877
11699
  __Pyx_GOTREF(__pyx_t_3);
10878
11700
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10879
11701
  if (PyTuple_CheckExact(__pyx_t_3) && likely(PyTuple_GET_SIZE(__pyx_t_3) == 2)) {
10888
11710
    __pyx_v_dt = __pyx_t_5;
10889
11711
    __pyx_t_5 = 0;
10890
11712
  } else {
10891
 
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11713
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10892
11714
    __Pyx_GOTREF(__pyx_t_6);
10893
11715
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10894
 
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11716
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10895
11717
    __Pyx_GOTREF(__pyx_t_4);
10896
 
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11718
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10897
11719
    __Pyx_GOTREF(__pyx_t_5);
10898
 
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11720
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10899
11721
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
10900
11722
    __Pyx_DECREF(__pyx_v_name);
10901
11723
    __pyx_v_name = __pyx_t_4;
10905
11727
    __pyx_t_5 = 0;
10906
11728
  }
10907
11729
 
10908
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1498
 
11730
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1496
10909
11731
 *     name, dt = kwds.popitem()
10910
11732
 * 
10911
11733
 *     if name not in ('vlen', 'enum', 'ref'):             # <<<<<<<<<<<<<<
10914
11736
 */
10915
11737
  __Pyx_INCREF(__pyx_v_name);
10916
11738
  __pyx_t_3 = __pyx_v_name;
10917
 
  __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__vlen), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11739
  __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__vlen), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10918
11740
  __Pyx_GOTREF(__pyx_t_5);
10919
 
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11741
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10920
11742
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10921
11743
  __pyx_t_7 = ((int)__pyx_t_2);
10922
11744
  if (__pyx_t_7) {
10923
 
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__enum), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11745
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__enum), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10924
11746
    __Pyx_GOTREF(__pyx_t_5);
10925
 
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11747
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10926
11748
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10927
11749
    __pyx_t_8 = ((int)__pyx_t_2);
10928
11750
    __pyx_t_2 = __pyx_t_8;
10930
11752
    __pyx_t_2 = __pyx_t_7;
10931
11753
  }
10932
11754
  if (__pyx_t_2) {
10933
 
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11755
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10934
11756
    __Pyx_GOTREF(__pyx_t_5);
10935
 
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11757
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10936
11758
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10937
11759
    __pyx_t_8 = ((int)__pyx_t_7);
10938
11760
    __pyx_t_7 = __pyx_t_8;
10943
11765
  __pyx_t_2 = __pyx_t_7;
10944
11766
  if (__pyx_t_2) {
10945
11767
 
10946
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1499
 
11768
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1497
10947
11769
 * 
10948
11770
 *     if name not in ('vlen', 'enum', 'ref'):
10949
11771
 *         raise TypeError('Unknown special type "%s"' % name)             # <<<<<<<<<<<<<<
10950
11772
 * 
10951
11773
 *     hintkey = 'type' if name is not 'enum' else 'vals'
10952
11774
 */
10953
 
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11775
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10954
11776
    __Pyx_GOTREF(__pyx_t_3);
10955
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11777
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10956
11778
    __Pyx_GOTREF(__pyx_t_5);
10957
11779
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
10958
11780
    __Pyx_GIVEREF(__pyx_t_3);
10959
11781
    __pyx_t_3 = 0;
10960
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11782
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10961
11783
    __Pyx_GOTREF(__pyx_t_3);
10962
11784
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
10963
11785
    __Pyx_Raise(__pyx_t_3, 0, 0);
10964
11786
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10965
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11787
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10966
11788
    goto __pyx_L6;
10967
11789
  }
10968
11790
  __pyx_L6:;
10969
11791
 
10970
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1501
 
11792
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1499
10971
11793
 *         raise TypeError('Unknown special type "%s"' % name)
10972
11794
 * 
10973
11795
 *     hintkey = 'type' if name is not 'enum' else 'vals'             # <<<<<<<<<<<<<<
10986
11808
  __pyx_v_hintkey = ((PyObject *)__pyx_t_3);
10987
11809
  __pyx_t_3 = 0;
10988
11810
 
10989
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1503
 
11811
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1501
10990
11812
 *     hintkey = 'type' if name is not 'enum' else 'vals'
10991
11813
 * 
10992
11814
 *     if dt.fields is not None and name in dt.fields:             # <<<<<<<<<<<<<<
10993
11815
 *         tpl = dt.fields[name]
10994
11816
 *         if len(tpl) == 3:
10995
11817
 */
10996
 
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11818
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10997
11819
  __Pyx_GOTREF(__pyx_t_3);
10998
11820
  __pyx_t_2 = (__pyx_t_3 != Py_None);
10999
11821
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11000
11822
  if (__pyx_t_2) {
11001
 
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11823
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11002
11824
    __Pyx_GOTREF(__pyx_t_3);
11003
 
    __pyx_t_7 = ((PySequence_Contains(__pyx_t_3, __pyx_v_name))); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11825
    __pyx_t_7 = ((PySequence_Contains(__pyx_t_3, __pyx_v_name))); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11004
11826
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11005
11827
    __pyx_t_8 = __pyx_t_7;
11006
11828
  } else {
11008
11830
  }
11009
11831
  if (__pyx_t_8) {
11010
11832
 
11011
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1504
 
11833
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1502
11012
11834
 * 
11013
11835
 *     if dt.fields is not None and name in dt.fields:
11014
11836
 *         tpl = dt.fields[name]             # <<<<<<<<<<<<<<
11015
11837
 *         if len(tpl) == 3:
11016
11838
 *             hint_dict = tpl[2]
11017
11839
 */
11018
 
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11840
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11019
11841
    __Pyx_GOTREF(__pyx_t_3);
11020
 
    __pyx_t_5 = PyObject_GetItem(__pyx_t_3, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11842
    __pyx_t_5 = PyObject_GetItem(__pyx_t_3, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11021
11843
    __Pyx_GOTREF(__pyx_t_5);
11022
11844
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11023
11845
    __Pyx_DECREF(__pyx_v_tpl);
11024
11846
    __pyx_v_tpl = __pyx_t_5;
11025
11847
    __pyx_t_5 = 0;
11026
11848
 
11027
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1505
 
11849
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1503
11028
11850
 *     if dt.fields is not None and name in dt.fields:
11029
11851
 *         tpl = dt.fields[name]
11030
11852
 *         if len(tpl) == 3:             # <<<<<<<<<<<<<<
11031
11853
 *             hint_dict = tpl[2]
11032
11854
 *             if hintkey in hint_dict:
11033
11855
 */
11034
 
    __pyx_t_1 = PyObject_Length(__pyx_v_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11856
    __pyx_t_1 = PyObject_Length(__pyx_v_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11035
11857
    __pyx_t_8 = (__pyx_t_1 == 3);
11036
11858
    if (__pyx_t_8) {
11037
11859
 
11038
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1506
 
11860
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1504
11039
11861
 *         tpl = dt.fields[name]
11040
11862
 *         if len(tpl) == 3:
11041
11863
 *             hint_dict = tpl[2]             # <<<<<<<<<<<<<<
11042
11864
 *             if hintkey in hint_dict:
11043
11865
 *                 return hint_dict[hintkey]
11044
11866
 */
11045
 
      __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_tpl, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1506; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11867
      __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_tpl, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11046
11868
      __Pyx_GOTREF(__pyx_t_5);
11047
11869
      __Pyx_DECREF(__pyx_v_hint_dict);
11048
11870
      __pyx_v_hint_dict = __pyx_t_5;
11049
11871
      __pyx_t_5 = 0;
11050
11872
 
11051
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1507
 
11873
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1505
11052
11874
 *         if len(tpl) == 3:
11053
11875
 *             hint_dict = tpl[2]
11054
11876
 *             if hintkey in hint_dict:             # <<<<<<<<<<<<<<
11055
11877
 *                 return hint_dict[hintkey]
11056
11878
 * 
11057
11879
 */
11058
 
      __pyx_t_8 = ((PySequence_Contains(__pyx_v_hint_dict, __pyx_v_hintkey))); if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11880
      __pyx_t_8 = ((PySequence_Contains(__pyx_v_hint_dict, __pyx_v_hintkey))); if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11059
11881
      if (__pyx_t_8) {
11060
11882
 
11061
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1508
 
11883
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1506
11062
11884
 *             hint_dict = tpl[2]
11063
11885
 *             if hintkey in hint_dict:
11064
11886
 *                 return hint_dict[hintkey]             # <<<<<<<<<<<<<<
11066
11888
 *     return None
11067
11889
 */
11068
11890
        __Pyx_XDECREF(__pyx_r);
11069
 
        __pyx_t_5 = PyObject_GetItem(__pyx_v_hint_dict, __pyx_v_hintkey); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11891
        __pyx_t_5 = PyObject_GetItem(__pyx_v_hint_dict, __pyx_v_hintkey); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1506; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11070
11892
        __Pyx_GOTREF(__pyx_t_5);
11071
11893
        __pyx_r = __pyx_t_5;
11072
11894
        __pyx_t_5 = 0;
11081
11903
  }
11082
11904
  __pyx_L7:;
11083
11905
 
11084
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1510
 
11906
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1508
11085
11907
 *                 return hint_dict[hintkey]
11086
11908
 * 
11087
11909
 *     return None             # <<<<<<<<<<<<<<
11114
11936
  return __pyx_r;
11115
11937
}
11116
11938
 
11117
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1512
 
11939
/* "/home/tachyon/h5py/h5py/h5t.pyx":1510
11118
11940
 *     return None
11119
11941
 * 
11120
11942
 * def convert(TypeID src not None, TypeID dst not None, size_t n,             # <<<<<<<<<<<<<<
11141
11963
  int __pyx_t_5;
11142
11964
  int __pyx_t_6;
11143
11965
  int __pyx_t_7;
11144
 
  herr_t __pyx_t_8;
 
11966
  hid_t __pyx_t_8;
 
11967
  hid_t __pyx_t_9;
 
11968
  herr_t __pyx_t_10;
11145
11969
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__src,&__pyx_n_s__dst,&__pyx_n_s__n,&__pyx_n_s__buf,&__pyx_n_s__bkg,&__pyx_n_s__dxpl,0};
11146
11970
  __Pyx_RefNannySetupContext("convert");
11147
11971
  __pyx_self = __pyx_self;
11148
11972
  if (unlikely(__pyx_kwds)) {
11149
11973
 
11150
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1513
 
11974
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1511
11151
11975
 * 
11152
11976
 * def convert(TypeID src not None, TypeID dst not None, size_t n,
11153
11977
 *             ndarray buf not None, ndarray bkg=None, PropID dxpl=None):             # <<<<<<<<<<<<<<
11177
12001
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dst);
11178
12002
      if (likely(values[1])) kw_args--;
11179
12003
      else {
11180
 
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12004
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11181
12005
      }
11182
12006
      case  2:
11183
12007
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__n);
11184
12008
      if (likely(values[2])) kw_args--;
11185
12009
      else {
11186
 
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12010
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11187
12011
      }
11188
12012
      case  3:
11189
12013
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__buf);
11190
12014
      if (likely(values[3])) kw_args--;
11191
12015
      else {
11192
 
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12016
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11193
12017
      }
11194
12018
      case  4:
11195
12019
      if (kw_args > 0) {
11203
12027
      }
11204
12028
    }
11205
12029
    if (unlikely(kw_args > 0)) {
11206
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "convert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12030
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "convert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11207
12031
    }
11208
12032
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
11209
12033
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[1]);
11210
 
    __pyx_v_n = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12034
    __pyx_v_n = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11211
12035
    __pyx_v_buf = ((PyArrayObject *)values[3]);
11212
12036
    __pyx_v_bkg = ((PyArrayObject *)values[4]);
11213
12037
    __pyx_v_dxpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)values[5]);
11221
12045
      __pyx_v_bkg = ((PyArrayObject *)PyTuple_GET_ITEM(__pyx_args, 4));
11222
12046
      case  4:
11223
12047
      __pyx_v_buf = ((PyArrayObject *)PyTuple_GET_ITEM(__pyx_args, 3));
11224
 
      __pyx_v_n = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12048
      __pyx_v_n = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11225
12049
      __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 1));
11226
12050
      __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 0));
11227
12051
      break;
11230
12054
  }
11231
12055
  goto __pyx_L4_argument_unpacking_done;
11232
12056
  __pyx_L5_argtuple_error:;
11233
 
  __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12057
  __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11234
12058
  __pyx_L3_error:;
11235
12059
  __Pyx_AddTraceback("h5py.h5t.convert");
11236
12060
  return NULL;
11240
12064
  __Pyx_INCREF((PyObject *)__pyx_v_buf);
11241
12065
  __Pyx_INCREF((PyObject *)__pyx_v_bkg);
11242
12066
  __Pyx_INCREF((PyObject *)__pyx_v_dxpl);
11243
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11244
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11245
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_buf), __pyx_ptype_4h5py_5numpy_ndarray, 0, "buf", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11246
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_bkg), __pyx_ptype_4h5py_5numpy_ndarray, 1, "bkg", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11247
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dxpl), __pyx_ptype_4h5py_3h5p_PropID, 1, "dxpl", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12067
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12068
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12069
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_buf), __pyx_ptype_4h5py_5numpy_ndarray, 0, "buf", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12070
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_bkg), __pyx_ptype_4h5py_5numpy_ndarray, 1, "bkg", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12071
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dxpl), __pyx_ptype_4h5py_3h5p_PropID, 1, "dxpl", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11248
12072
 
11249
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1522
 
12073
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1520
11250
12074
 *     one is not supplied.
11251
12075
 *     """
11252
12076
 *     cdef void* bkg_ = NULL             # <<<<<<<<<<<<<<
11255
12079
 */
11256
12080
  __pyx_v_bkg_ = NULL;
11257
12081
 
11258
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1523
 
12082
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1521
11259
12083
 *     """
11260
12084
 *     cdef void* bkg_ = NULL
11261
12085
 *     cdef void* buf_ = buf.data             # <<<<<<<<<<<<<<
11264
12088
 */
11265
12089
  __pyx_v_buf_ = __pyx_v_buf->data;
11266
12090
 
11267
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1525
 
12091
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1523
11268
12092
 *     cdef void* buf_ = buf.data
11269
12093
 * 
11270
12094
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or             # <<<<<<<<<<<<<<
11273
12097
 */
11274
12098
  __pyx_t_1 = (((PyObject *)__pyx_v_bkg) == Py_None);
11275
12099
  if (__pyx_t_1) {
11276
 
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_src), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12100
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_src), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11277
12101
    __Pyx_GOTREF(__pyx_t_2);
11278
 
    __pyx_t_3 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12102
    __pyx_t_3 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11279
12103
    __Pyx_GOTREF(__pyx_t_3);
11280
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12104
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11281
12105
    __Pyx_GOTREF(__pyx_t_4);
11282
12106
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
11283
12107
    __Pyx_GIVEREF(__pyx_t_3);
11284
12108
    __pyx_t_3 = 0;
11285
 
    __pyx_t_3 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12109
    __pyx_t_3 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11286
12110
    __Pyx_GOTREF(__pyx_t_3);
11287
12111
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11288
12112
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11289
 
    __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12113
    __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11290
12114
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11291
12115
    if (!__pyx_t_5) {
11292
12116
 
11293
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1526
 
12117
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1524
11294
12118
 * 
11295
12119
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or
11296
12120
 *                         dst.detect_class(H5T_COMPOUND)):             # <<<<<<<<<<<<<<
11297
12121
 *         bkg = buf.copy()
11298
12122
 *     if bkg is not None:
11299
12123
 */
11300
 
      __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_dst), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12124
      __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_dst), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11301
12125
      __Pyx_GOTREF(__pyx_t_3);
11302
 
      __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12126
      __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11303
12127
      __Pyx_GOTREF(__pyx_t_4);
11304
 
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12128
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11305
12129
      __Pyx_GOTREF(__pyx_t_2);
11306
12130
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4);
11307
12131
      __Pyx_GIVEREF(__pyx_t_4);
11308
12132
      __pyx_t_4 = 0;
11309
 
      __pyx_t_4 = PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12133
      __pyx_t_4 = PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11310
12134
      __Pyx_GOTREF(__pyx_t_4);
11311
12135
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11312
12136
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11313
 
      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12137
      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11314
12138
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11315
12139
      __pyx_t_7 = __pyx_t_6;
11316
12140
    } else {
11322
12146
  }
11323
12147
  if (__pyx_t_5) {
11324
12148
 
11325
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1527
 
12149
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1525
11326
12150
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or
11327
12151
 *                         dst.detect_class(H5T_COMPOUND)):
11328
12152
 *         bkg = buf.copy()             # <<<<<<<<<<<<<<
11329
12153
 *     if bkg is not None:
11330
12154
 *         bkg_ = bkg.data
11331
12155
 */
11332
 
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_buf), __pyx_n_s__copy); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12156
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_buf), __pyx_n_s__copy); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11333
12157
    __Pyx_GOTREF(__pyx_t_4);
11334
 
    __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12158
    __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11335
12159
    __Pyx_GOTREF(__pyx_t_2);
11336
12160
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11337
 
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12161
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11338
12162
    __Pyx_DECREF(((PyObject *)__pyx_v_bkg));
11339
12163
    __pyx_v_bkg = ((PyArrayObject *)__pyx_t_2);
11340
12164
    __pyx_t_2 = 0;
11342
12166
  }
11343
12167
  __pyx_L6:;
11344
12168
 
11345
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1528
 
12169
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1526
11346
12170
 *                         dst.detect_class(H5T_COMPOUND)):
11347
12171
 *         bkg = buf.copy()
11348
12172
 *     if bkg is not None:             # <<<<<<<<<<<<<<
11352
12176
  __pyx_t_5 = (((PyObject *)__pyx_v_bkg) != Py_None);
11353
12177
  if (__pyx_t_5) {
11354
12178
 
11355
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1529
 
12179
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1527
11356
12180
 *         bkg = buf.copy()
11357
12181
 *     if bkg is not None:
11358
12182
 *         bkg_ = bkg.data             # <<<<<<<<<<<<<<
11364
12188
  }
11365
12189
  __pyx_L7:;
11366
12190
 
11367
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1531
 
12191
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1529
11368
12192
 *         bkg_ = bkg.data
11369
12193
 * 
11370
12194
 *     H5Tconvert(src.id, dst.id, n, buf_, bkg_, pdefault(dxpl))             # <<<<<<<<<<<<<<
11371
12195
 * 
11372
12196
 * def find(TypeID src not None, TypeID dst not None):
11373
12197
 */
11374
 
  __pyx_t_8 = H5Tconvert(__pyx_v_src->__pyx_base.id, __pyx_v_dst->__pyx_base.id, __pyx_v_n, __pyx_v_buf_, __pyx_v_bkg_, __pyx_f_4h5py_3h5p_pdefault(__pyx_v_dxpl)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12198
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_src), __pyx_n_s__id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12199
  __Pyx_GOTREF(__pyx_t_2);
 
12200
  __pyx_t_8 = __Pyx_PyInt_from_py_hid_t(__pyx_t_2); if (unlikely((__pyx_t_8 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12201
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
12202
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dst), __pyx_n_s__id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12203
  __Pyx_GOTREF(__pyx_t_2);
 
12204
  __pyx_t_9 = __Pyx_PyInt_from_py_hid_t(__pyx_t_2); if (unlikely((__pyx_t_9 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12205
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
12206
  __pyx_t_10 = H5Tconvert(__pyx_t_8, __pyx_t_9, __pyx_v_n, __pyx_v_buf_, __pyx_v_bkg_, __pyx_f_4h5py_3h5p_pdefault(__pyx_v_dxpl)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11375
12207
 
11376
12208
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11377
12209
  goto __pyx_L0;
11392
12224
  return __pyx_r;
11393
12225
}
11394
12226
 
11395
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1533
 
12227
/* "/home/tachyon/h5py/h5py/h5t.pyx":1531
11396
12228
 *     H5Tconvert(src.id, dst.id, n, buf_, bkg_, pdefault(dxpl))
11397
12229
 * 
11398
12230
 * def find(TypeID src not None, TypeID dst not None):             # <<<<<<<<<<<<<<
11408
12240
  H5T_cdata_t *__pyx_v_data;
11409
12241
  H5T_conv_t __pyx_v_result;
11410
12242
  PyObject *__pyx_r = NULL;
11411
 
  H5T_conv_t __pyx_t_1;
11412
 
  int __pyx_t_2;
11413
 
  PyObject *__pyx_t_3 = NULL;
11414
 
  PyObject *__pyx_t_4 = NULL;
11415
 
  PyObject *__pyx_t_5 = NULL;
 
12243
  PyObject *__pyx_t_1 = NULL;
 
12244
  hid_t __pyx_t_2;
 
12245
  hid_t __pyx_t_3;
 
12246
  H5T_conv_t __pyx_t_4;
 
12247
  int __pyx_t_5;
 
12248
  PyObject *__pyx_t_6 = NULL;
 
12249
  PyObject *__pyx_t_7 = NULL;
11416
12250
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__src,&__pyx_n_s__dst,0};
11417
12251
  __Pyx_RefNannySetupContext("find");
11418
12252
  __pyx_self = __pyx_self;
11434
12268
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dst);
11435
12269
      if (likely(values[1])) kw_args--;
11436
12270
      else {
11437
 
        __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12271
        __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11438
12272
      }
11439
12273
    }
11440
12274
    if (unlikely(kw_args > 0)) {
11441
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "find") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12275
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "find") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11442
12276
    }
11443
12277
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
11444
12278
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[1]);
11450
12284
  }
11451
12285
  goto __pyx_L4_argument_unpacking_done;
11452
12286
  __pyx_L5_argtuple_error:;
11453
 
  __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12287
  __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11454
12288
  __pyx_L3_error:;
11455
12289
  __Pyx_AddTraceback("h5py.h5t.find");
11456
12290
  return NULL;
11457
12291
  __pyx_L4_argument_unpacking_done:;
11458
12292
  __Pyx_INCREF((PyObject *)__pyx_v_src);
11459
12293
  __Pyx_INCREF((PyObject *)__pyx_v_dst);
11460
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11461
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12294
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12295
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11462
12296
 
11463
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1543
 
12297
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1541
11464
12298
 *     """
11465
12299
 *     cdef H5T_cdata_t *data
11466
12300
 *     cdef H5T_conv_t result = NULL             # <<<<<<<<<<<<<<
11469
12303
 */
11470
12304
  __pyx_v_result = NULL;
11471
12305
 
11472
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1545
 
12306
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1543
11473
12307
 *     cdef H5T_conv_t result = NULL
11474
12308
 * 
11475
12309
 *     try:             # <<<<<<<<<<<<<<
11484
12318
    __Pyx_XGOTREF(__pyx_save_exc_tb);
11485
12319
    /*try:*/ {
11486
12320
 
11487
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1546
 
12321
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1544
11488
12322
 * 
11489
12323
 *     try:
11490
12324
 *         result = H5Tfind(src.id, dst.id, &data)             # <<<<<<<<<<<<<<
11491
12325
 *         if result == NULL:
11492
12326
 *             return None
11493
12327
 */
11494
 
      __pyx_t_1 = H5Tfind(__pyx_v_src->__pyx_base.id, __pyx_v_dst->__pyx_base.id, (&__pyx_v_data)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1546; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
11495
 
      __pyx_v_result = __pyx_t_1;
 
12328
      __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_src), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12329
      __Pyx_GOTREF(__pyx_t_1);
 
12330
      __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12331
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
12332
      __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dst), __pyx_n_s__id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12333
      __Pyx_GOTREF(__pyx_t_1);
 
12334
      __pyx_t_3 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_3 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12335
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
12336
      __pyx_t_4 = H5Tfind(__pyx_t_2, __pyx_t_3, (&__pyx_v_data)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1544; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12337
      __pyx_v_result = __pyx_t_4;
11496
12338
 
11497
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1547
 
12339
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1545
11498
12340
 *     try:
11499
12341
 *         result = H5Tfind(src.id, dst.id, &data)
11500
12342
 *         if result == NULL:             # <<<<<<<<<<<<<<
11501
12343
 *             return None
11502
12344
 *         return (data[0].need_bkg,)
11503
12345
 */
11504
 
      __pyx_t_2 = (__pyx_v_result == NULL);
11505
 
      if (__pyx_t_2) {
 
12346
      __pyx_t_5 = (__pyx_v_result == NULL);
 
12347
      if (__pyx_t_5) {
11506
12348
 
11507
 
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1548
 
12349
        /* "/home/tachyon/h5py/h5py/h5t.pyx":1546
11508
12350
 *         result = H5Tfind(src.id, dst.id, &data)
11509
12351
 *         if result == NULL:
11510
12352
 *             return None             # <<<<<<<<<<<<<<
11519
12361
      }
11520
12362
      __pyx_L14:;
11521
12363
 
11522
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1549
 
12364
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1547
11523
12365
 *         if result == NULL:
11524
12366
 *             return None
11525
12367
 *         return (data[0].need_bkg,)             # <<<<<<<<<<<<<<
11527
12369
 *         return None
11528
12370
 */
11529
12371
      __Pyx_XDECREF(__pyx_r);
11530
 
      __pyx_t_3 = PyInt_FromLong((__pyx_v_data[0]).need_bkg); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1549; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
11531
 
      __Pyx_GOTREF(__pyx_t_3);
11532
 
      __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1549; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
11533
 
      __Pyx_GOTREF(__pyx_t_4);
11534
 
      PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
11535
 
      __Pyx_GIVEREF(__pyx_t_3);
11536
 
      __pyx_t_3 = 0;
11537
 
      __pyx_r = __pyx_t_4;
11538
 
      __pyx_t_4 = 0;
 
12372
      __pyx_t_1 = PyInt_FromLong((__pyx_v_data[0]).need_bkg); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12373
      __Pyx_GOTREF(__pyx_t_1);
 
12374
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
12375
      __Pyx_GOTREF(__pyx_t_6);
 
12376
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
 
12377
      __Pyx_GIVEREF(__pyx_t_1);
 
12378
      __pyx_t_1 = 0;
 
12379
      __pyx_r = __pyx_t_6;
 
12380
      __pyx_t_6 = 0;
11539
12381
      goto __pyx_L10_try_return;
11540
12382
    }
11541
12383
    __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
11549
12391
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
11550
12392
    goto __pyx_L0;
11551
12393
    __pyx_L6_error:;
11552
 
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
11553
 
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
12394
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
12395
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
11554
12396
 
11555
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1550
 
12397
    /* "/home/tachyon/h5py/h5py/h5t.pyx":1548
11556
12398
 *             return None
11557
12399
 *         return (data[0].need_bkg,)
11558
12400
 *     except:             # <<<<<<<<<<<<<<
11561
12403
 */
11562
12404
    /*except:*/ {
11563
12405
      __Pyx_AddTraceback("h5py.h5t.find");
11564
 
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1550; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
11565
 
      __Pyx_GOTREF(__pyx_t_4);
11566
 
      __Pyx_GOTREF(__pyx_t_3);
11567
 
      __Pyx_GOTREF(__pyx_t_5);
 
12406
      if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_1, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1548; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
12407
      __Pyx_GOTREF(__pyx_t_6);
 
12408
      __Pyx_GOTREF(__pyx_t_1);
 
12409
      __Pyx_GOTREF(__pyx_t_7);
11568
12410
 
11569
 
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1551
 
12411
      /* "/home/tachyon/h5py/h5py/h5t.pyx":1549
11570
12412
 *         return (data[0].need_bkg,)
11571
12413
 *     except:
11572
12414
 *         return None             # <<<<<<<<<<<<<<
11576
12418
      __Pyx_XDECREF(__pyx_r);
11577
12419
      __Pyx_INCREF(Py_None);
11578
12420
      __pyx_r = Py_None;
11579
 
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11580
 
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11581
 
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
12421
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
12422
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
12423
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
11582
12424
      goto __pyx_L9_except_return;
11583
 
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11584
 
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11585
 
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
12425
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
12426
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
12427
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
11586
12428
      goto __pyx_L7_exception_handled;
11587
12429
    }
11588
12430
    __pyx_L8_except_error:;
11608
12450
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11609
12451
  goto __pyx_L0;
11610
12452
  __pyx_L1_error:;
11611
 
  __Pyx_XDECREF(__pyx_t_3);
11612
 
  __Pyx_XDECREF(__pyx_t_4);
11613
 
  __Pyx_XDECREF(__pyx_t_5);
 
12453
  __Pyx_XDECREF(__pyx_t_1);
 
12454
  __Pyx_XDECREF(__pyx_t_6);
 
12455
  __Pyx_XDECREF(__pyx_t_7);
11614
12456
  __Pyx_AddTraceback("h5py.h5t.find");
11615
12457
  __pyx_r = NULL;
11616
12458
  __pyx_L0:;
11621
12463
  return __pyx_r;
11622
12464
}
11623
12465
 
11624
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1558
 
12466
/* "/home/tachyon/h5py/h5py/h5t.pyx":1556
11625
12467
 * import warnings
11626
12468
 * 
11627
12469
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
11637
12479
  PyObject *__pyx_t_3 = NULL;
11638
12480
  __Pyx_RefNannySetupContext("py_new_enum");
11639
12481
 
11640
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1564
 
12482
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1562
11641
12483
 *     """
11642
12484
 *     #warnings.warn("Deprecated; use special_dtype(enum=(dtype, values)) instead", DeprecationWarning)
11643
12485
 *     return special_dtype(enum = (dt_in, enum_vals))             # <<<<<<<<<<<<<<
11645
12487
 * cpdef dict py_get_enum(object dt):
11646
12488
 */
11647
12489
  __Pyx_XDECREF(((PyObject *)__pyx_r));
11648
 
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12490
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11649
12491
  __Pyx_GOTREF(__pyx_t_1);
11650
 
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12492
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11651
12493
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
11652
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12494
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11653
12495
  __Pyx_GOTREF(__pyx_t_3);
11654
12496
  __Pyx_INCREF(__pyx_v_dt_in);
11655
12497
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_dt_in);
11657
12499
  __Pyx_INCREF(((PyObject *)__pyx_v_enum_vals));
11658
12500
  PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_enum_vals));
11659
12501
  __Pyx_GIVEREF(((PyObject *)__pyx_v_enum_vals));
11660
 
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12502
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11661
12503
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11662
 
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12504
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11663
12505
  __Pyx_GOTREF(__pyx_t_3);
11664
12506
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11665
12507
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
11666
 
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12508
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11667
12509
  __pyx_r = ((PyArray_Descr *)__pyx_t_3);
11668
12510
  __pyx_t_3 = 0;
11669
12511
  goto __pyx_L0;
11682
12524
  return __pyx_r;
11683
12525
}
11684
12526
 
11685
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1558
 
12527
/* "/home/tachyon/h5py/h5py/h5t.pyx":1556
11686
12528
 * import warnings
11687
12529
 * 
11688
12530
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
11718
12560
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__enum_vals);
11719
12561
      if (likely(values[1])) kw_args--;
11720
12562
      else {
11721
 
        __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12563
        __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11722
12564
      }
11723
12565
    }
11724
12566
    if (unlikely(kw_args > 0)) {
11725
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_new_enum") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12567
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_new_enum") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11726
12568
    }
11727
12569
    __pyx_v_dt_in = values[0];
11728
12570
    __pyx_v_enum_vals = ((PyObject *)values[1]);
11734
12576
  }
11735
12577
  goto __pyx_L4_argument_unpacking_done;
11736
12578
  __pyx_L5_argtuple_error:;
11737
 
  __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
12579
  __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
11738
12580
  __pyx_L3_error:;
11739
12581
  __Pyx_AddTraceback("h5py.h5t.py_new_enum");
11740
12582
  return NULL;
11741
12583
  __pyx_L4_argument_unpacking_done:;
11742
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_enum_vals), &PyDict_Type, 1, "enum_vals", 1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12584
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_enum_vals), &PyDict_Type, 1, "enum_vals", 1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11743
12585
  __Pyx_XDECREF(__pyx_r);
11744
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_enum(__pyx_v_dt_in, __pyx_v_enum_vals, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12586
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_enum(__pyx_v_dt_in, __pyx_v_enum_vals, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11745
12587
  __Pyx_GOTREF(__pyx_t_1);
11746
12588
  __pyx_r = __pyx_t_1;
11747
12589
  __pyx_t_1 = 0;
11759
12601
  return __pyx_r;
11760
12602
}
11761
12603
 
11762
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1566
 
12604
/* "/home/tachyon/h5py/h5py/h5t.pyx":1564
11763
12605
 *     return special_dtype(enum = (dt_in, enum_vals))
11764
12606
 * 
11765
12607
 * cpdef dict py_get_enum(object dt):             # <<<<<<<<<<<<<<
11775
12617
  PyObject *__pyx_t_3 = NULL;
11776
12618
  __Pyx_RefNannySetupContext("py_get_enum");
11777
12619
 
11778
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1572
 
12620
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1570
11779
12621
 *     """
11780
12622
 *     #warnings.warn("Deprecated; use check_dtype(enum=dtype) instead", DeprecationWarning)
11781
12623
 *     return check_dtype(enum=dt)             # <<<<<<<<<<<<<<
11783
12625
 * cpdef dtype py_new_vlen(object kind):
11784
12626
 */
11785
12627
  __Pyx_XDECREF(((PyObject *)__pyx_r));
11786
 
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12628
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11787
12629
  __Pyx_GOTREF(__pyx_t_1);
11788
 
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12630
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11789
12631
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
11790
 
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_v_dt) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11791
 
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12632
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_v_dt) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12633
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11792
12634
  __Pyx_GOTREF(__pyx_t_3);
11793
12635
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11794
12636
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
11795
 
  if (!(likely(PyDict_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12637
  if (!(likely(PyDict_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11796
12638
  __pyx_r = ((PyObject *)__pyx_t_3);
11797
12639
  __pyx_t_3 = 0;
11798
12640
  goto __pyx_L0;
11811
12653
  return __pyx_r;
11812
12654
}
11813
12655
 
11814
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1566
 
12656
/* "/home/tachyon/h5py/h5py/h5t.pyx":1564
11815
12657
 *     return special_dtype(enum = (dt_in, enum_vals))
11816
12658
 * 
11817
12659
 * cpdef dict py_get_enum(object dt):             # <<<<<<<<<<<<<<
11827
12669
  __Pyx_RefNannySetupContext("py_get_enum");
11828
12670
  __pyx_self = __pyx_self;
11829
12671
  __Pyx_XDECREF(__pyx_r);
11830
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_get_enum(__pyx_v_dt, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12672
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_get_enum(__pyx_v_dt, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11831
12673
  __Pyx_GOTREF(__pyx_t_1);
11832
12674
  __pyx_r = __pyx_t_1;
11833
12675
  __pyx_t_1 = 0;
11845
12687
  return __pyx_r;
11846
12688
}
11847
12689
 
11848
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1574
 
12690
/* "/home/tachyon/h5py/h5py/h5t.pyx":1572
11849
12691
 *     return check_dtype(enum=dt)
11850
12692
 * 
11851
12693
 * cpdef dtype py_new_vlen(object kind):             # <<<<<<<<<<<<<<
11861
12703
  PyObject *__pyx_t_3 = NULL;
11862
12704
  __Pyx_RefNannySetupContext("py_new_vlen");
11863
12705
 
11864
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1580
 
12706
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1578
11865
12707
 *     """
11866
12708
 *     #warnings.warn("Deprecated; use special_dtype(vlen=basetype) instead", DeprecationWarning)
11867
12709
 *     return special_dtype(vlen=kind)             # <<<<<<<<<<<<<<
11869
12711
 * cpdef object py_get_vlen(object dt_in):
11870
12712
 */
11871
12713
  __Pyx_XDECREF(((PyObject *)__pyx_r));
11872
 
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12714
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11873
12715
  __Pyx_GOTREF(__pyx_t_1);
11874
 
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12716
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11875
12717
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
11876
 
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_kind) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11877
 
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12718
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_kind) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12719
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11878
12720
  __Pyx_GOTREF(__pyx_t_3);
11879
12721
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11880
12722
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
11881
 
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12723
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11882
12724
  __pyx_r = ((PyArray_Descr *)__pyx_t_3);
11883
12725
  __pyx_t_3 = 0;
11884
12726
  goto __pyx_L0;
11897
12739
  return __pyx_r;
11898
12740
}
11899
12741
 
11900
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1574
 
12742
/* "/home/tachyon/h5py/h5py/h5t.pyx":1572
11901
12743
 *     return check_dtype(enum=dt)
11902
12744
 * 
11903
12745
 * cpdef dtype py_new_vlen(object kind):             # <<<<<<<<<<<<<<
11913
12755
  __Pyx_RefNannySetupContext("py_new_vlen");
11914
12756
  __pyx_self = __pyx_self;
11915
12757
  __Pyx_XDECREF(__pyx_r);
11916
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_vlen(__pyx_v_kind, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12758
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_vlen(__pyx_v_kind, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11917
12759
  __Pyx_GOTREF(__pyx_t_1);
11918
12760
  __pyx_r = __pyx_t_1;
11919
12761
  __pyx_t_1 = 0;
11931
12773
  return __pyx_r;
11932
12774
}
11933
12775
 
11934
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1582
 
12776
/* "/home/tachyon/h5py/h5py/h5t.pyx":1580
11935
12777
 *     return special_dtype(vlen=kind)
11936
12778
 * 
11937
12779
 * cpdef object py_get_vlen(object dt_in):             # <<<<<<<<<<<<<<
11947
12789
  PyObject *__pyx_t_3 = NULL;
11948
12790
  __Pyx_RefNannySetupContext("py_get_vlen");
11949
12791
 
11950
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1588
 
12792
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1586
11951
12793
 *     """
11952
12794
 *     #warnings.warn("Deprecated; use check_dtype(vlen=dtype) instead", DeprecationWarning)
11953
12795
 *     return check_dtype(vlen=dt_in)             # <<<<<<<<<<<<<<
11955
12797
 * 
11956
12798
 */
11957
12799
  __Pyx_XDECREF(__pyx_r);
11958
 
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12800
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11959
12801
  __Pyx_GOTREF(__pyx_t_1);
11960
 
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12802
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11961
12803
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
11962
 
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_dt_in) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11963
 
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12804
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_dt_in) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12805
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11964
12806
  __Pyx_GOTREF(__pyx_t_3);
11965
12807
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11966
12808
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
11982
12824
  return __pyx_r;
11983
12825
}
11984
12826
 
11985
 
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1582
 
12827
/* "/home/tachyon/h5py/h5py/h5t.pyx":1580
11986
12828
 *     return special_dtype(vlen=kind)
11987
12829
 * 
11988
12830
 * cpdef object py_get_vlen(object dt_in):             # <<<<<<<<<<<<<<
11998
12840
  __Pyx_RefNannySetupContext("py_get_vlen");
11999
12841
  __pyx_self = __pyx_self;
12000
12842
  __Pyx_XDECREF(__pyx_r);
12001
 
  __pyx_t_1 = __pyx_f_4h5py_3h5t_py_get_vlen(__pyx_v_dt_in, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12843
  __pyx_t_1 = __pyx_f_4h5py_3h5t_py_get_vlen(__pyx_v_dt_in, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12002
12844
  __Pyx_GOTREF(__pyx_t_1);
12003
12845
  __pyx_r = __pyx_t_1;
12004
12846
  __pyx_t_1 = 0;
12062
12904
  {__Pyx_NAMESTR("get_super"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID_get_super, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_6TypeID_get_super)},
12063
12905
  {__Pyx_NAMESTR("detect_class"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID_detect_class, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_6TypeID_detect_class)},
12064
12906
  {__Pyx_NAMESTR("_close"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID__close, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_6TypeID__close)},
 
12907
  {__Pyx_NAMESTR("encode"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID_encode, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_6TypeID_encode)},
 
12908
  {__Pyx_NAMESTR("__reduce__"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID___reduce__, METH_NOARGS, __Pyx_DOCSTR(0)},
 
12909
  {__Pyx_NAMESTR("__setstate__"), (PyCFunction)__pyx_pf_4h5py_3h5t_6TypeID___setstate__, METH_O, __Pyx_DOCSTR(0)},
12065
12910
  {0, 0, 0, 0}
12066
12911
};
12067
12912
 
14397
15242
  {__Pyx_NAMESTR("array_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_array_create, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_array_create)},
14398
15243
  {__Pyx_NAMESTR("enum_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_enum_create, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_enum_create)},
14399
15244
  {__Pyx_NAMESTR("vlen_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_vlen_create, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_vlen_create)},
 
15245
  {__Pyx_NAMESTR("decode"), (PyCFunction)__pyx_pf_4h5py_3h5t_decode, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_decode)},
14400
15246
  {__Pyx_NAMESTR("py_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_create, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_create)},
14401
15247
  {__Pyx_NAMESTR("special_dtype"), (PyCFunction)__pyx_pf_4h5py_3h5t_special_dtype, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_special_dtype)},
14402
15248
  {__Pyx_NAMESTR("check_dtype"), (PyCFunction)__pyx_pf_4h5py_3h5t_check_dtype, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_check_dtype)},
14563
15409
  {&__pyx_n_s__dtype_in, __pyx_k__dtype_in, sizeof(__pyx_k__dtype_in), 0, 0, 1, 1},
14564
15410
  {&__pyx_n_s__dxpl, __pyx_k__dxpl, sizeof(__pyx_k__dxpl), 0, 0, 1, 1},
14565
15411
  {&__pyx_n_s__elsize, __pyx_k__elsize, sizeof(__pyx_k__elsize), 0, 0, 1, 1},
 
15412
  {&__pyx_n_s__encode, __pyx_k__encode, sizeof(__pyx_k__encode), 0, 0, 1, 1},
14566
15413
  {&__pyx_n_s__enum, __pyx_k__enum, sizeof(__pyx_k__enum), 0, 0, 1, 1},
14567
15414
  {&__pyx_n_s__enum_convert, __pyx_k__enum_convert, sizeof(__pyx_k__enum_convert), 0, 0, 1, 1},
14568
15415
  {&__pyx_n_s__enum_insert, __pyx_k__enum_insert, sizeof(__pyx_k__enum_insert), 0, 0, 1, 1},
14591
15438
  {&__pyx_n_s__itemsize, __pyx_k__itemsize, sizeof(__pyx_k__itemsize), 0, 0, 1, 1},
14592
15439
  {&__pyx_n_s__iu, __pyx_k__iu, sizeof(__pyx_k__iu), 0, 0, 1, 1},
14593
15440
  {&__pyx_n_s__kind, __pyx_k__kind, sizeof(__pyx_k__kind), 0, 0, 1, 1},
 
15441
  {&__pyx_n_s__lcpl, __pyx_k__lcpl, sizeof(__pyx_k__lcpl), 0, 0, 1, 1},
14594
15442
  {&__pyx_n_s__little, __pyx_k__little, sizeof(__pyx_k__little), 0, 0, 1, 1},
14595
15443
  {&__pyx_n_s__logical, __pyx_k__logical, sizeof(__pyx_k__logical), 0, 0, 1, 1},
14596
15444
  {&__pyx_n_s__lsb, __pyx_k__lsb, sizeof(__pyx_k__lsb), 0, 0, 1, 1},
14605
15453
  {&__pyx_n_s__popitem, __pyx_k__popitem, sizeof(__pyx_k__popitem), 0, 0, 1, 1},
14606
15454
  {&__pyx_n_s__py_create, __pyx_k__py_create, sizeof(__pyx_k__py_create), 0, 0, 1, 1},
14607
15455
  {&__pyx_n_s__py_dtype, __pyx_k__py_dtype, sizeof(__pyx_k__py_dtype), 0, 0, 1, 1},
 
15456
  {&__pyx_n_s__range, __pyx_k__range, sizeof(__pyx_k__range), 0, 0, 1, 1},
14608
15457
  {&__pyx_n_s__ref, __pyx_k__ref, sizeof(__pyx_k__ref), 0, 0, 1, 1},
14609
15458
  {&__pyx_n_s__size, __pyx_k__size, sizeof(__pyx_k__size), 0, 0, 1, 1},
14610
15459
  {&__pyx_n_s__sorted, __pyx_k__sorted, sizeof(__pyx_k__sorted), 0, 0, 1, 1},
14625
15474
  {0, 0, 0, 0, 0, 0, 0}
14626
15475
};
14627
15476
static int __Pyx_InitCachedBuiltins(void) {
14628
 
  __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_n_s__ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14629
 
  __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_n_s__TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14630
 
  __pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14631
 
  __pyx_builtin_zip = __Pyx_GetName(__pyx_b, __pyx_n_s__zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14632
 
  __pyx_builtin_xrange = __Pyx_GetName(__pyx_b, __pyx_n_s__xrange); if (!__pyx_builtin_xrange) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14633
 
  __pyx_builtin_KeyError = __Pyx_GetName(__pyx_b, __pyx_n_s__KeyError); if (!__pyx_builtin_KeyError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14634
 
  __pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_n_s__sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14635
 
  __pyx_builtin_NotImplementedError = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplementedError); if (!__pyx_builtin_NotImplementedError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15477
  __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_n_s__ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15478
  __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_n_s__TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15479
  __pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15480
  __pyx_builtin_zip = __Pyx_GetName(__pyx_b, __pyx_n_s__zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15481
  #if PY_MAJOR_VERSION >= 3
 
15482
  __pyx_builtin_xrange = __Pyx_GetName(__pyx_b, __pyx_n_s__range); if (!__pyx_builtin_xrange) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15483
  #else
 
15484
  __pyx_builtin_xrange = __Pyx_GetName(__pyx_b, __pyx_n_s__xrange); if (!__pyx_builtin_xrange) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15485
  #endif
 
15486
  __pyx_builtin_KeyError = __Pyx_GetName(__pyx_b, __pyx_n_s__KeyError); if (!__pyx_builtin_KeyError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15487
  __pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_n_s__sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15488
  __pyx_builtin_NotImplementedError = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplementedError); if (!__pyx_builtin_NotImplementedError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14636
15489
  return 0;
14637
15490
  __pyx_L1_error:;
14638
15491
  return -1;
14645
15498
  __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
14646
15499
  __pyx_int_4 = PyInt_FromLong(4); if (unlikely(!__pyx_int_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
14647
15500
  __pyx_int_8 = PyInt_FromLong(8); if (unlikely(!__pyx_int_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
15501
  __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
14648
15502
  return 0;
14649
15503
  __pyx_L1_error:;
14650
15504
  return -1;
14728
15582
  if (__Pyx_ExportFunction("typewrap", (void (*)(void))__pyx_f_4h5py_3h5t_typewrap, "struct __pyx_obj_4h5py_3h5t_TypeID *(hid_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14729
15583
  if (__Pyx_ExportFunction("py_create", (void (*)(void))__pyx_f_4h5py_3h5t_py_create, "struct __pyx_obj_4h5py_3h5t_TypeID *(PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5t_py_create *__pyx_optional_args)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14730
15584
  /*--- Type init code ---*/
14731
 
  __pyx_ptype_4h5py_2h5_ObjectID = __Pyx_ImportType("h5py.h5", "ObjectID", sizeof(struct __pyx_obj_4h5py_2h5_ObjectID)); if (unlikely(!__pyx_ptype_4h5py_2h5_ObjectID)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15585
  __pyx_ptype_4h5py_2h5_ObjectID = __Pyx_ImportType("h5py.h5", "ObjectID", sizeof(struct __pyx_obj_4h5py_2h5_ObjectID), 1); if (unlikely(!__pyx_ptype_4h5py_2h5_ObjectID)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14732
15586
  __pyx_vtabptr_4h5py_3h5t_TypeID = &__pyx_vtable_4h5py_3h5t_TypeID;
14733
15587
  #if PY_MAJOR_VERSION >= 3
14734
15588
  __pyx_vtable_4h5py_3h5t_TypeID.py_dtype = (PyObject *(*)(struct __pyx_obj_4h5py_3h5t_TypeID *))__pyx_f_4h5py_3h5t_6TypeID_py_dtype;
14736
15590
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeID.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_6TypeID_py_dtype;
14737
15591
  #endif
14738
15592
  __pyx_type_4h5py_3h5t_TypeID.tp_base = __pyx_ptype_4h5py_2h5_ObjectID;
14739
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14740
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14741
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15593
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15594
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15595
  if (__Pyx_SetAttrString(__pyx_m, "TypeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14742
15596
  if (__pyx_type_4h5py_3h5t_TypeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeID, __pyx_base.__weakref__);
14743
15597
  __pyx_ptype_4h5py_3h5t_TypeID = &__pyx_type_4h5py_3h5t_TypeID;
14744
15598
  __pyx_vtabptr_4h5py_3h5t_TypeArrayID = &__pyx_vtable_4h5py_3h5t_TypeArrayID;
14749
15603
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeArrayID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_11TypeArrayID_py_dtype;
14750
15604
  #endif
14751
15605
  __pyx_type_4h5py_3h5t_TypeArrayID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14752
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14753
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeArrayID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14754
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeArrayID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15606
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15607
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeArrayID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15608
  if (__Pyx_SetAttrString(__pyx_m, "TypeArrayID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14755
15609
  if (__pyx_type_4h5py_3h5t_TypeArrayID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeArrayID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeArrayID, __pyx_base.__pyx_base.__weakref__);
14756
15610
  __pyx_ptype_4h5py_3h5t_TypeArrayID = &__pyx_type_4h5py_3h5t_TypeArrayID;
14757
15611
  __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID = &__pyx_vtable_4h5py_3h5t_TypeOpaqueID;
14762
15616
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeOpaqueID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_12TypeOpaqueID_py_dtype;
14763
15617
  #endif
14764
15618
  __pyx_type_4h5py_3h5t_TypeOpaqueID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14765
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14766
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14767
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeOpaqueID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15619
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15620
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15621
  if (__Pyx_SetAttrString(__pyx_m, "TypeOpaqueID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14768
15622
  if (__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeOpaqueID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeOpaqueID, __pyx_base.__pyx_base.__weakref__);
14769
15623
  __pyx_ptype_4h5py_3h5t_TypeOpaqueID = &__pyx_type_4h5py_3h5t_TypeOpaqueID;
14770
15624
  __pyx_vtabptr_4h5py_3h5t_TypeStringID = &__pyx_vtable_4h5py_3h5t_TypeStringID;
14775
15629
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeStringID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_12TypeStringID_py_dtype;
14776
15630
  #endif
14777
15631
  __pyx_type_4h5py_3h5t_TypeStringID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14778
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14779
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeStringID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14780
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeStringID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15632
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15633
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeStringID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15634
  if (__Pyx_SetAttrString(__pyx_m, "TypeStringID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14781
15635
  if (__pyx_type_4h5py_3h5t_TypeStringID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeStringID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeStringID, __pyx_base.__pyx_base.__weakref__);
14782
15636
  __pyx_ptype_4h5py_3h5t_TypeStringID = &__pyx_type_4h5py_3h5t_TypeStringID;
14783
15637
  __pyx_vtabptr_4h5py_3h5t_TypeVlenID = &__pyx_vtable_4h5py_3h5t_TypeVlenID;
14784
15638
  __pyx_vtable_4h5py_3h5t_TypeVlenID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
14785
15639
  __pyx_type_4h5py_3h5t_TypeVlenID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14786
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14787
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeVlenID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14788
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeVlenID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15640
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 626; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15641
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeVlenID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 626; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15642
  if (__Pyx_SetAttrString(__pyx_m, "TypeVlenID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 626; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14789
15643
  if (__pyx_type_4h5py_3h5t_TypeVlenID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeVlenID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeVlenID, __pyx_base.__pyx_base.__weakref__);
14790
15644
  __pyx_ptype_4h5py_3h5t_TypeVlenID = &__pyx_type_4h5py_3h5t_TypeVlenID;
14791
15645
  __pyx_vtabptr_4h5py_3h5t_TypeTimeID = &__pyx_vtable_4h5py_3h5t_TypeTimeID;
14792
15646
  __pyx_vtable_4h5py_3h5t_TypeTimeID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
14793
15647
  __pyx_type_4h5py_3h5t_TypeTimeID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14794
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14795
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeTimeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14796
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeTimeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15648
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15649
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeTimeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15650
  if (__Pyx_SetAttrString(__pyx_m, "TypeTimeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14797
15651
  if (__pyx_type_4h5py_3h5t_TypeTimeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeTimeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeTimeID, __pyx_base.__pyx_base.__weakref__);
14798
15652
  __pyx_ptype_4h5py_3h5t_TypeTimeID = &__pyx_type_4h5py_3h5t_TypeTimeID;
14799
15653
  __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID = &__pyx_vtable_4h5py_3h5t_TypeBitfieldID;
14800
15654
  __pyx_vtable_4h5py_3h5t_TypeBitfieldID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
14801
15655
  __pyx_type_4h5py_3h5t_TypeBitfieldID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14802
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14803
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14804
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeBitfieldID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15656
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 640; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15657
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 640; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15658
  if (__Pyx_SetAttrString(__pyx_m, "TypeBitfieldID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 640; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14805
15659
  if (__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeBitfieldID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeBitfieldID, __pyx_base.__pyx_base.__weakref__);
14806
15660
  __pyx_ptype_4h5py_3h5t_TypeBitfieldID = &__pyx_type_4h5py_3h5t_TypeBitfieldID;
14807
15661
  __pyx_vtabptr_4h5py_3h5t_TypeReferenceID = &__pyx_vtable_4h5py_3h5t_TypeReferenceID;
14812
15666
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeReferenceID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_15TypeReferenceID_py_dtype;
14813
15667
  #endif
14814
15668
  __pyx_type_4h5py_3h5t_TypeReferenceID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14815
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14816
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeReferenceID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14817
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeReferenceID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15669
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15670
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeReferenceID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15671
  if (__Pyx_SetAttrString(__pyx_m, "TypeReferenceID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14818
15672
  if (__pyx_type_4h5py_3h5t_TypeReferenceID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeReferenceID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeReferenceID, __pyx_base.__pyx_base.__weakref__);
14819
15673
  __pyx_ptype_4h5py_3h5t_TypeReferenceID = &__pyx_type_4h5py_3h5t_TypeReferenceID;
14820
15674
  __pyx_vtabptr_4h5py_3h5t_TypeAtomicID = &__pyx_vtable_4h5py_3h5t_TypeAtomicID;
14821
15675
  __pyx_vtable_4h5py_3h5t_TypeAtomicID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
14822
15676
  __pyx_type_4h5py_3h5t_TypeAtomicID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14823
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14824
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeAtomicID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14825
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeAtomicID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15677
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15678
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeAtomicID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15679
  if (__Pyx_SetAttrString(__pyx_m, "TypeAtomicID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14826
15680
  if (__pyx_type_4h5py_3h5t_TypeAtomicID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeAtomicID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeAtomicID, __pyx_base.__pyx_base.__weakref__);
14827
15681
  __pyx_ptype_4h5py_3h5t_TypeAtomicID = &__pyx_type_4h5py_3h5t_TypeAtomicID;
14828
15682
  __pyx_vtabptr_4h5py_3h5t_TypeIntegerID = &__pyx_vtable_4h5py_3h5t_TypeIntegerID;
14833
15687
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeIntegerID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_13TypeIntegerID_py_dtype;
14834
15688
  #endif
14835
15689
  __pyx_type_4h5py_3h5t_TypeIntegerID.tp_base = __pyx_ptype_4h5py_3h5t_TypeAtomicID;
14836
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14837
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeIntegerID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14838
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeIntegerID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15690
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15691
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeIntegerID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15692
  if (__Pyx_SetAttrString(__pyx_m, "TypeIntegerID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14839
15693
  if (__pyx_type_4h5py_3h5t_TypeIntegerID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeIntegerID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeIntegerID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
14840
15694
  __pyx_ptype_4h5py_3h5t_TypeIntegerID = &__pyx_type_4h5py_3h5t_TypeIntegerID;
14841
15695
  __pyx_vtabptr_4h5py_3h5t_TypeFloatID = &__pyx_vtable_4h5py_3h5t_TypeFloatID;
14846
15700
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeFloatID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_11TypeFloatID_py_dtype;
14847
15701
  #endif
14848
15702
  __pyx_type_4h5py_3h5t_TypeFloatID.tp_base = __pyx_ptype_4h5py_3h5t_TypeAtomicID;
14849
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14850
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeFloatID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14851
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeFloatID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15703
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 792; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15704
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeFloatID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 792; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15705
  if (__Pyx_SetAttrString(__pyx_m, "TypeFloatID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 792; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14852
15706
  if (__pyx_type_4h5py_3h5t_TypeFloatID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeFloatID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeFloatID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
14853
15707
  __pyx_ptype_4h5py_3h5t_TypeFloatID = &__pyx_type_4h5py_3h5t_TypeFloatID;
14854
15708
  __pyx_vtabptr_4h5py_3h5t_TypeCompositeID = &__pyx_vtable_4h5py_3h5t_TypeCompositeID;
14855
15709
  __pyx_vtable_4h5py_3h5t_TypeCompositeID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
14856
15710
  __pyx_type_4h5py_3h5t_TypeCompositeID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
14857
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14858
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompositeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14859
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompositeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15711
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15712
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompositeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15713
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompositeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14860
15714
  if (__pyx_type_4h5py_3h5t_TypeCompositeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeCompositeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeCompositeID, __pyx_base.__pyx_base.__weakref__);
14861
15715
  __pyx_ptype_4h5py_3h5t_TypeCompositeID = &__pyx_type_4h5py_3h5t_TypeCompositeID;
14862
15716
  __pyx_vtabptr_4h5py_3h5t_TypeEnumID = &__pyx_vtable_4h5py_3h5t_TypeEnumID;
14869
15723
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeEnumID.enum_convert = (void(*)(void))__pyx_f_4h5py_3h5t_10TypeEnumID_enum_convert;
14870
15724
  #endif
14871
15725
  __pyx_type_4h5py_3h5t_TypeEnumID.tp_base = __pyx_ptype_4h5py_3h5t_TypeCompositeID;
14872
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14873
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeEnumID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14874
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeEnumID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15726
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15727
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeEnumID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15728
  if (__Pyx_SetAttrString(__pyx_m, "TypeEnumID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14875
15729
  if (__pyx_type_4h5py_3h5t_TypeEnumID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeEnumID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeEnumID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
14876
15730
  __pyx_ptype_4h5py_3h5t_TypeEnumID = &__pyx_type_4h5py_3h5t_TypeEnumID;
14877
15731
  __pyx_vtabptr_4h5py_3h5t_TypeCompoundID = &__pyx_vtable_4h5py_3h5t_TypeCompoundID;
14882
15736
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeCompoundID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_14TypeCompoundID_py_dtype;
14883
15737
  #endif
14884
15738
  __pyx_type_4h5py_3h5t_TypeCompoundID.tp_base = __pyx_ptype_4h5py_3h5t_TypeCompositeID;
14885
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14886
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompoundID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14887
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompoundID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15739
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 943; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15740
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompoundID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 943; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15741
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompoundID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 943; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14888
15742
  if (__pyx_type_4h5py_3h5t_TypeCompoundID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeCompoundID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeCompoundID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
14889
15743
  __pyx_ptype_4h5py_3h5t_TypeCompoundID = &__pyx_type_4h5py_3h5t_TypeCompoundID;
14890
15744
  /*--- Type import code ---*/
14891
 
  __pyx_ptype_4h5py_2h5_H5PYConfig = __Pyx_ImportType("h5py.h5", "H5PYConfig", sizeof(struct __pyx_obj_4h5py_2h5_H5PYConfig)); if (unlikely(!__pyx_ptype_4h5py_2h5_H5PYConfig)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14892
 
  __pyx_ptype_4h5py_2h5_SmartStruct = __Pyx_ImportType("h5py.h5", "SmartStruct", sizeof(struct __pyx_obj_4h5py_2h5_SmartStruct)); if (unlikely(!__pyx_ptype_4h5py_2h5_SmartStruct)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14893
 
  __pyx_ptype_4h5py_3h5p_PropID = __Pyx_ImportType("h5py.h5p", "PropID", sizeof(struct __pyx_obj_4h5py_3h5p_PropID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14894
 
  __pyx_ptype_4h5py_3h5p_PropClassID = __Pyx_ImportType("h5py.h5p", "PropClassID", sizeof(struct __pyx_obj_4h5py_3h5p_PropClassID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropClassID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14895
 
  __pyx_ptype_4h5py_3h5p_PropInstanceID = __Pyx_ImportType("h5py.h5p", "PropInstanceID", sizeof(struct __pyx_obj_4h5py_3h5p_PropInstanceID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropInstanceID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14896
 
  __pyx_ptype_4h5py_3h5p_PropCreateID = __Pyx_ImportType("h5py.h5p", "PropCreateID", sizeof(struct __pyx_obj_4h5py_3h5p_PropCreateID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropCreateID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14897
 
  __pyx_ptype_4h5py_3h5p_PropCopyID = __Pyx_ImportType("h5py.h5p", "PropCopyID", sizeof(struct __pyx_obj_4h5py_3h5p_PropCopyID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropCopyID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14898
 
  __pyx_ptype_4h5py_3h5p_PropDCID = __Pyx_ImportType("h5py.h5p", "PropDCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropDCID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropDCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14899
 
  __pyx_ptype_4h5py_3h5p_PropFCID = __Pyx_ImportType("h5py.h5p", "PropFCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropFCID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropFCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14900
 
  __pyx_ptype_4h5py_3h5p_PropFAID = __Pyx_ImportType("h5py.h5p", "PropFAID", sizeof(struct __pyx_obj_4h5py_3h5p_PropFAID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropFAID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14901
 
  __pyx_ptype_4h5py_3h5p_PropDXID = __Pyx_ImportType("h5py.h5p", "PropDXID", sizeof(struct __pyx_obj_4h5py_3h5p_PropDXID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropDXID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14902
 
  __pyx_ptype_4h5py_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr)); if (unlikely(!__pyx_ptype_4h5py_5numpy_dtype)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14903
 
  __pyx_ptype_4h5py_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject)); if (unlikely(!__pyx_ptype_4h5py_5numpy_ndarray)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14904
 
  __pyx_ptype_4h5py_3h5r_Reference = __Pyx_ImportType("h5py.h5r", "Reference", sizeof(struct __pyx_obj_4h5py_3h5r_Reference)); if (unlikely(!__pyx_ptype_4h5py_3h5r_Reference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14905
 
  __pyx_ptype_4h5py_3h5r_RegionReference = __Pyx_ImportType("h5py.h5r", "RegionReference", sizeof(struct __pyx_obj_4h5py_3h5r_RegionReference)); if (unlikely(!__pyx_ptype_4h5py_3h5r_RegionReference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15745
  __pyx_ptype_4h5py_2h5_H5PYConfig = __Pyx_ImportType("h5py.h5", "H5PYConfig", sizeof(struct __pyx_obj_4h5py_2h5_H5PYConfig), 1); if (unlikely(!__pyx_ptype_4h5py_2h5_H5PYConfig)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15746
  __pyx_ptype_4h5py_2h5_IDProxy = __Pyx_ImportType("h5py.h5", "IDProxy", sizeof(struct __pyx_obj_4h5py_2h5_IDProxy), 1); if (unlikely(!__pyx_ptype_4h5py_2h5_IDProxy)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15747
  __pyx_ptype_4h5py_2h5_SmartStruct = __Pyx_ImportType("h5py.h5", "SmartStruct", sizeof(struct __pyx_obj_4h5py_2h5_SmartStruct), 1); if (unlikely(!__pyx_ptype_4h5py_2h5_SmartStruct)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15748
  __pyx_ptype_4h5py_3h5p_PropID = __Pyx_ImportType("h5py.h5p", "PropID", sizeof(struct __pyx_obj_4h5py_3h5p_PropID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15749
  __pyx_ptype_4h5py_3h5p_PropClassID = __Pyx_ImportType("h5py.h5p", "PropClassID", sizeof(struct __pyx_obj_4h5py_3h5p_PropClassID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropClassID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15750
  __pyx_ptype_4h5py_3h5p_PropInstanceID = __Pyx_ImportType("h5py.h5p", "PropInstanceID", sizeof(struct __pyx_obj_4h5py_3h5p_PropInstanceID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropInstanceID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15751
  __pyx_ptype_4h5py_3h5p_PropCreateID = __Pyx_ImportType("h5py.h5p", "PropCreateID", sizeof(struct __pyx_obj_4h5py_3h5p_PropCreateID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropCreateID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15752
  __pyx_ptype_4h5py_3h5p_PropCopyID = __Pyx_ImportType("h5py.h5p", "PropCopyID", sizeof(struct __pyx_obj_4h5py_3h5p_PropCopyID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropCopyID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15753
  __pyx_ptype_4h5py_3h5p_PropDCID = __Pyx_ImportType("h5py.h5p", "PropDCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropDCID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropDCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15754
  __pyx_ptype_4h5py_3h5p_PropFCID = __Pyx_ImportType("h5py.h5p", "PropFCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropFCID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropFCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15755
  __pyx_ptype_4h5py_3h5p_PropFAID = __Pyx_ImportType("h5py.h5p", "PropFAID", sizeof(struct __pyx_obj_4h5py_3h5p_PropFAID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropFAID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15756
  __pyx_ptype_4h5py_3h5p_PropDXID = __Pyx_ImportType("h5py.h5p", "PropDXID", sizeof(struct __pyx_obj_4h5py_3h5p_PropDXID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropDXID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15757
  __pyx_ptype_4h5py_3h5p_PropLCID = __Pyx_ImportType("h5py.h5p", "PropLCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropLCID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropLCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15758
  __pyx_ptype_4h5py_3h5p_PropLAID = __Pyx_ImportType("h5py.h5p", "PropLAID", sizeof(struct __pyx_obj_4h5py_3h5p_PropLAID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropLAID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15759
  __pyx_ptype_4h5py_3h5p_PropGCID = __Pyx_ImportType("h5py.h5p", "PropGCID", sizeof(struct __pyx_obj_4h5py_3h5p_PropGCID), 1); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropGCID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15760
  __pyx_ptype_4h5py_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr), 0); if (unlikely(!__pyx_ptype_4h5py_5numpy_dtype)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15761
  __pyx_ptype_4h5py_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_4h5py_5numpy_ndarray)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15762
  __pyx_ptype_4h5py_3h5r_Reference = __Pyx_ImportType("h5py.h5r", "Reference", sizeof(struct __pyx_obj_4h5py_3h5r_Reference), 1); if (unlikely(!__pyx_ptype_4h5py_3h5r_Reference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15763
  __pyx_ptype_4h5py_3h5r_RegionReference = __Pyx_ImportType("h5py.h5r", "RegionReference", sizeof(struct __pyx_obj_4h5py_3h5r_RegionReference), 1); if (unlikely(!__pyx_ptype_4h5py_3h5r_RegionReference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14906
15764
  /*--- Function import code ---*/
14907
15765
  __pyx_t_1 = __Pyx_ImportModule("h5py.h5"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14908
15766
  if (__Pyx_ImportFunction(__pyx_t_1, "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;}
14925
15783
  Py_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14926
15784
  /*--- Execution code ---*/
14927
15785
 
14928
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":32
 
15786
  /* "/home/tachyon/h5py/h5py/h5t.pyx":31
14929
15787
 * from utils cimport  emalloc, efree, \
14930
15788
 *                     require_tuple, convert_dims, convert_tuple
14931
15789
 * import _conv             # <<<<<<<<<<<<<<
14932
15790
 * 
14933
15791
 * # Initialization
14934
15792
 */
14935
 
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s___conv), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15793
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s___conv), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14936
15794
  __Pyx_GOTREF(__pyx_t_4);
14937
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s___conv, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15795
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s___conv, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14938
15796
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14939
15797
 
14940
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":35
 
15798
  /* "/home/tachyon/h5py/h5py/h5t.pyx":34
14941
15799
 * 
14942
15800
 * # Initialization
14943
15801
 * init_hdf5()             # <<<<<<<<<<<<<<
14944
15802
 * 
14945
15803
 * # Runtime imports
14946
15804
 */
14947
 
  __pyx_t_5 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15805
  __pyx_t_5 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14948
15806
 
14949
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":38
 
15807
  /* "/home/tachyon/h5py/h5py/h5t.pyx":37
14950
15808
 * 
14951
15809
 * # Runtime imports
14952
15810
 * import sys             # <<<<<<<<<<<<<<
14953
15811
 * import h5
14954
15812
 * 
14955
15813
 */
14956
 
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__sys), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15814
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__sys), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14957
15815
  __Pyx_GOTREF(__pyx_t_4);
14958
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__sys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15816
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__sys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14959
15817
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14960
15818
 
14961
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":39
 
15819
  /* "/home/tachyon/h5py/h5py/h5t.pyx":38
14962
15820
 * # Runtime imports
14963
15821
 * import sys
14964
15822
 * import h5             # <<<<<<<<<<<<<<
14965
15823
 * 
14966
15824
 * cdef H5PYConfig cfg = get_config()
14967
15825
 */
14968
 
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__h5), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15826
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__h5), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14969
15827
  __Pyx_GOTREF(__pyx_t_4);
14970
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__h5, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15828
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__h5, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14971
15829
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14972
15830
 
14973
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":41
 
15831
  /* "/home/tachyon/h5py/h5py/h5t.pyx":40
14974
15832
 * import h5
14975
15833
 * 
14976
15834
 * cdef H5PYConfig cfg = get_config()             # <<<<<<<<<<<<<<
14977
15835
 * 
14978
15836
 * # === Custom C API ============================================================
14979
15837
 */
14980
 
  __pyx_t_4 = ((PyObject *)__pyx_f_4h5py_2h5_get_config(0)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15838
  __pyx_t_4 = ((PyObject *)__pyx_f_4h5py_2h5_get_config(0)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14981
15839
  __Pyx_GOTREF(__pyx_t_4);
14982
15840
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t_cfg));
14983
15841
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t_cfg));
14985
15843
  __pyx_v_4h5py_3h5t_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_t_4);
14986
15844
  __pyx_t_4 = 0;
14987
15845
 
14988
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":87
 
15846
  /* "/home/tachyon/h5py/h5py/h5t.pyx":86
14989
15847
 * 
14990
15848
 * # Enumeration H5T_class_t
14991
15849
 * NO_CLASS  = H5T_NO_CLASS             # <<<<<<<<<<<<<<
14992
15850
 * INTEGER   = H5T_INTEGER
14993
15851
 * FLOAT     = H5T_FLOAT
14994
15852
 */
14995
 
  __pyx_t_4 = PyInt_FromLong(H5T_NO_CLASS); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15853
  __pyx_t_4 = PyInt_FromLong(H5T_NO_CLASS); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14996
15854
  __Pyx_GOTREF(__pyx_t_4);
14997
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NO_CLASS, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15855
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NO_CLASS, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14998
15856
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14999
15857
 
15000
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":88
 
15858
  /* "/home/tachyon/h5py/h5py/h5t.pyx":87
15001
15859
 * # Enumeration H5T_class_t
15002
15860
 * NO_CLASS  = H5T_NO_CLASS
15003
15861
 * INTEGER   = H5T_INTEGER             # <<<<<<<<<<<<<<
15004
15862
 * FLOAT     = H5T_FLOAT
15005
15863
 * TIME      = H5T_TIME
15006
15864
 */
15007
 
  __pyx_t_4 = PyInt_FromLong(H5T_INTEGER); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15865
  __pyx_t_4 = PyInt_FromLong(H5T_INTEGER); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15008
15866
  __Pyx_GOTREF(__pyx_t_4);
15009
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__INTEGER, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15867
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__INTEGER, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15010
15868
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15011
15869
 
15012
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":89
 
15870
  /* "/home/tachyon/h5py/h5py/h5t.pyx":88
15013
15871
 * NO_CLASS  = H5T_NO_CLASS
15014
15872
 * INTEGER   = H5T_INTEGER
15015
15873
 * FLOAT     = H5T_FLOAT             # <<<<<<<<<<<<<<
15016
15874
 * TIME      = H5T_TIME
15017
15875
 * STRING    = H5T_STRING
15018
15876
 */
15019
 
  __pyx_t_4 = PyInt_FromLong(H5T_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15877
  __pyx_t_4 = PyInt_FromLong(H5T_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15020
15878
  __Pyx_GOTREF(__pyx_t_4);
15021
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15879
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15022
15880
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15023
15881
 
15024
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":90
 
15882
  /* "/home/tachyon/h5py/h5py/h5t.pyx":89
15025
15883
 * INTEGER   = H5T_INTEGER
15026
15884
 * FLOAT     = H5T_FLOAT
15027
15885
 * TIME      = H5T_TIME             # <<<<<<<<<<<<<<
15028
15886
 * STRING    = H5T_STRING
15029
15887
 * BITFIELD  = H5T_BITFIELD
15030
15888
 */
15031
 
  __pyx_t_4 = PyInt_FromLong(H5T_TIME); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15889
  __pyx_t_4 = PyInt_FromLong(H5T_TIME); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15032
15890
  __Pyx_GOTREF(__pyx_t_4);
15033
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__TIME, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15891
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__TIME, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15034
15892
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15035
15893
 
15036
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":91
 
15894
  /* "/home/tachyon/h5py/h5py/h5t.pyx":90
15037
15895
 * FLOAT     = H5T_FLOAT
15038
15896
 * TIME      = H5T_TIME
15039
15897
 * STRING    = H5T_STRING             # <<<<<<<<<<<<<<
15040
15898
 * BITFIELD  = H5T_BITFIELD
15041
15899
 * OPAQUE    = H5T_OPAQUE
15042
15900
 */
15043
 
  __pyx_t_4 = PyInt_FromLong(H5T_STRING); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15901
  __pyx_t_4 = PyInt_FromLong(H5T_STRING); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15044
15902
  __Pyx_GOTREF(__pyx_t_4);
15045
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STRING, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15903
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STRING, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15046
15904
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15047
15905
 
15048
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":92
 
15906
  /* "/home/tachyon/h5py/h5py/h5t.pyx":91
15049
15907
 * TIME      = H5T_TIME
15050
15908
 * STRING    = H5T_STRING
15051
15909
 * BITFIELD  = H5T_BITFIELD             # <<<<<<<<<<<<<<
15052
15910
 * OPAQUE    = H5T_OPAQUE
15053
15911
 * COMPOUND  = H5T_COMPOUND
15054
15912
 */
15055
 
  __pyx_t_4 = PyInt_FromLong(H5T_BITFIELD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15913
  __pyx_t_4 = PyInt_FromLong(H5T_BITFIELD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15056
15914
  __Pyx_GOTREF(__pyx_t_4);
15057
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BITFIELD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15915
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BITFIELD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15058
15916
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15059
15917
 
15060
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":93
 
15918
  /* "/home/tachyon/h5py/h5py/h5t.pyx":92
15061
15919
 * STRING    = H5T_STRING
15062
15920
 * BITFIELD  = H5T_BITFIELD
15063
15921
 * OPAQUE    = H5T_OPAQUE             # <<<<<<<<<<<<<<
15064
15922
 * COMPOUND  = H5T_COMPOUND
15065
15923
 * REFERENCE = H5T_REFERENCE
15066
15924
 */
15067
 
  __pyx_t_4 = PyInt_FromLong(H5T_OPAQUE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15925
  __pyx_t_4 = PyInt_FromLong(H5T_OPAQUE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15068
15926
  __Pyx_GOTREF(__pyx_t_4);
15069
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__OPAQUE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15927
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__OPAQUE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15070
15928
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15071
15929
 
15072
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":94
 
15930
  /* "/home/tachyon/h5py/h5py/h5t.pyx":93
15073
15931
 * BITFIELD  = H5T_BITFIELD
15074
15932
 * OPAQUE    = H5T_OPAQUE
15075
15933
 * COMPOUND  = H5T_COMPOUND             # <<<<<<<<<<<<<<
15076
15934
 * REFERENCE = H5T_REFERENCE
15077
15935
 * ENUM      = H5T_ENUM
15078
15936
 */
15079
 
  __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15937
  __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15080
15938
  __Pyx_GOTREF(__pyx_t_4);
15081
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__COMPOUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15939
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__COMPOUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15082
15940
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15083
15941
 
15084
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":95
 
15942
  /* "/home/tachyon/h5py/h5py/h5t.pyx":94
15085
15943
 * OPAQUE    = H5T_OPAQUE
15086
15944
 * COMPOUND  = H5T_COMPOUND
15087
15945
 * REFERENCE = H5T_REFERENCE             # <<<<<<<<<<<<<<
15088
15946
 * ENUM      = H5T_ENUM
15089
15947
 * VLEN      = H5T_VLEN
15090
15948
 */
15091
 
  __pyx_t_4 = PyInt_FromLong(H5T_REFERENCE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15949
  __pyx_t_4 = PyInt_FromLong(H5T_REFERENCE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15092
15950
  __Pyx_GOTREF(__pyx_t_4);
15093
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__REFERENCE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15951
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__REFERENCE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15094
15952
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15095
15953
 
15096
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":96
 
15954
  /* "/home/tachyon/h5py/h5py/h5t.pyx":95
15097
15955
 * COMPOUND  = H5T_COMPOUND
15098
15956
 * REFERENCE = H5T_REFERENCE
15099
15957
 * ENUM      = H5T_ENUM             # <<<<<<<<<<<<<<
15100
15958
 * VLEN      = H5T_VLEN
15101
15959
 * ARRAY     = H5T_ARRAY
15102
15960
 */
15103
 
  __pyx_t_4 = PyInt_FromLong(H5T_ENUM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15961
  __pyx_t_4 = PyInt_FromLong(H5T_ENUM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15104
15962
  __Pyx_GOTREF(__pyx_t_4);
15105
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ENUM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15963
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ENUM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15106
15964
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15107
15965
 
15108
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":97
 
15966
  /* "/home/tachyon/h5py/h5py/h5t.pyx":96
15109
15967
 * REFERENCE = H5T_REFERENCE
15110
15968
 * ENUM      = H5T_ENUM
15111
15969
 * VLEN      = H5T_VLEN             # <<<<<<<<<<<<<<
15112
15970
 * ARRAY     = H5T_ARRAY
15113
15971
 * 
15114
15972
 */
15115
 
  __pyx_t_4 = PyInt_FromLong(H5T_VLEN); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15973
  __pyx_t_4 = PyInt_FromLong(H5T_VLEN); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15116
15974
  __Pyx_GOTREF(__pyx_t_4);
15117
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VLEN, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15975
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VLEN, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15118
15976
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15119
15977
 
15120
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":98
 
15978
  /* "/home/tachyon/h5py/h5py/h5t.pyx":97
15121
15979
 * ENUM      = H5T_ENUM
15122
15980
 * VLEN      = H5T_VLEN
15123
15981
 * ARRAY     = H5T_ARRAY             # <<<<<<<<<<<<<<
15124
15982
 * 
15125
15983
 * # Enumeration H5T_sign_t
15126
15984
 */
15127
 
  __pyx_t_4 = PyInt_FromLong(H5T_ARRAY); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15985
  __pyx_t_4 = PyInt_FromLong(H5T_ARRAY); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15128
15986
  __Pyx_GOTREF(__pyx_t_4);
15129
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ARRAY, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15987
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ARRAY, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15130
15988
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15131
15989
 
15132
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":101
 
15990
  /* "/home/tachyon/h5py/h5py/h5t.pyx":100
15133
15991
 * 
15134
15992
 * # Enumeration H5T_sign_t
15135
15993
 * SGN_NONE   = H5T_SGN_NONE             # <<<<<<<<<<<<<<
15136
15994
 * SGN_2      = H5T_SGN_2
15137
15995
 * 
15138
15996
 */
15139
 
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15997
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15140
15998
  __Pyx_GOTREF(__pyx_t_4);
15141
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15999
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15142
16000
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15143
16001
 
15144
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":102
 
16002
  /* "/home/tachyon/h5py/h5py/h5t.pyx":101
15145
16003
 * # Enumeration H5T_sign_t
15146
16004
 * SGN_NONE   = H5T_SGN_NONE
15147
16005
 * SGN_2      = H5T_SGN_2             # <<<<<<<<<<<<<<
15148
16006
 * 
15149
16007
 * # Enumeration H5T_order_t
15150
16008
 */
15151
 
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16009
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15152
16010
  __Pyx_GOTREF(__pyx_t_4);
15153
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_2, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16011
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_2, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15154
16012
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15155
16013
 
15156
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":105
 
16014
  /* "/home/tachyon/h5py/h5py/h5t.pyx":104
15157
16015
 * 
15158
16016
 * # Enumeration H5T_order_t
15159
16017
 * ORDER_LE    = H5T_ORDER_LE             # <<<<<<<<<<<<<<
15160
16018
 * ORDER_BE    = H5T_ORDER_BE
15161
16019
 * ORDER_VAX   = H5T_ORDER_VAX
15162
16020
 */
15163
 
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16021
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15164
16022
  __Pyx_GOTREF(__pyx_t_4);
15165
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16023
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15166
16024
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15167
16025
 
15168
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":106
 
16026
  /* "/home/tachyon/h5py/h5py/h5t.pyx":105
15169
16027
 * # Enumeration H5T_order_t
15170
16028
 * ORDER_LE    = H5T_ORDER_LE
15171
16029
 * ORDER_BE    = H5T_ORDER_BE             # <<<<<<<<<<<<<<
15172
16030
 * ORDER_VAX   = H5T_ORDER_VAX
15173
16031
 * ORDER_NONE  = H5T_ORDER_NONE
15174
16032
 */
15175
 
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16033
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15176
16034
  __Pyx_GOTREF(__pyx_t_4);
15177
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16035
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15178
16036
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15179
16037
 
15180
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":107
 
16038
  /* "/home/tachyon/h5py/h5py/h5t.pyx":106
15181
16039
 * ORDER_LE    = H5T_ORDER_LE
15182
16040
 * ORDER_BE    = H5T_ORDER_BE
15183
16041
 * ORDER_VAX   = H5T_ORDER_VAX             # <<<<<<<<<<<<<<
15184
16042
 * ORDER_NONE  = H5T_ORDER_NONE
15185
16043
 * 
15186
16044
 */
15187
 
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_VAX); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16045
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_VAX); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15188
16046
  __Pyx_GOTREF(__pyx_t_4);
15189
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_VAX, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16047
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_VAX, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15190
16048
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15191
16049
 
15192
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":108
 
16050
  /* "/home/tachyon/h5py/h5py/h5t.pyx":107
15193
16051
 * ORDER_BE    = H5T_ORDER_BE
15194
16052
 * ORDER_VAX   = H5T_ORDER_VAX
15195
16053
 * ORDER_NONE  = H5T_ORDER_NONE             # <<<<<<<<<<<<<<
15196
16054
 * 
15197
16055
 * DIR_DEFAULT = H5T_DIR_DEFAULT
15198
16056
 */
15199
 
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16057
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15200
16058
  __Pyx_GOTREF(__pyx_t_4);
15201
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16059
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15202
16060
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15203
16061
 
15204
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":110
 
16062
  /* "/home/tachyon/h5py/h5py/h5t.pyx":109
15205
16063
 * ORDER_NONE  = H5T_ORDER_NONE
15206
16064
 * 
15207
16065
 * DIR_DEFAULT = H5T_DIR_DEFAULT             # <<<<<<<<<<<<<<
15208
16066
 * DIR_ASCEND  = H5T_DIR_ASCEND
15209
16067
 * DIR_DESCEND = H5T_DIR_DESCEND
15210
16068
 */
15211
 
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DEFAULT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16069
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DEFAULT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15212
16070
  __Pyx_GOTREF(__pyx_t_4);
15213
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DEFAULT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16071
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DEFAULT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15214
16072
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15215
16073
 
15216
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":111
 
16074
  /* "/home/tachyon/h5py/h5py/h5t.pyx":110
15217
16075
 * 
15218
16076
 * DIR_DEFAULT = H5T_DIR_DEFAULT
15219
16077
 * DIR_ASCEND  = H5T_DIR_ASCEND             # <<<<<<<<<<<<<<
15220
16078
 * DIR_DESCEND = H5T_DIR_DESCEND
15221
16079
 * 
15222
16080
 */
15223
 
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_ASCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16081
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_ASCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15224
16082
  __Pyx_GOTREF(__pyx_t_4);
15225
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_ASCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16083
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_ASCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15226
16084
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15227
16085
 
15228
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":112
 
16086
  /* "/home/tachyon/h5py/h5py/h5t.pyx":111
15229
16087
 * DIR_DEFAULT = H5T_DIR_DEFAULT
15230
16088
 * DIR_ASCEND  = H5T_DIR_ASCEND
15231
16089
 * DIR_DESCEND = H5T_DIR_DESCEND             # <<<<<<<<<<<<<<
15232
16090
 * 
15233
16091
 * # Enumeration H5T_str_t
15234
16092
 */
15235
 
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DESCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16093
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DESCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15236
16094
  __Pyx_GOTREF(__pyx_t_4);
15237
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DESCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16095
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DESCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15238
16096
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15239
16097
 
15240
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":115
 
16098
  /* "/home/tachyon/h5py/h5py/h5t.pyx":114
15241
16099
 * 
15242
16100
 * # Enumeration H5T_str_t
15243
16101
 * STR_NULLTERM = H5T_STR_NULLTERM             # <<<<<<<<<<<<<<
15244
16102
 * STR_NULLPAD  = H5T_STR_NULLPAD
15245
16103
 * STR_SPACEPAD = H5T_STR_SPACEPAD
15246
16104
 */
15247
 
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLTERM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16105
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLTERM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15248
16106
  __Pyx_GOTREF(__pyx_t_4);
15249
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLTERM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16107
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLTERM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15250
16108
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15251
16109
 
15252
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":116
 
16110
  /* "/home/tachyon/h5py/h5py/h5t.pyx":115
15253
16111
 * # Enumeration H5T_str_t
15254
16112
 * STR_NULLTERM = H5T_STR_NULLTERM
15255
16113
 * STR_NULLPAD  = H5T_STR_NULLPAD             # <<<<<<<<<<<<<<
15256
16114
 * STR_SPACEPAD = H5T_STR_SPACEPAD
15257
16115
 * 
15258
16116
 */
15259
 
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16117
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15260
16118
  __Pyx_GOTREF(__pyx_t_4);
15261
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16119
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15262
16120
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15263
16121
 
15264
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":117
 
16122
  /* "/home/tachyon/h5py/h5py/h5t.pyx":116
15265
16123
 * STR_NULLTERM = H5T_STR_NULLTERM
15266
16124
 * STR_NULLPAD  = H5T_STR_NULLPAD
15267
16125
 * STR_SPACEPAD = H5T_STR_SPACEPAD             # <<<<<<<<<<<<<<
15268
16126
 * 
15269
16127
 * # Enumeration H5T_norm_t
15270
16128
 */
15271
 
  __pyx_t_4 = PyInt_FromLong(H5T_STR_SPACEPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16129
  __pyx_t_4 = PyInt_FromLong(H5T_STR_SPACEPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15272
16130
  __Pyx_GOTREF(__pyx_t_4);
15273
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_SPACEPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16131
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_SPACEPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15274
16132
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15275
16133
 
15276
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":120
 
16134
  /* "/home/tachyon/h5py/h5py/h5t.pyx":119
15277
16135
 * 
15278
16136
 * # Enumeration H5T_norm_t
15279
16137
 * NORM_IMPLIED = H5T_NORM_IMPLIED             # <<<<<<<<<<<<<<
15280
16138
 * NORM_MSBSET = H5T_NORM_MSBSET
15281
16139
 * NORM_NONE = H5T_NORM_NONE
15282
16140
 */
15283
 
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_IMPLIED); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16141
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_IMPLIED); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15284
16142
  __Pyx_GOTREF(__pyx_t_4);
15285
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_IMPLIED, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16143
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_IMPLIED, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15286
16144
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15287
16145
 
15288
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":121
 
16146
  /* "/home/tachyon/h5py/h5py/h5t.pyx":120
15289
16147
 * # Enumeration H5T_norm_t
15290
16148
 * NORM_IMPLIED = H5T_NORM_IMPLIED
15291
16149
 * NORM_MSBSET = H5T_NORM_MSBSET             # <<<<<<<<<<<<<<
15292
16150
 * NORM_NONE = H5T_NORM_NONE
15293
16151
 * 
15294
16152
 */
15295
 
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_MSBSET); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16153
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_MSBSET); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15296
16154
  __Pyx_GOTREF(__pyx_t_4);
15297
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_MSBSET, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16155
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_MSBSET, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15298
16156
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15299
16157
 
15300
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":122
 
16158
  /* "/home/tachyon/h5py/h5py/h5t.pyx":121
15301
16159
 * NORM_IMPLIED = H5T_NORM_IMPLIED
15302
16160
 * NORM_MSBSET = H5T_NORM_MSBSET
15303
16161
 * NORM_NONE = H5T_NORM_NONE             # <<<<<<<<<<<<<<
15304
16162
 * 
15305
16163
 * # Enumeration H5T_cset_t:
15306
16164
 */
15307
 
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16165
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15308
16166
  __Pyx_GOTREF(__pyx_t_4);
15309
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16167
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15310
16168
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15311
16169
 
15312
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":125
 
16170
  /* "/home/tachyon/h5py/h5py/h5t.pyx":124
15313
16171
 * 
15314
16172
 * # Enumeration H5T_cset_t:
15315
16173
 * CSET_ASCII = H5T_CSET_ASCII             # <<<<<<<<<<<<<<
15316
16174
 * 
15317
16175
 * # Enumeration H5T_pad_t:
15318
16176
 */
15319
 
  __pyx_t_4 = PyInt_FromLong(H5T_CSET_ASCII); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16177
  __pyx_t_4 = PyInt_FromLong(H5T_CSET_ASCII); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15320
16178
  __Pyx_GOTREF(__pyx_t_4);
15321
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__CSET_ASCII, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16179
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__CSET_ASCII, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15322
16180
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15323
16181
 
15324
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":128
 
16182
  /* "/home/tachyon/h5py/h5py/h5t.pyx":127
15325
16183
 * 
15326
16184
 * # Enumeration H5T_pad_t:
15327
16185
 * PAD_ZERO = H5T_PAD_ZERO             # <<<<<<<<<<<<<<
15328
16186
 * PAD_ONE = H5T_PAD_ONE
15329
16187
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
15330
16188
 */
15331
 
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ZERO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16189
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ZERO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15332
16190
  __Pyx_GOTREF(__pyx_t_4);
15333
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ZERO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16191
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ZERO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15334
16192
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15335
16193
 
15336
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":129
 
16194
  /* "/home/tachyon/h5py/h5py/h5t.pyx":128
15337
16195
 * # Enumeration H5T_pad_t:
15338
16196
 * PAD_ZERO = H5T_PAD_ZERO
15339
16197
 * PAD_ONE = H5T_PAD_ONE             # <<<<<<<<<<<<<<
15340
16198
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
15341
16199
 * 
15342
16200
 */
15343
 
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16201
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15344
16202
  __Pyx_GOTREF(__pyx_t_4);
15345
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16203
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15346
16204
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15347
16205
 
15348
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":130
 
16206
  /* "/home/tachyon/h5py/h5py/h5t.pyx":129
15349
16207
 * PAD_ZERO = H5T_PAD_ZERO
15350
16208
 * PAD_ONE = H5T_PAD_ONE
15351
16209
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND             # <<<<<<<<<<<<<<
15352
16210
 * 
15353
16211
 * if sys.byteorder == "little":    # Custom python addition
15354
16212
 */
15355
 
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_BACKGROUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16213
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_BACKGROUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15356
16214
  __Pyx_GOTREF(__pyx_t_4);
15357
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_BACKGROUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16215
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_BACKGROUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15358
16216
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15359
16217
 
15360
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":132
 
16218
  /* "/home/tachyon/h5py/h5py/h5t.pyx":131
15361
16219
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
15362
16220
 * 
15363
16221
 * if sys.byteorder == "little":    # Custom python addition             # <<<<<<<<<<<<<<
15364
16222
 *     ORDER_NATIVE = H5T_ORDER_LE
15365
16223
 * else:
15366
16224
 */
15367
 
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__sys); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16225
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__sys); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15368
16226
  __Pyx_GOTREF(__pyx_t_4);
15369
 
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__byteorder); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16227
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__byteorder); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15370
16228
  __Pyx_GOTREF(__pyx_t_6);
15371
16229
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15372
 
  __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, ((PyObject *)__pyx_n_s__little), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16230
  __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, ((PyObject *)__pyx_n_s__little), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15373
16231
  __Pyx_GOTREF(__pyx_t_4);
15374
16232
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15375
 
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16233
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15376
16234
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15377
16235
  if (__pyx_t_7) {
15378
16236
 
15379
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":133
 
16237
    /* "/home/tachyon/h5py/h5py/h5t.pyx":132
15380
16238
 * 
15381
16239
 * if sys.byteorder == "little":    # Custom python addition
15382
16240
 *     ORDER_NATIVE = H5T_ORDER_LE             # <<<<<<<<<<<<<<
15383
16241
 * else:
15384
16242
 *     ORDER_NATIVE = H5T_ORDER_BE
15385
16243
 */
15386
 
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16244
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15387
16245
    __Pyx_GOTREF(__pyx_t_4);
15388
 
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16246
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15389
16247
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15390
16248
    goto __pyx_L2;
15391
16249
  }
15392
16250
  /*else*/ {
15393
16251
 
15394
 
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":135
 
16252
    /* "/home/tachyon/h5py/h5py/h5t.pyx":134
15395
16253
 *     ORDER_NATIVE = H5T_ORDER_LE
15396
16254
 * else:
15397
16255
 *     ORDER_NATIVE = H5T_ORDER_BE             # <<<<<<<<<<<<<<
15398
16256
 * 
15399
16257
 * # For conversion
15400
16258
 */
15401
 
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16259
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15402
16260
    __Pyx_GOTREF(__pyx_t_4);
15403
 
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16261
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15404
16262
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15405
16263
  }
15406
16264
  __pyx_L2:;
15407
16265
 
15408
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":138
 
16266
  /* "/home/tachyon/h5py/h5py/h5t.pyx":137
15409
16267
 * 
15410
16268
 * # For conversion
15411
16269
 * BKG_NO = H5T_BKG_NO             # <<<<<<<<<<<<<<
15412
16270
 * BKG_TEMP = H5T_BKG_TEMP
15413
16271
 * BKG_YES = H5T_BKG_YES
15414
16272
 */
15415
 
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_NO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16273
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_NO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15416
16274
  __Pyx_GOTREF(__pyx_t_4);
15417
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_NO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16275
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_NO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15418
16276
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15419
16277
 
15420
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":139
 
16278
  /* "/home/tachyon/h5py/h5py/h5t.pyx":138
15421
16279
 * # For conversion
15422
16280
 * BKG_NO = H5T_BKG_NO
15423
16281
 * BKG_TEMP = H5T_BKG_TEMP             # <<<<<<<<<<<<<<
15424
16282
 * BKG_YES = H5T_BKG_YES
15425
16283
 * 
15426
16284
 */
15427
 
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_TEMP); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16285
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_TEMP); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15428
16286
  __Pyx_GOTREF(__pyx_t_4);
15429
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_TEMP, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16287
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_TEMP, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15430
16288
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15431
16289
 
15432
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":140
 
16290
  /* "/home/tachyon/h5py/h5py/h5t.pyx":139
15433
16291
 * BKG_NO = H5T_BKG_NO
15434
16292
 * BKG_TEMP = H5T_BKG_TEMP
15435
16293
 * BKG_YES = H5T_BKG_YES             # <<<<<<<<<<<<<<
15436
16294
 * 
15437
16295
 * # --- Built-in HDF5 datatypes -------------------------------------------------
15438
16296
 */
15439
 
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_YES); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16297
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_YES); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15440
16298
  __Pyx_GOTREF(__pyx_t_4);
15441
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_YES, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16299
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_YES, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15442
16300
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15443
16301
 
15444
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":145
 
16302
  /* "/home/tachyon/h5py/h5py/h5t.pyx":144
15445
16303
 * 
15446
16304
 * # IEEE floating-point
15447
16305
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)             # <<<<<<<<<<<<<<
15448
16306
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
15449
16307
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
15450
16308
 */
15451
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16309
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15452
16310
  __Pyx_GOTREF(__pyx_t_4);
15453
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16311
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15454
16312
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15455
16313
 
15456
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":146
 
16314
  /* "/home/tachyon/h5py/h5py/h5t.pyx":145
15457
16315
 * # IEEE floating-point
15458
16316
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)
15459
16317
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)             # <<<<<<<<<<<<<<
15460
16318
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
15461
16319
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)
15462
16320
 */
15463
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16321
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15464
16322
  __Pyx_GOTREF(__pyx_t_4);
15465
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16323
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15466
16324
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15467
16325
 
15468
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":147
 
16326
  /* "/home/tachyon/h5py/h5py/h5t.pyx":146
15469
16327
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)
15470
16328
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
15471
16329
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)             # <<<<<<<<<<<<<<
15472
16330
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)
15473
16331
 * 
15474
16332
 */
15475
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16333
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15476
16334
  __Pyx_GOTREF(__pyx_t_4);
15477
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16335
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15478
16336
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15479
16337
 
15480
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":148
 
16338
  /* "/home/tachyon/h5py/h5py/h5t.pyx":147
15481
16339
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
15482
16340
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
15483
16341
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)             # <<<<<<<<<<<<<<
15484
16342
 * 
15485
16343
 * # Signed 2's complement integer types
15486
16344
 */
15487
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16345
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15488
16346
  __Pyx_GOTREF(__pyx_t_4);
15489
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16347
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15490
16348
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15491
16349
 
15492
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":151
 
16350
  /* "/home/tachyon/h5py/h5py/h5t.pyx":150
15493
16351
 * 
15494
16352
 * # Signed 2's complement integer types
15495
16353
 * STD_I8LE  = lockid(H5T_STD_I8LE)             # <<<<<<<<<<<<<<
15496
16354
 * STD_I16LE = lockid(H5T_STD_I16LE)
15497
16355
 * STD_I32LE = lockid(H5T_STD_I32LE)
15498
16356
 */
15499
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16357
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15500
16358
  __Pyx_GOTREF(__pyx_t_4);
15501
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16359
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15502
16360
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15503
16361
 
15504
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":152
 
16362
  /* "/home/tachyon/h5py/h5py/h5t.pyx":151
15505
16363
 * # Signed 2's complement integer types
15506
16364
 * STD_I8LE  = lockid(H5T_STD_I8LE)
15507
16365
 * STD_I16LE = lockid(H5T_STD_I16LE)             # <<<<<<<<<<<<<<
15508
16366
 * STD_I32LE = lockid(H5T_STD_I32LE)
15509
16367
 * STD_I64LE = lockid(H5T_STD_I64LE)
15510
16368
 */
15511
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16369
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15512
16370
  __Pyx_GOTREF(__pyx_t_4);
15513
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16371
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15514
16372
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15515
16373
 
15516
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":153
 
16374
  /* "/home/tachyon/h5py/h5py/h5t.pyx":152
15517
16375
 * STD_I8LE  = lockid(H5T_STD_I8LE)
15518
16376
 * STD_I16LE = lockid(H5T_STD_I16LE)
15519
16377
 * STD_I32LE = lockid(H5T_STD_I32LE)             # <<<<<<<<<<<<<<
15520
16378
 * STD_I64LE = lockid(H5T_STD_I64LE)
15521
16379
 * 
15522
16380
 */
15523
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16381
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15524
16382
  __Pyx_GOTREF(__pyx_t_4);
15525
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16383
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15526
16384
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15527
16385
 
15528
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":154
 
16386
  /* "/home/tachyon/h5py/h5py/h5t.pyx":153
15529
16387
 * STD_I16LE = lockid(H5T_STD_I16LE)
15530
16388
 * STD_I32LE = lockid(H5T_STD_I32LE)
15531
16389
 * STD_I64LE = lockid(H5T_STD_I64LE)             # <<<<<<<<<<<<<<
15532
16390
 * 
15533
16391
 * STD_I8BE  = lockid(H5T_STD_I8BE)
15534
16392
 */
15535
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16393
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15536
16394
  __Pyx_GOTREF(__pyx_t_4);
15537
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16395
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15538
16396
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15539
16397
 
15540
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":156
 
16398
  /* "/home/tachyon/h5py/h5py/h5t.pyx":155
15541
16399
 * STD_I64LE = lockid(H5T_STD_I64LE)
15542
16400
 * 
15543
16401
 * STD_I8BE  = lockid(H5T_STD_I8BE)             # <<<<<<<<<<<<<<
15544
16402
 * STD_I16BE = lockid(H5T_STD_I16BE)
15545
16403
 * STD_I32BE = lockid(H5T_STD_I32BE)
15546
16404
 */
15547
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16405
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15548
16406
  __Pyx_GOTREF(__pyx_t_4);
15549
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16407
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15550
16408
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15551
16409
 
15552
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":157
 
16410
  /* "/home/tachyon/h5py/h5py/h5t.pyx":156
15553
16411
 * 
15554
16412
 * STD_I8BE  = lockid(H5T_STD_I8BE)
15555
16413
 * STD_I16BE = lockid(H5T_STD_I16BE)             # <<<<<<<<<<<<<<
15556
16414
 * STD_I32BE = lockid(H5T_STD_I32BE)
15557
16415
 * STD_I64BE = lockid(H5T_STD_I64BE)
15558
16416
 */
15559
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16417
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15560
16418
  __Pyx_GOTREF(__pyx_t_4);
15561
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16419
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15562
16420
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15563
16421
 
15564
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":158
 
16422
  /* "/home/tachyon/h5py/h5py/h5t.pyx":157
15565
16423
 * STD_I8BE  = lockid(H5T_STD_I8BE)
15566
16424
 * STD_I16BE = lockid(H5T_STD_I16BE)
15567
16425
 * STD_I32BE = lockid(H5T_STD_I32BE)             # <<<<<<<<<<<<<<
15568
16426
 * STD_I64BE = lockid(H5T_STD_I64BE)
15569
16427
 * 
15570
16428
 */
15571
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16429
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15572
16430
  __Pyx_GOTREF(__pyx_t_4);
15573
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16431
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15574
16432
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15575
16433
 
15576
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":159
 
16434
  /* "/home/tachyon/h5py/h5py/h5t.pyx":158
15577
16435
 * STD_I16BE = lockid(H5T_STD_I16BE)
15578
16436
 * STD_I32BE = lockid(H5T_STD_I32BE)
15579
16437
 * STD_I64BE = lockid(H5T_STD_I64BE)             # <<<<<<<<<<<<<<
15580
16438
 * 
15581
16439
 * # Unsigned integers
15582
16440
 */
15583
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16441
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15584
16442
  __Pyx_GOTREF(__pyx_t_4);
15585
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16443
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15586
16444
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15587
16445
 
15588
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":162
 
16446
  /* "/home/tachyon/h5py/h5py/h5t.pyx":161
15589
16447
 * 
15590
16448
 * # Unsigned integers
15591
16449
 * STD_U8LE  = lockid(H5T_STD_U8LE)             # <<<<<<<<<<<<<<
15592
16450
 * STD_U16LE = lockid(H5T_STD_U16LE)
15593
16451
 * STD_U32LE = lockid(H5T_STD_U32LE)
15594
16452
 */
15595
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16453
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15596
16454
  __Pyx_GOTREF(__pyx_t_4);
15597
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16455
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15598
16456
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15599
16457
 
15600
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":163
 
16458
  /* "/home/tachyon/h5py/h5py/h5t.pyx":162
15601
16459
 * # Unsigned integers
15602
16460
 * STD_U8LE  = lockid(H5T_STD_U8LE)
15603
16461
 * STD_U16LE = lockid(H5T_STD_U16LE)             # <<<<<<<<<<<<<<
15604
16462
 * STD_U32LE = lockid(H5T_STD_U32LE)
15605
16463
 * STD_U64LE = lockid(H5T_STD_U64LE)
15606
16464
 */
15607
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16465
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15608
16466
  __Pyx_GOTREF(__pyx_t_4);
15609
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16467
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15610
16468
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15611
16469
 
15612
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":164
 
16470
  /* "/home/tachyon/h5py/h5py/h5t.pyx":163
15613
16471
 * STD_U8LE  = lockid(H5T_STD_U8LE)
15614
16472
 * STD_U16LE = lockid(H5T_STD_U16LE)
15615
16473
 * STD_U32LE = lockid(H5T_STD_U32LE)             # <<<<<<<<<<<<<<
15616
16474
 * STD_U64LE = lockid(H5T_STD_U64LE)
15617
16475
 * 
15618
16476
 */
15619
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16477
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15620
16478
  __Pyx_GOTREF(__pyx_t_4);
15621
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16479
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15622
16480
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15623
16481
 
15624
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":165
 
16482
  /* "/home/tachyon/h5py/h5py/h5t.pyx":164
15625
16483
 * STD_U16LE = lockid(H5T_STD_U16LE)
15626
16484
 * STD_U32LE = lockid(H5T_STD_U32LE)
15627
16485
 * STD_U64LE = lockid(H5T_STD_U64LE)             # <<<<<<<<<<<<<<
15628
16486
 * 
15629
16487
 * STD_U8BE  = lockid(H5T_STD_U8BE)
15630
16488
 */
15631
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16489
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15632
16490
  __Pyx_GOTREF(__pyx_t_4);
15633
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16491
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15634
16492
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15635
16493
 
15636
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":167
 
16494
  /* "/home/tachyon/h5py/h5py/h5t.pyx":166
15637
16495
 * STD_U64LE = lockid(H5T_STD_U64LE)
15638
16496
 * 
15639
16497
 * STD_U8BE  = lockid(H5T_STD_U8BE)             # <<<<<<<<<<<<<<
15640
16498
 * STD_U16BE = lockid(H5T_STD_U16BE)
15641
16499
 * STD_U32BE = lockid(H5T_STD_U32BE)
15642
16500
 */
15643
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16501
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15644
16502
  __Pyx_GOTREF(__pyx_t_4);
15645
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16503
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15646
16504
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15647
16505
 
15648
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":168
 
16506
  /* "/home/tachyon/h5py/h5py/h5t.pyx":167
15649
16507
 * 
15650
16508
 * STD_U8BE  = lockid(H5T_STD_U8BE)
15651
16509
 * STD_U16BE = lockid(H5T_STD_U16BE)             # <<<<<<<<<<<<<<
15652
16510
 * STD_U32BE = lockid(H5T_STD_U32BE)
15653
16511
 * STD_U64BE = lockid(H5T_STD_U64BE)
15654
16512
 */
15655
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16513
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15656
16514
  __Pyx_GOTREF(__pyx_t_4);
15657
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16515
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15658
16516
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15659
16517
 
15660
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":169
 
16518
  /* "/home/tachyon/h5py/h5py/h5t.pyx":168
15661
16519
 * STD_U8BE  = lockid(H5T_STD_U8BE)
15662
16520
 * STD_U16BE = lockid(H5T_STD_U16BE)
15663
16521
 * STD_U32BE = lockid(H5T_STD_U32BE)             # <<<<<<<<<<<<<<
15664
16522
 * STD_U64BE = lockid(H5T_STD_U64BE)
15665
16523
 * 
15666
16524
 */
15667
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16525
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15668
16526
  __Pyx_GOTREF(__pyx_t_4);
15669
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16527
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15670
16528
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15671
16529
 
15672
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":170
 
16530
  /* "/home/tachyon/h5py/h5py/h5t.pyx":169
15673
16531
 * STD_U16BE = lockid(H5T_STD_U16BE)
15674
16532
 * STD_U32BE = lockid(H5T_STD_U32BE)
15675
16533
 * STD_U64BE = lockid(H5T_STD_U64BE)             # <<<<<<<<<<<<<<
15676
16534
 * 
15677
16535
 * # Native types by bytesize
15678
16536
 */
15679
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16537
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15680
16538
  __Pyx_GOTREF(__pyx_t_4);
15681
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16539
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15682
16540
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15683
16541
 
15684
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":173
 
16542
  /* "/home/tachyon/h5py/h5py/h5t.pyx":172
15685
16543
 * 
15686
16544
 * # Native types by bytesize
15687
16545
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)             # <<<<<<<<<<<<<<
15688
16546
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
15689
16547
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
15690
16548
 */
15691
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16549
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15692
16550
  __Pyx_GOTREF(__pyx_t_4);
15693
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16551
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15694
16552
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15695
16553
 
15696
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":174
 
16554
  /* "/home/tachyon/h5py/h5py/h5t.pyx":173
15697
16555
 * # Native types by bytesize
15698
16556
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)
15699
16557
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)             # <<<<<<<<<<<<<<
15700
16558
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
15701
16559
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
15702
16560
 */
15703
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16561
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15704
16562
  __Pyx_GOTREF(__pyx_t_4);
15705
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16563
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15706
16564
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15707
16565
 
15708
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":175
 
16566
  /* "/home/tachyon/h5py/h5py/h5t.pyx":174
15709
16567
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)
15710
16568
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
15711
16569
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)             # <<<<<<<<<<<<<<
15712
16570
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
15713
16571
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
15714
16572
 */
15715
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16573
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15716
16574
  __Pyx_GOTREF(__pyx_t_4);
15717
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16575
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15718
16576
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15719
16577
 
15720
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":176
 
16578
  /* "/home/tachyon/h5py/h5py/h5t.pyx":175
15721
16579
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
15722
16580
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
15723
16581
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)             # <<<<<<<<<<<<<<
15724
16582
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
15725
16583
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
15726
16584
 */
15727
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16585
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15728
16586
  __Pyx_GOTREF(__pyx_t_4);
15729
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16587
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15730
16588
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15731
16589
 
15732
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":177
 
16590
  /* "/home/tachyon/h5py/h5py/h5t.pyx":176
15733
16591
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
15734
16592
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
15735
16593
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)             # <<<<<<<<<<<<<<
15736
16594
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
15737
16595
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
15738
16596
 */
15739
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16597
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15740
16598
  __Pyx_GOTREF(__pyx_t_4);
15741
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16599
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15742
16600
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15743
16601
 
15744
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":178
 
16602
  /* "/home/tachyon/h5py/h5py/h5t.pyx":177
15745
16603
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
15746
16604
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
15747
16605
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)             # <<<<<<<<<<<<<<
15748
16606
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
15749
16607
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
15750
16608
 */
15751
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16609
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15752
16610
  __Pyx_GOTREF(__pyx_t_4);
15753
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16611
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15754
16612
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15755
16613
 
15756
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":179
 
16614
  /* "/home/tachyon/h5py/h5py/h5t.pyx":178
15757
16615
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
15758
16616
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
15759
16617
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)             # <<<<<<<<<<<<<<
15760
16618
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
15761
16619
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
15762
16620
 */
15763
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16621
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15764
16622
  __Pyx_GOTREF(__pyx_t_4);
15765
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16623
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15766
16624
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15767
16625
 
15768
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":180
 
16626
  /* "/home/tachyon/h5py/h5py/h5t.pyx":179
15769
16627
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
15770
16628
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
15771
16629
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)             # <<<<<<<<<<<<<<
15772
16630
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
15773
16631
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)
15774
16632
 */
15775
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16633
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15776
16634
  __Pyx_GOTREF(__pyx_t_4);
15777
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16635
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15778
16636
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15779
16637
 
15780
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":181
 
16638
  /* "/home/tachyon/h5py/h5py/h5t.pyx":180
15781
16639
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
15782
16640
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
15783
16641
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)             # <<<<<<<<<<<<<<
15784
16642
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)
15785
16643
 * 
15786
16644
 */
15787
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16645
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15788
16646
  __Pyx_GOTREF(__pyx_t_4);
15789
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16647
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15790
16648
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15791
16649
 
15792
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":182
 
16650
  /* "/home/tachyon/h5py/h5py/h5t.pyx":181
15793
16651
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
15794
16652
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
15795
16653
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)             # <<<<<<<<<<<<<<
15796
16654
 * 
15797
16655
 * # Unix time types
15798
16656
 */
15799
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16657
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15800
16658
  __Pyx_GOTREF(__pyx_t_4);
15801
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_DOUBLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16659
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_DOUBLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15802
16660
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15803
16661
 
15804
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":185
 
16662
  /* "/home/tachyon/h5py/h5py/h5t.pyx":184
15805
16663
 * 
15806
16664
 * # Unix time types
15807
16665
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)             # <<<<<<<<<<<<<<
15808
16666
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
15809
16667
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
15810
16668
 */
15811
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16669
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15812
16670
  __Pyx_GOTREF(__pyx_t_4);
15813
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16671
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15814
16672
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15815
16673
 
15816
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":186
 
16674
  /* "/home/tachyon/h5py/h5py/h5t.pyx":185
15817
16675
 * # Unix time types
15818
16676
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)
15819
16677
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)             # <<<<<<<<<<<<<<
15820
16678
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
15821
16679
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)
15822
16680
 */
15823
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16681
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15824
16682
  __Pyx_GOTREF(__pyx_t_4);
15825
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16683
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15826
16684
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15827
16685
 
15828
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":187
 
16686
  /* "/home/tachyon/h5py/h5py/h5t.pyx":186
15829
16687
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)
15830
16688
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
15831
16689
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)             # <<<<<<<<<<<<<<
15832
16690
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)
15833
16691
 * 
15834
16692
 */
15835
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16693
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15836
16694
  __Pyx_GOTREF(__pyx_t_4);
15837
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16695
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15838
16696
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15839
16697
 
15840
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":188
 
16698
  /* "/home/tachyon/h5py/h5py/h5t.pyx":187
15841
16699
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
15842
16700
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
15843
16701
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)             # <<<<<<<<<<<<<<
15844
16702
 * 
15845
16703
 * # Reference types
15846
16704
 */
15847
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16705
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15848
16706
  __Pyx_GOTREF(__pyx_t_4);
15849
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16707
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15850
16708
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15851
16709
 
15852
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":191
 
16710
  /* "/home/tachyon/h5py/h5py/h5t.pyx":190
15853
16711
 * 
15854
16712
 * # Reference types
15855
16713
 * STD_REF_OBJ = lockid(H5T_STD_REF_OBJ)             # <<<<<<<<<<<<<<
15856
16714
 * STD_REF_DSETREG = lockid(H5T_STD_REF_DSETREG)
15857
16715
 * 
15858
16716
 */
15859
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_OBJ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16717
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_OBJ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15860
16718
  __Pyx_GOTREF(__pyx_t_4);
15861
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_OBJ, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16719
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_OBJ, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15862
16720
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15863
16721
 
15864
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":192
 
16722
  /* "/home/tachyon/h5py/h5py/h5t.pyx":191
15865
16723
 * # Reference types
15866
16724
 * STD_REF_OBJ = lockid(H5T_STD_REF_OBJ)
15867
16725
 * STD_REF_DSETREG = lockid(H5T_STD_REF_DSETREG)             # <<<<<<<<<<<<<<
15868
16726
 * 
15869
16727
 * # Null terminated (C) and Fortran string types
15870
16728
 */
15871
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_DSETREG); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16729
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_DSETREG); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15872
16730
  __Pyx_GOTREF(__pyx_t_4);
15873
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_DSETREG, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16731
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_DSETREG, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15874
16732
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15875
16733
 
15876
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":195
 
16734
  /* "/home/tachyon/h5py/h5py/h5t.pyx":194
15877
16735
 * 
15878
16736
 * # Null terminated (C) and Fortran string types
15879
16737
 * C_S1 = lockid(H5T_C_S1)             # <<<<<<<<<<<<<<
15880
16738
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)
15881
16739
 * VARIABLE = H5T_VARIABLE
15882
16740
 */
15883
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_C_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16741
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_C_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15884
16742
  __Pyx_GOTREF(__pyx_t_4);
15885
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__C_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16743
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__C_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15886
16744
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15887
16745
 
15888
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":196
 
16746
  /* "/home/tachyon/h5py/h5py/h5t.pyx":195
15889
16747
 * # Null terminated (C) and Fortran string types
15890
16748
 * C_S1 = lockid(H5T_C_S1)
15891
16749
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)             # <<<<<<<<<<<<<<
15892
16750
 * VARIABLE = H5T_VARIABLE
15893
16751
 * 
15894
16752
 */
15895
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_FORTRAN_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16753
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_FORTRAN_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15896
16754
  __Pyx_GOTREF(__pyx_t_4);
15897
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FORTRAN_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16755
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FORTRAN_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15898
16756
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15899
16757
 
15900
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":197
 
16758
  /* "/home/tachyon/h5py/h5py/h5t.pyx":196
15901
16759
 * C_S1 = lockid(H5T_C_S1)
15902
16760
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)
15903
16761
 * VARIABLE = H5T_VARIABLE             # <<<<<<<<<<<<<<
15904
16762
 * 
15905
16763
 * # Custom Python object pointer type
15906
16764
 */
15907
 
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(H5T_VARIABLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16765
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(H5T_VARIABLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15908
16766
  __Pyx_GOTREF(__pyx_t_4);
15909
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VARIABLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16767
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VARIABLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15910
16768
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15911
16769
 
15912
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":200
 
16770
  /* "/home/tachyon/h5py/h5py/h5t.pyx":199
15913
16771
 * 
15914
16772
 * # Custom Python object pointer type
15915
16773
 * PYTHON_OBJECT = lockid(_conv.get_python_obj())             # <<<<<<<<<<<<<<
15916
16774
 * 
15917
16775
 * #PYTHON_OBJECT = lockid(get_object_type())
15918
16776
 */
15919
 
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s___conv); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16777
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s___conv); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15920
16778
  __Pyx_GOTREF(__pyx_t_4);
15921
 
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__get_python_obj); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16779
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__get_python_obj); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15922
16780
  __Pyx_GOTREF(__pyx_t_6);
15923
16781
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15924
 
  __pyx_t_4 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16782
  __pyx_t_4 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15925
16783
  __Pyx_GOTREF(__pyx_t_4);
15926
16784
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15927
 
  __pyx_t_8 = __Pyx_PyInt_from_py_hid_t(__pyx_t_4); if (unlikely((__pyx_t_8 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16785
  __pyx_t_8 = __Pyx_PyInt_from_py_hid_t(__pyx_t_4); if (unlikely((__pyx_t_8 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15928
16786
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15929
 
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(__pyx_t_8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16787
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(__pyx_t_8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15930
16788
  __Pyx_GOTREF(__pyx_t_4);
15931
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PYTHON_OBJECT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16789
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PYTHON_OBJECT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15932
16790
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
15933
16791
 
15934
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":205
 
16792
  /* "/home/tachyon/h5py/h5py/h5t.pyx":204
15935
16793
 * 
15936
16794
 * # Translation tables for HDF5 -> NumPy dtype conversion
15937
16795
 * cdef dict _order_map = { H5T_ORDER_NONE: '|', H5T_ORDER_LE: '<', H5T_ORDER_BE: '>'}             # <<<<<<<<<<<<<<
15938
16796
 * cdef dict _sign_map  = { H5T_SGN_NONE: 'u', H5T_SGN_2: 'i' }
15939
16797
 * 
15940
16798
 */
15941
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16799
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15942
16800
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
15943
 
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15944
 
  __Pyx_GOTREF(__pyx_t_6);
15945
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_26)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15946
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15947
 
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15948
 
  __Pyx_GOTREF(__pyx_t_6);
15949
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_27)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15950
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15951
 
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15952
 
  __Pyx_GOTREF(__pyx_t_6);
15953
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_28)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16801
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16802
  __Pyx_GOTREF(__pyx_t_6);
 
16803
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_26)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16804
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16805
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16806
  __Pyx_GOTREF(__pyx_t_6);
 
16807
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_27)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16808
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16809
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16810
  __Pyx_GOTREF(__pyx_t_6);
 
16811
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_28)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15954
16812
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15955
16813
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__order_map));
15956
16814
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__order_map));
15958
16816
  __pyx_v_4h5py_3h5t__order_map = __pyx_t_4;
15959
16817
  __pyx_t_4 = 0;
15960
16818
 
15961
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":206
 
16819
  /* "/home/tachyon/h5py/h5py/h5t.pyx":205
15962
16820
 * # Translation tables for HDF5 -> NumPy dtype conversion
15963
16821
 * cdef dict _order_map = { H5T_ORDER_NONE: '|', H5T_ORDER_LE: '<', H5T_ORDER_BE: '>'}
15964
16822
 * cdef dict _sign_map  = { H5T_SGN_NONE: 'u', H5T_SGN_2: 'i' }             # <<<<<<<<<<<<<<
15965
16823
 * 
15966
16824
 * 
15967
16825
 */
15968
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16826
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15969
16827
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
15970
 
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16828
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15971
16829
  __Pyx_GOTREF(__pyx_t_6);
15972
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__u)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16830
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__u)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15973
16831
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15974
 
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16832
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15975
16833
  __Pyx_GOTREF(__pyx_t_6);
15976
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__i)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16834
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__i)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15977
16835
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15978
16836
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__sign_map));
15979
16837
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__sign_map));
15981
16839
  __pyx_v_4h5py_3h5t__sign_map = __pyx_t_4;
15982
16840
  __pyx_t_4 = 0;
15983
16841
 
15984
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1160
 
16842
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1159
15985
16843
 * # transient and unlocked.
15986
16844
 * 
15987
16845
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}             # <<<<<<<<<<<<<<
15988
16846
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}
15989
16847
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
15990
16848
 */
15991
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16849
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15992
16850
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
15993
 
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16851
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15994
16852
  __Pyx_GOTREF(__pyx_t_6);
15995
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16853
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15996
16854
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
15997
 
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16855
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15998
16856
  __Pyx_GOTREF(__pyx_t_6);
15999
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16857
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16000
16858
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16001
16859
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_le));
16002
16860
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_le));
16004
16862
  __pyx_v_4h5py_3h5t__float_le = __pyx_t_4;
16005
16863
  __pyx_t_4 = 0;
16006
16864
 
16007
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1161
 
16865
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1160
16008
16866
 * 
16009
16867
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}
16010
16868
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}             # <<<<<<<<<<<<<<
16011
16869
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
16012
16870
 * 
16013
16871
 */
16014
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16872
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16015
16873
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16016
 
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16874
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16017
16875
  __Pyx_GOTREF(__pyx_t_6);
16018
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16876
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16019
16877
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16020
 
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16878
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16021
16879
  __Pyx_GOTREF(__pyx_t_6);
16022
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16880
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16023
16881
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16024
16882
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_be));
16025
16883
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_be));
16027
16885
  __pyx_v_4h5py_3h5t__float_be = __pyx_t_4;
16028
16886
  __pyx_t_4 = 0;
16029
16887
 
16030
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1162
 
16888
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1161
16031
16889
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}
16032
16890
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}
16033
16891
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}             # <<<<<<<<<<<<<<
16034
16892
 * 
16035
16893
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16036
16894
 */
16037
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16895
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16038
16896
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16039
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16897
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16040
16898
  __Pyx_GOTREF(__pyx_t_6);
16041
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16899
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16042
16900
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16043
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16901
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16044
16902
  __Pyx_GOTREF(__pyx_t_6);
16045
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16903
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16046
16904
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16047
16905
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_nt));
16048
16906
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_nt));
16050
16908
  __pyx_v_4h5py_3h5t__float_nt = __pyx_t_4;
16051
16909
  __pyx_t_4 = 0;
16052
16910
 
16053
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1164
 
16911
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1163
16054
16912
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
16055
16913
 * 
16056
16914
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}             # <<<<<<<<<<<<<<
16057
16915
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}
16058
16916
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
16059
16917
 */
 
16918
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16919
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16920
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16921
  __Pyx_GOTREF(__pyx_t_6);
 
16922
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16923
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16924
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16925
  __Pyx_GOTREF(__pyx_t_6);
 
16926
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16927
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16928
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16929
  __Pyx_GOTREF(__pyx_t_6);
 
16930
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16931
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16932
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16933
  __Pyx_GOTREF(__pyx_t_6);
 
16934
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16935
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16936
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
 
16937
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
 
16938
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16939
  __pyx_v_4h5py_3h5t__int_le = __pyx_t_4;
 
16940
  __pyx_t_4 = 0;
 
16941
 
 
16942
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1164
 
16943
 * 
 
16944
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
 
16945
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}             # <<<<<<<<<<<<<<
 
16946
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
 
16947
 * 
 
16948
 */
16060
16949
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16061
16950
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16062
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16951
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16063
16952
  __Pyx_GOTREF(__pyx_t_6);
16064
16953
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16065
16954
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16066
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16955
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16067
16956
  __Pyx_GOTREF(__pyx_t_6);
16068
16957
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16069
16958
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16070
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16959
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16071
16960
  __Pyx_GOTREF(__pyx_t_6);
16072
16961
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16073
16962
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16074
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16963
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16075
16964
  __Pyx_GOTREF(__pyx_t_6);
16076
16965
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16077
16966
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16078
 
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
16079
 
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
 
16967
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
 
16968
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
16080
16969
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16081
 
  __pyx_v_4h5py_3h5t__int_le = __pyx_t_4;
 
16970
  __pyx_v_4h5py_3h5t__int_be = __pyx_t_4;
16082
16971
  __pyx_t_4 = 0;
16083
16972
 
16084
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1165
16085
 
 * 
 
16973
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1165
16086
16974
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16087
 
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}             # <<<<<<<<<<<<<<
16088
 
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
 
16975
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}
 
16976
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}             # <<<<<<<<<<<<<<
16089
16977
 * 
 
16978
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16090
16979
 */
16091
16980
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16092
16981
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16093
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16982
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16094
16983
  __Pyx_GOTREF(__pyx_t_6);
16095
16984
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16096
16985
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16097
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16986
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16098
16987
  __Pyx_GOTREF(__pyx_t_6);
16099
16988
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16100
16989
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16101
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16990
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16102
16991
  __Pyx_GOTREF(__pyx_t_6);
16103
16992
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16104
16993
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16105
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16994
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16106
16995
  __Pyx_GOTREF(__pyx_t_6);
16107
16996
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16108
16997
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16109
 
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
16110
 
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
16111
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16112
 
  __pyx_v_4h5py_3h5t__int_be = __pyx_t_4;
16113
 
  __pyx_t_4 = 0;
16114
 
 
16115
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1166
16116
 
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16117
 
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}
16118
 
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}             # <<<<<<<<<<<<<<
16119
 
 * 
16120
 
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16121
 
 */
16122
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16123
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16124
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16125
 
  __Pyx_GOTREF(__pyx_t_6);
16126
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16127
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16128
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16129
 
  __Pyx_GOTREF(__pyx_t_6);
16130
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16131
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16132
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16133
 
  __Pyx_GOTREF(__pyx_t_6);
16134
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16135
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16136
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16137
 
  __Pyx_GOTREF(__pyx_t_6);
16138
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16139
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16140
16998
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_nt));
16141
16999
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_nt));
16142
17000
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16143
17001
  __pyx_v_4h5py_3h5t__int_nt = __pyx_t_4;
16144
17002
  __pyx_t_4 = 0;
16145
17003
 
16146
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1168
 
17004
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1167
16147
17005
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
16148
17006
 * 
16149
17007
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}             # <<<<<<<<<<<<<<
16150
17008
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}
16151
17009
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
16152
17010
 */
 
17011
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17012
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
17013
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17014
  __Pyx_GOTREF(__pyx_t_6);
 
17015
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17016
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
17017
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17018
  __Pyx_GOTREF(__pyx_t_6);
 
17019
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17020
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
17021
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17022
  __Pyx_GOTREF(__pyx_t_6);
 
17023
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17024
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
17025
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17026
  __Pyx_GOTREF(__pyx_t_6);
 
17027
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17028
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
17029
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
 
17030
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
 
17031
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
17032
  __pyx_v_4h5py_3h5t__uint_le = __pyx_t_4;
 
17033
  __pyx_t_4 = 0;
 
17034
 
 
17035
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1168
 
17036
 * 
 
17037
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
 
17038
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}             # <<<<<<<<<<<<<<
 
17039
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
 
17040
 * 
 
17041
 */
16153
17042
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16154
17043
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16155
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17044
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16156
17045
  __Pyx_GOTREF(__pyx_t_6);
16157
17046
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16158
17047
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16159
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17048
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16160
17049
  __Pyx_GOTREF(__pyx_t_6);
16161
17050
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16162
17051
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16163
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17052
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16164
17053
  __Pyx_GOTREF(__pyx_t_6);
16165
17054
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16166
17055
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16167
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17056
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16168
17057
  __Pyx_GOTREF(__pyx_t_6);
16169
17058
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16170
17059
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16171
 
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
16172
 
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
 
17060
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
 
17061
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
16173
17062
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16174
 
  __pyx_v_4h5py_3h5t__uint_le = __pyx_t_4;
 
17063
  __pyx_v_4h5py_3h5t__uint_be = __pyx_t_4;
16175
17064
  __pyx_t_4 = 0;
16176
17065
 
16177
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1169
16178
 
 * 
 
17066
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1169
16179
17067
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16180
 
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}             # <<<<<<<<<<<<<<
16181
 
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
 
17068
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}
 
17069
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}             # <<<<<<<<<<<<<<
16182
17070
 * 
 
17071
 * cdef TypeFloatID _c_float(dtype dt):
16183
17072
 */
16184
17073
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16185
17074
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16186
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17075
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16187
17076
  __Pyx_GOTREF(__pyx_t_6);
16188
17077
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16189
17078
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16190
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17079
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16191
17080
  __Pyx_GOTREF(__pyx_t_6);
16192
17081
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16193
17082
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16194
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17083
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16195
17084
  __Pyx_GOTREF(__pyx_t_6);
16196
17085
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16197
17086
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16198
 
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17087
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16199
17088
  __Pyx_GOTREF(__pyx_t_6);
16200
17089
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16201
17090
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16202
 
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
16203
 
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
16204
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16205
 
  __pyx_v_4h5py_3h5t__uint_be = __pyx_t_4;
16206
 
  __pyx_t_4 = 0;
16207
 
 
16208
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1170
16209
 
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16210
 
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}
16211
 
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}             # <<<<<<<<<<<<<<
16212
 
 * 
16213
 
 * cdef TypeFloatID _c_float(dtype dt):
16214
 
 */
16215
 
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16216
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
16217
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16218
 
  __Pyx_GOTREF(__pyx_t_6);
16219
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16220
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16221
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16222
 
  __Pyx_GOTREF(__pyx_t_6);
16223
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16224
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16225
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16226
 
  __Pyx_GOTREF(__pyx_t_6);
16227
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16228
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16229
 
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16230
 
  __Pyx_GOTREF(__pyx_t_6);
16231
 
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16232
 
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16233
17091
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt));
16234
17092
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt));
16235
17093
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
16236
17094
  __pyx_v_4h5py_3h5t__uint_nt = __pyx_t_4;
16237
17095
  __pyx_t_4 = 0;
16238
17096
 
16239
 
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1556
 
17097
  /* "/home/tachyon/h5py/h5py/h5t.pyx":1554
16240
17098
 * # Deprecated functions
16241
17099
 * 
16242
17100
 * import warnings             # <<<<<<<<<<<<<<
16243
17101
 * 
16244
17102
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):
16245
17103
 */
16246
 
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__warnings), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17104
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__warnings), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16247
17105
  __Pyx_GOTREF(__pyx_t_4);
16248
 
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__warnings, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
17106
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__warnings, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16249
17107
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
16250
17108
 
16251
 
  /* "/home/tachyon/slave/unix-release/build/h5py/utils.pxd":1
 
17109
  /* "/home/tachyon/h5py/h5py/numpy.pxd":1
16252
17110
 * #+             # <<<<<<<<<<<<<<
16253
17111
 * #
16254
17112
 * # This file is part of h5py, a low-level Python interface to the HDF5 library.
16289
17147
  __pyx_f = __pyx_filenames;
16290
17148
}
16291
17149
 
16292
 
static INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
 
17150
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
16293
17151
    if (unlikely(!type)) {
16294
17152
        PyErr_Format(PyExc_SystemError, "Missing type object");
16295
17153
        return 0;
16423
17281
    return -1;
16424
17282
}
16425
17283
 
16426
 
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
 
17284
static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
16427
17285
    PyObject *tmp_type, *tmp_value, *tmp_tb;
16428
17286
    PyThreadState *tstate = PyThreadState_GET();
16429
17287
 
16438
17296
    Py_XDECREF(tmp_tb);
16439
17297
}
16440
17298
 
16441
 
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
 
17299
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
16442
17300
    PyThreadState *tstate = PyThreadState_GET();
16443
17301
    *type = tstate->curexc_type;
16444
17302
    *value = tstate->curexc_value;
16497
17355
 
16498
17356
 
16499
17357
 
16500
 
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
 
17358
static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
16501
17359
    PyErr_Format(PyExc_ValueError,
16502
17360
        #if PY_VERSION_HEX < 0x02050000
16503
17361
                 "need more than %d value%s to unpack", (int)index,
16507
17365
                 (index == 1) ? "" : "s");
16508
17366
}
16509
17367
 
16510
 
static INLINE void __Pyx_RaiseTooManyValuesError(void) {
 
17368
static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(void) {
16511
17369
    PyErr_SetString(PyExc_ValueError, "too many values to unpack");
16512
17370
}
16513
17371
 
16534
17392
        return -1;
16535
17393
}
16536
17394
 
16537
 
static INLINE int __Pyx_CheckKeywordStrings(
 
17395
static CYTHON_INLINE int __Pyx_CheckKeywordStrings(
16538
17396
    PyObject *kwdict,
16539
17397
    const char* function_name,
16540
17398
    int kw_allowed)
16588
17446
    return 0;
16589
17447
}
16590
17448
 
16591
 
static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
 
17449
static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
16592
17450
    PyThreadState *tstate = PyThreadState_GET();
16593
17451
    *type = tstate->exc_type;
16594
17452
    *value = tstate->exc_value;
16653
17511
    return result;
16654
17512
}
16655
17513
 
16656
 
static INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject* x) {
 
17514
static CYTHON_INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject* x) {
16657
17515
    const hid_t neg_one = (hid_t)-1, const_zero = 0;
16658
17516
    const int is_unsigned = neg_one > const_zero;
16659
17517
    if (sizeof(hid_t) == sizeof(char)) {
16694
17552
    return (hid_t)-1;
16695
17553
}
16696
17554
 
16697
 
static INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t val) {
 
17555
static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t val) {
16698
17556
    const hid_t neg_one = (hid_t)-1, const_zero = 0;
16699
17557
    const int is_unsigned = neg_one > const_zero;
16700
17558
    if (sizeof(hid_t) <  sizeof(long)) {
16822
17680
}
16823
17681
#endif
16824
17682
 
16825
 
static INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t val) {
 
17683
static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t val) {
16826
17684
    const hsize_t neg_one = (hsize_t)-1, const_zero = 0;
16827
17685
    const int is_unsigned = neg_one > const_zero;
16828
17686
    if (sizeof(hsize_t) <  sizeof(long)) {
16840
17698
    }
16841
17699
}
16842
17700
 
16843
 
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
 
17701
static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
16844
17702
    const unsigned char neg_one = (unsigned char)-1, const_zero = 0;
16845
17703
    const int is_unsigned = neg_one > const_zero;
16846
17704
    if (sizeof(unsigned char) < sizeof(long)) {
16859
17717
    return (unsigned char)__Pyx_PyInt_AsUnsignedLong(x);
16860
17718
}
16861
17719
 
16862
 
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
 
17720
static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
16863
17721
    const unsigned short neg_one = (unsigned short)-1, const_zero = 0;
16864
17722
    const int is_unsigned = neg_one > const_zero;
16865
17723
    if (sizeof(unsigned short) < sizeof(long)) {
16878
17736
    return (unsigned short)__Pyx_PyInt_AsUnsignedLong(x);
16879
17737
}
16880
17738
 
16881
 
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
 
17739
static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
16882
17740
    const unsigned int neg_one = (unsigned int)-1, const_zero = 0;
16883
17741
    const int is_unsigned = neg_one > const_zero;
16884
17742
    if (sizeof(unsigned int) < sizeof(long)) {
16897
17755
    return (unsigned int)__Pyx_PyInt_AsUnsignedLong(x);
16898
17756
}
16899
17757
 
16900
 
static INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
 
17758
static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
16901
17759
    const char neg_one = (char)-1, const_zero = 0;
16902
17760
    const int is_unsigned = neg_one > const_zero;
16903
17761
    if (sizeof(char) < sizeof(long)) {
16916
17774
    return (char)__Pyx_PyInt_AsLong(x);
16917
17775
}
16918
17776
 
16919
 
static INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
 
17777
static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
16920
17778
    const short neg_one = (short)-1, const_zero = 0;
16921
17779
    const int is_unsigned = neg_one > const_zero;
16922
17780
    if (sizeof(short) < sizeof(long)) {
16935
17793
    return (short)__Pyx_PyInt_AsLong(x);
16936
17794
}
16937
17795
 
16938
 
static INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
 
17796
static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
16939
17797
    const int neg_one = (int)-1, const_zero = 0;
16940
17798
    const int is_unsigned = neg_one > const_zero;
16941
17799
    if (sizeof(int) < sizeof(long)) {
16954
17812
    return (int)__Pyx_PyInt_AsLong(x);
16955
17813
}
16956
17814
 
16957
 
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
 
17815
static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
16958
17816
    const signed char neg_one = (signed char)-1, const_zero = 0;
16959
17817
    const int is_unsigned = neg_one > const_zero;
16960
17818
    if (sizeof(signed char) < sizeof(long)) {
16973
17831
    return (signed char)__Pyx_PyInt_AsSignedLong(x);
16974
17832
}
16975
17833
 
16976
 
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
 
17834
static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
16977
17835
    const signed short neg_one = (signed short)-1, const_zero = 0;
16978
17836
    const int is_unsigned = neg_one > const_zero;
16979
17837
    if (sizeof(signed short) < sizeof(long)) {
16992
17850
    return (signed short)__Pyx_PyInt_AsSignedLong(x);
16993
17851
}
16994
17852
 
16995
 
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
 
17853
static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
16996
17854
    const signed int neg_one = (signed int)-1, const_zero = 0;
16997
17855
    const int is_unsigned = neg_one > const_zero;
16998
17856
    if (sizeof(signed int) < sizeof(long)) {
17011
17869
    return (signed int)__Pyx_PyInt_AsSignedLong(x);
17012
17870
}
17013
17871
 
17014
 
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
 
17872
static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
17015
17873
    const unsigned long neg_one = (unsigned long)-1, const_zero = 0;
17016
17874
    const int is_unsigned = neg_one > const_zero;
17017
17875
#if PY_VERSION_HEX < 0x03000000
17046
17904
    }
17047
17905
}
17048
17906
 
17049
 
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
 
17907
static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
17050
17908
    const unsigned PY_LONG_LONG neg_one = (unsigned PY_LONG_LONG)-1, const_zero = 0;
17051
17909
    const int is_unsigned = neg_one > const_zero;
17052
17910
#if PY_VERSION_HEX < 0x03000000
17081
17939
    }
17082
17940
}
17083
17941
 
17084
 
static INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
 
17942
static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
17085
17943
    const long neg_one = (long)-1, const_zero = 0;
17086
17944
    const int is_unsigned = neg_one > const_zero;
17087
17945
#if PY_VERSION_HEX < 0x03000000
17116
17974
    }
17117
17975
}
17118
17976
 
17119
 
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
 
17977
static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
17120
17978
    const PY_LONG_LONG neg_one = (PY_LONG_LONG)-1, const_zero = 0;
17121
17979
    const int is_unsigned = neg_one > const_zero;
17122
17980
#if PY_VERSION_HEX < 0x03000000
17151
18009
    }
17152
18010
}
17153
18011
 
17154
 
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
 
18012
static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
17155
18013
    const signed long neg_one = (signed long)-1, const_zero = 0;
17156
18014
    const int is_unsigned = neg_one > const_zero;
17157
18015
#if PY_VERSION_HEX < 0x03000000
17186
18044
    }
17187
18045
}
17188
18046
 
17189
 
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
 
18047
static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
17190
18048
    const signed PY_LONG_LONG neg_one = (signed PY_LONG_LONG)-1, const_zero = 0;
17191
18049
    const int is_unsigned = neg_one > const_zero;
17192
18050
#if PY_VERSION_HEX < 0x03000000
17261
18119
#ifndef __PYX_HAVE_RT_ImportType
17262
18120
#define __PYX_HAVE_RT_ImportType
17263
18121
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
17264
 
    long size)
 
18122
    long size, int strict)
17265
18123
{
17266
18124
    PyObject *py_module = 0;
17267
18125
    PyObject *result = 0;
17268
18126
    PyObject *py_name = 0;
 
18127
    char warning[200];
17269
18128
 
17270
18129
    py_module = __Pyx_ImportModule(module_name);
17271
18130
    if (!py_module)
17290
18149
            module_name, class_name);
17291
18150
        goto bad;
17292
18151
    }
17293
 
    if (((PyTypeObject *)result)->tp_basicsize != size) {
 
18152
    if (!strict && ((PyTypeObject *)result)->tp_basicsize > size) {
 
18153
        PyOS_snprintf(warning, sizeof(warning), 
 
18154
            "%s.%s size changed, may indicate binary incompatibility",
 
18155
            module_name, class_name);
 
18156
        PyErr_WarnEx(NULL, warning, 0);
 
18157
    }
 
18158
    else if (((PyTypeObject *)result)->tp_basicsize != size) {
17294
18159
        PyErr_Format(PyExc_ValueError, 
17295
 
            "%s.%s does not appear to be the correct type object",
 
18160
            "%s.%s has the wrong size, try recompiling",
17296
18161
            module_name, class_name);
17297
18162
        goto bad;
17298
18163
    }
17501
18366
 
17502
18367
/* Type Conversion Functions */
17503
18368
 
17504
 
static INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
 
18369
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
17505
18370
   if (x == Py_True) return 1;
17506
18371
   else if ((x == Py_False) | (x == Py_None)) return 0;
17507
18372
   else return PyObject_IsTrue(x);
17508
18373
}
17509
18374
 
17510
 
static INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
 
18375
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
17511
18376
  PyNumberMethods *m;
17512
18377
  const char *name = NULL;
17513
18378
  PyObject *res = NULL;
17553
18418
  return res;
17554
18419
}
17555
18420
 
17556
 
static INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
 
18421
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
17557
18422
  Py_ssize_t ival;
17558
18423
  PyObject* x = PyNumber_Index(b);
17559
18424
  if (!x) return -1;
17562
18427
  return ival;
17563
18428
}
17564
18429
 
17565
 
static INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
 
18430
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
17566
18431
#if PY_VERSION_HEX < 0x02050000
17567
18432
   if (ival <= LONG_MAX)
17568
18433
       return PyInt_FromLong((long)ival);
17576
18441
#endif
17577
18442
}
17578
18443
 
17579
 
static INLINE size_t __Pyx_PyInt_AsSize_t(PyObject* x) {
 
18444
static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject* x) {
17580
18445
   unsigned PY_LONG_LONG val = __Pyx_PyInt_AsUnsignedLongLong(x);
17581
18446
   if (unlikely(val == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred())) {
17582
18447
       return (size_t)-1;