0 1 0
default
Jean-Francois Pieronne - 12 years ago 2009-01-03 16:43:56
jf.pieronne@laposte.net
Cython upgrade
1 file changed with 9396 insertions and 7485 deletions:
↑ Collapse Diff ↑
1
 
/* Generated by Cython 0.25.1 */
1
 
/* Generated by Cython 0.28.6 */
2 2
 

	
3 3
 
#define PY_SSIZE_T_CLEAN
4 4
 
#include "Python.h"
5 5
 
#ifndef Py_PYTHON_H
6 6
 
    #error Python headers needed to compile C extensions, please install development version of Python.
7
 
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
8
 
    #error Cython requires Python 2.6+ or Python 3.2+.
9
 
#else
10
 
#define CYTHON_ABI "0_25_1"
7
 
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
8
 
    #error Cython requires Python 2.6+ or Python 3.3+.
9
 
#else
10
 
#define CYTHON_ABI "0_28_6"
11
 
#define CYTHON_FUTURE_DIVISION 0
11 12
 
#include <stddef.h>
12 13
 
#ifndef offsetof
13 14
 
  #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
...
 
@@ -29,8 +30,9 @@
29 30
 
#ifndef DL_EXPORT
30 31
 
  #define DL_EXPORT(t) t
31 32
 
#endif
33
 
#define __PYX_COMMA ,
32 34
 
#ifndef HAVE_LONG_LONG
33
 
  #if PY_VERSION_HEX >= 0x03030000 || (PY_MAJOR_VERSION == 2 && PY_VERSION_HEX >= 0x02070000)
35
 
  #if PY_VERSION_HEX >= 0x02070000
34 36
 
    #define HAVE_LONG_LONG
35 37
 
  #endif
36 38
 
#endif
...
 
@@ -46,8 +48,14 @@
46 48
 
  #define CYTHON_COMPILING_IN_CPYTHON 0
47 49
 
  #undef CYTHON_USE_TYPE_SLOTS
48 50
 
  #define CYTHON_USE_TYPE_SLOTS 0
49
 
  #undef CYTHON_USE_ASYNC_SLOTS
50
 
  #define CYTHON_USE_ASYNC_SLOTS 0
51
 
  #undef CYTHON_USE_PYTYPE_LOOKUP
52
 
  #define CYTHON_USE_PYTYPE_LOOKUP 0
53
 
  #if PY_VERSION_HEX < 0x03050000
54
 
    #undef CYTHON_USE_ASYNC_SLOTS
55
 
    #define CYTHON_USE_ASYNC_SLOTS 0
56
 
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
57
 
    #define CYTHON_USE_ASYNC_SLOTS 1
58
 
  #endif
51 59
 
  #undef CYTHON_USE_PYLIST_INTERNALS
52 60
 
  #define CYTHON_USE_PYLIST_INTERNALS 0
53 61
 
  #undef CYTHON_USE_UNICODE_INTERNALS
...
 
@@ -66,6 +74,10 @@
66 74
 
  #define CYTHON_FAST_THREAD_STATE 0
67 75
 
  #undef CYTHON_FAST_PYCALL
68 76
 
  #define CYTHON_FAST_PYCALL 0
77
 
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
78
 
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
79
 
  #undef CYTHON_USE_TP_FINALIZE
80
 
  #define CYTHON_USE_TP_FINALIZE 0
69 81
 
#elif defined(PYSTON_VERSION)
70 82
 
  #define CYTHON_COMPILING_IN_PYPY 0
71 83
 
  #define CYTHON_COMPILING_IN_PYSTON 1
...
 
@@ -73,6 +85,8 @@
73 85
 
  #ifndef CYTHON_USE_TYPE_SLOTS
74 86
 
    #define CYTHON_USE_TYPE_SLOTS 1
75 87
 
  #endif
88
 
  #undef CYTHON_USE_PYTYPE_LOOKUP
89
 
  #define CYTHON_USE_PYTYPE_LOOKUP 0
76 90
 
  #undef CYTHON_USE_ASYNC_SLOTS
77 91
 
  #define CYTHON_USE_ASYNC_SLOTS 0
78 92
 
  #undef CYTHON_USE_PYLIST_INTERNALS
...
 
@@ -97,6 +111,10 @@
97 111
 
  #define CYTHON_FAST_THREAD_STATE 0
98 112
 
  #undef CYTHON_FAST_PYCALL
99 113
 
  #define CYTHON_FAST_PYCALL 0
114
 
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
115
 
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
116
 
  #undef CYTHON_USE_TP_FINALIZE
117
 
  #define CYTHON_USE_TP_FINALIZE 0
100 118
 
#else
101 119
 
  #define CYTHON_COMPILING_IN_PYPY 0
102 120
 
  #define CYTHON_COMPILING_IN_PYSTON 0
...
 
@@ -104,6 +122,12 @@
104 122
 
  #ifndef CYTHON_USE_TYPE_SLOTS
105 123
 
    #define CYTHON_USE_TYPE_SLOTS 1
106 124
 
  #endif
125
 
  #if PY_VERSION_HEX < 0x02070000
126
 
    #undef CYTHON_USE_PYTYPE_LOOKUP
127
 
    #define CYTHON_USE_PYTYPE_LOOKUP 0
128
 
  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
129
 
    #define CYTHON_USE_PYTYPE_LOOKUP 1
130
 
  #endif
107 131
 
  #if PY_MAJOR_VERSION < 3
108 132
 
    #undef CYTHON_USE_ASYNC_SLOTS
109 133
 
    #define CYTHON_USE_ASYNC_SLOTS 0
...
 
@@ -143,6 +167,12 @@
143 167
 
  #ifndef CYTHON_FAST_PYCALL
144 168
 
    #define CYTHON_FAST_PYCALL 1
145 169
 
  #endif
170
 
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
171
 
    #define CYTHON_PEP489_MULTI_PHASE_INIT (0 && PY_VERSION_HEX >= 0x03050000)
172
 
  #endif
173
 
  #ifndef CYTHON_USE_TP_FINALIZE
174
 
    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
175
 
  #endif
146 176
 
#endif
147 177
 
#if !defined(CYTHON_FAST_PYCCALL)
148 178
 
#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
...
 
@@ -152,7 +182,109 @@
152 182
 
  #undef SHIFT
153 183
 
  #undef BASE
154 184
 
  #undef MASK
155
 
#endif
185
 
  #ifdef SIZEOF_VOID_P
186
 
    enum { __pyx_check_sizeof_voidp = 1/(SIZEOF_VOID_P == sizeof(void*)) };
187
 
  #endif
188
 
#endif
189
 
#ifndef __has_attribute
190
 
  #define __has_attribute(x) 0
191
 
#endif
192
 
#ifndef __has_cpp_attribute
193
 
  #define __has_cpp_attribute(x) 0
194
 
#endif
195
 
#ifndef CYTHON_RESTRICT
196
 
  #if defined(__GNUC__)
197
 
    #define CYTHON_RESTRICT __restrict__
198
 
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
199
 
    #define CYTHON_RESTRICT __restrict
200
 
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
201
 
    #define CYTHON_RESTRICT restrict
202
 
  #else
203
 
    #define CYTHON_RESTRICT
204
 
  #endif
205
 
#endif
206
 
#ifndef CYTHON_UNUSED
207
 
# if defined(__GNUC__)
208
 
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
209
 
#     define CYTHON_UNUSED __attribute__ ((__unused__))
210
 
#   else
211
 
#     define CYTHON_UNUSED
212
 
#   endif
213
 
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
214
 
#   define CYTHON_UNUSED __attribute__ ((__unused__))
215
 
# else
216
 
#   define CYTHON_UNUSED
217
 
# endif
218
 
#endif
219
 
#ifndef CYTHON_MAYBE_UNUSED_VAR
220
 
#  if defined(__cplusplus)
221
 
     template<class T> void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
222
 
#  else
223
 
#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
224
 
#  endif
225
 
#endif
226
 
#ifndef CYTHON_NCP_UNUSED
227
 
# if CYTHON_COMPILING_IN_CPYTHON
228
 
#  define CYTHON_NCP_UNUSED
229
 
# else
230
 
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
231
 
# endif
232
 
#endif
233
 
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
234
 
#ifdef _MSC_VER
235
 
    #ifndef _MSC_STDINT_H_
236
 
        #if _MSC_VER < 1300
237
 
           typedef unsigned char     uint8_t;
238
 
           typedef unsigned int      uint32_t;
239
 
        #else
240
 
           typedef unsigned __int8   uint8_t;
241
 
           typedef unsigned __int32  uint32_t;
242
 
        #endif
243
 
    #endif
244
 
#else
245
 
   #ifndef __VMS
246
 
      #include <stdint.h>
247
 
   #endif
248
 
#endif
249
 
#ifndef CYTHON_FALLTHROUGH
250
 
  #if defined(__cplusplus) && __cplusplus >= 201103L
251
 
    #if __has_cpp_attribute(fallthrough)
252
 
      #define CYTHON_FALLTHROUGH [[fallthrough]]
253
 
    #elif __has_cpp_attribute(clang::fallthrough)
254
 
      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
255
 
    #elif __has_cpp_attribute(gnu::fallthrough)
256
 
      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
257
 
    #endif
258
 
  #endif
259
 
  #ifndef CYTHON_FALLTHROUGH
260
 
    #if __has_attribute(fallthrough)
261
 
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
262
 
    #else
263
 
      #define CYTHON_FALLTHROUGH
264
 
    #endif
265
 
  #endif
266
 
  #if defined(__clang__ ) && defined(__apple_build_version__)
267
 
    #if __apple_build_version__ < 7000000
268
 
      #undef  CYTHON_FALLTHROUGH
269
 
      #define CYTHON_FALLTHROUGH
270
 
    #endif
271
 
  #endif
272
 
#endif
273
 

	
274
 
#ifndef CYTHON_INLINE
275
 
  #if defined(__clang__)
276
 
    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
277
 
  #elif defined(__GNUC__)
278
 
    #define CYTHON_INLINE __inline__
279
 
  #elif defined(_MSC_VER)
280
 
    #define CYTHON_INLINE __inline
281
 
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
282
 
    #define CYTHON_INLINE inline
283
 
  #else
284
 
    #define CYTHON_INLINE
285
 
  #endif
286
 
#endif
287
 

	
156 288
 
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
157 289
 
  #define Py_OptimizeFlag 0
158 290
 
#endif
...
 
@@ -181,19 +313,91 @@
181 313
 
#ifndef Py_TPFLAGS_HAVE_FINALIZE
182 314
 
  #define Py_TPFLAGS_HAVE_FINALIZE 0
183 315
 
#endif
184
 
#ifndef METH_FASTCALL
185
 
  #define METH_FASTCALL 0x80
186
 
  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject **args,
187
 
                                              Py_ssize_t nargs, PyObject *kwnames);
316
 
#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
317
 
  #ifndef METH_FASTCALL
318
 
     #define METH_FASTCALL 0x80
319
 
  #endif
320
 
  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs);
321
 
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
322
 
                                                          Py_ssize_t nargs, PyObject *kwnames);
188 323
 
#else
189 324
 
  #define __Pyx_PyCFunctionFast _PyCFunctionFast
325
 
  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
190 326
 
#endif
191 327
 
#if CYTHON_FAST_PYCCALL
192 328
 
#define __Pyx_PyFastCFunction_Check(func)\
193
 
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
329
 
    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)))))
194 330
 
#else
195 331
 
#define __Pyx_PyFastCFunction_Check(func) 0
196 332
 
#endif
333
 
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
334
 
  #define PyObject_Malloc(s)   PyMem_Malloc(s)
335
 
  #define PyObject_Free(p)     PyMem_Free(p)
336
 
  #define PyObject_Realloc(p)  PyMem_Realloc(p)
337
 
#endif
338
 
#if CYTHON_COMPILING_IN_PYSTON
339
 
  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
340
 
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
341
 
#else
342
 
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
343
 
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
344
 
#endif
345
 
#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
346
 
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
347
 
#elif PY_VERSION_HEX >= 0x03060000
348
 
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
349
 
#elif PY_VERSION_HEX >= 0x03000000
350
 
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
351
 
#else
352
 
  #define __Pyx_PyThreadState_Current _PyThreadState_Current
353
 
#endif
354
 
#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
355
 
#include "pythread.h"
356
 
#define Py_tss_NEEDS_INIT 0
357
 
typedef int Py_tss_t;
358
 
static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
359
 
  *key = PyThread_create_key();
360
 
  return 0; // PyThread_create_key reports success always
361
 
}
362
 
static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
363
 
  Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
364
 
  *key = Py_tss_NEEDS_INIT;
365
 
  return key;
366
 
}
367
 
static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
368
 
  PyObject_Free(key);
369
 
}
370
 
static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) {
371
 
  return *key != Py_tss_NEEDS_INIT;
372
 
}
373
 
static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) {
374
 
  PyThread_delete_key(*key);
375
 
  *key = Py_tss_NEEDS_INIT;
376
 
}
377
 
static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) {
378
 
  return PyThread_set_key_value(*key, value);
379
 
}
380
 
static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
381
 
  return PyThread_get_key_value(*key);
382
 
}
383
 
#endif // TSS (Thread Specific Storage) API
384
 
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
385
 
#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
386
 
#else
387
 
#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
388
 
#endif
389
 
#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
390
 
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
391
 
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
392
 
#else
393
 
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
394
 
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
395
 
#endif
396
 
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
397
 
#define __Pyx_PyDict_GetItemStr(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
398
 
#else
399
 
#define __Pyx_PyDict_GetItemStr(dict, name)  PyDict_GetItem(dict, name)
400
 
#endif
197 401
 
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
198 402
 
  #define CYTHON_PEP393_ENABLED 1
199 403
 
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
...
 
@@ -238,18 +442,6 @@
238 442
 
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
239 443
 
  #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
240 444
 
#endif
241
 
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
242
 
  #define PyObject_Malloc(s)   PyMem_Malloc(s)
243
 
  #define PyObject_Free(p)     PyMem_Free(p)
244
 
  #define PyObject_Realloc(p)  PyMem_Realloc(p)
245
 
#endif
246
 
#if CYTHON_COMPILING_IN_PYSTON
247
 
  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
248
 
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
249
 
#else
250
 
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
251
 
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
252
 
#endif
253 445
 
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
254 446
 
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
255 447
 
#if PY_MAJOR_VERSION >= 3
...
 
@@ -266,6 +458,7 @@
266 458
 
  #define PyString_Type                PyUnicode_Type
267 459
 
  #define PyString_Check               PyUnicode_Check
268 460
 
  #define PyString_CheckExact          PyUnicode_CheckExact
461
 
  #define PyObject_Unicode             PyObject_Str
269 462
 
#endif
270 463
 
#if PY_MAJOR_VERSION >= 3
271 464
 
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
...
 
@@ -277,8 +470,11 @@
277 470
 
#ifndef PySet_CheckExact
278 471
 
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
279 472
 
#endif
280
 
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
281
 
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
473
 
#if CYTHON_ASSUME_SAFE_MACROS
474
 
  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
475
 
#else
476
 
  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
477
 
#endif
282 478
 
#if PY_MAJOR_VERSION >= 3
283 479
 
  #define PyIntObject                  PyLongObject
284 480
 
  #define PyInt_Type                   PyLong_Type
...
 
@@ -313,7 +509,7 @@
313 509
 
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
314 510
 
#endif
315 511
 
#if PY_MAJOR_VERSION >= 3
316
 
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
512
 
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : (Py_INCREF(func), func))
317 513
 
#else
318 514
 
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
319 515
 
#endif
...
 
@@ -322,39 +518,17 @@
322 518
 
    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
323 519
 
    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
324 520
 
  #else
521
 
    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
522
 
  #endif
523
 
#else
524
 
  #define __Pyx_PyType_AsAsync(obj) NULL
525
 
#endif
526
 
#ifndef __Pyx_PyAsyncMethodsStruct
325 527
 
    typedef struct {
326 528
 
        unaryfunc am_await;
327 529
 
        unaryfunc am_aiter;
328 530
 
        unaryfunc am_anext;
329 531
 
    } __Pyx_PyAsyncMethodsStruct;
330
 
    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
331
 
  #endif
332
 
#else
333
 
  #define __Pyx_PyType_AsAsync(obj) NULL
334
 
#endif
335
 
#ifndef CYTHON_RESTRICT
336
 
  #if defined(__GNUC__)
337
 
    #define CYTHON_RESTRICT __restrict__
338
 
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
339
 
    #define CYTHON_RESTRICT __restrict
340
 
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
341
 
    #define CYTHON_RESTRICT restrict
342
 
  #else
343
 
    #define CYTHON_RESTRICT
344
 
  #endif
345
 
#endif
346
 
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
347
 

	
348
 
#ifndef CYTHON_INLINE
349
 
  #if defined(__GNUC__)
350
 
    #define CYTHON_INLINE __inline__
351
 
  #elif defined(_MSC_VER)
352
 
    #define CYTHON_INLINE __inline
353
 
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
354
 
    #define CYTHON_INLINE inline
355
 
  #else
356
 
    #define CYTHON_INLINE
357
 
  #endif
358 532
 
#endif
359 533
 

	
360 534
 
#if defined(WIN32) || defined(MS_WINDOWS)
...
 
@@ -382,14 +556,6 @@ static CYTHON_INLINE float __PYX_NAN() {
382 556
 
  __pyx_filename = __pyx_f[f_index]; __pyx_lineno = lineno; __pyx_clineno = __LINE__; goto Ln_error; \
383 557
 
}
384 558
 

	
385
 
#if PY_MAJOR_VERSION >= 3
386
 
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
387
 
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
388
 
#else
389
 
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
390
 
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
391
 
#endif
392
 

	
393 559
 
#ifndef __PYX_EXTERN_C
394 560
 
  #ifdef __cplusplus
