0 1 0
default
Jean-Francois Pieronne - 5 years ago 2014-10-25 17:59:33
jf.pieronne@laposte.net
_vmsptd.c generated by cython 0.21.1
1 file changed with 33 insertions and 25 deletions:
↑ Collapse Diff ↑
 
modified file chmod 100755 => 100644
1
 
/* Generated by Cython 0.21 */
1
 
/* Generated by Cython 0.21.1 */
2 2
 

	
3 3
 
#define PY_SSIZE_T_CLEAN
4 4
 
#ifndef CYTHON_USE_PYLONG_INTERNALS
...
 
@@ -19,7 +19,7 @@
19 19
 
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
20 20
 
    #error Cython requires Python 2.6+ or Python 3.2+.
21 21
 
#else
22
 
#define CYTHON_ABI "0_21"
22
 
#define CYTHON_ABI "0_21_1"
23 23
 
#include <stddef.h>
24 24
 
#ifndef offsetof
25 25
 
#define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
...
 
@@ -73,8 +73,6 @@
73 73
 
#if PY_MAJOR_VERSION >= 3
74 74
 
  #define Py_TPFLAGS_CHECKTYPES 0
75 75
 
  #define Py_TPFLAGS_HAVE_INDEX 0
76
 
#endif
77
 
#if PY_MAJOR_VERSION >= 3
78 76
 
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
79 77
 
#endif
80 78
 
#if PY_VERSION_HEX < 0x030400a1 && !defined(Py_TPFLAGS_HAVE_FINALIZE)
...
 
@@ -101,10 +99,12 @@
101 99
 
#if CYTHON_COMPILING_IN_PYPY
102 100
 
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
103 101
 
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
102
 
  #define __Pyx_PyFrozenSet_Size(s)         PyObject_Size(s)
104 103
 
#else
105 104
 
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
106 105
 
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ? \
107 106
 
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
107
 
  #define __Pyx_PyFrozenSet_Size(s)         PySet_Size(s)
108 108
 
#endif
109 109
 
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
110 110
 
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
...
 
@@ -151,6 +151,11 @@
151 151
 
#if PY_MAJOR_VERSION >= 3
152 152
 
  #define PyBoolObject                 PyLongObject
153 153
 
#endif
154
 
#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
155
 
  #ifndef PyUnicode_InternFromString
156
 
    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
157
 
  #endif
158
 
#endif
154 159
 
#if PY_VERSION_HEX < 0x030200A4
155 160
 
  typedef long Py_hash_t;
156 161
 
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
...
 
@@ -160,7 +165,9 @@
160 165
 
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
161 166
 
#endif
162 167
 
#if PY_MAJOR_VERSION >= 3
163
 
  #define PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
168
 
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
169
 
#else
170
 
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
164 171
 
#endif
165 172
 
#ifndef CYTHON_INLINE
166 173
 
  #if defined(__GNUC__)
...
 
@@ -416,7 +423,7 @@ static const char *__pyx_filename;
416 423
 

	
417 424
 
