Generated by Cython 0.19.1 on Sun Sep 22 20:42:22 2013
Raw output: _home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.c
1:
2: include "interrupt.pxi" # ctrl-c interrupt block support
3: include "stdsage.pxi" # ctrl-c interrupt block support
4:
5: include "cdefs.pxi"
6: def cython_sum_0_99():
/* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":6 * * include "cdefs.pxi" * def cython_sum_0_99(): #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* cdef int i, s * s = 0 */ static PyObject *__pyx_pf_72_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0_cython_sum_0_99(CYTHON_UNUSED PyObject *__pyx_self) { int __pyx_v_i; int __pyx_v_s; PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("cython_sum_0_99", 0); /* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":6 * * include "cdefs.pxi" * def cython_sum_0_99(): #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* cdef int i, s * s = 0 */ __pyx_k_tuple_2 = PyTuple_Pack(2, ((PyObject *)__pyx_n_s__i), ((PyObject *)__pyx_n_s__s)); if (unlikely(!__pyx_k_tuple_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;} __Pyx_GOTREF(__pyx_k_tuple_2); __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_2)); /* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":6 * * include "cdefs.pxi" * def cython_sum_0_99(): #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* cdef int i, s * s = 0 */ __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_72_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0_1cython_sum_0_99, NULL, __pyx_n_s_5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;} __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s__cython_sum_0_99, __pyx_t_1)<
0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;} __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7: cdef int i, s
8: s = 0
/* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":8 * def cython_sum_0_99(): * cdef int i, s * s = 0 #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* for i in range(0,100): * s += i */ __pyx_v_s = 0;
9: for i in range(0,100):
/* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":9 * cdef int i, s * s = 0 * for i in range(0,100): #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* s += i * return s */ for (__pyx_t_1 = 0; __pyx_t_1<
100; __pyx_t_1+=1) { __pyx_v_i = __pyx_t_1;
10: s += i
/* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":10 * s = 0 * for i in range(0,100): * s += i #<
<
<
<
<
<
<
<
<
<
<
<
<
<
* return s */ __pyx_v_s = (__pyx_v_s + __pyx_v_i); }
11: return s
/* "_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.pyx":11 * for i in range(0,100): * s += i * return s #<
<
<
<
<
<
<
<
<
<
<
<
<
<
*/ __Pyx_XDECREF(__pyx_r); __pyx_t_2 = PyInt_FromLong(__pyx_v_s); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;} __Pyx_GOTREF(__pyx_t_2); __pyx_r = __pyx_t_2; __pyx_t_2 = 0; goto __pyx_L0; __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_home_vbraun__sage_sage_notebook_sagenb_home_admin_16_code_sage45_spyx_0.cython_sum_0_99", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; }