395 561
 
    #define __PYX_EXTERN_C extern "C"
...
 
@@ -400,6 +566,7 @@ static CYTHON_INLINE float __PYX_NAN() {
400 566
 

	
401 567
 
#define __PYX_HAVE__vms__starlet___starlet
402 568
 
#define __PYX_HAVE_API__vms__starlet___starlet
569
 
/* Early includes */
403 570
 
#include "iledef.h"
404 571
 
#include "lkidef.h"
405 572
 
#include "ovstarlet.h"
...
 
@@ -411,30 +578,10 @@ static CYTHON_INLINE float __PYX_NAN() {
411 578
 
#include <omp.h>
412 579
 
#endif /* _OPENMP */
413 580
 

	
414
 
#ifdef PYREX_WITHOUT_ASSERTIONS
581
 
#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
415 582
 
#define CYTHON_WITHOUT_ASSERTIONS
416 583
 
#endif
417 584
 

	
418
 
#ifndef CYTHON_UNUSED
419
 
# if defined(__GNUC__)
420
 
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
421
 
#     define CYTHON_UNUSED __attribute__ ((__unused__))
422
 
#   else
423
 
#     define CYTHON_UNUSED
424
 
#   endif
425
 
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
426
 
#   define CYTHON_UNUSED __attribute__ ((__unused__))
427
 
# else
428
 
#   define CYTHON_UNUSED
429
 
# endif
430
 
#endif
431
 
#ifndef CYTHON_NCP_UNUSED
432
 
# if CYTHON_COMPILING_IN_CPYTHON
433
 
#  define CYTHON_NCP_UNUSED
434
 
# else
435
 
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
436
 
# endif
437
 
#endif
438 585
 
typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
439 586
 
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;
440 587
 

	
...
 
@@ -462,8 +609,8 @@ typedef struct {PyObject **p; const char
462 609
 
    #define __Pyx_sst_abs(value) abs(value)
463 610
 
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
464 611
 
    #define __Pyx_sst_abs(value) labs(value)
465
 
#elif defined (_MSC_VER) && defined (_M_X64)
466
 
    #define __Pyx_sst_abs(value) _abs64(value)
612
 
#elif defined (_MSC_VER)
613
 
    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
467 614
 
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
468 615
 
    #define __Pyx_sst_abs(value) llabs(value)
469 616
 
#elif defined (__GNUC__)
...
 
@@ -471,8 +618,8 @@ typedef struct {PyObject **p; const char
471 618
 
#else
472 619
 
    #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
473 620
 
#endif
474
 
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
475
 
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
621
 
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
622
 
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
476 623
 
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
477 624
 
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
478 625
 
#define __Pyx_PyBytes_FromString        PyBytes_FromString
...
 
@@ -485,31 +632,37 @@ static CYTHON_INLINE PyObject* __Pyx_PyU
485 632
 
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
486 633
 
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
487 634
 
#endif
488
 
#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
489
 
#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
635
 
#define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
636
 
#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
637
 
#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
638
 
#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
639
 
#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
640
 
#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
641
 
#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
642
 
#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
643
 
#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
644
 
#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
645
 
#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
490 646
 
#define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
491 647
 
#define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
492 648
 
#define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
493 649
 
#define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
494 650
 
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
495
 
#if PY_MAJOR_VERSION < 3
496
 
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
497
 
{
651
 
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
498 652
 
    const Py_UNICODE *u_end = u;
499 653
 
    while (*u_end++) ;
500 654
 
    return (size_t)(u_end - u - 1);
501 655
 
}
502
 
#else
503
 
#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
504
 
#endif
505 656
 
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
506 657
 
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
507 658
 
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
508 659
 
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
509 660
 
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
510
 
#define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
661
 
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b);
511 662
 
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
512 663
 
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
664
 
#define __Pyx_PySequence_Tuple(obj)\
665
 
    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
513 666
 
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
514 667
 
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
515 668
 
#if CYTHON_ASSUME_SAFE_MACROS
...
 
@@ -608,10 +761,12 @@ bad:
608 761
 
  #define likely(x)   (x)
609 762
 
  #define unlikely(x) (x)
610 763
 
#endif /* __GNUC__ */
611
 

	
612
 
static PyObject *__pyx_m;
764
 
static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }
765
 

	
766
 
static PyObject *__pyx_m = NULL;
613 767
 
static PyObject *__pyx_d;
614 768
 
static PyObject *__pyx_b;
769
 
static PyObject *__pyx_cython_runtime = NULL;
615 770
 
static PyObject *__pyx_empty_tuple;
616 771
 
static PyObject *__pyx_empty_bytes;
617 772
 
static PyObject *__pyx_empty_unicode;
...
 
@@ -622,8 +777,9 @@ static const char *__pyx_filename;
622 777
 

	
623 778
 

	
624 779
 
static const char *__pyx_f[] = {
625
 
  "vms/starlet/_starlet.pyx",
626
 
  "_itemList.pxd",
780
 
  "stringsource",
781
 
  "_starlet.pyx",
782
 
  "../itemList/_itemList.pxd",
627 783
 
  "type.pxd",
628 784
 
  "bool.pxd",
629 785
 
  "complex.pxd",
...
 
@@ -781,16 +937,7 @@ struct __pyx_obj_3vms_7starlet_8_starlet
781 937
 

	
782 938
 
/* PyObjectGetAttrStr.proto */
783 939
 
#if CYTHON_USE_TYPE_SLOTS
784
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
785
 
    PyTypeObject* tp = Py_TYPE(obj);
786
 
    if (likely(tp->tp_getattro))
787
 
        return tp->tp_getattro(obj, attr_name);
788
 
#if PY_MAJOR_VERSION < 3
789
 
    if (likely(tp->tp_getattr))
790
 
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
791
 
#endif
792
 
    return PyObject_GetAttr(obj, attr_name);
793
 
}
940
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
794 941
 
#else
795 942
 
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
796 943
 
#endif
...
 
@@ -803,7 +950,7 @@ static void __Pyx_RaiseArgtupleInvalid(c
803 950
 
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);
804 951
 

	
805 952
 
/* KeywordStringCheck.proto */
806
 
static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed);
953
 
static int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed);
807 954
 

	
808 955
 
/* PyObjectCall.proto */
809 956
 
#if CYTHON_COMPILING_IN_CPYTHON
...
 
@@ -812,6 +959,71 @@ static CYTHON_INLINE PyObject* __Pyx_PyO
812 959
 
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
813 960
 
#endif
814 961
 

	
962
 
/* PyThreadStateGet.proto */
963
 
#if CYTHON_FAST_THREAD_STATE
964
 
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
965
 
#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
966
 
#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
967
 
#else
968
 
#define __Pyx_PyThreadState_declare
969
 
#define __Pyx_PyThreadState_assign
970
 
#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
971
 
#endif
972
 

	
973
 
/* PyErrFetchRestore.proto */
974
 
#if CYTHON_FAST_THREAD_STATE
975
 
#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
976
 
#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
977
 
#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
978
 
#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
979
 
#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
980
 
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
981
 
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
982
 
#if CYTHON_COMPILING_IN_CPYTHON
983
 
#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
984
 
#else
985
 
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
986
 
#endif
987
 
#else
988
 
#define __Pyx_PyErr_Clear() PyErr_Clear()
989
 
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
990
 
#define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
991
 
#define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
992
 
#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
993
 
#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
994
 
#define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
995
 
#define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
996
 
#endif
997
 

	
998
 
/* RaiseException.proto */
999
 
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);
1000
 

	
1001
 
/* PyCFunctionFastCall.proto */
1002
 
#if CYTHON_FAST_PYCCALL
1003
 
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
1004
 
#else
1005
 
#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
1006
 
#endif
1007
 

	
1008
 
/* PyFunctionFastCall.proto */
1009
 
#if CYTHON_FAST_PYCALL
1010
 
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
1011
 
    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
1012
 
#if 1 || PY_VERSION_HEX < 0x030600B1
1013
 
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
1014
 
#else
1015
 
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
1016
 
#endif
1017
 
#endif
1018
 

	
1019
 
/* PyObjectCallMethO.proto */
1020
 
#if CYTHON_COMPILING_IN_CPYTHON
1021
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
1022
 
#endif
1023
 

	
1024
 
/* PyObjectCallOneArg.proto */
1025
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
1026
 

	
815 1027
 
/* GetItemInt.proto */
816 1028
 
#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
817 1029
 
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
...
 
@@ -830,7 +1042,7 @@ static CYTHON_INLINE PyObject *__Pyx_Get
830 1042
 
    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
831 1043
 
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
832 1044
 
                                                              int wraparound, int boundscheck);
833
 
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
1045
 
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
834 1046
 
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
835 1047
 
                                                     int is_list, int wraparound, int boundscheck);
836 1048
 

	
...
 
@@ -840,37 +1052,10 @@ static CYTHON_INLINE PyObject *__Pyx_Get
840 1052
 
    __Pyx_SetItemInt_Fast(o, (Py_ssize_t)i, v, is_list, wraparound, boundscheck) :\
841 1053
 
    (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) :\
842 1054
 
               __Pyx_SetItemInt_Generic(o, to_py_func(i), v)))
843
 
static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
1055
 
static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
844 1056
 
static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v,
845 1057
 
                                               int is_list, int wraparound, int boundscheck);
846 1058
 

	
847
 
/* PyThreadStateGet.proto */
848
 
#if CYTHON_FAST_THREAD_STATE
849
 
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
850
 
#define __Pyx_PyThreadState_assign  __pyx_tstate = PyThreadState_GET();
851
 
#else
852
 
#define __Pyx_PyThreadState_declare
853
 
#define __Pyx_PyThreadState_assign
854
 
#endif
855
 

	
856
 
/* PyErrFetchRestore.proto */
857
 
#if CYTHON_FAST_THREAD_STATE
858
 
#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
859
 
#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
860
 
#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
861
 
#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
862
 
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
863
 
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
864
 
#else
865
 
#define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
866
 
#define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
867
 
#define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
868
 
#define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
869
 
#endif
870
 

	
871
 
/* RaiseException.proto */
872
 
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);
873
 

	
874 1059
 
/* PyIntBinop.proto */
875 1060
 
#if !CYTHON_COMPILING_IN_PYPY
876 1061
 
static PyObject* __Pyx_PyInt_LshiftObjC(PyObject *op1, PyObject *op2, long intval, int inplace);
...
 
@@ -917,38 +1102,20 @@ static CYTHON_INLINE int __Pyx_PyList_Ap
917 1102
 
#define __Pyx_PyList_Append(L,x) PyList_Append(L,x)
918 1103
 
#endif
919 1104
 

	
920
 
/* PyCFunctionFastCall.proto */
921
 
#if CYTHON_FAST_PYCCALL
922
 
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
923
 
#else
924
 
#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
925
 
#endif
926
 

	
927
 
/* PyFunctionFastCall.proto */
928
 
#if CYTHON_FAST_PYCALL
929
 
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
930
 
    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
931
 
#if 1 || PY_VERSION_HEX < 0x030600B1
932
 
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
933
 
#else
934
 
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
935
 
#endif
936
 
#endif
937
 

	
938
 
/* PyObjectCallMethO.proto */
939
 
#if CYTHON_COMPILING_IN_CPYTHON
940
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
941
 
#endif
942
 

	
943
 
/* PyObjectCallOneArg.proto */
944
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
945
 

	
946 1105
 
/* PyObjectCallMethod1.proto */
947 1106
 
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg);
1107
 
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg);
948 1108
 

	
949 1109
 
/* append.proto */
950 1110
 
static CYTHON_INLINE int __Pyx_PyObject_Append(PyObject* L, PyObject* x);
951 1111
 

	
1112
 
/* PyObjectCallNoArg.proto */
1113
 
#if CYTHON_COMPILING_IN_CPYTHON
1114
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
1115
 
#else
1116
 
#define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
1117
 
#endif
1118
 

	
952 1119
 
/* None.proto */
953 1120
 
static CYTHON_INLINE int __Pyx_div_int(int, int);
954 1121
 

	
...
 
@@ -958,17 +1125,8 @@ static CYTHON_INLINE int __Pyx_div_int(i
958 1125
 

	
959 1126
 
/* PyObjectSetAttrStr.proto */
960 1127
 
#if CYTHON_USE_TYPE_SLOTS
961
 
#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o,n,NULL)
962
 
static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) {
963
 
    PyTypeObject* tp = Py_TYPE(obj);
964
 
    if (likely(tp->tp_setattro))
965
 
        return tp->tp_setattro(obj, attr_name, value);
966
 
#if PY_MAJOR_VERSION < 3
967
 
    if (likely(tp->tp_setattr))
968
 
        return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value);
969
 
#endif
970
 
    return PyObject_SetAttr(obj, attr_name, value);
971
 
}
1128
 
#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o, n, NULL)
1129
 
static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value);
972 1130
 
#else
973 1131
 
#define __Pyx_PyObject_DelAttrStr(o,n)   PyObject_DelAttr(o,n)
974 1132
 
#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
...
 
@@ -977,6 +1135,30 @@ static CYTHON_INLINE int __Pyx_PyObject_
977 1135
 
/* GetModuleGlobalName.proto */
978 1136
 
static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);
979 1137
 

	
1138
 
/* PyObject_GenericGetAttrNoDict.proto */
1139
 
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
1140
 
static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
1141
 
#else
1142
 
#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr
1143
 
#endif
1144
 

	
1145
 
/* PyObject_GenericGetAttr.proto */
1146
 
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
1147
 
static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name);
1148
 
#else
1149
 
#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
1150
 
#endif
1151
 

	
1152
 
/* SetupReduce.proto */
1153
 
static int __Pyx_setup_reduce(PyObject* type_obj);
1154
 

	
1155
 
/* CLineInTraceback.proto */
1156
 
#ifdef CYTHON_CLINE_IN_TRACEBACK
1157
 
#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
1158
 
#else
1159
 
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
1160
 
#endif
1161
 

	
980 1162
 
/* CodeObjectCache.proto */
981 1163
 
typedef struct {
982 1164
 
    PyCodeObject* code_object;
...
 
@@ -1061,6 +1243,19 @@ static CYTHON_INLINE short __Pyx_PyInt_A
1061 1243
 
/* CIntFromPy.proto */
1062 1244
 
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);
1063 1245
 

	
1246
 
/* FastTypeChecks.proto */
1247
 
#if CYTHON_COMPILING_IN_CPYTHON
1248
 
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
1249
 
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
1250
 
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
1251
 
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
1252
 
#else
1253
 
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
1254
 
#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
1255
 
#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
1256
 
#endif
1257
 
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
1258
 

	
1064 1259
 
/* CheckBinaryVersion.proto */
1065 1260
 
static int __Pyx_check_binary_version(void);
1066 1261
 

	
...
 
@@ -1193,12 +1388,13 @@ static CYTHON_INLINE unsigned PY_LONG_LO
1193 1388
 
static CYTHON_INLINE unsigned short *__pyx_f_3vms_7starlet_8_starlet_USOPTPTR(unsigned short *, PyObject *); /*proto*/
1194 1389
 
static CYTHON_INLINE unsigned char *__pyx_f_3vms_7starlet_8_starlet_UCOPTPTR(unsigned char *, PyObject *); /*proto*/
1195 1390
 
#define __Pyx_MODULE_NAME "vms.starlet._starlet"
1391
 
extern int __pyx_module_is_main_vms__starlet___starlet;
1196 1392
 
int __pyx_module_is_main_vms__starlet___starlet = 0;
1197 1393
 

	
1198 1394
 
/* Implementation of 'vms.starlet._starlet' */
1395
 
static PyObject *__pyx_builtin_TypeError;
1199 1396
 
static PyObject *__pyx_builtin_ValueError;
1200 1397
 
static PyObject *__pyx_builtin_VMSError;
1201
 
static PyObject *__pyx_builtin_TypeError;
1202 1398
 
static PyObject *__pyx_builtin_range;
1203 1399
 
static const char __pyx_k_i[] = "i";
1204 1400
 
static const char __pyx_k_s[] = "s";
...
 
@@ -1413,6 +1609,7 @@ static const char __pyx_k_mbxnam[] = "mb
1413 1609
 
static const char __pyx_k_mbxunt[] = "mbxunt";
1414 1610
 
static const char __pyx_k_msgbuf[] = "msgbuf";
1415 1611
 
static const char __pyx_k_nambuf[] = "nambuf";
1612
 
static const char __pyx_k_name_2[] = "__name__";
1416 1613
 
static const char __pyx_k_newdir[] = "newdir";
1417 1614
 
static const char __pyx_k_numtim[] = "numtim";
1418 1615
 
static const char __pyx_k_numutc[] = "numutc";
...
 
@@ -1439,6 +1636,7 @@ static const char __pyx_k_prvprv[] = "pr
1439 1636
 
static const char __pyx_k_purgws[] = "purgws";
1440 1637
 
static const char __pyx_k_readef[] = "readef";
1441 1638
 
static const char __pyx_k_reason[] = "reason";
1639
 
static const char __pyx_k_reduce[] = "__reduce__";
1442 1640
 
static const char __pyx_k_region[] = "region";
1443 1641
 
static const char __pyx_k_reptim[] = "reptim";
1444 1642
 
static const char __pyx_k_resdic[] = "resdic";
...
 
@@ -1561,6 +1759,7 @@ static const char __pyx_k_cpu_mask[] = "
1561 1759
 
static const char __pyx_k_disc_buf[] = "disc_buf";
1562 1760
 
static const char __pyx_k_errorPtr[] = "errorPtr";
1563 1761
 
static const char __pyx_k_filescan[] = "filescan";
1762
 
static const char __pyx_k_getstate[] = "__getstate__";
1564 1763
 
static const char __pyx_k_home_rad[] = "home_rad";
1565 1764
 