static const char *__pyx_f[] = {
418 425
 
  "vms/ptd/_vmsptd.pyx",
419
 
  "_itemList.pxd",
426
 
  "vms/itemList/_itemList.pxd",
420 427
 
  "type.pxd",
421 428
 
  "bool.pxd",
422 429
 
  "complex.pxd",
...
 
@@ -428,7 +435,7 @@ struct LkiDefObject;
428 435
 
struct __pyx_obj_3vms_3ptd_7_vmsptd_PtdHandler;
429 436
 
struct __pyx_obj_3vms_3ptd_7_vmsptd_DeviceCharacteristics;
430 437
 

	
431
 
/* "../../../../PYTHON-2.5.4/LOCAL/VMS/PTD/_itemList.pxd":6
438
 
/* "_itemList.pxd":6
432 439
 
 * DEF ILE3_ALIGNMENT = False
433 440
 
 * 
434 441
 
 * cdef public enum ItemListTypeArg:             # <<<<<<<<<<<<<<
...
 
@@ -455,7 +462,7 @@ enum ItemListTypeArg {
455 462
 
  arrayUnsignedLongLongType
456 463
 
};
457 464
 

	
458
 
/* "../../../../PYTHON-2.5.4/LOCAL/VMS/PTD/_itemList.pxd":25
465
 
/* "_itemList.pxd":25
459 466
 
 *     arrayUnsignedLongLongType
460 467
 
 * 
461 468
 
 * ctypedef public class itemList (object) \             # <<<<<<<<<<<<<<
...
 
@@ -474,7 +481,7 @@ typedef struct ItemListObject ItemListOb
474 481
 

	
475 482
 
__PYX_EXTERN_C DL_EXPORT(PyTypeObject) ItemList_Type;
476 483
 

	
477
 
/* "../../../../PYTHON-2.5.4/LOCAL/VMS/PTD/_itemList.pxd":38
484
 
/* "_itemList.pxd":38
478 485
 
 *                                                       unsigned int flags)
479 486
 
 * 
480 487
 
 * ctypedef public class lkiDef (object) \             # <<<<<<<<<<<<<<
...
 
@@ -904,10 +911,10 @@ static char __pyx_k_ValueError[] = "Valu
904 911
 
static char __pyx_k_ISO_8859_15[] = "ISO-8859-15";
905 912
 
static char __pyx_k_read_timeout[] = "read_timeout";
906 913
 
static char __pyx_k_vms_ptd__vmsptd[] = "vms.ptd._vmsptd";
907
 
static char __pyx_k_DISK_TOOLS_python_2_5_4_local_v[] = "/DISK$TOOLS/python-2.5.4/local/vms/ptd/_vmsptd.pyx";
914
 
static char __pyx_k_DISK_REPOS_vmspython_python_loc[] = "/DISK$REPOS/vmspython/python/local/vms/ptd/_vmsptd.pyx";
908 915
 
static char __pyx_k_Invalid_wrtstr_length_maximum_is[] = "Invalid wrtstr length, maximum is 1024";
909 916
 
static char __pyx_k_expected_string_or_Unicode_objec[] = "expected string or Unicode object, %s found";
910
 
static PyObject *__pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v;
917
 
static PyObject *__pyx_kp_s_DISK_REPOS_vmspython_python_loc;
911 918
 
static PyObject *__pyx_kp_s_iso885915_ISO_8859_15;
912 919
 
static PyObject *__pyx_kp_s_iso885915_Invalid_wrtstr_length_maximum_is;
913 920
 
static PyObject *__pyx_n_s_TypeError;
...
 
@@ -2645,20 +2652,16 @@ static PyObject *__pyx_f_3vms_3ptd_7_vms
2645 2652
 
  __pyx_t_1 = (__pyx_v_text == Py_None);
2646 2653
 
  __pyx_t_5 = (__pyx_t_1 != 0);
2647 2654
 
  if (!__pyx_t_5) {
2648
 
    goto __pyx_L5_next_or;
2649 2655
 
  } else {
2650 2656
 
    __pyx_t_2 = __pyx_t_5;
2651 2657
 
    goto __pyx_L4_bool_binop_done;
2652 2658
 
  }
2653
 
  __pyx_L5_next_or:;
2654 2659
 
  __pyx_t_5 = ((PY_MAJOR_VERSION < 3) != 0);
2655 2660
 
  if (__pyx_t_5) {
2656
 
    goto __pyx_L6_next_and;
2657 2661
 
  } else {
2658 2662
 
    __pyx_t_2 = __pyx_t_5;
2659 2663
 
    goto __pyx_L4_bool_binop_done;
2660 2664
 
  }
2661
 
  __pyx_L6_next_and:;
2662 2665
 
  __pyx_t_5 = PyString_Check(__pyx_v_text); 
2663 2666
 
  __pyx_t_1 = (__pyx_t_5 != 0);
2664 2667
 
  __pyx_t_2 = __pyx_t_1;
...
 
@@ -4710,12 +4713,10 @@ static PyObject *__pyx_pf_3vms_3ptd_7_vm
4710 4713
 
  while (1) {
4711 4714
 
    __pyx_t_3 = ((__pyx_v_handler->handler->read_status == 1) != 0);
4712 4715
 
    if (__pyx_t_3) {
4713
 
      goto __pyx_L7_next_and;
4714 4716
 
    } else {
4715 4717
 
      __pyx_t_2 = __pyx_t_3;
4716 4718
 
      goto __pyx_L6_bool_binop_done;
4717 4719
 
    }
4718
 
    __pyx_L7_next_and:;
4719 4720
 

	
4720 4721
 
    /* "vms/ptd/_vmsptd.pyx":367
4721 4722
 
 *         checkStatus(s)
...
 
@@ -5479,7 +5480,7 @@ static struct PyModuleDef __pyx_modulede
5479 5480
 
#endif
5480 5481
 

	
5481 5482
 
static __Pyx_StringTabEntry __pyx_string_tab[] = {
5482
 
  {&__pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_k_DISK_TOOLS_python_2_5_4_local_v, sizeof(__pyx_k_DISK_TOOLS_python_2_5_4_local_v), 0, 0, 1, 0},
5483
 
  {&__pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_k_DISK_REPOS_vmspython_python_loc, sizeof(__pyx_k_DISK_REPOS_vmspython_python_loc), 0, 0, 1, 0},
5483 5484
 
  {&__pyx_kp_s_iso885915_ISO_8859_15, __pyx_k_ISO_8859_15, sizeof(__pyx_k_ISO_8859_15), "iso-8859-15", 0, 1, 0},
5484 5485
 
  {&__pyx_kp_s_iso885915_Invalid_wrtstr_length_maximum_is, __pyx_k_Invalid_wrtstr_length_maximum_is, sizeof(__pyx_k_Invalid_wrtstr_length_maximum_is), "iso-8859-15", 0, 1, 0},
5485 5486
 
  {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
...
 
@@ -5571,7 +5572,7 @@ static int __Pyx_InitCachedConstants(voi
5571 5572
 
  __pyx_tuple__3 = PyTuple_Pack(2, __pyx_n_s_handler, __pyx_n_s_s); if (unlikely(!__pyx_tuple__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5572 5573
 
  __Pyx_GOTREF(__pyx_tuple__3);
5573 5574
 
  __Pyx_GIVEREF(__pyx_tuple__3);
5574
 
  __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__3, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_cancel, 265, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5575
 
  __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__3, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_cancel, 265, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5575 5576
 

	
5576 5577
 
  /* "vms/ptd/_vmsptd.pyx":272
5577 5578
 
 *     return s
...
 
@@ -5583,7 +5584,7 @@ static int __Pyx_InitCachedConstants(voi
5583 5584
 
  __pyx_tuple__5 = PyTuple_Pack(10, __pyx_n_s_acmode, __pyx_n_s_charbuff, __pyx_n_s_inadr, __pyx_n_s_pgsize, __pyx_n_s_nbpages, __pyx_n_s_ptrc, __pyx_n_s_handler, __pyx_n_s_devchar, __pyx_n_s_buflen, __pyx_n_s_s); if (unlikely(!__pyx_tuple__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5584 5585
 
  __Pyx_GOTREF(__pyx_tuple__5);
5585 5586
 
  __Pyx_GIVEREF(__pyx_tuple__5);
5586
 
  __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(2, 0, 10, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_create, 272, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5587
 
  __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(2, 0, 10, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_create, 272, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5587 5588
 

	
5588 5589
 
  /* "vms/ptd/_vmsptd.pyx":312
5589 5590
 
 *     return s, handler
...
 
@@ -5595,7 +5596,7 @@ static int __Pyx_InitCachedConstants(voi
5595 5596
 
  __pyx_tuple__7 = PyTuple_Pack(2, __pyx_n_s_handler, __pyx_n_s_s); if (unlikely(!__pyx_tuple__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5596 5597
 
  __Pyx_GOTREF(__pyx_tuple__7);
5597 5598
 
  __Pyx_GIVEREF(__pyx_tuple__7);
5598
 
  __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_delete, 312, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5599
 
  __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_delete, 312, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5599 5600
 

	
5600 5601
 
  /* "vms/ptd/_vmsptd.pyx":325
5601 5602
 
 *     return s
...
 
@@ -5607,7 +5608,7 @@ static int __Pyx_InitCachedConstants(voi
5607 5608
 
  __pyx_tuple__9 = PyTuple_Pack(5, __pyx_n_s_handler, __pyx_n_s_efn, __pyx_n_s_s, __pyx_n_s_buf, __pyx_n_s_retlenPtr); if (unlikely(!__pyx_tuple__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5608 5609
 
  __Pyx_GOTREF(__pyx_tuple__9);
5609 5610
 
  __Pyx_GIVEREF(__pyx_tuple__9);
5610
 
  __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_readw, 325, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5611
 
  __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_readw, 325, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5611 5612
 

	
5612 5613
 
  /* "vms/ptd/_vmsptd.pyx":342
5613 5614
 
 *     return s, buf[:retlenPtr[0]]
...
 
@@ -5619,7 +5620,7 @@ static int __Pyx_InitCachedConstants(voi
5619 5620
 
  __pyx_tuple__11 = PyTuple_Pack(8, __pyx_n_s_handler, __pyx_n_s_timeout, __pyx_n_s_ascTime, __pyx_n_s_ascTimeD, __pyx_n_s_binTime, __pyx_n_s_s, __pyx_n_s_buf, __pyx_n_s_retlenPtr); if (unlikely(!__pyx_tuple__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5620 5621
 
  __Pyx_GOTREF(__pyx_tuple__11);
5621 5622
 
  __Pyx_GIVEREF(__pyx_tuple__11);
5622
 
  __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(2, 0, 8, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_read_timeout, 342, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5623
 
  __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(2, 0, 8, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_read_timeout, 342, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5623 5624
 

	
5624 5625
 
  /* "vms/ptd/_vmsptd.pyx":376
5625 5626
 
 *     return s, buf[:retlenPtr[0]]
...
 
@@ -5631,7 +5632,7 @@ static int __Pyx_InitCachedConstants(voi
5631 5632
 
  __pyx_tuple__13 = PyTuple_Pack(9, __pyx_n_s_handler, __pyx_n_s_wrtstr, __pyx_n_s_wrtstrPtr, __pyx_n_s_wlen, __pyx_n_s_wrtbuf, __pyx_n_s_readbuf, __pyx_n_s_s, __pyx_n_s_buf, __pyx_n_s_retlenPtr); if (unlikely(!__pyx_tuple__13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5632 5633
 
  __Pyx_GOTREF(__pyx_tuple__13);
5633 5634
 
  __Pyx_GIVEREF(__pyx_tuple__13);
5634
 
  __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(2, 0, 9, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_TOOLS_python_2_5_4_local_v, __pyx_n_s_write, 376, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5635
 
  __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(2, 0, 9, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_DISK_REPOS_vmspython_python_loc, __pyx_n_s_write, 376, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5635 5636
 
  __Pyx_RefNannyFinishContext();
5636 5637
 
  return 0;
5637 5638
 
  __pyx_L1_error:;
...
 
@@ -5848,7 +5849,6 @@ PyMODINIT_FUNC PyInit__vmsptd(void)
5848 5849
 
  if (__pyx_m) {
5849 5850
 
    if (__pyx_d) {
5850 5851
 
      __Pyx_AddTraceback("init vms.ptd._vmsptd", __pyx_clineno, __pyx_lineno, __pyx_filename);
5851
 
      Py_DECREF(__pyx_d); __pyx_d = 0;
5852 5852
 
    }
5853 5853
 
    Py_DECREF(__pyx_m); __pyx_m = 0;
5854 5854
 
  } else if (!PyErr_Occurred()) {
...
 
@@ -6256,6 +6256,13 @@ static void __Pyx_Raise(PyObject *type, 
6256 6256
 
    }
6257 6257
 
    PyErr_SetObject(type, value);
6258 6258
 
    if (tb) {
6259
 
#if CYTHON_COMPILING_IN_PYPY
6260
 
        PyObject *tmp_type, *tmp_value, *tmp_tb;
6261
 
        PyErr_Fetch(tmp_type, tmp_value, tmp_tb);
6262
 
        Py_INCREF(tb);
6263
 
        PyErr_Restore(tmp_type, tmp_value, tb);
6264
 
        Py_XDECREF(tmp_tb);
6265
 
#else
6259 6266
 
        PyThreadState *tstate = PyThreadState_GET();
6260 6267
 
        PyObject* tmp_tb = tstate->curexc_traceback;
6261 6268
 
        if (tb != tmp_tb) {
...
 
@@ -6263,6 +6270,7 @@ static void __Pyx_Raise(PyObject *type, 
6263 6270
 
            tstate->curexc_traceback = tb;
6264 6271
 
            Py_XDECREF(tmp_tb);
6265 6272
 
        }
6273
 
#endif
6266 6274
 
    }
6267 6275
 
bad:
6268 6276
 
    Py_XDECREF(owned_instance);
0 comments (0 inline, 0 general)