static const char __pyx_k_iattrPtr[] = "iattrPtr";
1566 1765
 
static const char __pyx_k_icsidPtr[] = "icsidPtr";
...
 
@@ -1586,6 +1785,7 @@ static const char __pyx_k_rem_node[] = "
1586 1785
 
static const char __pyx_k_rem_user[] = "rem_user";
1587 1786
 
static const char __pyx_k_resnameD[] = "resnameD";
1588 1787
 
static const char __pyx_k_send_buf[] = "send_buf";
1788
 
static const char __pyx_k_setstate[] = "__setstate__";
1589 1789
 
static const char __pyx_k_start_va[] = "start_va";
1590 1790
 
static const char __pyx_k_uicontxt[] = "uicontxt";
1591 1791
 
static const char __pyx_k_valuelst[] = "valuelst";
...
 
@@ -1619,6 +1819,7 @@ static const char __pyx_k_prcnamPtr[] = 
1619 1819
 
static const char __pyx_k_prev_mask[] = "prev_mask";
1620 1820
 
static const char __pyx_k_proxyNode[] = "proxyNode";
1621 1821
 
static const char __pyx_k_proxyUser[] = "proxyUser";
1822
 
static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
1622 1823
 
static const char __pyx_k_registryw[] = "registryw";
1623 1824
 
static const char __pyx_k_rem_ident[] = "rem_ident";
1624 1825
 
static const char __pyx_k_reply_buf[] = "reply_buf";
...
 
@@ -1693,6 +1894,7 @@ static const char __pyx_k_sourceNodeD[] 
1693 1894
 
static const char __pyx_k_sourceUserD[] = "sourceUserD";
1694 1895
 
static const char __pyx_k_source_node[] = "source_node";
1695 1896
 
static const char __pyx_k_source_user[] = "source_user";
1897
 
static const char __pyx_k_starlet_pyx[] = "_starlet.pyx";
1696 1898
 
static const char __pyx_k_time_to_utc[] = "time_to_utc";
1697 1899
 
static const char __pyx_k_uicontxtPtr[] = "uicontxtPtr";
1698 1900
 
static const char __pyx_k_utc_to_time[] = "utc_to_time";
...
 
@@ -1735,6 +1937,7 @@ static const char __pyx_k_persona_query[
1735 1937
 
static const char __pyx_k_proposedUserD[] = "proposedUserD";
1736 1938
 
static const char __pyx_k_proposed_user[] = "proposed_user";
1737 1939
 
static const char __pyx_k_quotaEntryPtr[] = "quotaEntryPtr";
1940
 
static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
1738 1941
 
static const char __pyx_k_report_buffer[] = "report_buffer";
1739 1942
 
static const char __pyx_k_report_method[] = "report_method";
1740 1943
 
static const char __pyx_k_rights_holder[] = "rights_holder";
...
 
@@ -1763,6 +1966,7 @@ static const char __pyx_k_icc_transceive
1763 1966
 
static const char __pyx_k_persona_reserve[] = "persona_reserve";
1764 1967
 
static const char __pyx_k_proposedUserPtr[] = "proposedUserPtr";
1765 1968
 
static const char __pyx_k_searchDevnamPtr[] = "searchDevnamPtr";
1969
 
static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
1766 1970
 
static const char __pyx_k_sourceTerminalD[] = "sourceTerminalD";
1767 1971
 
static const char __pyx_k_source_terminal[] = "source_terminal";
1768 1972
 
static const char __pyx_k_check_privilegew[] = "check_privilegew";
...
 
@@ -1778,6 +1982,7 @@ static const char __pyx_k_ios_icc_l_rcv_
1778 1982
 
static const char __pyx_k_ios_icc_l_remstat[] = "ios_icc_l_remstat";
1779 1983
 
static const char __pyx_k_iosb_l_reg_status[] = "iosb_l_reg_status";
1780 1984
 
static const char __pyx_k_sourceTerminalPtr[] = "sourceTerminalPtr";
1985
 
static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
1781 1986
 
static const char __pyx_k_create_galaxy_lock[] = "create_galaxy_lock";
1782 1987
 
static const char __pyx_k_delete_galaxy_lock[] = "delete_galaxy_lock";
1783 1988
 
static const char __pyx_k_itmlst_is_required[] = "itmlst is required";
...
 
@@ -1818,14 +2023,14 @@ static const char __pyx_k_itmlst_paramet
1818 2023
 
static const char __pyx_k_usrnam_parameter_required[] = "usrnam parameter required";
1819 2024
 
static const char __pyx_k_perm_dis_align_fault_report[] = "perm_dis_align_fault_report";
1820 2025
 
static const char __pyx_k_accnam_should_have_32_elements[] = "accnam should have 32 elements";
1821
 
static const char __pyx_k_DISK_REPOS_vmspython_python_loc[] = "/DISK$REPOS/vmspython/python/local/vms/starlet/_starlet.pyx";
2026
 
static const char __pyx_k_Pickling_of_struct_members_such[] = "Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)";
1822 2027
 
static const char __pyx_k_valblk_specified_and_flag_LCK_M[] = "valblk specified and flag LCK_M_VALBLK not set";
1823 2028
 
static const char __pyx_k_Size_mismatch_Expected_32_elemen[] = "Size mismatch. Expected 32 elements";
1824 2029
 
static const char __pyx_k_Too_many_items_requested_maximum[] = "Too many items requested, maximum is 11";
1825 2030
 
static const char __pyx_k_expected_string_or_Unicode_objec[] = "expected string or Unicode object, %s found";
1826
 
static PyObject *__pyx_kp_s_DISK_REPOS_vmspython_python_loc;
1827 2031
 
static PyObject *__pyx_kp_s_iso885915_ISO_8859_15;
1828 2032
 
static PyObject *__pyx_kp_s_iso885915_Invalid_valblk_length;
2033
 
static PyObject *__pyx_kp_s_Pickling_of_struct_members_such;
1829 2034
 
static PyObject *__pyx_kp_s_iso885915_Size_mismatch_Expected_32_elemen;
1830 2035
 
static PyObject *__pyx_kp_s_iso885915_Too_many_items_requested_maximum;
1831 2036
 
static PyObject *__pyx_n_s_TypeError;
...
 
@@ -1904,6 +2109,7 @@ static PyObject *__pyx_n_s_check_access;
1904 2109
 
static PyObject *__pyx_n_s_check_privilegew;
1905 2110
 
static PyObject *__pyx_n_s_chkpro;
1906 2111
 
static PyObject *__pyx_n_s_clientPID;
2112
 
static PyObject *__pyx_n_s_cline_in_traceback;
1907 2113
 
static PyObject *__pyx_n_s_clr_attrib;
1908 2114
 
static PyObject *__pyx_n_s_clref;
1909 2115
 
static PyObject *__pyx_n_s_clsnam;
...
 
@@ -2012,6 +2218,7 @@ static PyObject *__pyx_n_s_getlkiw;
2012 2218
 
static PyObject *__pyx_n_s_getmsg;
2013 2219
 
static PyObject *__pyx_n_s_getquiw;
2014 2220
 
static PyObject *__pyx_n_s_getrmi;
2221
 
static PyObject *__pyx_n_s_getstate;
2015 2222
 
static PyObject *__pyx_n_s_getsyiw;
2016 2223
 
static PyObject *__pyx_n_s_gettim;
2017 2224
 
static PyObject *__pyx_n_s_getuai;
...
 
@@ -2174,6 +2381,7 @@ static PyObject *__pyx_n_s_nambufD;
2174 2381
 
static PyObject *__pyx_n_s_name;
2175 2382
 
static PyObject *__pyx_n_s_nameD;
2176 2383
 
static PyObject *__pyx_n_s_namePtr;
2384
 
static PyObject *__pyx_n_s_name_2;
2177 2385
 
static PyObject *__pyx_n_s_new_name;
2178 2386
 
static PyObject *__pyx_n_s_new_value;
2179 2387
 
static PyObject *__pyx_n_s_newdefprot;
...
 
@@ -2287,6 +2495,9 @@ static PyObject *__pyx_n_s_rb;
2287 2495
 
static PyObject *__pyx_n_s_rbl;
2288 2496
 
static PyObject *__pyx_n_s_readef;
2289 2497
 
static PyObject *__pyx_n_s_reason;
2498
 
static PyObject *__pyx_n_s_reduce;
2499
 
static PyObject *__pyx_n_s_reduce_cython;
2500
 
static PyObject *__pyx_n_s_reduce_ex;
2290 2501
 
static PyObject *__pyx_n_s_region;
2291 2502
 
static PyObject *__pyx_n_s_registryw;
2292 2503
 
static PyObject *__pyx_n_s_reject_buf;
...
 
@@ -2361,6 +2572,8 @@ static PyObject *__pyx_n_s_setpri;
2361 2572
 
static PyObject *__pyx_n_s_setprn;
2362 2573
 
static PyObject *__pyx_n_s_setprv;
2363 2574
 
static PyObject *__pyx_n_s_setshlv;
2575
 
static PyObject *__pyx_n_s_setstate;
2576
 
static PyObject *__pyx_n_s_setstate_cython;
2364 2577
 
static PyObject *__pyx_n_s_setswm;
2365 2578
 
static PyObject *__pyx_n_s_setuai;
2366 2579
 
static PyObject *__pyx_n_s_setup_avoid_preempt;
...
 
@@ -2383,6 +2596,7 @@ static PyObject *__pyx_n_s_source_termin
2383 2596
 
static PyObject *__pyx_n_s_source_user;
2384 2597
 
static PyObject *__pyx_n_s_srcstr;
2385 2598
 
static PyObject *__pyx_n_s_srcstrD;
2599
 
static PyObject *__pyx_kp_s_starlet_pyx;
2386 2600
 
static PyObject *__pyx_n_s_start_align_fault_report;
2387 2601
 
static PyObject *__pyx_n_s_start_va;
2388 2602
 
static PyObject *__pyx_n_s_state;
...
 
@@ -2455,6 +2669,8 @@ static PyObject *__pyx_pf_3vms_7starlet_
2455 2669
 
static int __pyx_pf_3vms_7starlet_8_starlet_5Xlksb_9b_xvalblk_2__set__(struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self, PyObject *__pyx_v_valblk); /* proto */
2456 2670
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_5Xlksb_8b_valblk___get__(struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self); /* proto */
2457 2671
 
static int __pyx_pf_3vms_7starlet_8_starlet_5Xlksb_8b_valblk_2__set__(struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self, PyObject *__pyx_v_valblk); /* proto */
2672
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_5Xlksb_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self); /* proto */
2673
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_5Xlksb_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
2458 2674
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_acquire_galaxy_lock(CYTHON_UNUSED PyObject *__pyx_self, unsigned PY_LONG_LONG __pyx_v_handle, unsigned int __pyx_v_timeout, unsigned int __pyx_v_flags); /* proto */
2459 2675
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_2add_holder(CYTHON_UNUSED PyObject *__pyx_self, unsigned int __pyx_v_rights_id, unsigned PY_LONG_LONG __pyx_v_rights_holder, unsigned int __pyx_v_attrib); /* proto */
2460 2676
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_4add_ident(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name, unsigned int __pyx_v_id, unsigned int __pyx_v_attrib); /* proto */
...
 
@@ -2627,36 +2843,37 @@ static PyObject *__pyx_int_4294967295;
2627 2843
 
static PyObject *__pyx_int_18446744073709551104;
2628 2844
 
static PyObject *__pyx_int_18446744073709551615;
2629 2845
 
static PyObject *__pyx_int_neg_1;
2630
 
static unsigned int __pyx_k__4;
2631
 
static unsigned int __pyx_k__5;
2632
 
static unsigned int __pyx_k__11;
2633
 
static unsigned int __pyx_k__12;
2846
 
static unsigned int __pyx_k__6;
2847
 
static unsigned int __pyx_k__7;
2634 2848
 
static unsigned int __pyx_k__13;
2635 2849
 
static unsigned int __pyx_k__14;
2850
 
static unsigned int __pyx_k__15;
2636 2851
 
static unsigned int __pyx_k__16;
2637 2852
 
static unsigned int __pyx_k__18;
2638 2853
 
static unsigned int __pyx_k__20;
2639
 
static unsigned int __pyx_k__25;
2640
 
static unsigned int __pyx_k__26;
2854
 
static unsigned int __pyx_k__22;
2855
 
static unsigned int __pyx_k__27;
2641 2856
 
static unsigned int __pyx_k__28;
2857
 
static unsigned int __pyx_k__30;
2642 2858
 
static PyObject *__pyx_tuple_;
2643 2859
 
static PyObject *__pyx_tuple__2;
2644 2860
 
static PyObject *__pyx_tuple__3;
2645
 
static PyObject *__pyx_tuple__6;
2646
 
static PyObject *__pyx_tuple__7;
2861
 
static PyObject *__pyx_tuple__4;
2862
 
static PyObject *__pyx_tuple__5;
2647 2863
 
static PyObject *__pyx_tuple__8;
2648 2864
 
static PyObject *__pyx_tuple__9;
2649 2865
 
static PyObject *__pyx_tuple__10;
2650
 
static PyObject *__pyx_tuple__15;
2866
 
static PyObject *__pyx_tuple__11;
2867
 
static PyObject *__pyx_tuple__12;
2651 2868
 
static PyObject *__pyx_tuple__17;
2652 2869
 
static PyObject *__pyx_tuple__19;
2653 2870
 
static PyObject *__pyx_tuple__21;
2654
 
static PyObject *__pyx_tuple__22;
2655 2871
 
static PyObject *__pyx_tuple__23;
2656 2872
 
static PyObject *__pyx_tuple__24;
2657
 
static PyObject *__pyx_tuple__27;
2873
 
static PyObject *__pyx_tuple__25;
2874
 
static PyObject *__pyx_tuple__26;
2658 2875
 
static PyObject *__pyx_tuple__29;
2659
 
static PyObject *__pyx_tuple__30;
2876
 
static PyObject *__pyx_tuple__31;
2660 2877
 
static PyObject *__pyx_tuple__32;
2661 2878
 
static PyObject *__pyx_tuple__34;
2662 2879
 
static PyObject *__pyx_tuple__36;
...
 
@@ -2817,7 +3034,7 @@ static PyObject *__pyx_tuple__344;
2817 3034
 
static PyObject *__pyx_tuple__346;
2818 3035
 
static PyObject *__pyx_tuple__348;
2819 3036
 
static PyObject *__pyx_tuple__350;
2820
 
static PyObject *__pyx_codeobj__31;
3037
 
static PyObject *__pyx_tuple__352;
2821 3038
 
static PyObject *__pyx_codeobj__33;
2822 3039
 
static PyObject *__pyx_codeobj__35;
2823 3040
 
static PyObject *__pyx_codeobj__37;
...
 
@@ -2978,6 +3195,8 @@ static PyObject *__pyx_codeobj__345;
2978 3195
 
static PyObject *__pyx_codeobj__347;
2979 3196
 
static PyObject *__pyx_codeobj__349;
2980 3197
 
static PyObject *__pyx_codeobj__351;
3198
 
static PyObject *__pyx_codeobj__353;
3199
 
/* Late includes */
2981 3200
 

	
2982 3201
 
/* "vms/starlet/_starlet.pyx":304
2983 3202
 
 * cdef class Xlksb(object):
...
 
@@ -3015,7 +3234,7 @@ static int __pyx_pf_3vms_7starlet_8_star
3015 3234
 
 *     property w_status:
3016 3235
 
 *         def __get__(self):
3017 3236
 
 */
3018
 
  memset((&__pyx_v_self->xlksb), 0, (sizeof(__pyx_v_self->xlksb)));
3237
 
  (void)(memset((&__pyx_v_self->xlksb), 0, (sizeof(__pyx_v_self->xlksb))));
3019 3238
 

	
3020 3239
 
  /* "vms/starlet/_starlet.pyx":304
3021 3240
 
 * cdef class Xlksb(object):
...
 
@@ -3066,7 +3285,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
3066 3285
 
 *             self.xlksb.xlksb_w_status = value
3067 3286
 
 */
3068 3287
 
  __Pyx_XDECREF(__pyx_r);
3069
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_short(__pyx_v_self->xlksb.xlksb$w_status); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 308, __pyx_L1_error)
3288
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_short(__pyx_v_self->xlksb.xlksb$w_status); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 308, __pyx_L1_error)
3070 3289
 
  __Pyx_GOTREF(__pyx_t_1);
3071 3290
 
  __pyx_r = __pyx_t_1;
3072 3291
 
  __pyx_t_1 = 0;
...
 
@@ -3107,7 +3326,7 @@ static int __pyx_pw_3vms_7starlet_8_star
3107 3326
 
  __Pyx_RefNannyDeclarations
3108 3327
 
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
3109 3328
 
  assert(__pyx_arg_value); {
3110
 
    __pyx_v_value = __Pyx_PyInt_As_unsigned_short(__pyx_arg_value); if (unlikely((__pyx_v_value == (unsigned short)-1) && PyErr_Occurred())) __PYX_ERR(0, 309, __pyx_L3_error)
3329
 
    __pyx_v_value = __Pyx_PyInt_As_unsigned_short(__pyx_arg_value); if (unlikely((__pyx_v_value == (unsigned short)-1) && PyErr_Occurred())) __PYX_ERR(1, 309, __pyx_L3_error)
3111 3330
 
  }
3112 3331
 
  goto __pyx_L4_argument_unpacking_done;
3113 3332
 
  __pyx_L3_error:;
...
 
@@ -3185,7 +3404,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
3185 3404
 
 *             self.xlksb.xlksb_l_lkid = value
3186 3405
 
 */
3187 3406
 
  __Pyx_XDECREF(__pyx_r);
3188
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->xlksb.xlksb$l_lkid); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 313, __pyx_L1_error)
3407
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->xlksb.xlksb$l_lkid); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 313, __pyx_L1_error)
3189 3408
 
  __Pyx_GOTREF(__pyx_t_1);
3190 3409
 
  __pyx_r = __pyx_t_1;
3191 3410
 
  __pyx_t_1 = 0;
...
 
@@ -3226,7 +3445,7 @@ static int __pyx_pw_3vms_7starlet_8_star
3226 3445
 
  __Pyx_RefNannyDeclarations
3227 3446
 
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
3228 3447
 
  assert(__pyx_arg_value); {
3229
 
    __pyx_v_value = __Pyx_PyInt_As_unsigned_int(__pyx_arg_value); if (unlikely((__pyx_v_value == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 314, __pyx_L3_error)
3448
 
    __pyx_v_value = __Pyx_PyInt_As_unsigned_int(__pyx_arg_value); if (unlikely((__pyx_v_value == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 314, __pyx_L3_error)
3230 3449
 
  }
3231 3450
 
  goto __pyx_L4_argument_unpacking_done;
3232 3451
 
  __pyx_L3_error:;
...
 
@@ -3304,7 +3523,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
3304 3523
 
 *             set_valblk(self, valblk, 64)
3305 3524
 
 */
3306 3525
 
  __Pyx_XDECREF(__pyx_r);
3307
 
  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_self->xlksb.xlksb$b_xvalblk) + 0, 64 - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 318, __pyx_L1_error)
3526
 
  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_self->xlksb.xlksb$b_xvalblk) + 0, 64 - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 318, __pyx_L1_error)
3308 3527
 
  __Pyx_GOTREF(__pyx_t_1);
3309 3528
 
  __pyx_r = __pyx_t_1;
3310 3529
 
  __pyx_t_1 = 0;
...
 
@@ -3363,7 +3582,7 @@ static int __pyx_pf_3vms_7starlet_8_star
3363 3582
 
 *     property b_valblk:
3364 3583
 
 *         def __get__(self):
3365 3584
 
 */
3366
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_set_valblk(__pyx_v_self, __pyx_v_valblk, 64); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 320, __pyx_L1_error)
3585
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_set_valblk(__pyx_v_self, __pyx_v_valblk, 64); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 320, __pyx_L1_error)
3367 3586
 
  __Pyx_GOTREF(__pyx_t_1);
3368 3587
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3369 3588
 

	
...
 
@@ -3422,7 +3641,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
3422 3641
 
 *             set_valblk(self, valblk, 16)
3423 3642
 
 */
3424 3643
 
  __Pyx_XDECREF(__pyx_r);
3425
 
  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_self->xlksb.xlksb$b_xvalblk) + 0, 16 - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 323, __pyx_L1_error)
3644
 
  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_self->xlksb.xlksb$b_xvalblk) + 0, 16 - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 323, __pyx_L1_error)
3426 3645
 
  __Pyx_GOTREF(__pyx_t_1);
3427 3646
 
  __pyx_r = __pyx_t_1;
3428 3647
 
  __pyx_t_1 = 0;
...
 
@@ -3481,7 +3700,7 @@ static int __pyx_pf_3vms_7starlet_8_star
3481 3700
 
 * 
3482 3701
 
 * cdef object lst2envlst(itmlst):
3483 3702
 
 */
3484
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_set_valblk(__pyx_v_self, __pyx_v_valblk, 16); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 325, __pyx_L1_error)
3703
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_set_valblk(__pyx_v_self, __pyx_v_valblk, 16); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 325, __pyx_L1_error)
3485 3704
 
  __Pyx_GOTREF(__pyx_t_1);
3486 3705
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3487 3706
 

	
...
 
@@ -3505,6 +3724,113 @@ static int __pyx_pf_3vms_7starlet_8_star
3505 3724
 
  return __pyx_r;
3506 3725
 
}
3507 3726
 

	
3727
 
/* "(tree fragment)":1
3728
 
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
3729
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3730
 
 * def __setstate_cython__(self, __pyx_state):
3731
 
 */
3732
 

	
3733
 
/* Python wrapper */
3734
 
static PyObject *__pyx_pw_3vms_7starlet_8_starlet_5Xlksb_3__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
3735
 
static PyObject *__pyx_pw_3vms_7starlet_8_starlet_5Xlksb_3__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3736
 
  PyObject *__pyx_r = 0;
3737
 
  __Pyx_RefNannyDeclarations
3738
 
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
3739
 
  __pyx_r = __pyx_pf_3vms_7starlet_8_starlet_5Xlksb_2__reduce_cython__(((struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *)__pyx_v_self));
3740
 

	
3741
 
  /* function exit code */
3742
 
  __Pyx_RefNannyFinishContext();
3743
 
  return __pyx_r;
3744
 
}
3745
 

	
3746
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_5Xlksb_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self) {
3747
 
  PyObject *__pyx_r = NULL;
3748
 
  __Pyx_RefNannyDeclarations
3749
 
  PyObject *__pyx_t_1 = NULL;
3750
 
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
3751
 

	
3752
 
  /* "(tree fragment)":2
3753
 
 * def __reduce_cython__(self):
3754
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")             # <<<<<<<<<<<<<<
3755
 
 * def __setstate_cython__(self, __pyx_state):
3756
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3757
 
 */
3758
 
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
3759
 
  __Pyx_GOTREF(__pyx_t_1);
3760
 
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3761
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3762
 
  __PYX_ERR(0, 2, __pyx_L1_error)
3763
 

	
3764
 
  /* "(tree fragment)":1
3765
 
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
3766
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3767
 
 * def __setstate_cython__(self, __pyx_state):
3768
 
 */
3769
 

	
3770
 
  /* function exit code */
3771
 
  __pyx_L1_error:;
3772
 
  __Pyx_XDECREF(__pyx_t_1);
3773
 
  __Pyx_AddTraceback("vms.starlet._starlet.Xlksb.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
3774
 
  __pyx_r = NULL;
3775
 
  __Pyx_XGIVEREF(__pyx_r);
3776
 
  __Pyx_RefNannyFinishContext();
3777
 
  return __pyx_r;
3778
 
}
3779
 

	
3780
 
/* "(tree fragment)":3
3781
 
 * def __reduce_cython__(self):
3782
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3783
 
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
3784
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3785
 
 */
3786
 

	
3787
 
/* Python wrapper */
3788
 
static PyObject *__pyx_pw_3vms_7starlet_8_starlet_5Xlksb_5__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
3789
 
static PyObject *__pyx_pw_3vms_7starlet_8_starlet_5Xlksb_5__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
3790
 
  PyObject *__pyx_r = 0;
3791
 
  __Pyx_RefNannyDeclarations
3792
 
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
3793
 
  __pyx_r = __pyx_pf_3vms_7starlet_8_starlet_5Xlksb_4__setstate_cython__(((struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
3794
 

	
3795
 
  /* function exit code */
3796
 
  __Pyx_RefNannyFinishContext();
3797
 
  return __pyx_r;
3798
 
}
3799
 

	
3800
 
static PyObject *__pyx_pf_3vms_7starlet_8_starlet_5Xlksb_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_3vms_7starlet_8_starlet_Xlksb *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
3801
 
  PyObject *__pyx_r = NULL;
3802
 
  __Pyx_RefNannyDeclarations
3803
 
  PyObject *__pyx_t_1 = NULL;
3804
 
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
3805
 

	
3806
 
  /* "(tree fragment)":4
3807
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3808
 
 * def __setstate_cython__(self, __pyx_state):
3809
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")             # <<<<<<<<<<<<<<
3810
 
 */
3811
 
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
3812
 
  __Pyx_GOTREF(__pyx_t_1);
3813
 
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3814
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3815
 
  __PYX_ERR(0, 4, __pyx_L1_error)
3816
 

	
3817
 
  /* "(tree fragment)":3
3818
 
 * def __reduce_cython__(self):
3819
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3820
 
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
3821
 
 *     raise TypeError("Pickling of struct members such as self.xlksb must be explicitly requested with @auto_pickle(True)")
3822
 
 */
3823
 

	
3824
 
  /* function exit code */
3825
 
  __pyx_L1_error:;
3826
 
  __Pyx_XDECREF(__pyx_t_1);
3827
 
  __Pyx_AddTraceback("vms.starlet._starlet.Xlksb.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
3828
 
  __pyx_r = NULL;
3829
 
  __Pyx_XGIVEREF(__pyx_r);
3830
 
  __Pyx_RefNannyFinishContext();
3831
 
  return __pyx_r;
3832
 
}
3833
 

	
3508 3834
 
/* "vms/starlet/_starlet.pyx":327
3509 3835
 
 *             set_valblk(self, valblk, 16)
3510 3836
 
 * 
...
 
@@ -3537,7 +3863,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3537 3863
 
 *     # Use a 256 bytes buffers
3538 3864
 
 *     cdef int sz = (itmcard + 1) * (sizeof(ITEMTYPE) + 256 + 16)
3539 3865
 
 */
3540
 
  __pyx_t_1 = PyObject_Length(__pyx_v_itmlst); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(0, 328, __pyx_L1_error)
3866
 
  __pyx_t_1 = PyObject_Length(__pyx_v_itmlst); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 328, __pyx_L1_error)
3541 3867
 
  __pyx_v_itmcard = __pyx_t_1;
3542 3868
 

	
3543 3869
 
  /* "vms/starlet/_starlet.pyx":330
...
 
@@ -3556,18 +3882,13 @@ static PyObject *__pyx_f_3vms_7starlet_8
3556 3882
 
 *     cdef ITEMTYPE* pitem = <ITEMTYPE *>PyByteArray_AsString(buff)
3557 3883
 
 *     cdef char *pdata = <char *>pitem + (itmcard + 1) * sizeof(ITEMTYPE)
3558 3884
 
 */
3559
 
  __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_sz); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 333, __pyx_L1_error)
3560
 
  __Pyx_GOTREF(__pyx_t_2);
3561
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 333, __pyx_L1_error)
3562
 
  __Pyx_GOTREF(__pyx_t_3);
3563
 
  __Pyx_GIVEREF(__pyx_t_2);
3564
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
3565
 
  __pyx_t_2 = 0;
3566
 
  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)(&PyByteArray_Type)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 333, __pyx_L1_error)
3567
 
  __Pyx_GOTREF(__pyx_t_2);
3568
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3569
 
  __pyx_v_buff = __pyx_t_2;
3570
 
  __pyx_t_2 = 0;
3885
 
  __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_sz); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 333, __pyx_L1_error)
3886
 
  __Pyx_GOTREF(__pyx_t_2);
3887
 
  __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyByteArray_Type)), __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 333, __pyx_L1_error)
3888
 
  __Pyx_GOTREF(__pyx_t_3);
3889
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3890
 
  __pyx_v_buff = __pyx_t_3;
3891
 
  __pyx_t_3 = 0;
3571 3892
 

	
3572 3893
 
  /* "vms/starlet/_starlet.pyx":334
3573 3894
 
 *     cdef buf
...
 
@@ -3576,7 +3897,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3576 3897
 
 *     cdef char *pdata = <char *>pitem + (itmcard + 1) * sizeof(ITEMTYPE)
3577 3898
 
 *     cdef int i
3578 3899
 
 */
3579
 
  __pyx_t_4 = PyByteArray_AsString(__pyx_v_buff); if (unlikely(__pyx_t_4 == NULL)) __PYX_ERR(0, 334, __pyx_L1_error)
3900
 
  __pyx_t_4 = PyByteArray_AsString(__pyx_v_buff); if (unlikely(__pyx_t_4 == ((char *)NULL))) __PYX_ERR(1, 334, __pyx_L1_error)
3580 3901
 
  __pyx_v_pitem = ((ITEMTYPE *)__pyx_t_4);
3581 3902
 

	
3582 3903
 
  /* "vms/starlet/_starlet.pyx":335
...
 
@@ -3605,10 +3926,10 @@ static PyObject *__pyx_f_3vms_7starlet_8
3605 3926
 
 *         pitem.stenvdef_l_buf_len = 256
3606 3927
 
 *         pitem.stenvdef_q_buf_addr = <long long>pdata
3607 3928
 
 */
3608
 
    __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_itmlst, __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error)
3609
 
    __Pyx_GOTREF(__pyx_t_2);
3610
 
    __pyx_t_6 = __Pyx_PyInt_As_unsigned_int(__pyx_t_2); if (unlikely((__pyx_t_6 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 338, __pyx_L1_error)
3611
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3929
 
    __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_itmlst, __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 338, __pyx_L1_error)
3930
 
    __Pyx_GOTREF(__pyx_t_3);
3931
 
    __pyx_t_6 = __Pyx_PyInt_As_unsigned_int(__pyx_t_3); if (unlikely((__pyx_t_6 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
3932
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3612 3933
 
    __pyx_v_pitem->stenvdef$l_item_code = __pyx_t_6;
3613 3934
 

	
3614 3935
 
    /* "vms/starlet/_starlet.pyx":339
...
 
@@ -3762,7 +4083,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3762 4083
 
 *     cdef ITEMTYPE* pitem = <ITEMTYPE *>PyByteArray_AsString(envlst)
3763 4084
 
 *     cdef char *pdata = <char *>pitem + (itmcard + 1) * sizeof(ITEMTYPE)
3764 4085
 
 */
3765
 
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 352, __pyx_L1_error)
4086
 
  __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 352, __pyx_L1_error)
3766 4087
 
  __Pyx_GOTREF(__pyx_t_1);
3767 4088
 
  __pyx_v_res = __pyx_t_1;
3768 4089
 
  __pyx_t_1 = 0;
...
 
@@ -3774,7 +4095,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3774 4095
 
 *     cdef char *pdata = <char *>pitem + (itmcard + 1) * sizeof(ITEMTYPE)
3775 4096
 
 *     cdef unsigned long long* rtlen
3776 4097
 
 */
3777
 
  __pyx_t_2 = PyByteArray_AsString(__pyx_v_envlst); if (unlikely(__pyx_t_2 == NULL)) __PYX_ERR(0, 353, __pyx_L1_error)
4098
 
  __pyx_t_2 = PyByteArray_AsString(__pyx_v_envlst); if (unlikely(__pyx_t_2 == ((char *)NULL))) __PYX_ERR(1, 353, __pyx_L1_error)
3778 4099
 
  __pyx_v_pitem = ((ITEMTYPE *)__pyx_t_2);
3779 4100
 

	
3780 4101
 
  /* "vms/starlet/_starlet.pyx":354
...
 
@@ -3823,9 +4144,9 @@ static PyObject *__pyx_f_3vms_7starlet_8
3823 4144
 
 *         pitem += 1
3824 4145
 
 *         pdata += 256 + 16
3825 4146
 
 */
3826
 
    __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_pdata + 0, (__pyx_v_rtlen[0]) - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 359, __pyx_L1_error)
4147
 
    __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_pdata + 0, (__pyx_v_rtlen[0]) - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 359, __pyx_L1_error)
3827 4148
 
    __Pyx_GOTREF(__pyx_t_1);
3828
 
    if (unlikely(__Pyx_SetItemInt(__pyx_v_res, __pyx_v_pitem->stenvdef$l_item_code, __pyx_t_1, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 0, 0, 1) < 0)) __PYX_ERR(0, 359, __pyx_L1_error)
4149
 
    if (unlikely(__Pyx_SetItemInt(__pyx_v_res, __pyx_v_pitem->stenvdef$l_item_code, __pyx_t_1, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 0, 0, 1) < 0)) __PYX_ERR(1, 359, __pyx_L1_error)
3829 4150
 
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3830 4151
 

	
3831 4152
 
    /* "vms/starlet/_starlet.pyx":360
...
 
@@ -3897,8 +4218,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3897 4218
 
  int __pyx_t_2;
3898 4219
 
  PyObject *__pyx_t_3 = NULL;
3899 4220
 
  int __pyx_t_4;
3900
 
  PyObject *__pyx_t_5 = NULL;
3901
 
  char *__pyx_t_6;
4221
 
  char *__pyx_t_5;
3902 4222
 
  __Pyx_RefNannySetupContext("set_valblk", 0);
3903 4223
 
  __Pyx_INCREF(__pyx_v_valblk);
3904 4224
 

	
...
 
@@ -3928,9 +4248,9 @@ static PyObject *__pyx_f_3vms_7starlet_8
3928 4248
 
 *         raise ValueError('Invalid valblk length')
3929 4249
 
 *     if isinstance(valblk, basestring):
3930 4250
 
 */
3931
 
  __pyx_t_1 = PyObject_Length(__pyx_v_valblk); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(0, 367, __pyx_L1_error)
4251
 
  __pyx_t_1 = PyObject_Length(__pyx_v_valblk); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 367, __pyx_L1_error)
3932 4252
 
  __pyx_t_2 = ((__pyx_t_1 > __pyx_v_sz) != 0);
3933
 
  if (__pyx_t_2) {
4253
 
  if (unlikely(__pyx_t_2)) {
3934 4254
 

	
3935 4255
 
    /* "vms/starlet/_starlet.pyx":368
3936 4256
 
 *     cdef object oval = None
...
 
@@ -3939,11 +4259,11 @@ static PyObject *__pyx_f_3vms_7starlet_8
3939 4259
 
 *     if isinstance(valblk, basestring):
3940 4260
 
 *         valblk = getstr(valblk)
3941 4261
 
 */
3942
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 368, __pyx_L1_error)
4262
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 368, __pyx_L1_error)
3943 4263
 
    __Pyx_GOTREF(__pyx_t_3);
3944 4264
 
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
3945 4265
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3946
 
    __PYX_ERR(0, 368, __pyx_L1_error)
4266
 
    __PYX_ERR(1, 368, __pyx_L1_error)
3947 4267
 

	
3948 4268
 
    /* "vms/starlet/_starlet.pyx":367
3949 4269
 
 *     cdef char* valPtr = NULL
...
 
@@ -3972,7 +4292,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
3972 4292
 
 *     oval = bytearray(valblk)
3973 4293
 
 *     if len(oval) > sz:
3974 4294
 
 */
3975
 
    __pyx_t_3 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_valblk); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 370, __pyx_L1_error)
4295
 
    __pyx_t_3 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_valblk); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 370, __pyx_L1_error)
3976 4296
 
    __Pyx_GOTREF(__pyx_t_3);
3977 4297
 
    __Pyx_DECREF_SET(__pyx_v_valblk, __pyx_t_3);
3978 4298
 
    __pyx_t_3 = 0;
...
 
@@ -3993,16 +4313,10 @@ static PyObject *__pyx_f_3vms_7starlet_8
3993 4313
 
 *     if len(oval) > sz:
3994 4314
 
 *         raise ValueError('Invalid valblk length')
3995 4315
 
 */
3996
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 371, __pyx_L1_error)
3997
 
  __Pyx_GOTREF(__pyx_t_3);
3998
 
  __Pyx_INCREF(__pyx_v_valblk);
3999
 
  __Pyx_GIVEREF(__pyx_v_valblk);
4000
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_valblk);
4001
 
  __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)(&PyByteArray_Type)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 371, __pyx_L1_error)
4002
 
  __Pyx_GOTREF(__pyx_t_5);
4003
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4004
 
  __Pyx_DECREF_SET(__pyx_v_oval, __pyx_t_5);
4005
 
  __pyx_t_5 = 0;
4316
 
  __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyByteArray_Type)), __pyx_v_valblk); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 371, __pyx_L1_error)
4317
 
  __Pyx_GOTREF(__pyx_t_3);
4318
 
  __Pyx_DECREF_SET(__pyx_v_oval, __pyx_t_3);
4319
 
  __pyx_t_3 = 0;
4006 4320
 

	
4007 4321
 
  /* "vms/starlet/_starlet.pyx":372
4008 4322
 
 *         valblk = getstr(valblk)
...
 
@@ -4011,9 +4325,9 @@ static PyObject *__pyx_f_3vms_7starlet_8
4011 4325
 
 *         raise ValueError('Invalid valblk length')
4012 4326
 
 *     valPtr = PyByteArray_AsString(oval)
4013 4327
 
 */
4014
 
  __pyx_t_1 = PyObject_Length(__pyx_v_oval); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(0, 372, __pyx_L1_error)
4328
 
  __pyx_t_1 = PyObject_Length(__pyx_v_oval); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 372, __pyx_L1_error)
4015 4329
 
  __pyx_t_4 = ((__pyx_t_1 > __pyx_v_sz) != 0);
4016
 
  if (__pyx_t_4) {
4330
 
  if (unlikely(__pyx_t_4)) {
4017 4331
 

	
4018 4332
 
    /* "vms/starlet/_starlet.pyx":373
4019 4333
 
 *     oval = bytearray(valblk)
...
 
@@ -4022,11 +4336,11 @@ static PyObject *__pyx_f_3vms_7starlet_8
4022 4336
 
 *     valPtr = PyByteArray_AsString(oval)
4023 4337
 
 *     memset(self.xlksb.xlksb_b_xvalblk, 0,
4024 4338
 
 */
4025
 
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 373, __pyx_L1_error)
4026
 
    __Pyx_GOTREF(__pyx_t_5);
4027
 
    __Pyx_Raise(__pyx_t_5, 0, 0, 0);
4028
 
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4029
 
    __PYX_ERR(0, 373, __pyx_L1_error)
4339
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 373, __pyx_L1_error)
4340
 
    __Pyx_GOTREF(__pyx_t_3);
4341
 
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
4342
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4343
 
    __PYX_ERR(1, 373, __pyx_L1_error)
4030 4344
 

	
4031 4345
 
    /* "vms/starlet/_starlet.pyx":372
4032 4346
 
 *         valblk = getstr(valblk)
...
 
@@ -4044,8 +4358,8 @@ static PyObject *__pyx_f_3vms_7starlet_8
4044 4358
 
 *     memset(self.xlksb.xlksb_b_xvalblk, 0,
4045 4359
 
 *            sizeof(self.xlksb.xlksb_b_xvalblk))
4046 4360
 
 */
4047
 
  __pyx_t_6 = PyByteArray_AsString(__pyx_v_oval); if (unlikely(__pyx_t_6 == NULL)) __PYX_ERR(0, 374, __pyx_L1_error)
4048
 
  __pyx_v_valPtr = __pyx_t_6;
4361
 
  __pyx_t_5 = PyByteArray_AsString(__pyx_v_oval); if (unlikely(__pyx_t_5 == ((char *)NULL))) __PYX_ERR(1, 374, __pyx_L1_error)
4362
 
  __pyx_v_valPtr = __pyx_t_5;
4049 4363
 

	
4050 4364
 
  /* "vms/starlet/_starlet.pyx":375
4051 4365
 
 *         raise ValueError('Invalid valblk length')
...
 
@@ -4054,7 +4368,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
4054 4368
 
 *            sizeof(self.xlksb.xlksb_b_xvalblk))
4055 4369
 
 *     strncpy(<char *>self.xlksb.xlksb_b_xvalblk, valPtr, len(oval))
4056 4370
 
 */
4057
 
  memset(__pyx_v_self->xlksb.xlksb$b_xvalblk, 0, (sizeof(__pyx_v_self->xlksb.xlksb$b_xvalblk)));
4371
 
  (void)(memset(__pyx_v_self->xlksb.xlksb$b_xvalblk, 0, (sizeof(__pyx_v_self->xlksb.xlksb$b_xvalblk))));
4058 4372
 

	
4059 4373
 
  /* "vms/starlet/_starlet.pyx":377
4060 4374
 
 *     memset(self.xlksb.xlksb_b_xvalblk, 0,
...
 
@@ -4063,8 +4377,8 @@ static PyObject *__pyx_f_3vms_7starlet_8
4063 4377
 
 *     oval = None
4064 4378
 
 *     valPtr = NULL
4065 4379
 
 */
4066
 
  __pyx_t_1 = PyObject_Length(__pyx_v_oval); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(0, 377, __pyx_L1_error)
4067
 
  strncpy(((char *)__pyx_v_self->xlksb.xlksb$b_xvalblk), __pyx_v_valPtr, __pyx_t_1);
4380
 
  __pyx_t_1 = PyObject_Length(__pyx_v_oval); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 377, __pyx_L1_error)
4381
 
  (void)(strncpy(((char *)__pyx_v_self->xlksb.xlksb$b_xvalblk), __pyx_v_valPtr, __pyx_t_1));
4068 4382
 

	
4069 4383
 
  /* "vms/starlet/_starlet.pyx":378
4070 4384
 
 *            sizeof(self.xlksb.xlksb_b_xvalblk))
...
 
@@ -4098,7 +4412,6 @@ static PyObject *__pyx_f_3vms_7starlet_8
4098 4412
 
  goto __pyx_L0;
4099 4413
 
  __pyx_L1_error:;
4100 4414
 
  __Pyx_XDECREF(__pyx_t_3);
4101
 
  __Pyx_XDECREF(__pyx_t_5);
4102 4415
 
  __Pyx_AddTraceback("vms.starlet._starlet.set_valblk", __pyx_clineno, __pyx_lineno, __pyx_filename);
4103 4416
 
  __pyx_r = 0;
4104 4417
 
  __pyx_L0:;
...
 
@@ -4135,7 +4448,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
4135 4448
 
 *         raise VMSError(s, msg)
4136 4449
 
 */
4137 4450
 
  __pyx_t_1 = (((__pyx_v_s & 1) == 0) != 0);
4138
 
  if (__pyx_t_1) {
4451
 
  if (unlikely(__pyx_t_1)) {
4139 4452
 

	
4140 4453
 
    /* "vms/starlet/_starlet.pyx":384
4141 4454
 
 *     cdef char msg[256]
...
 
@@ -4153,11 +4466,11 @@ static PyObject *__pyx_f_3vms_7starlet_8
4153 4466
 
 * 
4154 4467
 
 * cdef inline checkstr(text):
4155 4468
 
 */
4156
 
    __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_s); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 385, __pyx_L1_error)
4469
 
    __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_s); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 385, __pyx_L1_error)
4157 4470
 
    __Pyx_GOTREF(__pyx_t_2);
4158
 
    __pyx_t_3 = __Pyx_PyObject_FromString(__pyx_v_msg); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 385, __pyx_L1_error)
4471
 
    __pyx_t_3 = __Pyx_PyObject_FromString(__pyx_v_msg); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 385, __pyx_L1_error)
4159 4472
 
    __Pyx_GOTREF(__pyx_t_3);
4160
 
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 385, __pyx_L1_error)
4473
 
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 385, __pyx_L1_error)
4161 4474
 
    __Pyx_GOTREF(__pyx_t_4);
4162 4475
 
    __Pyx_GIVEREF(__pyx_t_2);
4163 4476
 
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
...
 
@@ -4165,12 +4478,12 @@ static PyObject *__pyx_f_3vms_7starlet_8
4165 4478
 
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
4166 4479
 
    __pyx_t_2 = 0;
4167 4480
 
    __pyx_t_3 = 0;
4168
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_VMSError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 385, __pyx_L1_error)
4481
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_VMSError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 385, __pyx_L1_error)
4169 4482
 
    __Pyx_GOTREF(__pyx_t_3);
4170 4483
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4171 4484
 
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
4172 4485
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4173
 
    __PYX_ERR(0, 385, __pyx_L1_error)
4486
 
    __PYX_ERR(1, 385, __pyx_L1_error)
4174 4487
 

	
4175 4488
 
    /* "vms/starlet/_starlet.pyx":383
4176 4489
 
 * cdef checkStatus(unsigned int s):
...
 
@@ -4230,7 +4543,7 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4230 4543
 
 */
4231 4544
 
  __pyx_t_1 = __Pyx_PyBaseString_Check(__pyx_v_text); 
4232 4545
 
  __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
4233
 
  if (__pyx_t_2) {
4546
 
  if (unlikely(__pyx_t_2)) {
4234 4547
 

	
4235 4548
 
    /* "vms/starlet/_starlet.pyx":389
4236 4549
 
 * cdef inline checkstr(text):
...
 
@@ -4239,19 +4552,14 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4239 4552
 
 *                         type(text))
4240 4553
 
 * 
4241 4554
 
 */
4242
 
    __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_iso885915_expected_string_or_Unicode_objec, ((PyObject *)Py_TYPE(__pyx_v_text))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 389, __pyx_L1_error)
4555
 
    __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_iso885915_expected_string_or_Unicode_objec, ((PyObject *)Py_TYPE(__pyx_v_text))); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 389, __pyx_L1_error)
4243 4556
 
    __Pyx_GOTREF(__pyx_t_3);
4244
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 389, __pyx_L1_error)
4557
 
    __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 389, __pyx_L1_error)
4245 4558
 
    __Pyx_GOTREF(__pyx_t_4);
4246
 
    __Pyx_GIVEREF(__pyx_t_3);
4247
 
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
4248
 
    __pyx_t_3 = 0;
4249
 
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 389, __pyx_L1_error)
4250
 
    __Pyx_GOTREF(__pyx_t_3);
4559
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4560
 
    __Pyx_Raise(__pyx_t_4, 0, 0, 0);
4251 4561
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4252
 
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
4253
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4254
 
    __PYX_ERR(0, 389, __pyx_L1_error)
4562
 
    __PYX_ERR(1, 389, __pyx_L1_error)
4255 4563
 

	
4256 4564
 
    /* "vms/starlet/_starlet.pyx":388
4257 4565
 
 * 
...
 
@@ -4321,9 +4629,9 @@ static PyObject *__pyx_f_3vms_7starlet_8
4321 4629
 
 *         return text
4322 4630
 
 */
4323 4631
 
    __Pyx_XDECREF(__pyx_r);
4324
 
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_text, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 394, __pyx_L1_error)
4632
 
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_text, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 394, __pyx_L1_error)
4325 4633
 
    __Pyx_GOTREF(__pyx_t_3);
4326
 
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 394, __pyx_L1_error)
4634
 
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 394, __pyx_L1_error)
4327 4635
 
    __Pyx_GOTREF(__pyx_t_4);
4328 4636
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4329 4637
 
    __pyx_r = __pyx_t_4;
...
 
@@ -4363,7 +4671,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
4363 4671
 
  __pyx_t_1 = (__pyx_t_5 != 0);
4364 4672
 
  __pyx_t_2 = __pyx_t_1;
4365 4673
 
  __pyx_L4_bool_binop_done:;
4366
 
  if (__pyx_t_2) {
4674
 
  if (likely(__pyx_t_2)) {
4367 4675
 

	
4368 4676
 
    /* "vms/starlet/_starlet.pyx":396
4369 4677
 
 *         return text.encode('ISO-8859-15')
...
 
@@ -4402,7 +4710,7 @@ static PyObject *__pyx_f_3vms_7starlet_8
4402 4710
 
 * 
4403 4711
 
 * cdef inline DESCFROMSTR(dsc_descriptor_s* dsc, src):
4404 4712
 
 */
4405
 
    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_iso885915_expected_string_or_Unicode_objec, ((PyObject *)Py_TYPE(__pyx_v_text))); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 398, __pyx_L1_error)
4713
 
    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_iso885915_expected_string_or_Unicode_objec, ((PyObject *)Py_TYPE(__pyx_v_text))); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 398, __pyx_L1_error)
4406 4714
 
    __Pyx_GOTREF(__pyx_t_4);
4407 4715
 

	
4408 4716
 
    /* "vms/starlet/_starlet.pyx":398
...
 
@@ -4412,17 +4720,12 @@ static PyObject *__pyx_f_3vms_7starlet_8
4412 4720
 
 *                          type(text))
4413 4721
 
 * 
4414 4722
 
 */
4415
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 398, __pyx_L1_error)
4723
 
    __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 398, __pyx_L1_error)
4416 4724
 
    __Pyx_GOTREF(__pyx_t_3);
4417
 
    __Pyx_GIVEREF(__pyx_t_4);
4418
 
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
4419
 
    __pyx_t_4 = 0;
4420
 
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 398, __pyx_L1_error)
4421
 
    __Pyx_GOTREF(__pyx_t_4);
4725
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4726
 
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
4422 4727
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4423
 
    __Pyx_Raise(__pyx_t_4, 0, 0, 0);
4424
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4425
 
    __PYX_ERR(0, 398, __pyx_L1_error)
4728
 
    __PYX_ERR(1, 398, __pyx_L1_error)
4426 4729
 
  }
4427 4730
 

	
4428 4731
 
  /* "vms/starlet/_starlet.pyx":392
...
 
@@ -4498,7 +4801,7 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4498 4801
 
 *     else:
4499 4802
 
 *         dsc.dsc_a_pointer = <char *><bytes>src
4500 4803
 
 */
4501
 
    __pyx_t_3 = PyByteArray_AsString(__pyx_v_src); if (unlikely(__pyx_t_3 == NULL)) __PYX_ERR(0, 406, __pyx_L1_error)
4804
 
    __pyx_t_3 = PyByteArray_AsString(__pyx_v_src); if (unlikely(__pyx_t_3 == ((char *)NULL))) __PYX_ERR(1, 406, __pyx_L1_error)
4502 4805
 
    __pyx_v_dsc->dsc$a_pointer = ((char *)__pyx_t_3);
4503 4806
 

	
4504 4807
 
    /* "vms/starlet/_starlet.pyx":405
...
 
@@ -4519,7 +4822,11 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4519 4822
 
 * 
4520 4823
 
 */
4521 4824
 
  /*else*/ {
4522
 
    __pyx_t_3 = __Pyx_PyObject_AsString(__pyx_v_src); if (unlikely((!__pyx_t_3) && PyErr_Occurred())) __PYX_ERR(0, 408, __pyx_L1_error)
4825
 
    if (unlikely(__pyx_v_src == Py_None)) {
4826
 
      PyErr_SetString(PyExc_TypeError, "expected bytes, NoneType found");
4827
 
      __PYX_ERR(1, 408, __pyx_L1_error)
4828
 
    }
4829
 
    __pyx_t_3 = __Pyx_PyBytes_AsWritableString(__pyx_v_src); if (unlikely((!__pyx_t_3) && PyErr_Occurred())) __PYX_ERR(1, 408, __pyx_L1_error)
4523 4830
 
    __pyx_v_dsc->dsc$a_pointer = ((char *)__pyx_t_3);
4524 4831
 
  }
4525 4832
 
  __pyx_L3:;
...
 
@@ -4531,7 +4838,7 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4531 4838
 
 * 
4532 4839
 
 * cdef inline dsc_descriptor_s* DESCFROMOPTSTR(dsc_descriptor_s* dsc, string) \
4533 4840
 
 */
4534
 
  __pyx_t_4 = PyObject_Length(__pyx_v_src); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(0, 409, __pyx_L1_error)
4841
 
  __pyx_t_4 = PyObject_Length(__pyx_v_src); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 409, __pyx_L1_error)
4535 4842
 
  __pyx_v_dsc->dsc$w_length = __pyx_t_4;
4536 4843
 

	
4537 4844
 
  /* "vms/starlet/_starlet.pyx":401
...
 
@@ -4588,7 +4895,7 @@ static CYTHON_INLINE struct dsc$descript
4588 4895
 
 *         return dsc
4589 4896
 
 *     else:
4590 4897
 
 */
4591
 
    __pyx_t_3 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR(__pyx_v_dsc, __pyx_v_string); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 414, __pyx_L1_error)
4898
 
    __pyx_t_3 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR(__pyx_v_dsc, __pyx_v_string); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 414, __pyx_L1_error)
4592 4899
 
    __Pyx_GOTREF(__pyx_t_3);
4593 4900
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4594 4901
 

	
...
 
@@ -4665,7 +4972,7 @@ static CYTHON_INLINE unsigned PY_LONG_LO
4665 4972
 
 *     lid = lid << 32
4666 4973
 
 *     lid += iid[0]
4667 4974
 
 */
4668
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_iid[1])); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 420, __pyx_L1_error)
4975
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_iid[1])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 420, __pyx_L1_error)
4669 4976
 
  __Pyx_GOTREF(__pyx_t_1);
4670 4977
 
  __pyx_v_lid = __pyx_t_1;
4671 4978
 
  __pyx_t_1 = 0;
...
 
@@ -4677,7 +4984,7 @@ static CYTHON_INLINE unsigned PY_LONG_LO
4677 4984
 
 *     lid += iid[0]
4678 4985
 
 *     return lid
4679 4986
 
 */
4680
 
  __pyx_t_1 = __Pyx_PyInt_LshiftObjC(__pyx_v_lid, __pyx_int_32, 32, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 421, __pyx_L1_error)
4987
 
  __pyx_t_1 = __Pyx_PyInt_LshiftObjC(__pyx_v_lid, __pyx_int_32, 32, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 421, __pyx_L1_error)
4681 4988
 
  __Pyx_GOTREF(__pyx_t_1);
4682 4989
 
  __Pyx_DECREF_SET(__pyx_v_lid, __pyx_t_1);
4683 4990
 
  __pyx_t_1 = 0;
...
 
@@ -4689,9 +4996,9 @@ static CYTHON_INLINE unsigned PY_LONG_LO
4689 4996
 
 *     return lid
4690 4997
 
 * 
4691 4998
 
 */
4692
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_iid[0])); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 422, __pyx_L1_error)
4693
 
  __Pyx_GOTREF(__pyx_t_1);
4694
 
  __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_lid, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 422, __pyx_L1_error)
4999
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_iid[0])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 422, __pyx_L1_error)
5000
 
  __Pyx_GOTREF(__pyx_t_1);
5001
 
  __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_lid, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 422, __pyx_L1_error)
4695 5002
 
  __Pyx_GOTREF(__pyx_t_2);
4696 5003
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4697 5004
 
  __Pyx_DECREF_SET(__pyx_v_lid, __pyx_t_2);
...
 
@@ -4704,7 +5011,7 @@ static CYTHON_INLINE unsigned PY_LONG_LO
4704 5011
 
 * 
4705 5012
 
 * cdef inline long2id(unsigned long long lid):
4706 5013
 
 */
4707
 
  __pyx_t_3 = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(__pyx_v_lid); if (unlikely((__pyx_t_3 == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(0, 423, __pyx_L1_error)
5014
 
  __pyx_t_3 = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(__pyx_v_lid); if (unlikely((__pyx_t_3 == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(1, 423, __pyx_L1_error)
4708 5015
 
  __pyx_r = __pyx_t_3;
4709 5016
 
  goto __pyx_L0;
4710 5017
 

	
...
 
@@ -4720,7 +5027,7 @@ static CYTHON_INLINE unsigned PY_LONG_LO
4720 5027
 
  __pyx_L1_error:;
4721 5028
 
  __Pyx_XDECREF(__pyx_t_1);
4722 5029
 
  __Pyx_XDECREF(__pyx_t_2);
4723
 
  __Pyx_WriteUnraisable("vms.starlet._starlet.id2long", __pyx_clineno, __pyx_lineno, __pyx_filename, 0, 0);
5030
 
  __Pyx_WriteUnraisable("vms.starlet._starlet.id2long", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0);
4724 5031
 
  __pyx_r = 0;
4725 5032
 
  __pyx_L0:;
4726 5033
 
  __Pyx_XDECREF(__pyx_v_lid);
...
 
@@ -4752,14 +5059,14 @@ static CYTHON_INLINE PyObject *__pyx_f_3
4752 5059
 
 * cdef inline int* IOPTPTR(int* iv, val) except *:
4753 5060
 
 */
4754 5061
 
  __Pyx_XDECREF(__pyx_r);
4755
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_PY_LONG_LONG(__pyx_v_lid); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 426, __pyx_L1_error)
4756
 
  __Pyx_GOTREF(__pyx_t_1);
4757
 
  __pyx_t_2 = PyNumber_And(__pyx_t_1, __pyx_int_4294967295); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 426, __pyx_L1_error)
4758
 
  __Pyx_GOTREF(__pyx_t_2);
4759
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4760
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_PY_LONG_LONG((__pyx_v_lid >> 32)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 426, __pyx_L1_error)
4761
 
  __Pyx_GOTREF(__pyx_t_1);
4762
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 426, __pyx_L1_error)
5062
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_PY_LONG_LONG(__pyx_v_lid); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 426, __pyx_L1_error)
5063
 
  __Pyx_GOTREF(__pyx_t_1);
5064
 
  __pyx_t_2 = PyNumber_And(__pyx_t_1, __pyx_int_4294967295); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 426, __pyx_L1_error)
5065
 
  __Pyx_GOTREF(__pyx_t_2);
5066
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5067
 
  __pyx_t_1 = __Pyx_PyInt_From_unsigned_PY_LONG_LONG((__pyx_v_lid >> 32)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 426, __pyx_L1_error)
5068
 
  __Pyx_GOTREF(__pyx_t_1);
5069
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 426, __pyx_L1_error)
4763 5070
 
  __Pyx_GOTREF(__pyx_t_3);
4764 5071
 
  __Pyx_GIVEREF(__pyx_t_2);
4765 5072
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
...
 
@@ -4846,7 +5153,7 @@ static CYTHON_INLINE int *__pyx_f_3vms_7
4846 5153
 
 * 
4847 5154
 
 */
4848 5155
 
  /*else*/ {
4849
 
    __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_v_val); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 432, __pyx_L1_error)
5156
 
    __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_v_val); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 432, __pyx_L1_error)
4850 5157
 
    (__pyx_v_iv[0]) = __pyx_t_3;
4851 5158
 

	
4852 5159
 
    /* "vms/starlet/_starlet.pyx":433
...
 
@@ -4931,7 +5238,7 @@ static CYTHON_INLINE unsigned int *__pyx
4931 5238
 
 * 
4932 5239
 
 */
4933 5240
 
  /*else*/ {
4934
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_int(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 439, __pyx_L1_error)
5241
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_int(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 439, __pyx_L1_error)
4935 5242
 
    (__pyx_v_iv[0]) = __pyx_t_3;
4936 5243
 

	
4937 5244
 
    /* "vms/starlet/_starlet.pyx":440
...
 
@@ -5016,7 +5323,7 @@ static CYTHON_INLINE PY_LONG_LONG *__pyx
5016 5323
 
 * 
5017 5324
 
 */
5018 5325
 
  /*else*/ {
5019
 
    __pyx_t_3 = __Pyx_PyInt_As_PY_LONG_LONG(__pyx_v_val); if (unlikely((__pyx_t_3 == (PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(0, 446, __pyx_L1_error)
5326
 
    __pyx_t_3 = __Pyx_PyInt_As_PY_LONG_LONG(__pyx_v_val); if (unlikely((__pyx_t_3 == (PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(1, 446, __pyx_L1_error)
5020 5327
 
    (__pyx_v_iv[0]) = __pyx_t_3;
5021 5328
 

	
5022 5329
 
    /* "vms/starlet/_starlet.pyx":447
...
 
@@ -5101,7 +5408,7 @@ static CYTHON_INLINE unsigned PY_LONG_LO
5101 5408
 
 * 
5102 5409
 
 */
5103 5410
 
  /*else*/ {
5104
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(0, 454, __pyx_L1_error)
5411
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(1, 454, __pyx_L1_error)
5105 5412
 
    (__pyx_v_iv[0]) = __pyx_t_3;
5106 5413
 

	
5107 5414
 
    /* "vms/starlet/_starlet.pyx":455
...
 
@@ -5186,7 +5493,7 @@ static CYTHON_INLINE short *__pyx_f_3vms
5186 5493
 
 * 
5187 5494
 
 */
5188 5495
 
  /*else*/ {
5189
 
    __pyx_t_3 = __Pyx_PyInt_As_short(__pyx_v_val); if (unlikely((__pyx_t_3 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 461, __pyx_L1_error)
5496
 
    __pyx_t_3 = __Pyx_PyInt_As_short(__pyx_v_val); if (unlikely((__pyx_t_3 == (short)-1) && PyErr_Occurred())) __PYX_ERR(1, 461, __pyx_L1_error)
5190 5497
 
    (__pyx_v_iv[0]) = __pyx_t_3;
5191 5498
 

	
5192 5499
 
    /* "vms/starlet/_starlet.pyx":462
...
 
@@ -5271,7 +5578,7 @@ static CYTHON_INLINE unsigned short *__p
5271 5578
 
 * 
5272 5579
 
 */
5273 5580
 
  /*else*/ {
5274
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_short(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned short)-1) && PyErr_Occurred())) __PYX_ERR(0, 468, __pyx_L1_error)
5581
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_short(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned short)-1) && PyErr_Occurred())) __PYX_ERR(1, 468, __pyx_L1_error)
5275 5582
 
    (__pyx_v_iv[0]) = __pyx_t_3;
5276 5583
 

	
5277 5584
 
    /* "vms/starlet/_starlet.pyx":469
...
 
@@ -5356,7 +5663,7 @@ static CYTHON_INLINE unsigned char *__py
5356 5663
 
 * 
5357 5664
 
 */
5358 5665
 
  /*else*/ {
5359
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_char(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(0, 475, __pyx_L1_error)
5666
 
    __pyx_t_3 = __Pyx_PyInt_As_unsigned_char(__pyx_v_val); if (unlikely((__pyx_t_3 == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(1, 475, __pyx_L1_error)
5360 5667
 
    (__pyx_v_iv[0]) = __pyx_t_3;
5361 5668
 

	
5362 5669
 
    /* "vms/starlet/_starlet.pyx":476
...
 
@@ -5381,7 +5688,7 @@ static CYTHON_INLINE unsigned char *__py
5381 5688
 
  /* function exit code */
5382 5689
 
  __pyx_L1_error:;
5383 5690
 
  __Pyx_AddTraceback("vms.starlet._starlet.UCOPTPTR", __pyx_clineno, __pyx_lineno, __pyx_filename);
5384
 
  __pyx_r = 0;
5691
 
  __pyx_r = NULL;
5385 5692
 
  __pyx_L0:;
5386 5693
 
  __Pyx_RefNannyFinishContext();
5387 5694
 
  return __pyx_r;
...
 
@@ -5414,54 +5721,61 @@ static PyObject *__pyx_pw_3vms_7starlet_
5414 5721
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5415 5722
 
      switch (pos_args) {
5416 5723
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5417
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5418
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5419
 
        case  0: break;
5420
 
        default: goto __pyx_L5_argtuple_error;
5421
 
      }
5422
 
      kw_args = PyDict_Size(__pyx_kwds);
5423
 
      switch (pos_args) {
5424
 
        case  0:
5425
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_handle)) != 0)) kw_args--;
5426
 
        else goto __pyx_L5_argtuple_error;
5427
 
        case  1:
5428
 
        if (kw_args > 0) {
5429
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_timeout);
5430
 
          if (value) { values[1] = value; kw_args--; }
5431
 
        }
5432
 
        case  2:
5433
 
        if (kw_args > 0) {
5434
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags);
5435
 
          if (value) { values[2] = value; kw_args--; }
5436
 
        }
5437
 
      }
5438
 
      if (unlikely(kw_args > 0)) {
5439
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "acquire_galaxy_lock") < 0)) __PYX_ERR(0, 479, __pyx_L3_error)
5440
 
      }
5441
 
    } else {
5442
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5443
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5444
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5724
 
        CYTHON_FALLTHROUGH;
5725
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5726
 
        CYTHON_FALLTHROUGH;
5727
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5728
 
        CYTHON_FALLTHROUGH;
5729
 
        case  0: break;
5730
 
        default: goto __pyx_L5_argtuple_error;
5731
 
      }
5732
 
      kw_args = PyDict_Size(__pyx_kwds);
5733
 
      switch (pos_args) {
5734
 
        case  0:
5735
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_handle)) != 0)) kw_args--;
5736
 
        else goto __pyx_L5_argtuple_error;
5737
 
        CYTHON_FALLTHROUGH;
5738
 
        case  1:
5739
 
        if (kw_args > 0) {
5740
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_timeout);
5741
 
          if (value) { values[1] = value; kw_args--; }
5742
 
        }
5743
 
        CYTHON_FALLTHROUGH;
5744
 
        case  2:
5745
 
        if (kw_args > 0) {
5746
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_flags);
5747
 
          if (value) { values[2] = value; kw_args--; }
5748
 
        }
5749
 
      }
5750
 
      if (unlikely(kw_args > 0)) {
5751
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "acquire_galaxy_lock") < 0)) __PYX_ERR(1, 479, __pyx_L3_error)
5752
 
      }
5753
 
    } else {
5754
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5755
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5756
 
        CYTHON_FALLTHROUGH;
5757
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5758
 
        CYTHON_FALLTHROUGH;
5445 5759
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5446 5760
 
        break;
5447 5761
 
        default: goto __pyx_L5_argtuple_error;
5448 5762
 
      }
5449 5763
 
    }
5450
 
    __pyx_v_handle = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(values[0]); if (unlikely((__pyx_v_handle == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(0, 479, __pyx_L3_error)
5764
 
    __pyx_v_handle = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(values[0]); if (unlikely((__pyx_v_handle == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(1, 479, __pyx_L3_error)
5451 5765
 
    if (values[1]) {
5452
 
      __pyx_v_timeout = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_timeout == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 480, __pyx_L3_error)
5766
 
      __pyx_v_timeout = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_timeout == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 480, __pyx_L3_error)
5453 5767
 
    } else {
5454 5768
 
      __pyx_v_timeout = ((unsigned int)0);
5455 5769
 
    }
5456 5770
 
    if (values[2]) {
5457
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 481, __pyx_L3_error)
5771
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 481, __pyx_L3_error)
5458 5772
 
    } else {
5459 5773
 
      __pyx_v_flags = ((unsigned int)0);
5460 5774
 
    }
5461 5775
 
  }
5462 5776
 
  goto __pyx_L4_argument_unpacking_done;
5463 5777
 
  __pyx_L5_argtuple_error:;
5464
 
  __Pyx_RaiseArgtupleInvalid("acquire_galaxy_lock", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 479, __pyx_L3_error)
5778
 
  __Pyx_RaiseArgtupleInvalid("acquire_galaxy_lock", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 479, __pyx_L3_error)
5465 5779
 
  __pyx_L3_error:;
5466 5780
 
  __Pyx_AddTraceback("vms.starlet._starlet.acquire_galaxy_lock", __pyx_clineno, __pyx_lineno, __pyx_filename);
5467 5781
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -5497,7 +5811,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5497 5811
 
 *     return s
5498 5812
 
 * 
5499 5813
 
 */
5500
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 484, __pyx_L1_error)
5814
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 484, __pyx_L1_error)
5501 5815
 
  __Pyx_GOTREF(__pyx_t_1);
5502 5816
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5503 5817
 

	
...
 
@@ -5509,7 +5823,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5509 5823
 
 * def add_holder(unsigned int rights_id, unsigned long long rights_holder,
5510 5824
 
 */
5511 5825
 
  __Pyx_XDECREF(__pyx_r);
5512
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 485, __pyx_L1_error)
5826
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 485, __pyx_L1_error)
5513 5827
 
  __Pyx_GOTREF(__pyx_t_1);
5514 5828
 
  __pyx_r = __pyx_t_1;
5515 5829
 
  __pyx_t_1 = 0;
...
 
@@ -5561,50 +5875,56 @@ static PyObject *__pyx_pw_3vms_7starlet_
5561 5875
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5562 5876
 
      switch (pos_args) {
5563 5877
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5564
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5565
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5566
 
        case  0: break;
5567
 
        default: goto __pyx_L5_argtuple_error;
5568
 
      }
5569
 
      kw_args = PyDict_Size(__pyx_kwds);
5570
 
      switch (pos_args) {
5571
 
        case  0:
5572
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rights_id)) != 0)) kw_args--;
5573
 
        else goto __pyx_L5_argtuple_error;
5574
 
        case  1:
5575
 
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rights_holder)) != 0)) kw_args--;
5576
 
        else {
5577
 
          __Pyx_RaiseArgtupleInvalid("add_holder", 0, 2, 3, 1); __PYX_ERR(0, 487, __pyx_L3_error)
5578
 
        }
5579
 
        case  2:
5580
 
        if (kw_args > 0) {
5581
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_attrib);
5582
 
          if (value) { values[2] = value; kw_args--; }
5583
 
        }
5584
 
      }
5585
 
      if (unlikely(kw_args > 0)) {
5586
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_holder") < 0)) __PYX_ERR(0, 487, __pyx_L3_error)
5587
 
      }
5588
 
    } else {
5589
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5590
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5878
 
        CYTHON_FALLTHROUGH;
5879
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5880
 
        CYTHON_FALLTHROUGH;
5881
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5882
 
        CYTHON_FALLTHROUGH;
5883
 
        case  0: break;
5884
 
        default: goto __pyx_L5_argtuple_error;
5885
 
      }
5886
 
      kw_args = PyDict_Size(__pyx_kwds);
5887
 
      switch (pos_args) {
5888
 
        case  0:
5889
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rights_id)) != 0)) kw_args--;
5890
 
        else goto __pyx_L5_argtuple_error;
5891
 
        CYTHON_FALLTHROUGH;
5892
 
        case  1:
5893
 
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rights_holder)) != 0)) kw_args--;
5894
 
        else {
5895
 
          __Pyx_RaiseArgtupleInvalid("add_holder", 0, 2, 3, 1); __PYX_ERR(1, 487, __pyx_L3_error)
5896
 
        }
5897
 
        CYTHON_FALLTHROUGH;
5898
 
        case  2:
5899
 
        if (kw_args > 0) {
5900
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attrib);
5901
 
          if (value) { values[2] = value; kw_args--; }
5902
 
        }
5903
 
      }
5904
 
      if (unlikely(kw_args > 0)) {
5905
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_holder") < 0)) __PYX_ERR(1, 487, __pyx_L3_error)
5906
 
      }
5907
 
    } else {
5908
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5909
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5910
 
        CYTHON_FALLTHROUGH;
5591 5911
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5592 5912
 
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5593 5913
 
        break;
5594 5914
 
        default: goto __pyx_L5_argtuple_error;
5595 5915
 
      }
5596 5916
 
    }
5597
 
    __pyx_v_rights_id = __Pyx_PyInt_As_unsigned_int(values[0]); if (unlikely((__pyx_v_rights_id == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 487, __pyx_L3_error)
5598
 
    __pyx_v_rights_holder = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(values[1]); if (unlikely((__pyx_v_rights_holder == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(0, 487, __pyx_L3_error)
5917
 
    __pyx_v_rights_id = __Pyx_PyInt_As_unsigned_int(values[0]); if (unlikely((__pyx_v_rights_id == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 487, __pyx_L3_error)
5918
 
    __pyx_v_rights_holder = __Pyx_PyInt_As_unsigned_PY_LONG_LONG(values[1]); if (unlikely((__pyx_v_rights_holder == (unsigned PY_LONG_LONG)-1) && PyErr_Occurred())) __PYX_ERR(1, 487, __pyx_L3_error)
5599 5919
 
    if (values[2]) {
5600
 
      __pyx_v_attrib = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_attrib == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 488, __pyx_L3_error)
5920
 
      __pyx_v_attrib = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_attrib == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 488, __pyx_L3_error)
5601 5921
 
    } else {
5602 5922
 
      __pyx_v_attrib = ((unsigned int)0);
5603 5923
 
    }
5604 5924
 
  }
5605 5925
 
  goto __pyx_L4_argument_unpacking_done;
5606 5926
 
  __pyx_L5_argtuple_error:;
5607
 
  __Pyx_RaiseArgtupleInvalid("add_holder", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 487, __pyx_L3_error)
5927
 
  __Pyx_RaiseArgtupleInvalid("add_holder", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 487, __pyx_L3_error)
5608 5928
 
  __pyx_L3_error:;
5609 5929
 
  __Pyx_AddTraceback("vms.starlet._starlet.add_holder", __pyx_clineno, __pyx_lineno, __pyx_filename);
5610 5930
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -5640,7 +5960,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5640 5960
 
 *     return s
5641 5961
 
 * 
5642 5962
 
 */
5643
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 491, __pyx_L1_error)
5963
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 491, __pyx_L1_error)
5644 5964
 
  __Pyx_GOTREF(__pyx_t_1);
5645 5965
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5646 5966
 

	
...
 
@@ -5652,7 +5972,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5652 5972
 
 * def add_ident(name, unsigned int id=0, unsigned int attrib=0):
5653 5973
 
 */
5654 5974
 
  __Pyx_XDECREF(__pyx_r);
5655
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 492, __pyx_L1_error)
5975
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 492, __pyx_L1_error)
5656 5976
 
  __Pyx_GOTREF(__pyx_t_1);
5657 5977
 
  __pyx_r = __pyx_t_1;
5658 5978
 
  __pyx_t_1 = 0;
...
 
@@ -5704,34 +6024,41 @@ static PyObject *__pyx_pw_3vms_7starlet_
5704 6024
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5705 6025
 
      switch (pos_args) {
5706 6026
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5707
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5708
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5709
 
        case  0: break;
5710
 
        default: goto __pyx_L5_argtuple_error;
5711
 
      }
5712
 
      kw_args = PyDict_Size(__pyx_kwds);
5713
 
      switch (pos_args) {
5714
 
        case  0:
5715
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
5716
 
        else goto __pyx_L5_argtuple_error;
5717
 
        case  1:
5718
 
        if (kw_args > 0) {
5719
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_id);
5720
 
          if (value) { values[1] = value; kw_args--; }
5721
 
        }
5722
 
        case  2:
5723
 
        if (kw_args > 0) {
5724
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_attrib);
5725
 
          if (value) { values[2] = value; kw_args--; }
5726
 
        }
5727
 
      }
5728
 
      if (unlikely(kw_args > 0)) {
5729
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_ident") < 0)) __PYX_ERR(0, 494, __pyx_L3_error)
5730
 
      }
5731
 
    } else {
5732
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5733
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5734
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6027
 
        CYTHON_FALLTHROUGH;
6028
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6029
 
        CYTHON_FALLTHROUGH;
6030
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6031
 
        CYTHON_FALLTHROUGH;
6032
 
        case  0: break;
6033
 
        default: goto __pyx_L5_argtuple_error;
6034
 
      }
6035
 
      kw_args = PyDict_Size(__pyx_kwds);
6036
 
      switch (pos_args) {
6037
 
        case  0:
6038
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
6039
 
        else goto __pyx_L5_argtuple_error;
6040
 
        CYTHON_FALLTHROUGH;
6041
 
        case  1:
6042
 
        if (kw_args > 0) {
6043
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_id);
6044
 
          if (value) { values[1] = value; kw_args--; }
6045
 
        }
6046
 
        CYTHON_FALLTHROUGH;
6047
 
        case  2:
6048
 
        if (kw_args > 0) {
6049
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attrib);
6050
 
          if (value) { values[2] = value; kw_args--; }
6051
 
        }
6052
 
      }
6053
 
      if (unlikely(kw_args > 0)) {
6054
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_ident") < 0)) __PYX_ERR(1, 494, __pyx_L3_error)
6055
 
      }
6056
 
    } else {
6057
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6058
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6059
 
        CYTHON_FALLTHROUGH;
6060
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6061
 
        CYTHON_FALLTHROUGH;
5735 6062
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5736 6063
 
        break;
5737 6064
 
        default: goto __pyx_L5_argtuple_error;
...
 
@@ -5739,19 +6066,19 @@ static PyObject *__pyx_pw_3vms_7starlet_
5739 6066
 
    }
5740 6067
 
    __pyx_v_name = values[0];
5741 6068
 
    if (values[1]) {
5742
 
      __pyx_v_id = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_id == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 494, __pyx_L3_error)
6069
 
      __pyx_v_id = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_id == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 494, __pyx_L3_error)
5743 6070
 
    } else {
5744 6071
 
      __pyx_v_id = ((unsigned int)0);
5745 6072
 
    }
5746 6073
 
    if (values[2]) {
5747
 
      __pyx_v_attrib = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_attrib == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 494, __pyx_L3_error)
6074
 
      __pyx_v_attrib = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_attrib == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 494, __pyx_L3_error)
5748 6075
 
    } else {
5749 6076
 
      __pyx_v_attrib = ((unsigned int)0);
5750 6077
 
    }
5751 6078
 
  }
5752 6079
 
  goto __pyx_L4_argument_unpacking_done;
5753 6080
 
  __pyx_L5_argtuple_error:;
5754
 
  __Pyx_RaiseArgtupleInvalid("add_ident", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 494, __pyx_L3_error)
6081
 
  __Pyx_RaiseArgtupleInvalid("add_ident", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 494, __pyx_L3_error)
5755 6082
 
  __pyx_L3_error:;
5756 6083
 
  __Pyx_AddTraceback("vms.starlet._starlet.add_ident", __pyx_clineno, __pyx_lineno, __pyx_filename);
5757 6084
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -5792,7 +6119,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5792 6119
 
 *     cdef dsc_descriptor_s nameD
5793 6120
 
 *     DESCFROMSTR(&nameD, name)
5794 6121
 
 */
5795
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 497, __pyx_L1_error)
6122
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 497, __pyx_L1_error)
5796 6123
 
  __Pyx_GOTREF(__pyx_t_1);
5797 6124
 
  __Pyx_DECREF_SET(__pyx_v_name, __pyx_t_1);
5798 6125
 
  __pyx_t_1 = 0;
...
 
@@ -5804,7 +6131,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5804 6131
 
 *     s = sys_add_ident(&nameD, id, attrib, &resid)
5805 6132
 
 *     checkStatus(s)
5806 6133
 
 */
5807
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_nameD), __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 499, __pyx_L1_error)
6134
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_nameD), __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 499, __pyx_L1_error)
5808 6135
 
  __Pyx_GOTREF(__pyx_t_1);
5809 6136
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5810 6137
 

	
...
 
@@ -5824,7 +6151,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5824 6151
 
 *     return s, resid
5825 6152
 
 * 
5826 6153
 
 */
5827
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error)
6154
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 501, __pyx_L1_error)
5828 6155
 
  __Pyx_GOTREF(__pyx_t_1);
5829 6156
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5830 6157
 

	
...
 
@@ -5836,11 +6163,11 @@ static PyObject *__pyx_pf_3vms_7starlet_
5836 6163
 
 * def add_proxy(rem_node, rem_user, local_user, unsigned int flags=0):
5837 6164
 
 */
5838 6165
 
  __Pyx_XDECREF(__pyx_r);
5839
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 502, __pyx_L1_error)
5840
 
  __Pyx_GOTREF(__pyx_t_1);
5841
 
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resid); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 502, __pyx_L1_error)
5842
 
  __Pyx_GOTREF(__pyx_t_2);
5843
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 502, __pyx_L1_error)
6166
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 502, __pyx_L1_error)
6167
 
  __Pyx_GOTREF(__pyx_t_1);
6168
 
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resid); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 502, __pyx_L1_error)
6169
 
  __Pyx_GOTREF(__pyx_t_2);
6170
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 502, __pyx_L1_error)
5844 6171
 
  __Pyx_GOTREF(__pyx_t_3);
5845 6172
 
  __Pyx_GIVEREF(__pyx_t_1);
5846 6173
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
...
 
@@ -5902,39 +6229,47 @@ static PyObject *__pyx_pw_3vms_7starlet_
5902 6229
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5903 6230
 
      switch (pos_args) {
5904 6231
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
5905
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5906
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5907
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5908
 
        case  0: break;
5909
 
        default: goto __pyx_L5_argtuple_error;
5910
 
      }
5911
 
      kw_args = PyDict_Size(__pyx_kwds);
5912
 
      switch (pos_args) {
5913
 
        case  0:
5914
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rem_node)) != 0)) kw_args--;
5915
 
        else goto __pyx_L5_argtuple_error;
5916
 
        case  1:
5917
 
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rem_user)) != 0)) kw_args--;
5918
 
        else {
5919
 
          __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, 1); __PYX_ERR(0, 504, __pyx_L3_error)
5920
 
        }
5921
 
        case  2:
5922
 
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_local_user)) != 0)) kw_args--;
5923
 
        else {
5924
 
          __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, 2); __PYX_ERR(0, 504, __pyx_L3_error)
5925
 
        }
5926
 
        case  3:
5927
 
        if (kw_args > 0) {
5928
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags);
6232
 
        CYTHON_FALLTHROUGH;
6233
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6234
 
        CYTHON_FALLTHROUGH;
6235
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6236
 
        CYTHON_FALLTHROUGH;
6237
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6238
 
        CYTHON_FALLTHROUGH;
6239
 
        case  0: break;
6240
 
        default: goto __pyx_L5_argtuple_error;
6241
 
      }
6242
 
      kw_args = PyDict_Size(__pyx_kwds);
6243
 
      switch (pos_args) {
6244
 
        case  0:
6245
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rem_node)) != 0)) kw_args--;
6246
 
        else goto __pyx_L5_argtuple_error;
6247
 
        CYTHON_FALLTHROUGH;
6248
 
        case  1:
6249
 
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rem_user)) != 0)) kw_args--;
6250
 
        else {
6251
 
          __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, 1); __PYX_ERR(1, 504, __pyx_L3_error)
6252
 
        }
6253
 
        CYTHON_FALLTHROUGH;
6254
 
        case  2:
6255
 
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_local_user)) != 0)) kw_args--;
6256
 
        else {
6257
 
          __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, 2); __PYX_ERR(1, 504, __pyx_L3_error)
6258
 
        }
6259
 
        CYTHON_FALLTHROUGH;
6260
 
        case  3:
6261
 
        if (kw_args > 0) {
6262
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_flags);
5929 6263
 
          if (value) { values[3] = value; kw_args--; }
5930 6264
 
        }
5931 6265
 
      }
5932 6266
 
      if (unlikely(kw_args > 0)) {
5933
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_proxy") < 0)) __PYX_ERR(0, 504, __pyx_L3_error)
5934
 
      }
5935
 
    } else {
5936
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
5937
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
6267
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_proxy") < 0)) __PYX_ERR(1, 504, __pyx_L3_error)
6268
 
      }
6269
 
    } else {
6270
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6271
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
6272
 
        CYTHON_FALLTHROUGH;
5938 6273
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5939 6274
 
        values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5940 6275
 
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
...
 
@@ -5946,14 +6281,14 @@ static PyObject *__pyx_pw_3vms_7starlet_
5946 6281
 
    __pyx_v_rem_user = values[1];
5947 6282
 
    __pyx_v_local_user = values[2];
5948 6283
 
    if (values[3]) {
5949
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[3]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 504, __pyx_L3_error)
6284
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[3]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 504, __pyx_L3_error)
5950 6285
 
    } else {
5951 6286
 
      __pyx_v_flags = ((unsigned int)0);
5952 6287
 
    }
5953 6288
 
  }
5954 6289
 
  goto __pyx_L4_argument_unpacking_done;
5955 6290
 
  __pyx_L5_argtuple_error:;
5956
 
  __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 504, __pyx_L3_error)
6291
 
  __Pyx_RaiseArgtupleInvalid("add_proxy", 0, 3, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 504, __pyx_L3_error)
5957 6292
 
  __pyx_L3_error:;
5958 6293
 
  __Pyx_AddTraceback("vms.starlet._starlet.add_proxy", __pyx_clineno, __pyx_lineno, __pyx_filename);
5959 6294
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -5986,7 +6321,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5986 6321
 
 *     rem_user = getstr(rem_user)
5987 6322
 
 *     local_user = getstr(local_user)
5988 6323
 
 */
5989
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_rem_node); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 506, __pyx_L1_error)
6324
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_rem_node); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 506, __pyx_L1_error)
5990 6325
 
  __Pyx_GOTREF(__pyx_t_1);
5991 6326
 
  __Pyx_DECREF_SET(__pyx_v_rem_node, __pyx_t_1);
5992 6327
 
  __pyx_t_1 = 0;
...
 
@@ -5998,7 +6333,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
5998 6333
 
 *     local_user = getstr(local_user)
5999 6334
 
 *     cdef dsc_descriptor_s remNodeD, remUserD, localUserD
6000 6335
 
 */
6001
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_rem_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __pyx_L1_error)
6336
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_rem_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 507, __pyx_L1_error)
6002 6337
 
  __Pyx_GOTREF(__pyx_t_1);
6003 6338
 
  __Pyx_DECREF_SET(__pyx_v_rem_user, __pyx_t_1);
6004 6339
 
  __pyx_t_1 = 0;
...
 
@@ -6010,7 +6345,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6010 6345
 
 *     cdef dsc_descriptor_s remNodeD, remUserD, localUserD
6011 6346
 
 *     DESCFROMSTR(&remNodeD, rem_node)
6012 6347
 
 */
6013
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_local_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 508, __pyx_L1_error)
6348
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_local_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 508, __pyx_L1_error)
6014 6349
 
  __Pyx_GOTREF(__pyx_t_1);
6015 6350
 
  __Pyx_DECREF_SET(__pyx_v_local_user, __pyx_t_1);
6016 6351
 
  __pyx_t_1 = 0;
...
 
@@ -6022,7 +6357,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6022 6357
 
 *     DESCFROMSTR(&remUserD, rem_user)
6023 6358
 
 *     DESCFROMSTR(&localUserD, local_user)
6024 6359
 
 */
6025
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_remNodeD), __pyx_v_rem_node); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 510, __pyx_L1_error)
6360
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_remNodeD), __pyx_v_rem_node); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 510, __pyx_L1_error)
6026 6361
 
  __Pyx_GOTREF(__pyx_t_1);
6027 6362
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6028 6363
 

	
...
 
@@ -6033,7 +6368,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6033 6368
 
 *     DESCFROMSTR(&localUserD, local_user)
6034 6369
 
 *     s = sys_add_proxy(&remNodeD, &remUserD, &localUserD, flags)
6035 6370
 
 */
6036
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_remUserD), __pyx_v_rem_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 511, __pyx_L1_error)
6371
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_remUserD), __pyx_v_rem_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 511, __pyx_L1_error)
6037 6372
 
  __Pyx_GOTREF(__pyx_t_1);
6038 6373
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6039 6374
 

	
...
 
@@ -6044,7 +6379,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6044 6379
 
 *     s = sys_add_proxy(&remNodeD, &remUserD, &localUserD, flags)
6045 6380
 
 *     checkStatus(s)
6046 6381
 
 */
6047
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_localUserD), __pyx_v_local_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 512, __pyx_L1_error)
6382
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_localUserD), __pyx_v_local_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 512, __pyx_L1_error)
6048 6383
 
  __Pyx_GOTREF(__pyx_t_1);
6049 6384
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6050 6385
 

	
...
 
@@ -6064,7 +6399,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6064 6399
 
 *     return s
6065 6400
 
 * 
6066 6401
 
 */
6067
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 514, __pyx_L1_error)
6402
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 514, __pyx_L1_error)
6068 6403
 
  __Pyx_GOTREF(__pyx_t_1);
6069 6404
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6070 6405
 

	
...
 
@@ -6076,7 +6411,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6076 6411
 
 * def adjwsl(int pagecnt=0):
6077 6412
 
 */
6078 6413
 
  __Pyx_XDECREF(__pyx_r);
6079
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 515, __pyx_L1_error)
6414
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 515, __pyx_L1_error)
6080 6415
 
  __Pyx_GOTREF(__pyx_t_1);
6081 6416
 
  __pyx_r = __pyx_t_1;
6082 6417
 
  __pyx_t_1 = 0;
...
 
@@ -6129,36 +6464,38 @@ static PyObject *__pyx_pw_3vms_7starlet_
6129 6464
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
6130 6465
 
      switch (pos_args) {
6131 6466
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6132
 
        case  0: break;
6133
 
        default: goto __pyx_L5_argtuple_error;
6134
 
      }
6135
 
      kw_args = PyDict_Size(__pyx_kwds);
6136
 
      switch (pos_args) {
6137
 
        case  0:
6138
 
        if (kw_args > 0) {
6139
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_pagecnt);
6467
 
        CYTHON_FALLTHROUGH;
6468
 
        case  0: break;
6469
 
        default: goto __pyx_L5_argtuple_error;
6470
 
      }
6471
 
      kw_args = PyDict_Size(__pyx_kwds);
6472
 
      switch (pos_args) {
6473
 
        case  0:
6474
 
        if (kw_args > 0) {
6475
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pagecnt);
6140 6476
 
          if (value) { values[0] = value; kw_args--; }
6141 6477
 
        }
6142 6478
 
      }
6143 6479
 
      if (unlikely(kw_args > 0)) {
6144
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "adjwsl") < 0)) __PYX_ERR(0, 517, __pyx_L3_error)
6145
 
      }
6146
 
    } else {
6147
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6148
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6480
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "adjwsl") < 0)) __PYX_ERR(1, 517, __pyx_L3_error)
6481
 
      }
6482
 
    } else {
6483
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6484
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6485
 
        CYTHON_FALLTHROUGH;
6149 6486
 
        case  0: break;
6150 6487
 
        default: goto __pyx_L5_argtuple_error;
6151 6488
 
      }
6152 6489
 
    }
6153 6490
 
    if (values[0]) {
6154
 
      __pyx_v_pagecnt = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_pagecnt == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 517, __pyx_L3_error)
6491
 
      __pyx_v_pagecnt = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_pagecnt == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 517, __pyx_L3_error)
6155 6492
 
    } else {
6156 6493
 
      __pyx_v_pagecnt = ((int)0);
6157 6494
 
    }
6158 6495
 
  }
6159 6496
 
  goto __pyx_L4_argument_unpacking_done;
6160 6497
 
  __pyx_L5_argtuple_error:;
6161
 
  __Pyx_RaiseArgtupleInvalid("adjwsl", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 517, __pyx_L3_error)
6498
 
  __Pyx_RaiseArgtupleInvalid("adjwsl", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 517, __pyx_L3_error)
6162 6499
 
  __pyx_L3_error:;
6163 6500
 
  __Pyx_AddTraceback("vms.starlet._starlet.adjwsl", __pyx_clineno, __pyx_lineno, __pyx_filename);
6164 6501
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -6206,7 +6543,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6206 6543
 
 *     return s, wsetlm
6207 6544
 
 * 
6208 6545
 
 */
6209
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 521, __pyx_L1_error)
6546
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 521, __pyx_L1_error)
6210 6547
 
  __Pyx_GOTREF(__pyx_t_1);
6211 6548
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6212 6549
 

	
...
 
@@ -6218,11 +6555,11 @@ static PyObject *__pyx_pf_3vms_7starlet_
6218 6555
 
 * def alloc(devnam, unsigned int accmode=0, unsigned int flags=0):
6219 6556
 
 */
6220 6557
 
  __Pyx_XDECREF(__pyx_r);
6221
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 522, __pyx_L1_error)
6222
 
  __Pyx_GOTREF(__pyx_t_1);
6223
 
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_wsetlm); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 522, __pyx_L1_error)
6224
 
  __Pyx_GOTREF(__pyx_t_2);
6225
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 522, __pyx_L1_error)
6558
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 522, __pyx_L1_error)
6559
 
  __Pyx_GOTREF(__pyx_t_1);
6560
 
  __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_wsetlm); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 522, __pyx_L1_error)
6561
 
  __Pyx_GOTREF(__pyx_t_2);
6562
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 522, __pyx_L1_error)
6226 6563
 
  __Pyx_GOTREF(__pyx_t_3);
6227 6564
 
  __Pyx_GIVEREF(__pyx_t_1);
6228 6565
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
...
 
@@ -6282,34 +6619,41 @@ static PyObject *__pyx_pw_3vms_7starlet_
6282 6619
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
6283 6620
 
      switch (pos_args) {
6284 6621
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6285
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6286
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6287
 
        case  0: break;
6288
 
        default: goto __pyx_L5_argtuple_error;
6289
 
      }
6290
 
      kw_args = PyDict_Size(__pyx_kwds);
6291
 
      switch (pos_args) {
6292
 
        case  0:
6293
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_devnam)) != 0)) kw_args--;
6294
 
        else goto __pyx_L5_argtuple_error;
6295
 
        case  1:
6296
 
        if (kw_args > 0) {
6297
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_accmode);
6298
 
          if (value) { values[1] = value; kw_args--; }
6299
 
        }
6300
 
        case  2:
6301
 
        if (kw_args > 0) {
6302
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags);
6303
 
          if (value) { values[2] = value; kw_args--; }
6304
 
        }
6305
 
      }
6306
 
      if (unlikely(kw_args > 0)) {
6307
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "alloc") < 0)) __PYX_ERR(0, 524, __pyx_L3_error)
6308
 
      }
6309
 
    } else {
6310
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6311
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6312
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6622
 
        CYTHON_FALLTHROUGH;
6623
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6624
 
        CYTHON_FALLTHROUGH;
6625
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6626
 
        CYTHON_FALLTHROUGH;
6627
 
        case  0: break;
6628
 
        default: goto __pyx_L5_argtuple_error;
6629
 
      }
6630
 
      kw_args = PyDict_Size(__pyx_kwds);
6631
 
      switch (pos_args) {
6632
 
        case  0:
6633
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_devnam)) != 0)) kw_args--;
6634
 
        else goto __pyx_L5_argtuple_error;
6635
 
        CYTHON_FALLTHROUGH;
6636
 
        case  1:
6637
 
        if (kw_args > 0) {
6638
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_accmode);
6639
 
          if (value) { values[1] = value; kw_args--; }
6640
 
        }
6641
 
        CYTHON_FALLTHROUGH;
6642
 
        case  2:
6643
 
        if (kw_args > 0) {
6644
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_flags);
6645
 
          if (value) { values[2] = value; kw_args--; }
6646
 
        }
6647
 
      }
6648
 
      if (unlikely(kw_args > 0)) {
6649
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "alloc") < 0)) __PYX_ERR(1, 524, __pyx_L3_error)
6650
 
      }
6651
 
    } else {
6652
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6653
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6654
 
        CYTHON_FALLTHROUGH;
6655
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6656
 
        CYTHON_FALLTHROUGH;
6313 6657
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6314 6658
 
        break;
6315 6659
 
        default: goto __pyx_L5_argtuple_error;
...
 
@@ -6317,19 +6661,19 @@ static PyObject *__pyx_pw_3vms_7starlet_
6317 6661
 
    }
6318 6662
 
    __pyx_v_devnam = values[0];
6319 6663
 
    if (values[1]) {
6320
 
      __pyx_v_accmode = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_accmode == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 524, __pyx_L3_error)
6664
 
      __pyx_v_accmode = __Pyx_PyInt_As_unsigned_int(values[1]); if (unlikely((__pyx_v_accmode == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 524, __pyx_L3_error)
6321 6665
 
    } else {
6322 6666
 
      __pyx_v_accmode = ((unsigned int)0);
6323 6667
 
    }
6324 6668
 
    if (values[2]) {
6325
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 524, __pyx_L3_error)
6669
 
      __pyx_v_flags = __Pyx_PyInt_As_unsigned_int(values[2]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 524, __pyx_L3_error)
6326 6670
 
    } else {
6327 6671
 
      __pyx_v_flags = ((unsigned int)0);
6328 6672
 
    }
6329 6673
 
  }
6330 6674
 
  goto __pyx_L4_argument_unpacking_done;
6331 6675
 
  __pyx_L5_argtuple_error:;
6332
 
  __Pyx_RaiseArgtupleInvalid("alloc", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 524, __pyx_L3_error)
6676
 
  __Pyx_RaiseArgtupleInvalid("alloc", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 524, __pyx_L3_error)
6333 6677
 
  __pyx_L3_error:;
6334 6678
 
  __Pyx_AddTraceback("vms.starlet._starlet.alloc", __pyx_clineno, __pyx_lineno, __pyx_filename);
6335 6679
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -6363,7 +6707,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6363 6707
 
 *     cdef dsc_descriptor_s devnamD
6364 6708
 
 *     DESCFROMSTR(&devnamD, devnam)
6365 6709
 
 */
6366
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_devnam); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 526, __pyx_L1_error)
6710
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_devnam); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 526, __pyx_L1_error)
6367 6711
 
  __Pyx_GOTREF(__pyx_t_1);
6368 6712
 
  __Pyx_DECREF_SET(__pyx_v_devnam, __pyx_t_1);
6369 6713
 
  __pyx_t_1 = 0;
...
 
@@ -6375,7 +6719,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6375 6719
 
 *     cdef unsigned short phylen = 0
6376 6720
 
 *     cdef dsc_descriptor_s phybufD
6377 6721
 
 */
6378
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_devnamD), __pyx_v_devnam); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 528, __pyx_L1_error)
6722
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_DESCFROMSTR((&__pyx_v_devnamD), __pyx_v_devnam); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 528, __pyx_L1_error)
6379 6723
 
  __Pyx_GOTREF(__pyx_t_1);
6380 6724
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6381 6725
 

	
...
 
@@ -6413,7 +6757,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6413 6757
 
 *     return s, phybuf[:phylen]
6414 6758
 
 * 
6415 6759
 
 */
6416
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 534, __pyx_L1_error)
6760
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_checkStatus(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 534, __pyx_L1_error)
6417 6761
 
  __Pyx_GOTREF(__pyx_t_1);
6418 6762
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6419 6763
 

	
...
 
@@ -6425,11 +6769,11 @@ static PyObject *__pyx_pf_3vms_7starlet_
6425 6769
 
 * def ascefc(unsigned int efn, name, unsigned char prot=0, unsigned char perm=0):
6426 6770
 
 */
6427 6771
 
  __Pyx_XDECREF(__pyx_r);
6428
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 535, __pyx_L1_error)
6429
 
  __Pyx_GOTREF(__pyx_t_1);
6430
 
  __pyx_t_2 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_phybuf) + 0, __pyx_v_phylen - 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 535, __pyx_L1_error)
6431
 
  __Pyx_GOTREF(__pyx_t_2);
6432
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 535, __pyx_L1_error)
6772
 
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_s); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 535, __pyx_L1_error)
6773
 
  __Pyx_GOTREF(__pyx_t_1);
6774
 
  __pyx_t_2 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_phybuf) + 0, __pyx_v_phylen - 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 535, __pyx_L1_error)
6775
 
  __Pyx_GOTREF(__pyx_t_2);
6776
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 535, __pyx_L1_error)
6433 6777
 
  __Pyx_GOTREF(__pyx_t_3);
6434 6778
 
  __Pyx_GIVEREF(__pyx_t_1);
6435 6779
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
...
 
@@ -6491,62 +6835,71 @@ static PyObject *__pyx_pw_3vms_7starlet_
6491 6835
 
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
6492 6836
 
      switch (pos_args) {
6493 6837
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
6494
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6495
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6496
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6497
 
        case  0: break;
6498
 
        default: goto __pyx_L5_argtuple_error;
6499
 
      }
6500
 
      kw_args = PyDict_Size(__pyx_kwds);
6501
 
      switch (pos_args) {
6502
 
        case  0:
6503
 
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_efn)) != 0)) kw_args--;
6504
 
        else goto __pyx_L5_argtuple_error;
6505
 
        case  1:
6506
 
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
6507
 
        else {
6508
 
          __Pyx_RaiseArgtupleInvalid("ascefc", 0, 2, 4, 1); __PYX_ERR(0, 537, __pyx_L3_error)
6509
 
        }
6510
 
        case  2:
6511
 
        if (kw_args > 0) {
6512
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_prot);
6513
 
          if (value) { values[2] = value; kw_args--; }
6514
 
        }
6515
 
        case  3:
6516
 
        if (kw_args > 0) {
6517
 
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_perm);
6838
 
        CYTHON_FALLTHROUGH;
6839
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6840
 
        CYTHON_FALLTHROUGH;
6841
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6842
 
        CYTHON_FALLTHROUGH;
6843
 
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6844
 
        CYTHON_FALLTHROUGH;
6845
 
        case  0: break;
6846
 
        default: goto __pyx_L5_argtuple_error;
6847
 
      }
6848
 
      kw_args = PyDict_Size(__pyx_kwds);
6849
 
      switch (pos_args) {
6850
 
        case  0:
6851
 
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_efn)) != 0)) kw_args--;
6852
 
        else goto __pyx_L5_argtuple_error;
6853
 
        CYTHON_FALLTHROUGH;
6854
 
        case  1:
6855
 
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
6856
 
        else {
6857
 
          __Pyx_RaiseArgtupleInvalid("ascefc", 0, 2, 4, 1); __PYX_ERR(1, 537, __pyx_L3_error)
6858
 
        }
6859
 
        CYTHON_FALLTHROUGH;
6860
 
        case  2:
6861
 
        if (kw_args > 0) {
6862
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_prot);
6863
 
          if (value) { values[2] = value; kw_args--; }
6864
 
        }
6865
 
        CYTHON_FALLTHROUGH;
6866
 
        case  3:
6867
 
        if (kw_args > 0) {
6868
 
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_perm);
6518 6869
 
          if (value) { values[3] = value; kw_args--; }
6519 6870
 
        }
6520 6871
 
      }
6521 6872
 
      if (unlikely(kw_args > 0)) {
6522
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "ascefc") < 0)) __PYX_ERR(0, 537, __pyx_L3_error)
6523
 
      }
6524
 
    } else {
6525
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6526
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
6527
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6873
 
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "ascefc") < 0)) __PYX_ERR(1, 537, __pyx_L3_error)
6874
 
      }
6875
 
    } else {
6876
 
      switch (PyTuple_GET_SIZE(__pyx_args)) {
6877
 
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
6878
 
        CYTHON_FALLTHROUGH;
6879
 
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6880
 
        CYTHON_FALLTHROUGH;
6528 6881
 
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6529 6882
 
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6530 6883
 
        break;
6531 6884
 
        default: goto __pyx_L5_argtuple_error;
6532 6885
 
      }
6533 6886
 
    }
6534
 
    __pyx_v_efn = __Pyx_PyInt_As_unsigned_int(values[0]); if (unlikely((__pyx_v_efn == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 537, __pyx_L3_error)
6887
 
    __pyx_v_efn = __Pyx_PyInt_As_unsigned_int(values[0]); if (unlikely((__pyx_v_efn == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(1, 537, __pyx_L3_error)
6535 6888
 
    __pyx_v_name = values[1];
6536 6889
 
    if (values[2]) {
6537
 
      __pyx_v_prot = __Pyx_PyInt_As_unsigned_char(values[2]); if (unlikely((__pyx_v_prot == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(0, 537, __pyx_L3_error)
6890
 
      __pyx_v_prot = __Pyx_PyInt_As_unsigned_char(values[2]); if (unlikely((__pyx_v_prot == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(1, 537, __pyx_L3_error)
6538 6891
 
    } else {
6539 6892
 
      __pyx_v_prot = ((unsigned char)0);
6540 6893
 
    }
6541 6894
 
    if (values[3]) {
6542
 
      __pyx_v_perm = __Pyx_PyInt_As_unsigned_char(values[3]); if (unlikely((__pyx_v_perm == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(0, 537, __pyx_L3_error)
6895
 
      __pyx_v_perm = __Pyx_PyInt_As_unsigned_char(values[3]); if (unlikely((__pyx_v_perm == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(1, 537, __pyx_L3_error)
6543 6896
 
    } else {
6544 6897
 
      __pyx_v_perm = ((unsigned char)0);
6545 6898
 
    }
6546 6899
 
  }
6547 6900
 
  goto __pyx_L4_argument_unpacking_done;
6548 6901
 
  __pyx_L5_argtuple_error:;
6549
 
  __Pyx_RaiseArgtupleInvalid("ascefc", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 537, __pyx_L3_error)
6902
 
  __Pyx_RaiseArgtupleInvalid("ascefc", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 537, __pyx_L3_error)
6550 6903
 
  __pyx_L3_error:;
6551 6904
 
  __Pyx_AddTraceback("vms.starlet._starlet.ascefc", __pyx_clineno, __pyx_lineno, __pyx_filename);
6552 6905
 
  __Pyx_RefNannyFinishContext();
...
 
@@ -6576,7 +6929,7 @@ static PyObject *__pyx_pf_3vms_7starlet_
6576 6929
 
 *     cdef dsc_descriptor_s nameD
6577 6930
 
 *     DESCFROMSTR(&nameD, name)
6578 6931
 
 */
6579
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 539, __pyx_L1_error)
6932
 
  __pyx_t_1 = __pyx_f_3vms_7starlet_8_starlet_getstr(__pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 539, __pyx_L1_error)
6580 6933
 
  __Pyx_GOTREF(__pyx_t_1);
6581 6934
 
  __Pyx_DECREF_SET(__pyx_v_name, __pyx_t_1);
6582 6935
 
  __pyx_t_1 = 0;