diff options
Diffstat (limited to 'google_appengine/lib/yaml/ext/_yaml.c')
-rw-r--r-- | google_appengine/lib/yaml/ext/_yaml.c | 9054 |
1 files changed, 9054 insertions, 0 deletions
diff --git a/google_appengine/lib/yaml/ext/_yaml.c b/google_appengine/lib/yaml/ext/_yaml.c new file mode 100644 index 0000000..29455a2 --- /dev/null +++ b/google_appengine/lib/yaml/ext/_yaml.c @@ -0,0 +1,9054 @@ +/* Generated by Pyrex 0.9.4.1 on Sun May 13 00:52:19 2007 */ + +#define PY_SSIZE_T_CLEAN +#include "Python.h" +#include "structmember.h" +#ifndef PY_LONG_LONG + #define PY_LONG_LONG LONG_LONG +#endif +#if PY_VERSION_HEX < 0x02050000 + typedef int Py_ssize_t; + #define PY_SSIZE_T_MAX INT_MAX + #define PY_SSIZE_T_MIN INT_MIN + #define PyInt_FromSsize_t(z) PyInt_FromLong(z) + #define PyInt_AsSsize_t(o) PyInt_AsLong(o) +#endif +#ifdef __cplusplus +#define __PYX_EXTERN_C extern "C" +#else +#define __PYX_EXTERN_C extern +#endif +__PYX_EXTERN_C double pow(double, double); +#include "_yaml.h" + + +typedef struct {PyObject **p; char *s;} __Pyx_InternTabEntry; /*proto*/ +typedef struct {PyObject **p; char *s; long n;} __Pyx_StringTabEntry; /*proto*/ +static PyObject *__Pyx_UnpackItem(PyObject *, Py_ssize_t); /*proto*/ +static int __Pyx_EndUnpack(PyObject *, Py_ssize_t); /*proto*/ +static int __Pyx_PrintItem(PyObject *); /*proto*/ +static int __Pyx_PrintNewline(void); /*proto*/ +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb); /*proto*/ +static void __Pyx_ReRaise(void); /*proto*/ +static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/ +static PyObject *__Pyx_GetExcValue(void); /*proto*/ +static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, char *name); /*proto*/ +static int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/ +static int __Pyx_GetStarArgs(PyObject **args, PyObject **kwds, char *kwd_list[], Py_ssize_t nargs, PyObject **args2, PyObject **kwds2); /*proto*/ +static void __Pyx_WriteUnraisable(char *name); /*proto*/ +static void __Pyx_AddTraceback(char *funcname); /*proto*/ +static PyTypeObject *__Pyx_ImportType(char *module_name, char *class_name, long size); /*proto*/ +static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/ +static int __Pyx_GetVtable(PyObject *dict, void *vtabptr); /*proto*/ +static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *name, char *modname); /*proto*/ +static int __Pyx_InternStrings(__Pyx_InternTabEntry *t); /*proto*/ +static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/ +static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/ + +static PyObject *__pyx_m; +static PyObject *__pyx_b; +static int __pyx_lineno; +static char *__pyx_filename; +static char **__pyx_f; + +/* Declarations from _yaml */ + + +struct __pyx_obj_5_yaml_Mark { + PyObject_HEAD + PyObject *name; + int index; + int line; + int column; + PyObject *buffer; + PyObject *pointer; +}; + + +struct __pyx_obj_5_yaml_CParser { + PyObject_HEAD + struct __pyx_vtabstruct_5_yaml_CParser *__pyx_vtab; + yaml_parser_t parser; + yaml_event_t parsed_event; + PyObject *stream; + PyObject *stream_name; + PyObject *current_token; + PyObject *current_event; + PyObject *anchors; +}; + +struct __pyx_vtabstruct_5_yaml_CParser { + PyObject *((*_parser_error)(struct __pyx_obj_5_yaml_CParser *)); + PyObject *((*_scan)(struct __pyx_obj_5_yaml_CParser *)); + PyObject *((*_token_to_object)(struct __pyx_obj_5_yaml_CParser *,yaml_token_t (*))); + PyObject *((*_parse)(struct __pyx_obj_5_yaml_CParser *)); + PyObject *((*_event_to_object)(struct __pyx_obj_5_yaml_CParser *,yaml_event_t (*))); + PyObject *((*_compose_document)(struct __pyx_obj_5_yaml_CParser *)); + PyObject *((*_compose_node)(struct __pyx_obj_5_yaml_CParser *,PyObject *,PyObject *)); + PyObject *((*_compose_scalar_node)(struct __pyx_obj_5_yaml_CParser *,PyObject *)); + PyObject *((*_compose_sequence_node)(struct __pyx_obj_5_yaml_CParser *,PyObject *)); + PyObject *((*_compose_mapping_node)(struct __pyx_obj_5_yaml_CParser *,PyObject *)); + int ((*_parse_next_event)(struct __pyx_obj_5_yaml_CParser *)); +}; +static struct __pyx_vtabstruct_5_yaml_CParser *__pyx_vtabptr_5_yaml_CParser; + + +struct __pyx_obj_5_yaml_CEmitter { + PyObject_HEAD + struct __pyx_vtabstruct_5_yaml_CEmitter *__pyx_vtab; + yaml_emitter_t emitter; + PyObject *stream; + yaml_encoding_t use_encoding; + int document_start_implicit; + int document_end_implicit; + PyObject *use_version; + PyObject *use_tags; + PyObject *serialized_nodes; + PyObject *anchors; + int last_alias_id; + int closed; +}; + +struct __pyx_vtabstruct_5_yaml_CEmitter { + PyObject *((*_emitter_error)(struct __pyx_obj_5_yaml_CEmitter *)); + int ((*_object_to_event)(struct __pyx_obj_5_yaml_CEmitter *,PyObject *,yaml_event_t (*))); + int ((*_anchor_node)(struct __pyx_obj_5_yaml_CEmitter *,PyObject *)); + int ((*_serialize_node)(struct __pyx_obj_5_yaml_CEmitter *,PyObject *,PyObject *,PyObject *)); +}; +static struct __pyx_vtabstruct_5_yaml_CEmitter *__pyx_vtabptr_5_yaml_CEmitter; + +static PyTypeObject *__pyx_ptype_5_yaml_Mark = 0; +static PyTypeObject *__pyx_ptype_5_yaml_CParser = 0; +static PyTypeObject *__pyx_ptype_5_yaml_CEmitter = 0; +static PyObject *__pyx_k2; +static PyObject *__pyx_k3; +static PyObject *__pyx_k4; +static PyObject *__pyx_k5; +static PyObject *__pyx_k6; +static PyObject *__pyx_k7; +static PyObject *__pyx_k8; +static PyObject *__pyx_k9; +static PyObject *__pyx_k10; +static PyObject *__pyx_k11; +static int (__pyx_f_5_yaml_input_handler(void (*),char (*),int ,int (*))); /*proto*/ +static int (__pyx_f_5_yaml_output_handler(void (*),char (*),int )); /*proto*/ + +/* Implementation of _yaml */ + + +static PyObject *__pyx_n_yaml; +static PyObject *__pyx_n_get_version_string; +static PyObject *__pyx_n_get_version; +static PyObject *__pyx_n_YAMLError; +static PyObject *__pyx_n_ReaderError; +static PyObject *__pyx_n_ScannerError; +static PyObject *__pyx_n_ParserError; +static PyObject *__pyx_n_ComposerError; +static PyObject *__pyx_n_ConstructorError; +static PyObject *__pyx_n_EmitterError; +static PyObject *__pyx_n_SerializerError; +static PyObject *__pyx_n_RepresenterError; +static PyObject *__pyx_n_StreamStartToken; +static PyObject *__pyx_n_StreamEndToken; +static PyObject *__pyx_n_DirectiveToken; +static PyObject *__pyx_n_DocumentStartToken; +static PyObject *__pyx_n_DocumentEndToken; +static PyObject *__pyx_n_BlockSequenceStartToken; +static PyObject *__pyx_n_BlockMappingStartToken; +static PyObject *__pyx_n_BlockEndToken; +static PyObject *__pyx_n_FlowSequenceStartToken; +static PyObject *__pyx_n_FlowMappingStartToken; +static PyObject *__pyx_n_FlowSequenceEndToken; +static PyObject *__pyx_n_FlowMappingEndToken; +static PyObject *__pyx_n_KeyToken; +static PyObject *__pyx_n_ValueToken; +static PyObject *__pyx_n_BlockEntryToken; +static PyObject *__pyx_n_FlowEntryToken; +static PyObject *__pyx_n_AliasToken; +static PyObject *__pyx_n_AnchorToken; +static PyObject *__pyx_n_TagToken; +static PyObject *__pyx_n_ScalarToken; +static PyObject *__pyx_n_StreamStartEvent; +static PyObject *__pyx_n_StreamEndEvent; +static PyObject *__pyx_n_DocumentStartEvent; +static PyObject *__pyx_n_DocumentEndEvent; +static PyObject *__pyx_n_AliasEvent; +static PyObject *__pyx_n_ScalarEvent; +static PyObject *__pyx_n_SequenceStartEvent; +static PyObject *__pyx_n_SequenceEndEvent; +static PyObject *__pyx_n_MappingStartEvent; +static PyObject *__pyx_n_MappingEndEvent; +static PyObject *__pyx_n_ScalarNode; +static PyObject *__pyx_n_SequenceNode; +static PyObject *__pyx_n_MappingNode; +static PyObject *__pyx_n_error; +static PyObject *__pyx_n_reader; +static PyObject *__pyx_n_scanner; +static PyObject *__pyx_n_parser; +static PyObject *__pyx_n_composer; +static PyObject *__pyx_n_constructor; +static PyObject *__pyx_n_emitter; +static PyObject *__pyx_n_serializer; +static PyObject *__pyx_n_representer; +static PyObject *__pyx_n_tokens; +static PyObject *__pyx_n_events; +static PyObject *__pyx_n_nodes; + +static PyObject *__pyx_f_5_yaml_get_version_string(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_get_version_string(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":5 */ + __pyx_1 = PyString_FromString(yaml_get_version_string()); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; goto __pyx_L1;} + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + __Pyx_AddTraceback("_yaml.get_version_string"); + __pyx_r = 0; + __pyx_L0:; + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_get_version(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_get_version(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + int __pyx_v_major; + int __pyx_v_minor; + int __pyx_v_patch; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":9 */ + yaml_get_version((&__pyx_v_major),(&__pyx_v_minor),(&__pyx_v_patch)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":10 */ + __pyx_1 = PyInt_FromLong(__pyx_v_major); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_minor); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_patch); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_3); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.get_version"); + __pyx_r = 0; + __pyx_L0:; + return __pyx_r; +} + +static int __pyx_f_5_yaml_4Mark___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_f_5_yaml_4Mark___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_name = 0; + int __pyx_v_index; + int __pyx_v_line; + int __pyx_v_column; + PyObject *__pyx_v_buffer = 0; + PyObject *__pyx_v_pointer = 0; + int __pyx_r; + static char *__pyx_argnames[] = {"name","index","line","column","buffer","pointer",0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OiiiOO", __pyx_argnames, &__pyx_v_name, &__pyx_v_index, &__pyx_v_line, &__pyx_v_column, &__pyx_v_buffer, &__pyx_v_pointer)) return -1; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_name); + Py_INCREF(__pyx_v_buffer); + Py_INCREF(__pyx_v_pointer); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":69 */ + Py_INCREF(__pyx_v_name); + Py_DECREF(((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->name); + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->name = __pyx_v_name; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":70 */ + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->index = __pyx_v_index; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":71 */ + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->line = __pyx_v_line; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":72 */ + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->column = __pyx_v_column; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":73 */ + Py_INCREF(__pyx_v_buffer); + Py_DECREF(((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->buffer); + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->buffer = __pyx_v_buffer; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":74 */ + Py_INCREF(__pyx_v_pointer); + Py_DECREF(((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->pointer); + ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->pointer = __pyx_v_pointer; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + __Pyx_AddTraceback("_yaml.Mark.__init__"); + __pyx_r = -1; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_name); + Py_DECREF(__pyx_v_buffer); + Py_DECREF(__pyx_v_pointer); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_4Mark_get_snippet(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_4Mark_get_snippet(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":77 */ + Py_INCREF(Py_None); + __pyx_r = Py_None; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + __Pyx_AddTraceback("_yaml.Mark.get_snippet"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_k12p; + +static char (__pyx_k12[]) = " in \"%s\", line %d, column %d"; + +static PyObject *__pyx_f_5_yaml_4Mark___str__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_f_5_yaml_4Mark___str__(PyObject *__pyx_v_self) { + PyObject *__pyx_v_where; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + Py_INCREF(__pyx_v_self); + __pyx_v_where = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":81 */ + __pyx_1 = PyInt_FromLong((((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->line + 1)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong((((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->column + 1)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; goto __pyx_L1;} + __pyx_3 = PyTuple_New(3); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; goto __pyx_L1;} + Py_INCREF(((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->name); + PyTuple_SET_ITEM(__pyx_3, 0, ((struct __pyx_obj_5_yaml_Mark *)__pyx_v_self)->name); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_2); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_1 = PyNumber_Remainder(__pyx_k12p, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_v_where); + __pyx_v_where = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":82 */ + Py_INCREF(__pyx_v_where); + __pyx_r = __pyx_v_where; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.Mark.__str__"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_where); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_n_MemoryError; +static PyObject *__pyx_n_hasattr; +static PyObject *__pyx_n_read; +static PyObject *__pyx_n_name; +static PyObject *__pyx_n_AttributeError; +static PyObject *__pyx_n_TypeError; + +static PyObject *__pyx_k14p; +static PyObject *__pyx_k15p; +static PyObject *__pyx_k16p; +static PyObject *__pyx_k17p; + +static char (__pyx_k14[]) = "<file>"; +static char (__pyx_k15[]) = "<unicode string>"; +static char (__pyx_k16[]) = "<string>"; +static char (__pyx_k17[]) = "a string or stream input is required"; + +static int __pyx_f_5_yaml_7CParser___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_f_5_yaml_7CParser___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_stream = 0; + int __pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + static char *__pyx_argnames[] = {"stream",0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O", __pyx_argnames, &__pyx_v_stream)) return -1; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_stream); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":254 */ + __pyx_1 = (yaml_parser_initialize((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser)) == 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":255 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; goto __pyx_L1;} + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":256 */ + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event.type = YAML_NO_EVENT; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":257 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_hasattr); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; goto __pyx_L1;} + Py_INCREF(__pyx_v_stream); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_stream); + Py_INCREF(__pyx_n_read); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_n_read); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_1 = PyObject_IsTrue(__pyx_4); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":258 */ + Py_INCREF(__pyx_v_stream); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream = __pyx_v_stream; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":259 */ + /*try:*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":260 */ + __pyx_2 = PyObject_GetAttr(__pyx_v_stream, __pyx_n_name); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; goto __pyx_L4;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name = __pyx_2; + __pyx_2 = 0; + } + goto __pyx_L5; + __pyx_L4:; + Py_XDECREF(__pyx_3); __pyx_3 = 0; + Py_XDECREF(__pyx_4); __pyx_4 = 0; + Py_XDECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":261 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_AttributeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; goto __pyx_L1;} + __pyx_1 = PyErr_ExceptionMatches(__pyx_3); + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_1) { + __Pyx_AddTraceback("_yaml.__init__"); + __pyx_4 = __Pyx_GetExcValue(); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":262 */ + Py_INCREF(__pyx_k14p); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name = __pyx_k14p; + goto __pyx_L5; + } + goto __pyx_L1; + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":263 */ + yaml_parser_set_input((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser),__pyx_f_5_yaml_input_handler,((void (*))__pyx_v_self)); + goto __pyx_L3; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":265 */ + __pyx_1 = (PyUnicode_CheckExact(__pyx_v_stream) != 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":266 */ + __pyx_2 = PyUnicode_AsUTF8String(__pyx_v_stream); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; goto __pyx_L1;} + Py_DECREF(__pyx_v_stream); + __pyx_v_stream = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":267 */ + Py_INCREF(__pyx_k15p); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name = __pyx_k15p; + goto __pyx_L6; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":269 */ + Py_INCREF(__pyx_k16p); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream_name = __pyx_k16p; + } + __pyx_L6:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":270 */ + __pyx_1 = (PyString_CheckExact(__pyx_v_stream) == 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":271 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; goto __pyx_L1;} + Py_INCREF(__pyx_k17p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k17p); + __pyx_2 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; goto __pyx_L1;} + goto __pyx_L7; + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":272 */ + Py_INCREF(__pyx_v_stream); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->stream = __pyx_v_stream; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":273 */ + yaml_parser_set_input_string((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser),PyString_AS_STRING(__pyx_v_stream),PyString_GET_SIZE(__pyx_v_stream)); + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":274 */ + Py_INCREF(Py_None); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":275 */ + Py_INCREF(Py_None); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":276 */ + __pyx_3 = PyDict_New(); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->anchors); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->anchors = __pyx_3; + __pyx_3 = 0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser.__init__"); + __pyx_r = -1; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_stream); + return __pyx_r; +} + +static void __pyx_f_5_yaml_7CParser___dealloc__(PyObject *__pyx_v_self); /*proto*/ +static void __pyx_f_5_yaml_7CParser___dealloc__(PyObject *__pyx_v_self) { + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":279 */ + yaml_parser_delete((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":280 */ + yaml_event_delete((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event)); + + goto __pyx_L0; + __pyx_L1:; + __Pyx_AddTraceback("_yaml.CParser.__dealloc__"); + __pyx_L0:; + Py_DECREF(__pyx_v_self); +} + +static PyObject *__pyx_n_ValueError; + +static PyObject *__pyx_k18p; +static PyObject *__pyx_k19p; + +static char (__pyx_k18[]) = "?"; +static char (__pyx_k19[]) = "no parser error"; + +static PyObject *__pyx_f_5_yaml_7CParser__parser_error(struct __pyx_obj_5_yaml_CParser *__pyx_v_self) { + PyObject *__pyx_v_context_mark; + PyObject *__pyx_v_problem_mark; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + PyObject *__pyx_6 = 0; + Py_INCREF(__pyx_v_self); + __pyx_v_context_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_problem_mark = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":283 */ + __pyx_1 = (__pyx_v_self->parser.error == YAML_MEMORY_ERROR); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":284 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; goto __pyx_L1;} + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_1 = (__pyx_v_self->parser.error == YAML_READER_ERROR); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":286 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_ReaderError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parser.problem_offset); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_self->parser.problem_value); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; goto __pyx_L1;} + __pyx_5 = PyString_FromString(__pyx_v_self->parser.problem); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; goto __pyx_L1;} + __pyx_6 = PyTuple_New(5); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 1, __pyx_3); + PyTuple_SET_ITEM(__pyx_6, 2, __pyx_4); + Py_INCREF(__pyx_k18p); + PyTuple_SET_ITEM(__pyx_6, 3, __pyx_k18p); + PyTuple_SET_ITEM(__pyx_6, 4, __pyx_5); + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_5 = 0; + __pyx_3 = PyObject_CallObject(__pyx_2, __pyx_6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_6); __pyx_6 = 0; + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_1 = (__pyx_v_self->parser.error == YAML_SCANNER_ERROR); + if (!__pyx_1) { + __pyx_1 = (__pyx_v_self->parser.error == YAML_PARSER_ERROR); + } + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":290 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_context_mark); + __pyx_v_context_mark = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":291 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_problem_mark); + __pyx_v_problem_mark = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":292 */ + __pyx_1 = (__pyx_v_self->parser.context != 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":293 */ + __pyx_4 = PyInt_FromLong(__pyx_v_self->parser.context_mark.index); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 294; goto __pyx_L1;} + __pyx_5 = PyInt_FromLong(__pyx_v_self->parser.context_mark.line); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parser.context_mark.column); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; goto __pyx_L1;} + __pyx_6 = PyTuple_New(6); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 1, __pyx_4); + PyTuple_SET_ITEM(__pyx_6, 2, __pyx_5); + PyTuple_SET_ITEM(__pyx_6, 3, __pyx_2); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_6, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_6, 5, Py_None); + __pyx_4 = 0; + __pyx_5 = 0; + __pyx_2 = 0; + __pyx_3 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; goto __pyx_L1;} + Py_DECREF(__pyx_6); __pyx_6 = 0; + Py_DECREF(__pyx_v_context_mark); + __pyx_v_context_mark = __pyx_3; + __pyx_3 = 0; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":297 */ + __pyx_1 = (__pyx_v_self->parser.problem != 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":298 */ + __pyx_4 = PyInt_FromLong(__pyx_v_self->parser.problem_mark.index); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; goto __pyx_L1;} + __pyx_5 = PyInt_FromLong(__pyx_v_self->parser.problem_mark.line); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 300; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parser.problem_mark.column); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; goto __pyx_L1;} + __pyx_6 = PyTuple_New(6); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_6, 1, __pyx_4); + PyTuple_SET_ITEM(__pyx_6, 2, __pyx_5); + PyTuple_SET_ITEM(__pyx_6, 3, __pyx_2); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_6, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_6, 5, Py_None); + __pyx_4 = 0; + __pyx_5 = 0; + __pyx_2 = 0; + __pyx_3 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; goto __pyx_L1;} + Py_DECREF(__pyx_6); __pyx_6 = 0; + Py_DECREF(__pyx_v_problem_mark); + __pyx_v_problem_mark = __pyx_3; + __pyx_3 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":302 */ + __pyx_1 = (__pyx_v_self->parser.error == YAML_SCANNER_ERROR); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":303 */ + __pyx_1 = (__pyx_v_self->parser.context != 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":304 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_ScannerError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; goto __pyx_L1;} + __pyx_5 = PyString_FromString(__pyx_v_self->parser.context); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; goto __pyx_L1;} + __pyx_2 = PyString_FromString(__pyx_v_self->parser.problem); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 305; goto __pyx_L1;} + __pyx_6 = PyTuple_New(4); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_5); + Py_INCREF(__pyx_v_context_mark); + PyTuple_SET_ITEM(__pyx_6, 1, __pyx_v_context_mark); + PyTuple_SET_ITEM(__pyx_6, 2, __pyx_2); + Py_INCREF(__pyx_v_problem_mark); + PyTuple_SET_ITEM(__pyx_6, 3, __pyx_v_problem_mark); + __pyx_5 = 0; + __pyx_2 = 0; + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_6); __pyx_6 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L6; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":307 */ + __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_ScannerError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; goto __pyx_L1;} + __pyx_2 = PyString_FromString(__pyx_v_self->parser.problem); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; goto __pyx_L1;} + __pyx_4 = PyTuple_New(4); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; goto __pyx_L1;} + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 0, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 1, Py_None); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + Py_INCREF(__pyx_v_problem_mark); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_v_problem_mark); + __pyx_2 = 0; + __pyx_6 = PyObject_CallObject(__pyx_5, __pyx_4); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_6; + __pyx_6 = 0; + goto __pyx_L0; + } + __pyx_L6:; + goto __pyx_L5; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":310 */ + __pyx_1 = (__pyx_v_self->parser.context != 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":311 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ParserError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; goto __pyx_L1;} + __pyx_2 = PyString_FromString(__pyx_v_self->parser.context); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; goto __pyx_L1;} + __pyx_5 = PyString_FromString(__pyx_v_self->parser.problem); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; goto __pyx_L1;} + __pyx_4 = PyTuple_New(4); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2); + Py_INCREF(__pyx_v_context_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_context_mark); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_5); + Py_INCREF(__pyx_v_problem_mark); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_v_problem_mark); + __pyx_2 = 0; + __pyx_5 = 0; + __pyx_6 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_6; + __pyx_6 = 0; + goto __pyx_L0; + goto __pyx_L7; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":314 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_ParserError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; goto __pyx_L1;} + __pyx_5 = PyString_FromString(__pyx_v_self->parser.problem); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; goto __pyx_L1;} + __pyx_3 = PyTuple_New(4); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; goto __pyx_L1;} + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_3, 0, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_3, 1, Py_None); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_5); + Py_INCREF(__pyx_v_problem_mark); + PyTuple_SET_ITEM(__pyx_3, 3, __pyx_v_problem_mark); + __pyx_5 = 0; + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + } + __pyx_L7:; + } + __pyx_L5:; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":316 */ + __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; goto __pyx_L1;} + Py_INCREF(__pyx_k19p); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_k19p); + __pyx_2 = PyObject_CallObject(__pyx_6, __pyx_5); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; goto __pyx_L1;} + Py_DECREF(__pyx_6); __pyx_6 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; goto __pyx_L1;} + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + Py_XDECREF(__pyx_6); + __Pyx_AddTraceback("_yaml.CParser._parser_error"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_context_mark); + Py_DECREF(__pyx_v_problem_mark); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_raw_scan(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_raw_scan(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + yaml_token_t __pyx_v_token; + int __pyx_v_done; + int __pyx_v_count; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":322 */ + __pyx_v_count = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":323 */ + __pyx_v_done = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":324 */ + while (1) { + __pyx_L2:; + __pyx_1 = (__pyx_v_done == 0); + if (!__pyx_1) break; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":325 */ + __pyx_1 = yaml_parser_scan((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser),(&__pyx_v_token)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 325; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":326 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parser_error(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 326; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":327 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 327; goto __pyx_L1;} + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":328 */ + __pyx_1 = (__pyx_v_token.type == YAML_NO_TOKEN); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":329 */ + __pyx_v_done = 1; + goto __pyx_L5; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":331 */ + __pyx_v_count = (__pyx_v_count + 1); + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":332 */ + yaml_token_delete((&__pyx_v_token)); + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":333 */ + __pyx_3 = PyInt_FromLong(__pyx_v_count); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; goto __pyx_L1;} + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CParser.raw_scan"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser__scan(struct __pyx_obj_5_yaml_CParser *__pyx_v_self) { + yaml_token_t __pyx_v_token; + PyObject *__pyx_v_error; + PyObject *__pyx_v_token_object; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + __pyx_v_token_object = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":337 */ + __pyx_1 = yaml_parser_scan((&__pyx_v_self->parser),(&__pyx_v_token)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":338 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parser_error(__pyx_v_self); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 338; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":339 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 339; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":340 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_token_to_object(__pyx_v_self,(&__pyx_v_token)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; goto __pyx_L1;} + Py_DECREF(__pyx_v_token_object); + __pyx_v_token_object = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":341 */ + yaml_token_delete((&__pyx_v_token)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":342 */ + Py_INCREF(__pyx_v_token_object); + __pyx_r = __pyx_v_token_object; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CParser._scan"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_token_object); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_n_YAML; +static PyObject *__pyx_n_TAG; +static PyObject *__pyx_n_False; +static PyObject *__pyx_n_True; + +static PyObject *__pyx_k20p; +static PyObject *__pyx_k21p; +static PyObject *__pyx_k22p; +static PyObject *__pyx_k30p; +static PyObject *__pyx_k31p; +static PyObject *__pyx_k32p; +static PyObject *__pyx_k33p; +static PyObject *__pyx_k34p; +static PyObject *__pyx_k35p; + +static char (__pyx_k20[]) = "utf-8"; +static char (__pyx_k21[]) = "utf-16-le"; +static char (__pyx_k22[]) = "utf-16-be"; +static char (__pyx_k25[]) = "strict"; +static char (__pyx_k26[]) = "strict"; +static char (__pyx_k27[]) = "strict"; +static char (__pyx_k28[]) = "strict"; +static char (__pyx_k29[]) = "strict"; +static char (__pyx_k30[]) = ""; +static char (__pyx_k31[]) = "\'"; +static char (__pyx_k32[]) = "\""; +static char (__pyx_k33[]) = "|"; +static char (__pyx_k34[]) = ">"; +static char (__pyx_k35[]) = "unknown token type"; + +static PyObject *__pyx_f_5_yaml_7CParser__token_to_object(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,yaml_token_t (*__pyx_v_token)) { + PyObject *__pyx_v_start_mark; + PyObject *__pyx_v_end_mark; + PyObject *__pyx_v_encoding; + PyObject *__pyx_v_value; + PyObject *__pyx_v_handle; + PyObject *__pyx_v_suffix; + PyObject *__pyx_v_plain; + PyObject *__pyx_v_style; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + int __pyx_6; + Py_INCREF(__pyx_v_self); + __pyx_v_start_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_end_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_encoding = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + __pyx_v_handle = Py_None; Py_INCREF(Py_None); + __pyx_v_suffix = Py_None; Py_INCREF(Py_None); + __pyx_v_plain = Py_None; Py_INCREF(Py_None); + __pyx_v_style = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":345 */ + __pyx_1 = PyInt_FromLong(__pyx_v_token->start_mark.index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 346; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_token->start_mark.line); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_token->start_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; goto __pyx_L1;} + __pyx_4 = PyTuple_New(6); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 5, Py_None); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_1 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_start_mark); + __pyx_v_start_mark = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":350 */ + __pyx_2 = PyInt_FromLong(__pyx_v_token->end_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 351; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_token->end_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 352; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_token->end_mark.column); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_4); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 5, Py_None); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_v_end_mark); + __pyx_v_end_mark = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":355 */ + __pyx_5 = (__pyx_v_token->type == YAML_NO_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":356 */ + Py_INCREF(Py_None); + __pyx_r = Py_None; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_STREAM_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":358 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":359 */ + __pyx_5 = (__pyx_v_token->data.stream_start.encoding == YAML_UTF8_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":360 */ + Py_INCREF(__pyx_k20p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k20p; + goto __pyx_L3; + } + __pyx_5 = (__pyx_v_token->data.stream_start.encoding == YAML_UTF16LE_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":362 */ + Py_INCREF(__pyx_k21p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k21p; + goto __pyx_L3; + } + __pyx_5 = (__pyx_v_token->data.stream_start.encoding == YAML_UTF16BE_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":364 */ + Py_INCREF(__pyx_k22p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k22p; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":365 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_StreamStartToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + Py_INCREF(__pyx_v_encoding); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_encoding); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_STREAM_END_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":367 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_StreamEndToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_VERSION_DIRECTIVE_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":369 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_DirectiveToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_token->data.version_directive.major); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_token->data.version_directive.minor); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_3); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_2 = PyTuple_New(4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; goto __pyx_L1;} + Py_INCREF(__pyx_n_YAML); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_n_YAML); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_4); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 3, __pyx_v_end_mark); + __pyx_4 = 0; + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_TAG_DIRECTIVE_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":374 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_DirectiveToken); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; goto __pyx_L1;} + __pyx_1 = PyString_FromString(__pyx_v_token->data.tag_directive.handle); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 375; goto __pyx_L1;} + __pyx_2 = PyString_FromString(__pyx_v_token->data.tag_directive.prefix); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 376; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 375; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_1); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_2); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_1 = PyTuple_New(4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; goto __pyx_L1;} + Py_INCREF(__pyx_n_TAG); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_n_TAG); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_3); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_v_end_mark); + __pyx_3 = 0; + __pyx_2 = PyObject_CallObject(__pyx_4, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_DOCUMENT_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":379 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentStartToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_DOCUMENT_END_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":381 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentEndToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_BLOCK_SEQUENCE_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":383 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_BlockSequenceStartToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_end_mark); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_BLOCK_MAPPING_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":385 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_BlockMappingStartToken); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 385; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 385; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_end_mark); + __pyx_2 = PyObject_CallObject(__pyx_4, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 385; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_BLOCK_END_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":387 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_BlockEndToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_FLOW_SEQUENCE_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":389 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_FlowSequenceStartToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_FLOW_SEQUENCE_END_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":391 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_FlowSequenceEndToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_end_mark); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_FLOW_MAPPING_START_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":393 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_FlowMappingStartToken); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_end_mark); + __pyx_2 = PyObject_CallObject(__pyx_4, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_FLOW_MAPPING_END_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":395 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_FlowMappingEndToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_BLOCK_ENTRY_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":397 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_BlockEntryToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_FLOW_ENTRY_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":399 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_FlowEntryToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_end_mark); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_KEY_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":401 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_KeyToken); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_end_mark); + __pyx_2 = PyObject_CallObject(__pyx_4, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_VALUE_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":403 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ValueToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_ALIAS_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":405 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.alias.value,strlen(__pyx_v_token->data.alias.value),__pyx_k25); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":407 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_AliasToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; goto __pyx_L1;} + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_ANCHOR_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":409 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.anchor.value,strlen(__pyx_v_token->data.anchor.value),__pyx_k26); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":411 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_AnchorToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; goto __pyx_L1;} + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_TAG_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":413 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.tag.handle,strlen(__pyx_v_token->data.tag.handle),__pyx_k27); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; goto __pyx_L1;} + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":415 */ + __pyx_3 = PyUnicode_DecodeUTF8(__pyx_v_token->data.tag.suffix,strlen(__pyx_v_token->data.tag.suffix),__pyx_k28); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; goto __pyx_L1;} + Py_DECREF(__pyx_v_suffix); + __pyx_v_suffix = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":417 */ + __pyx_5 = PyObject_IsTrue(__pyx_v_handle); if (__pyx_5 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 417; goto __pyx_L1;} + __pyx_6 = (!__pyx_5); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":418 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = Py_None; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":419 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_TagToken); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; goto __pyx_L1;} + Py_INCREF(__pyx_v_handle); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_handle); + Py_INCREF(__pyx_v_suffix); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_suffix); + __pyx_2 = PyTuple_New(3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_end_mark); + __pyx_1 = 0; + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 419; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_token->type == YAML_SCALAR_TOKEN); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":421 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value,__pyx_v_token->data.scalar.length,__pyx_k29); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 421; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":423 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain); + __pyx_v_plain = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":424 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_style); + __pyx_v_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":425 */ + __pyx_6 = (__pyx_v_token->data.scalar.style == YAML_PLAIN_SCALAR_STYLE); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":426 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 426; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain); + __pyx_v_plain = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":427 */ + Py_INCREF(__pyx_k30p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k30p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_token->data.scalar.style == YAML_SINGLE_QUOTED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":429 */ + Py_INCREF(__pyx_k31p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k31p; + goto __pyx_L5; + } + __pyx_6 = (__pyx_v_token->data.scalar.style == YAML_DOUBLE_QUOTED_SCALAR_STYLE); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":431 */ + Py_INCREF(__pyx_k32p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k32p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_token->data.scalar.style == YAML_LITERAL_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":433 */ + Py_INCREF(__pyx_k33p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k33p; + goto __pyx_L5; + } + __pyx_6 = (__pyx_v_token->data.scalar.style == YAML_FOLDED_SCALAR_STYLE); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":435 */ + Py_INCREF(__pyx_k34p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k34p; + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":436 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarToken); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; goto __pyx_L1;} + __pyx_1 = PyTuple_New(5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; goto __pyx_L1;} + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_value); + Py_INCREF(__pyx_v_plain); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_plain); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_v_end_mark); + Py_INCREF(__pyx_v_style); + PyTuple_SET_ITEM(__pyx_1, 4, __pyx_v_style); + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":439 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; goto __pyx_L1;} + Py_INCREF(__pyx_k35p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k35p); + __pyx_1 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; goto __pyx_L1;} + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser._token_to_object"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_start_mark); + Py_DECREF(__pyx_v_end_mark); + Py_DECREF(__pyx_v_encoding); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_handle); + Py_DECREF(__pyx_v_suffix); + Py_DECREF(__pyx_v_plain); + Py_DECREF(__pyx_v_style); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_get_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_get_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_value; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":442 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":443 */ + Py_INCREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + Py_DECREF(__pyx_v_value); + __pyx_v_value = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":444 */ + Py_INCREF(Py_None); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token = Py_None; + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":446 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_scan(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_2; + __pyx_2 = 0; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":447 */ + Py_INCREF(__pyx_v_value); + __pyx_r = __pyx_v_value; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.get_token"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_peek_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_peek_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":450 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":451 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_scan(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token = __pyx_2; + __pyx_2 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":452 */ + Py_INCREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + __pyx_r = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.peek_token"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_n___class__; + +static PyObject *__pyx_f_5_yaml_7CParser_check_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_check_token(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_choices = 0; + PyObject *__pyx_v_token_class; + PyObject *__pyx_v_choice; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + int __pyx_3; + PyObject *__pyx_4 = 0; + static char *__pyx_argnames[] = {0}; + if (__Pyx_GetStarArgs(&__pyx_args, &__pyx_kwds, __pyx_argnames, 0, &__pyx_v_choices, 0) < 0) return 0; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) { + Py_XDECREF(__pyx_args); + Py_XDECREF(__pyx_kwds); + Py_XDECREF(__pyx_v_choices); + return 0; + } + Py_INCREF(__pyx_v_self); + __pyx_v_token_class = Py_None; Py_INCREF(Py_None); + __pyx_v_choice = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":455 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":456 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_scan(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token = __pyx_2; + __pyx_2 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":457 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":458 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":459 */ + __pyx_1 = PyObject_IsTrue(__pyx_v_choices); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; goto __pyx_L1;} + __pyx_3 = (!__pyx_1); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":460 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":461 */ + __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_token, __pyx_n___class__); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; goto __pyx_L1;} + Py_DECREF(__pyx_v_token_class); + __pyx_v_token_class = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":462 */ + __pyx_2 = PyObject_GetIter(__pyx_v_choices); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 462; goto __pyx_L1;} + for (;;) { + __pyx_L5:; + __pyx_4 = PyIter_Next(__pyx_2); + if (!__pyx_4) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 462; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_choice); + __pyx_v_choice = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":463 */ + __pyx_1 = __pyx_v_token_class == __pyx_v_choice; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":464 */ + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; goto __pyx_L1;} + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L7; + } + __pyx_L7:; + } + __pyx_L6:; + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":465 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 465; goto __pyx_L1;} + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser.check_token"); + __pyx_r = 0; + __pyx_L0:; + Py_XDECREF(__pyx_v_choices); + Py_DECREF(__pyx_v_token_class); + Py_DECREF(__pyx_v_choice); + Py_DECREF(__pyx_v_self); + Py_XDECREF(__pyx_args); + Py_XDECREF(__pyx_kwds); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_raw_parse(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_raw_parse(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + yaml_event_t __pyx_v_event; + int __pyx_v_done; + int __pyx_v_count; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":471 */ + __pyx_v_count = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":472 */ + __pyx_v_done = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":473 */ + while (1) { + __pyx_L2:; + __pyx_1 = (__pyx_v_done == 0); + if (!__pyx_1) break; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":474 */ + __pyx_1 = yaml_parser_parse((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parser),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":475 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parser_error(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 475; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":476 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; goto __pyx_L1;} + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":477 */ + __pyx_1 = (__pyx_v_event.type == YAML_NO_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":478 */ + __pyx_v_done = 1; + goto __pyx_L5; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":480 */ + __pyx_v_count = (__pyx_v_count + 1); + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":481 */ + yaml_event_delete((&__pyx_v_event)); + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":482 */ + __pyx_3 = PyInt_FromLong(__pyx_v_count); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; goto __pyx_L1;} + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CParser.raw_parse"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser__parse(struct __pyx_obj_5_yaml_CParser *__pyx_v_self) { + yaml_event_t __pyx_v_event; + PyObject *__pyx_v_error; + PyObject *__pyx_v_event_object; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + __pyx_v_event_object = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":486 */ + __pyx_1 = yaml_parser_parse((&__pyx_v_self->parser),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 486; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":487 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parser_error(__pyx_v_self); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":488 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 488; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":489 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_event_to_object(__pyx_v_self,(&__pyx_v_event)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; goto __pyx_L1;} + Py_DECREF(__pyx_v_event_object); + __pyx_v_event_object = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":490 */ + yaml_event_delete((&__pyx_v_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":491 */ + Py_INCREF(__pyx_v_event_object); + __pyx_r = __pyx_v_event_object; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CParser._parse"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_event_object); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_k36p; +static PyObject *__pyx_k37p; +static PyObject *__pyx_k38p; +static PyObject *__pyx_k45p; +static PyObject *__pyx_k46p; +static PyObject *__pyx_k47p; +static PyObject *__pyx_k48p; +static PyObject *__pyx_k49p; +static PyObject *__pyx_k54p; + +static char (__pyx_k36[]) = "utf-8"; +static char (__pyx_k37[]) = "utf-16-le"; +static char (__pyx_k38[]) = "utf-16-be"; +static char (__pyx_k39[]) = "strict"; +static char (__pyx_k40[]) = "strict"; +static char (__pyx_k41[]) = "strict"; +static char (__pyx_k42[]) = "strict"; +static char (__pyx_k43[]) = "strict"; +static char (__pyx_k44[]) = "strict"; +static char (__pyx_k45[]) = ""; +static char (__pyx_k46[]) = "\'"; +static char (__pyx_k47[]) = "\""; +static char (__pyx_k48[]) = "|"; +static char (__pyx_k49[]) = ">"; +static char (__pyx_k50[]) = "strict"; +static char (__pyx_k51[]) = "strict"; +static char (__pyx_k52[]) = "strict"; +static char (__pyx_k53[]) = "strict"; +static char (__pyx_k54[]) = "unknown token type"; + +static PyObject *__pyx_f_5_yaml_7CParser__event_to_object(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,yaml_event_t (*__pyx_v_event)) { + yaml_tag_directive_t (*__pyx_v_tag_directive); + PyObject *__pyx_v_start_mark; + PyObject *__pyx_v_end_mark; + PyObject *__pyx_v_encoding; + PyObject *__pyx_v_explicit; + PyObject *__pyx_v_version; + PyObject *__pyx_v_tags; + PyObject *__pyx_v_handle; + PyObject *__pyx_v_prefix; + PyObject *__pyx_v_anchor; + PyObject *__pyx_v_tag; + PyObject *__pyx_v_value; + PyObject *__pyx_v_plain_implicit; + PyObject *__pyx_v_quoted_implicit; + PyObject *__pyx_v_style; + PyObject *__pyx_v_implicit; + PyObject *__pyx_v_flow_style; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + Py_INCREF(__pyx_v_self); + __pyx_v_start_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_end_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_encoding = Py_None; Py_INCREF(Py_None); + __pyx_v_explicit = Py_None; Py_INCREF(Py_None); + __pyx_v_version = Py_None; Py_INCREF(Py_None); + __pyx_v_tags = Py_None; Py_INCREF(Py_None); + __pyx_v_handle = Py_None; Py_INCREF(Py_None); + __pyx_v_prefix = Py_None; Py_INCREF(Py_None); + __pyx_v_anchor = Py_None; Py_INCREF(Py_None); + __pyx_v_tag = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + __pyx_v_plain_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_quoted_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_style = Py_None; Py_INCREF(Py_None); + __pyx_v_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_flow_style = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":495 */ + __pyx_1 = PyInt_FromLong(__pyx_v_event->start_mark.index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_event->start_mark.line); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 497; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_event->start_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; goto __pyx_L1;} + __pyx_4 = PyTuple_New(6); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 5, Py_None); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_1 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_start_mark); + __pyx_v_start_mark = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":500 */ + __pyx_2 = PyInt_FromLong(__pyx_v_event->end_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_event->end_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_event->end_mark.column); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 503; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_4); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 5, Py_None); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_v_end_mark); + __pyx_v_end_mark = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":505 */ + __pyx_5 = (__pyx_v_event->type == YAML_NO_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":506 */ + Py_INCREF(Py_None); + __pyx_r = Py_None; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_STREAM_START_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":508 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":509 */ + __pyx_5 = (__pyx_v_event->data.stream_start.encoding == YAML_UTF8_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":510 */ + Py_INCREF(__pyx_k36p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k36p; + goto __pyx_L3; + } + __pyx_5 = (__pyx_v_event->data.stream_start.encoding == YAML_UTF16LE_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":512 */ + Py_INCREF(__pyx_k37p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k37p; + goto __pyx_L3; + } + __pyx_5 = (__pyx_v_event->data.stream_start.encoding == YAML_UTF16BE_ENCODING); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":514 */ + Py_INCREF(__pyx_k38p); + Py_DECREF(__pyx_v_encoding); + __pyx_v_encoding = __pyx_k38p; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":515 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_StreamStartEvent); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 515; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 515; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_end_mark); + Py_INCREF(__pyx_v_encoding); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_encoding); + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 515; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_STREAM_END_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":517 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_StreamEndEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_DOCUMENT_START_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":520 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; goto __pyx_L1;} + Py_DECREF(__pyx_v_explicit); + __pyx_v_explicit = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":521 */ + __pyx_5 = (__pyx_v_event->data.document_start.implicit == 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":522 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; goto __pyx_L1;} + Py_DECREF(__pyx_v_explicit); + __pyx_v_explicit = __pyx_2; + __pyx_2 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":523 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_version); + __pyx_v_version = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":524 */ + __pyx_5 = (__pyx_v_event->data.document_start.version_directive != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":525 */ + __pyx_3 = PyInt_FromLong(__pyx_v_event->data.document_start.version_directive->major); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_event->data.document_start.version_directive->minor); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_3); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_4); + __pyx_3 = 0; + __pyx_4 = 0; + Py_DECREF(__pyx_v_version); + __pyx_v_version = __pyx_1; + __pyx_1 = 0; + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":527 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_tags); + __pyx_v_tags = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":528 */ + __pyx_5 = (__pyx_v_event->data.document_start.tag_directives.start != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":529 */ + __pyx_2 = PyDict_New(); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 529; goto __pyx_L1;} + Py_DECREF(__pyx_v_tags); + __pyx_v_tags = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":530 */ + __pyx_v_tag_directive = __pyx_v_event->data.document_start.tag_directives.start; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":531 */ + while (1) { + __pyx_L7:; + __pyx_5 = (__pyx_v_tag_directive != __pyx_v_event->data.document_start.tag_directives.end); + if (!__pyx_5) break; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":532 */ + __pyx_3 = PyUnicode_DecodeUTF8(__pyx_v_tag_directive->handle,strlen(__pyx_v_tag_directive->handle),__pyx_k39); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; goto __pyx_L1;} + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":534 */ + __pyx_4 = PyUnicode_DecodeUTF8(__pyx_v_tag_directive->prefix,strlen(__pyx_v_tag_directive->prefix),__pyx_k40); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; goto __pyx_L1;} + Py_DECREF(__pyx_v_prefix); + __pyx_v_prefix = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":536 */ + if (PyObject_SetItem(__pyx_v_tags, __pyx_v_handle, __pyx_v_prefix) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":537 */ + __pyx_v_tag_directive = (__pyx_v_tag_directive + 1); + } + __pyx_L8:; + goto __pyx_L6; + } + __pyx_L6:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":538 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentStartEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; goto __pyx_L1;} + __pyx_2 = PyTuple_New(5); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_end_mark); + Py_INCREF(__pyx_v_explicit); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_explicit); + Py_INCREF(__pyx_v_version); + PyTuple_SET_ITEM(__pyx_2, 3, __pyx_v_version); + Py_INCREF(__pyx_v_tags); + PyTuple_SET_ITEM(__pyx_2, 4, __pyx_v_tags); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_DOCUMENT_END_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":541 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 541; goto __pyx_L1;} + Py_DECREF(__pyx_v_explicit); + __pyx_v_explicit = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":542 */ + __pyx_5 = (__pyx_v_event->data.document_end.implicit == 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":543 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; goto __pyx_L1;} + Py_DECREF(__pyx_v_explicit); + __pyx_v_explicit = __pyx_1; + __pyx_1 = 0; + goto __pyx_L9; + } + __pyx_L9:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":544 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentEndEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; goto __pyx_L1;} + __pyx_3 = PyTuple_New(3); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + Py_INCREF(__pyx_v_explicit); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_explicit); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_ALIAS_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":546 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_event->data.alias.anchor,strlen(__pyx_v_event->data.alias.anchor),__pyx_k41); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":548 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_AliasEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; goto __pyx_L1;} + __pyx_3 = PyTuple_New(3); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; goto __pyx_L1;} + Py_INCREF(__pyx_v_anchor); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_anchor); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_end_mark); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_SCALAR_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":550 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":551 */ + __pyx_5 = (__pyx_v_event->data.scalar.anchor != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":552 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.anchor,strlen(__pyx_v_event->data.scalar.anchor),__pyx_k42); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_1; + __pyx_1 = 0; + goto __pyx_L10; + } + __pyx_L10:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":554 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":555 */ + __pyx_5 = (__pyx_v_event->data.scalar.tag != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":556 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.tag,strlen(__pyx_v_event->data.scalar.tag),__pyx_k43); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_2; + __pyx_2 = 0; + goto __pyx_L11; + } + __pyx_L11:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":558 */ + __pyx_3 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value,__pyx_v_event->data.scalar.length,__pyx_k44); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":560 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain_implicit); + __pyx_v_plain_implicit = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":561 */ + __pyx_5 = (__pyx_v_event->data.scalar.plain_implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":562 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 562; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain_implicit); + __pyx_v_plain_implicit = __pyx_1; + __pyx_1 = 0; + goto __pyx_L12; + } + __pyx_L12:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":563 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 563; goto __pyx_L1;} + Py_DECREF(__pyx_v_quoted_implicit); + __pyx_v_quoted_implicit = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":564 */ + __pyx_5 = (__pyx_v_event->data.scalar.quoted_implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":565 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 565; goto __pyx_L1;} + Py_DECREF(__pyx_v_quoted_implicit); + __pyx_v_quoted_implicit = __pyx_3; + __pyx_3 = 0; + goto __pyx_L13; + } + __pyx_L13:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":566 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_style); + __pyx_v_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":567 */ + __pyx_5 = (__pyx_v_event->data.scalar.style == YAML_PLAIN_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":568 */ + Py_INCREF(__pyx_k45p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k45p; + goto __pyx_L14; + } + __pyx_5 = (__pyx_v_event->data.scalar.style == YAML_SINGLE_QUOTED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":570 */ + Py_INCREF(__pyx_k46p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k46p; + goto __pyx_L14; + } + __pyx_5 = (__pyx_v_event->data.scalar.style == YAML_DOUBLE_QUOTED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":572 */ + Py_INCREF(__pyx_k47p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k47p; + goto __pyx_L14; + } + __pyx_5 = (__pyx_v_event->data.scalar.style == YAML_LITERAL_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":574 */ + Py_INCREF(__pyx_k48p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k48p; + goto __pyx_L14; + } + __pyx_5 = (__pyx_v_event->data.scalar.style == YAML_FOLDED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":576 */ + Py_INCREF(__pyx_k49p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k49p; + goto __pyx_L14; + } + __pyx_L14:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":577 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarEvent); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; goto __pyx_L1;} + __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 578; goto __pyx_L1;} + Py_INCREF(__pyx_v_plain_implicit); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_plain_implicit); + Py_INCREF(__pyx_v_quoted_implicit); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_quoted_implicit); + __pyx_2 = PyTuple_New(7); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; goto __pyx_L1;} + Py_INCREF(__pyx_v_anchor); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_anchor); + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_tag); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_1); + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_2, 3, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 4, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 5, __pyx_v_end_mark); + Py_INCREF(__pyx_v_style); + PyTuple_SET_ITEM(__pyx_2, 6, __pyx_v_style); + __pyx_1 = 0; + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_SEQUENCE_START_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":581 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":582 */ + __pyx_5 = (__pyx_v_event->data.sequence_start.anchor != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":583 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_event->data.sequence_start.anchor,strlen(__pyx_v_event->data.sequence_start.anchor),__pyx_k50); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_1; + __pyx_1 = 0; + goto __pyx_L15; + } + __pyx_L15:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":585 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":586 */ + __pyx_5 = (__pyx_v_event->data.sequence_start.tag != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":587 */ + __pyx_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.sequence_start.tag,strlen(__pyx_v_event->data.sequence_start.tag),__pyx_k51); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_4; + __pyx_4 = 0; + goto __pyx_L16; + } + __pyx_L16:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":589 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":590 */ + __pyx_5 = (__pyx_v_event->data.sequence_start.implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":591 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_3; + __pyx_3 = 0; + goto __pyx_L17; + } + __pyx_L17:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":592 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":593 */ + __pyx_5 = (__pyx_v_event->data.sequence_start.style == YAML_FLOW_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":594 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 594; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_1; + __pyx_1 = 0; + goto __pyx_L18; + } + __pyx_5 = (__pyx_v_event->data.sequence_start.style == YAML_BLOCK_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":596 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 596; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_4; + __pyx_4 = 0; + goto __pyx_L18; + } + __pyx_L18:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":597 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceStartEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 597; goto __pyx_L1;} + __pyx_3 = PyTuple_New(6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 597; goto __pyx_L1;} + Py_INCREF(__pyx_v_anchor); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_anchor); + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_tag); + Py_INCREF(__pyx_v_implicit); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_implicit); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 3, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 4, __pyx_v_end_mark); + Py_INCREF(__pyx_v_flow_style); + PyTuple_SET_ITEM(__pyx_3, 5, __pyx_v_flow_style); + __pyx_1 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 597; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_MAPPING_START_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":600 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":601 */ + __pyx_5 = (__pyx_v_event->data.mapping_start.anchor != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":602 */ + __pyx_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.mapping_start.anchor,strlen(__pyx_v_event->data.mapping_start.anchor),__pyx_k52); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 602; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_4; + __pyx_4 = 0; + goto __pyx_L19; + } + __pyx_L19:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":604 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":605 */ + __pyx_5 = (__pyx_v_event->data.mapping_start.tag != 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":606 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_event->data.mapping_start.tag,strlen(__pyx_v_event->data.mapping_start.tag),__pyx_k53); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 606; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_2; + __pyx_2 = 0; + goto __pyx_L20; + } + __pyx_L20:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":608 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 608; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":609 */ + __pyx_5 = (__pyx_v_event->data.mapping_start.implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":610 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 610; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_1; + __pyx_1 = 0; + goto __pyx_L21; + } + __pyx_L21:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":611 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":612 */ + __pyx_5 = (__pyx_v_event->data.mapping_start.style == YAML_FLOW_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":613 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 613; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_4; + __pyx_4 = 0; + goto __pyx_L22; + } + __pyx_5 = (__pyx_v_event->data.mapping_start.style == YAML_BLOCK_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":615 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 615; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_2; + __pyx_2 = 0; + goto __pyx_L22; + } + __pyx_L22:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":616 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_MappingStartEvent); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 616; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 616; goto __pyx_L1;} + Py_INCREF(__pyx_v_anchor); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_anchor); + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_tag); + Py_INCREF(__pyx_v_implicit); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_v_implicit); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_1, 4, __pyx_v_end_mark); + Py_INCREF(__pyx_v_flow_style); + PyTuple_SET_ITEM(__pyx_1, 5, __pyx_v_flow_style); + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 616; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_SEQUENCE_END_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":619 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceEndEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_end_mark); + __pyx_1 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_r = __pyx_1; + __pyx_1 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_5 = (__pyx_v_event->type == YAML_MAPPING_END_EVENT); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":621 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_MappingEndEvent); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 621; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 621; goto __pyx_L1;} + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_end_mark); + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 621; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":624 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; goto __pyx_L1;} + Py_INCREF(__pyx_k54p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k54p); + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; goto __pyx_L1;} + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser._event_to_object"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_start_mark); + Py_DECREF(__pyx_v_end_mark); + Py_DECREF(__pyx_v_encoding); + Py_DECREF(__pyx_v_explicit); + Py_DECREF(__pyx_v_version); + Py_DECREF(__pyx_v_tags); + Py_DECREF(__pyx_v_handle); + Py_DECREF(__pyx_v_prefix); + Py_DECREF(__pyx_v_anchor); + Py_DECREF(__pyx_v_tag); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_plain_implicit); + Py_DECREF(__pyx_v_quoted_implicit); + Py_DECREF(__pyx_v_style); + Py_DECREF(__pyx_v_implicit); + Py_DECREF(__pyx_v_flow_style); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_get_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_get_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_value; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":627 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":628 */ + Py_INCREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + Py_DECREF(__pyx_v_value); + __pyx_v_value = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":629 */ + Py_INCREF(Py_None); + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event = Py_None; + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":631 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 631; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_2; + __pyx_2 = 0; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":632 */ + Py_INCREF(__pyx_v_value); + __pyx_r = __pyx_v_value; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.get_event"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_peek_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_peek_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":635 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":636 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 636; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event = __pyx_2; + __pyx_2 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":637 */ + Py_INCREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + __pyx_r = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.peek_event"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_check_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_check_event(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_choices = 0; + PyObject *__pyx_v_event_class; + PyObject *__pyx_v_choice; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + int __pyx_3; + PyObject *__pyx_4 = 0; + static char *__pyx_argnames[] = {0}; + if (__Pyx_GetStarArgs(&__pyx_args, &__pyx_kwds, __pyx_argnames, 0, &__pyx_v_choices, 0) < 0) return 0; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) { + Py_XDECREF(__pyx_args); + Py_XDECREF(__pyx_kwds); + Py_XDECREF(__pyx_v_choices); + return 0; + } + Py_INCREF(__pyx_v_self); + __pyx_v_event_class = Py_None; Py_INCREF(Py_None); + __pyx_v_choice = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":640 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":641 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event); + ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event = __pyx_2; + __pyx_2 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":642 */ + __pyx_1 = ((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event == Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":643 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 643; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":644 */ + __pyx_1 = PyObject_IsTrue(__pyx_v_choices); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 644; goto __pyx_L1;} + __pyx_3 = (!__pyx_1); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":645 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 645; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":646 */ + __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->current_event, __pyx_n___class__); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; goto __pyx_L1;} + Py_DECREF(__pyx_v_event_class); + __pyx_v_event_class = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":647 */ + __pyx_2 = PyObject_GetIter(__pyx_v_choices); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; goto __pyx_L1;} + for (;;) { + __pyx_L5:; + __pyx_4 = PyIter_Next(__pyx_2); + if (!__pyx_4) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_choice); + __pyx_v_choice = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":648 */ + __pyx_1 = __pyx_v_event_class == __pyx_v_choice; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":649 */ + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 649; goto __pyx_L1;} + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + goto __pyx_L7; + } + __pyx_L7:; + } + __pyx_L6:; + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":650 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 650; goto __pyx_L1;} + __pyx_r = __pyx_4; + __pyx_4 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser.check_event"); + __pyx_r = 0; + __pyx_L0:; + Py_XDECREF(__pyx_v_choices); + Py_DECREF(__pyx_v_event_class); + Py_DECREF(__pyx_v_choice); + Py_DECREF(__pyx_v_self); + Py_XDECREF(__pyx_args); + Py_XDECREF(__pyx_kwds); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_check_node(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_check_node(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":653 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse_next_event(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 653; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":654 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event.type == YAML_STREAM_START_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":655 */ + yaml_event_delete((&((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":656 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse_next_event(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":657 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event.type != YAML_STREAM_END_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":658 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":659 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 659; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.check_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser_get_node(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_7CParser_get_node(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":662 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_parse_next_event(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 662; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":663 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->parsed_event.type != YAML_STREAM_END_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":664 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)->__pyx_vtab)->_compose_document(((struct __pyx_obj_5_yaml_CParser *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CParser.get_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_7CParser__compose_document(struct __pyx_obj_5_yaml_CParser *__pyx_v_self) { + PyObject *__pyx_v_node; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + int __pyx_2; + Py_INCREF(__pyx_v_self); + __pyx_v_node = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":667 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":668 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_node(__pyx_v_self,Py_None,Py_None); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 668; goto __pyx_L1;} + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":669 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_2 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 669; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":670 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":671 */ + __pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; goto __pyx_L1;} + Py_DECREF(__pyx_v_self->anchors); + __pyx_v_self->anchors = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":672 */ + Py_INCREF(__pyx_v_node); + __pyx_r = __pyx_v_node; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + __Pyx_AddTraceback("_yaml.CParser._compose_document"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_n_start_mark; +static PyObject *__pyx_n_descend_resolver; +static PyObject *__pyx_n_ascend_resolver; + +static PyObject *__pyx_k56p; +static PyObject *__pyx_k60p; +static PyObject *__pyx_k61p; + +static char (__pyx_k55[]) = "strict"; +static char (__pyx_k56[]) = "found undefined alias"; +static char (__pyx_k57[]) = "strict"; +static char (__pyx_k58[]) = "strict"; +static char (__pyx_k59[]) = "strict"; +static char (__pyx_k60[]) = "found duplicate anchor; first occurence"; +static char (__pyx_k61[]) = "second occurence"; + +static PyObject *__pyx_f_5_yaml_7CParser__compose_node(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,PyObject *__pyx_v_parent,PyObject *__pyx_v_index) { + PyObject *__pyx_v_anchor; + PyObject *__pyx_v_mark; + PyObject *__pyx_v_node; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_parent); + Py_INCREF(__pyx_v_index); + __pyx_v_anchor = Py_None; Py_INCREF(Py_None); + __pyx_v_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_node = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":675 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 675; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":676 */ + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_ALIAS_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":677 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.alias.anchor,strlen(__pyx_v_self->parsed_event.data.alias.anchor),__pyx_k55); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 677; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":679 */ + __pyx_1 = PySequence_Contains(__pyx_v_self->anchors, __pyx_v_anchor); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; goto __pyx_L1;} + __pyx_1 = !__pyx_1; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":680 */ + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 682; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.column); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; goto __pyx_L1;} + __pyx_5 = PyTuple_New(6); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_5, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_5, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_5, 3, __pyx_4); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_5, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_5, 5, Py_None); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_5); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_v_mark); + __pyx_v_mark = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":685 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ComposerError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; goto __pyx_L1;} + __pyx_4 = PyTuple_New(4); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; goto __pyx_L1;} + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 0, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 1, Py_None); + Py_INCREF(__pyx_k56p); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_k56p); + Py_INCREF(__pyx_v_mark); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_v_mark); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; goto __pyx_L1;} + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":686 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":687 */ + __pyx_2 = PyObject_GetItem(__pyx_v_self->anchors, __pyx_v_anchor); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 687; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":688 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":689 */ + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_SCALAR_EVENT); + if (__pyx_1) { + __pyx_1 = (__pyx_v_self->parsed_event.data.scalar.anchor != 0); + } + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":691 */ + __pyx_3 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.anchor,strlen(__pyx_v_self->parsed_event.data.scalar.anchor),__pyx_k57); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_3; + __pyx_3 = 0; + goto __pyx_L4; + } + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_SEQUENCE_START_EVENT); + if (__pyx_1) { + __pyx_1 = (__pyx_v_self->parsed_event.data.sequence_start.anchor != 0); + } + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":695 */ + __pyx_4 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.sequence_start.anchor,strlen(__pyx_v_self->parsed_event.data.sequence_start.anchor),__pyx_k58); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 695; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_4; + __pyx_4 = 0; + goto __pyx_L4; + } + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_MAPPING_START_EVENT); + if (__pyx_1) { + __pyx_1 = (__pyx_v_self->parsed_event.data.mapping_start.anchor != 0); + } + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":699 */ + __pyx_5 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.mapping_start.anchor,strlen(__pyx_v_self->parsed_event.data.mapping_start.anchor),__pyx_k59); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 699; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor); + __pyx_v_anchor = __pyx_5; + __pyx_5 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":701 */ + __pyx_1 = __pyx_v_anchor != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":702 */ + __pyx_1 = PySequence_Contains(__pyx_v_self->anchors, __pyx_v_anchor); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 702; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":703 */ + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 704; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 705; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.column); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; goto __pyx_L1;} + __pyx_5 = PyTuple_New(6); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 703; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_5, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_5, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_5, 3, __pyx_4); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_5, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_5, 5, Py_None); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_5); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 703; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_v_mark); + __pyx_v_mark = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":708 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ComposerError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; goto __pyx_L1;} + __pyx_4 = PyObject_GetItem(__pyx_v_self->anchors, __pyx_v_anchor); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 709; goto __pyx_L1;} + __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_n_start_mark); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 709; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_2 = PyTuple_New(4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; goto __pyx_L1;} + Py_INCREF(__pyx_k60p); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_k60p); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_5); + Py_INCREF(__pyx_k61p); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_k61p); + Py_INCREF(__pyx_v_mark); + PyTuple_SET_ITEM(__pyx_2, 3, __pyx_v_mark); + __pyx_5 = 0; + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; goto __pyx_L1;} + goto __pyx_L6; + } + __pyx_L6:; + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":710 */ + __pyx_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_descend_resolver); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 710; goto __pyx_L1;} + __pyx_3 = PyTuple_New(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 710; goto __pyx_L1;} + Py_INCREF(__pyx_v_parent); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_parent); + Py_INCREF(__pyx_v_index); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_index); + __pyx_2 = PyObject_CallObject(__pyx_5, __pyx_3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 710; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":711 */ + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_SCALAR_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":712 */ + __pyx_4 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_scalar_node(__pyx_v_self,__pyx_v_anchor); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 712; goto __pyx_L1;} + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_4; + __pyx_4 = 0; + goto __pyx_L7; + } + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_SEQUENCE_START_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":714 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_sequence_node(__pyx_v_self,__pyx_v_anchor); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; goto __pyx_L1;} + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_5; + __pyx_5 = 0; + goto __pyx_L7; + } + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_MAPPING_START_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":716 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_mapping_node(__pyx_v_self,__pyx_v_anchor); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 716; goto __pyx_L1;} + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_3; + __pyx_3 = 0; + goto __pyx_L7; + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":717 */ + __pyx_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_ascend_resolver); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 717; goto __pyx_L1;} + __pyx_4 = PyTuple_New(0); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 717; goto __pyx_L1;} + __pyx_5 = PyObject_CallObject(__pyx_2, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 717; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":718 */ + Py_INCREF(__pyx_v_node); + __pyx_r = __pyx_v_node; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + __Pyx_AddTraceback("_yaml.CParser._compose_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_anchor); + Py_DECREF(__pyx_v_mark); + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_parent); + Py_DECREF(__pyx_v_index); + return __pyx_r; +} + +static PyObject *__pyx_n_resolve; + +static PyObject *__pyx_k64p; +static PyObject *__pyx_k65p; +static PyObject *__pyx_k66p; +static PyObject *__pyx_k67p; +static PyObject *__pyx_k68p; + +static char (__pyx_k62[]) = "strict"; +static char (__pyx_k63[]) = "strict"; +static char (__pyx_k64[]) = ""; +static char (__pyx_k65[]) = "\'"; +static char (__pyx_k66[]) = "\""; +static char (__pyx_k67[]) = "|"; +static char (__pyx_k68[]) = ">"; + +static PyObject *__pyx_f_5_yaml_7CParser__compose_scalar_node(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,PyObject *__pyx_v_anchor) { + PyObject *__pyx_v_start_mark; + PyObject *__pyx_v_end_mark; + PyObject *__pyx_v_value; + PyObject *__pyx_v_plain_implicit; + PyObject *__pyx_v_quoted_implicit; + PyObject *__pyx_v_tag; + PyObject *__pyx_v_style; + PyObject *__pyx_v_node; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_anchor); + __pyx_v_start_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_end_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + __pyx_v_plain_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_quoted_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_tag = Py_None; Py_INCREF(Py_None); + __pyx_v_style = Py_None; Py_INCREF(Py_None); + __pyx_v_node = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":721 */ + __pyx_1 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 722; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.line); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 724; goto __pyx_L1;} + __pyx_4 = PyTuple_New(6); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 5, Py_None); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_1 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_start_mark); + __pyx_v_start_mark = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":726 */ + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.column); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 729; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 726; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_4); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 5, Py_None); + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_4 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 726; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_v_end_mark); + __pyx_v_end_mark = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":731 */ + __pyx_3 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value,__pyx_v_self->parsed_event.data.scalar.length,__pyx_k62); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 731; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":733 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain_implicit); + __pyx_v_plain_implicit = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":734 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.plain_implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":735 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; goto __pyx_L1;} + Py_DECREF(__pyx_v_plain_implicit); + __pyx_v_plain_implicit = __pyx_1; + __pyx_1 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":736 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; goto __pyx_L1;} + Py_DECREF(__pyx_v_quoted_implicit); + __pyx_v_quoted_implicit = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":737 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.quoted_implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":738 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; goto __pyx_L1;} + Py_DECREF(__pyx_v_quoted_implicit); + __pyx_v_quoted_implicit = __pyx_3; + __pyx_3 = 0; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":739 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.tag == 0); + if (!__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.scalar.tag[0]) == '!'); + if (__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.scalar.tag[1]) == '\0'); + } + } + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":742 */ + __pyx_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; goto __pyx_L1;} + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; goto __pyx_L1;} + Py_INCREF(__pyx_v_plain_implicit); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_plain_implicit); + Py_INCREF(__pyx_v_quoted_implicit); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_quoted_implicit); + __pyx_3 = PyTuple_New(3); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_1); + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_value); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_2); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_1; + __pyx_1 = 0; + goto __pyx_L4; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":744 */ + __pyx_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.tag,strlen(__pyx_v_self->parsed_event.data.scalar.tag),__pyx_k63); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 744; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_2; + __pyx_2 = 0; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":746 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_style); + __pyx_v_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":747 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.style == YAML_PLAIN_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":748 */ + Py_INCREF(__pyx_k64p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k64p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.style == YAML_SINGLE_QUOTED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":750 */ + Py_INCREF(__pyx_k65p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k65p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.style == YAML_DOUBLE_QUOTED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":752 */ + Py_INCREF(__pyx_k66p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k66p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.style == YAML_LITERAL_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":754 */ + Py_INCREF(__pyx_k67p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k67p; + goto __pyx_L5; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.scalar.style == YAML_FOLDED_SCALAR_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":756 */ + Py_INCREF(__pyx_k68p); + Py_DECREF(__pyx_v_style); + __pyx_v_style = __pyx_k68p; + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":757 */ + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarNode); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; goto __pyx_L1;} + __pyx_3 = PyTuple_New(5); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; goto __pyx_L1;} + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_tag); + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_start_mark); + Py_INCREF(__pyx_v_end_mark); + PyTuple_SET_ITEM(__pyx_3, 3, __pyx_v_end_mark); + Py_INCREF(__pyx_v_style); + PyTuple_SET_ITEM(__pyx_3, 4, __pyx_v_style); + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":758 */ + __pyx_5 = __pyx_v_anchor != Py_None; + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":759 */ + if (PyObject_SetItem(__pyx_v_self->anchors, __pyx_v_anchor, __pyx_v_node) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 759; goto __pyx_L1;} + goto __pyx_L6; + } + __pyx_L6:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":760 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":761 */ + Py_INCREF(__pyx_v_node); + __pyx_r = __pyx_v_node; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser._compose_scalar_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_start_mark); + Py_DECREF(__pyx_v_end_mark); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_plain_implicit); + Py_DECREF(__pyx_v_quoted_implicit); + Py_DECREF(__pyx_v_tag); + Py_DECREF(__pyx_v_style); + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_anchor); + return __pyx_r; +} + +static PyObject *__pyx_n_append; +static PyObject *__pyx_n_end_mark; + +static char (__pyx_k69[]) = "strict"; + +static PyObject *__pyx_f_5_yaml_7CParser__compose_sequence_node(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,PyObject *__pyx_v_anchor) { + int __pyx_v_index; + PyObject *__pyx_v_start_mark; + PyObject *__pyx_v_implicit; + PyObject *__pyx_v_tag; + PyObject *__pyx_v_flow_style; + PyObject *__pyx_v_value; + PyObject *__pyx_v_node; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_anchor); + __pyx_v_start_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_tag = Py_None; Py_INCREF(Py_None); + __pyx_v_flow_style = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + __pyx_v_node = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":765 */ + __pyx_1 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 766; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.line); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 768; goto __pyx_L1;} + __pyx_4 = PyTuple_New(6); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 765; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 5, Py_None); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_1 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 765; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_start_mark); + __pyx_v_start_mark = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":770 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 770; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":771 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.sequence_start.implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":772 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 772; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_3; + __pyx_3 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":773 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.sequence_start.tag == 0); + if (!__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.sequence_start.tag[0]) == '!'); + if (__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.sequence_start.tag[1]) == '\0'); + } + } + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":776 */ + __pyx_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; goto __pyx_L1;} + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; goto __pyx_L1;} + __pyx_2 = PyTuple_New(3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_2, 1, Py_None); + Py_INCREF(__pyx_v_implicit); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_implicit); + __pyx_1 = 0; + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_3; + __pyx_3 = 0; + goto __pyx_L3; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":778 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.sequence_start.tag,strlen(__pyx_v_self->parsed_event.data.sequence_start.tag),__pyx_k69); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 778; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_1; + __pyx_1 = 0; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":780 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":781 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.sequence_start.style == YAML_FLOW_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":782 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 782; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_4; + __pyx_4 = 0; + goto __pyx_L4; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.sequence_start.style == YAML_BLOCK_SEQUENCE_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":784 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 784; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_2; + __pyx_2 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":785 */ + __pyx_3 = PyList_New(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":786 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; goto __pyx_L1;} + __pyx_4 = PyTuple_New(5); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; goto __pyx_L1;} + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_tag); + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_start_mark); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 3, Py_None); + Py_INCREF(__pyx_v_flow_style); + PyTuple_SET_ITEM(__pyx_4, 4, __pyx_v_flow_style); + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":787 */ + __pyx_5 = __pyx_v_anchor != Py_None; + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":788 */ + if (PyObject_SetItem(__pyx_v_self->anchors, __pyx_v_anchor, __pyx_v_node) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; goto __pyx_L1;} + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":789 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":790 */ + __pyx_v_index = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":791 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_5 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 791; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":792 */ + while (1) { + __pyx_L6:; + __pyx_5 = (__pyx_v_self->parsed_event.type != YAML_SEQUENCE_END_EVENT); + if (!__pyx_5) break; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":793 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_value, __pyx_n_append); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; goto __pyx_L1;} + __pyx_1 = PyInt_FromLong(__pyx_v_index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; goto __pyx_L1;} + __pyx_4 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_node(__pyx_v_self,__pyx_v_node,__pyx_1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_4); + __pyx_4 = 0; + __pyx_1 = PyObject_CallObject(__pyx_3, __pyx_2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":794 */ + __pyx_v_index = (__pyx_v_index + 1); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":795 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_5 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 795; goto __pyx_L1;} + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":796 */ + __pyx_4 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.index); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.line); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 798; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.column); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 796; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_4); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_3); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_2); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 5, Py_None); + __pyx_4 = 0; + __pyx_3 = 0; + __pyx_2 = 0; + __pyx_4 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 796; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_v_node, __pyx_n_end_mark, __pyx_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 796; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":801 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":802 */ + Py_INCREF(__pyx_v_node); + __pyx_r = __pyx_v_node; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser._compose_sequence_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_start_mark); + Py_DECREF(__pyx_v_implicit); + Py_DECREF(__pyx_v_tag); + Py_DECREF(__pyx_v_flow_style); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_anchor); + return __pyx_r; +} + +static char (__pyx_k70[]) = "strict"; + +static PyObject *__pyx_f_5_yaml_7CParser__compose_mapping_node(struct __pyx_obj_5_yaml_CParser *__pyx_v_self,PyObject *__pyx_v_anchor) { + PyObject *__pyx_v_start_mark; + PyObject *__pyx_v_implicit; + PyObject *__pyx_v_tag; + PyObject *__pyx_v_flow_style; + PyObject *__pyx_v_value; + PyObject *__pyx_v_node; + PyObject *__pyx_v_item_key; + PyObject *__pyx_v_item_value; + PyObject *__pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_anchor); + __pyx_v_start_mark = Py_None; Py_INCREF(Py_None); + __pyx_v_implicit = Py_None; Py_INCREF(Py_None); + __pyx_v_tag = Py_None; Py_INCREF(Py_None); + __pyx_v_flow_style = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + __pyx_v_node = Py_None; Py_INCREF(Py_None); + __pyx_v_item_key = Py_None; Py_INCREF(Py_None); + __pyx_v_item_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":805 */ + __pyx_1 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.index); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 806; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.line); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 807; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.start_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 808; goto __pyx_L1;} + __pyx_4 = PyTuple_New(6); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 805; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_2); + PyTuple_SET_ITEM(__pyx_4, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 5, Py_None); + __pyx_1 = 0; + __pyx_2 = 0; + __pyx_3 = 0; + __pyx_1 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_4); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 805; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_start_mark); + __pyx_v_start_mark = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":810 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 810; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":811 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.mapping_start.implicit == 1); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":812 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; goto __pyx_L1;} + Py_DECREF(__pyx_v_implicit); + __pyx_v_implicit = __pyx_3; + __pyx_3 = 0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":813 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.mapping_start.tag == 0); + if (!__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.mapping_start.tag[0]) == '!'); + if (__pyx_5) { + __pyx_5 = ((__pyx_v_self->parsed_event.data.mapping_start.tag[1]) == '\0'); + } + } + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":816 */ + __pyx_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; goto __pyx_L1;} + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_MappingNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; goto __pyx_L1;} + __pyx_2 = PyTuple_New(3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_2, 1, Py_None); + Py_INCREF(__pyx_v_implicit); + PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_implicit); + __pyx_1 = 0; + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_3; + __pyx_3 = 0; + goto __pyx_L3; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":818 */ + __pyx_1 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.mapping_start.tag,strlen(__pyx_v_self->parsed_event.data.mapping_start.tag),__pyx_k70); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag); + __pyx_v_tag = __pyx_1; + __pyx_1 = 0; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":820 */ + Py_INCREF(Py_None); + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":821 */ + __pyx_5 = (__pyx_v_self->parsed_event.data.mapping_start.style == YAML_FLOW_MAPPING_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":822 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 822; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_4; + __pyx_4 = 0; + goto __pyx_L4; + } + __pyx_5 = (__pyx_v_self->parsed_event.data.mapping_start.style == YAML_BLOCK_MAPPING_STYLE); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":824 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; goto __pyx_L1;} + Py_DECREF(__pyx_v_flow_style); + __pyx_v_flow_style = __pyx_2; + __pyx_2 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":825 */ + __pyx_3 = PyList_New(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":826 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_MappingNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 826; goto __pyx_L1;} + __pyx_4 = PyTuple_New(5); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 826; goto __pyx_L1;} + Py_INCREF(__pyx_v_tag); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_tag); + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_value); + Py_INCREF(__pyx_v_start_mark); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_start_mark); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_4, 3, Py_None); + Py_INCREF(__pyx_v_flow_style); + PyTuple_SET_ITEM(__pyx_4, 4, __pyx_v_flow_style); + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 826; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_node); + __pyx_v_node = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":827 */ + __pyx_5 = __pyx_v_anchor != Py_None; + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":828 */ + if (PyObject_SetItem(__pyx_v_self->anchors, __pyx_v_anchor, __pyx_v_node) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 828; goto __pyx_L1;} + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":829 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":830 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_5 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 830; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":831 */ + while (1) { + __pyx_L6:; + __pyx_5 = (__pyx_v_self->parsed_event.type != YAML_MAPPING_END_EVENT); + if (!__pyx_5) break; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":832 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_node(__pyx_v_self,__pyx_v_node,Py_None); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; goto __pyx_L1;} + Py_DECREF(__pyx_v_item_key); + __pyx_v_item_key = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":833 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_compose_node(__pyx_v_self,__pyx_v_node,__pyx_v_item_key); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 833; goto __pyx_L1;} + Py_DECREF(__pyx_v_item_value); + __pyx_v_item_value = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":834 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_value, __pyx_n_append); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; goto __pyx_L1;} + __pyx_2 = PyTuple_New(2); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; goto __pyx_L1;} + Py_INCREF(__pyx_v_item_key); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_item_key); + Py_INCREF(__pyx_v_item_value); + PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_item_value); + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2); + __pyx_2 = 0; + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":835 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parse_next_event(__pyx_v_self); if (__pyx_5 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 835; goto __pyx_L1;} + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":836 */ + __pyx_2 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.index); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.line); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 838; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(__pyx_v_self->parsed_event.end_mark.column); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; goto __pyx_L1;} + __pyx_1 = PyTuple_New(6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 836; goto __pyx_L1;} + Py_INCREF(__pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self->stream_name); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_2); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_4); + PyTuple_SET_ITEM(__pyx_1, 3, __pyx_3); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 4, Py_None); + Py_INCREF(Py_None); + PyTuple_SET_ITEM(__pyx_1, 5, Py_None); + __pyx_2 = 0; + __pyx_4 = 0; + __pyx_3 = 0; + __pyx_2 = PyObject_CallObject(((PyObject*)__pyx_ptype_5_yaml_Mark), __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 836; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_v_node, __pyx_n_end_mark, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 836; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":841 */ + yaml_event_delete((&__pyx_v_self->parsed_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":842 */ + Py_INCREF(__pyx_v_node); + __pyx_r = __pyx_v_node; + goto __pyx_L0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CParser._compose_mapping_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_start_mark); + Py_DECREF(__pyx_v_implicit); + Py_DECREF(__pyx_v_tag); + Py_DECREF(__pyx_v_flow_style); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_item_key); + Py_DECREF(__pyx_v_item_value); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_anchor); + return __pyx_r; +} + +static int __pyx_f_5_yaml_7CParser__parse_next_event(struct __pyx_obj_5_yaml_CParser *__pyx_v_self) { + PyObject *__pyx_v_error; + int __pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":845 */ + __pyx_1 = (__pyx_v_self->parsed_event.type == YAML_NO_EVENT); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":846 */ + __pyx_1 = yaml_parser_parse((&__pyx_v_self->parser),(&__pyx_v_self->parsed_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 846; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":847 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CParser *)__pyx_v_self->__pyx_vtab)->_parser_error(__pyx_v_self); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":848 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 848; goto __pyx_L1;} + goto __pyx_L3; + } + __pyx_L3:; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":849 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CParser._parse_next_event"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_k71p; +static PyObject *__pyx_k72p; + +static char (__pyx_k71[]) = "a string value is expected"; +static char (__pyx_k72[]) = "a string value it too long"; + +static int __pyx_f_5_yaml_input_handler(void (*__pyx_v_data),char (*__pyx_v_buffer),int __pyx_v_size,int (*__pyx_v_read)) { + struct __pyx_obj_5_yaml_CParser *__pyx_v_parser; + PyObject *__pyx_v_value; + int __pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + int __pyx_4; + __pyx_v_parser = ((struct __pyx_obj_5_yaml_CParser *)Py_None); Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":853 */ + __pyx_1 = (PyObject *)__pyx_v_data; + Py_INCREF(__pyx_1); + Py_DECREF(((PyObject *)__pyx_v_parser)); + __pyx_v_parser = ((struct __pyx_obj_5_yaml_CParser *)__pyx_1); + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":854 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_parser->stream, __pyx_n_read); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; goto __pyx_L1;} + __pyx_2 = PyInt_FromLong(__pyx_v_size); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2); + __pyx_2 = 0; + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":855 */ + __pyx_4 = (PyString_CheckExact(__pyx_v_value) == 0); + if (__pyx_4) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":856 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;} + Py_INCREF(__pyx_k71p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k71p); + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":857 */ + __pyx_4 = (PyString_GET_SIZE(__pyx_v_value) > __pyx_v_size); + if (__pyx_4) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":858 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; goto __pyx_L1;} + Py_INCREF(__pyx_k72p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k72p); + __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; goto __pyx_L1;} + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":859 */ + memcpy(__pyx_v_buffer,PyString_AS_STRING(__pyx_v_value),PyString_GET_SIZE(__pyx_v_value)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":860 */ + (__pyx_v_read[0]) = PyString_GET_SIZE(__pyx_v_value); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":861 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.input_handler"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_parser); + Py_DECREF(__pyx_v_value); + return __pyx_r; +} + +static PyObject *__pyx_k73p; +static PyObject *__pyx_k74p; +static PyObject *__pyx_k75p; +static PyObject *__pyx_k76p; +static PyObject *__pyx_k77p; + +static char (__pyx_k73[]) = "\r"; +static char (__pyx_k74[]) = "\n"; +static char (__pyx_k75[]) = "\r\n"; +static char (__pyx_k76[]) = "utf-16-le"; +static char (__pyx_k77[]) = "utf-16-be"; + +static int __pyx_f_5_yaml_8CEmitter___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_f_5_yaml_8CEmitter___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_stream = 0; + PyObject *__pyx_v_canonical = 0; + PyObject *__pyx_v_indent = 0; + PyObject *__pyx_v_width = 0; + PyObject *__pyx_v_allow_unicode = 0; + PyObject *__pyx_v_line_break = 0; + PyObject *__pyx_v_encoding = 0; + PyObject *__pyx_v_explicit_start = 0; + PyObject *__pyx_v_explicit_end = 0; + PyObject *__pyx_v_version = 0; + PyObject *__pyx_v_tags = 0; + int __pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + static char *__pyx_argnames[] = {"stream","canonical","indent","width","allow_unicode","line_break","encoding","explicit_start","explicit_end","version","tags",0}; + __pyx_v_canonical = __pyx_k2; + __pyx_v_indent = __pyx_k3; + __pyx_v_width = __pyx_k4; + __pyx_v_allow_unicode = __pyx_k5; + __pyx_v_line_break = __pyx_k6; + __pyx_v_encoding = __pyx_k7; + __pyx_v_explicit_start = __pyx_k8; + __pyx_v_explicit_end = __pyx_k9; + __pyx_v_version = __pyx_k10; + __pyx_v_tags = __pyx_k11; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O|OOOOOOOOOO", __pyx_argnames, &__pyx_v_stream, &__pyx_v_canonical, &__pyx_v_indent, &__pyx_v_width, &__pyx_v_allow_unicode, &__pyx_v_line_break, &__pyx_v_encoding, &__pyx_v_explicit_start, &__pyx_v_explicit_end, &__pyx_v_version, &__pyx_v_tags)) return -1; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_stream); + Py_INCREF(__pyx_v_canonical); + Py_INCREF(__pyx_v_indent); + Py_INCREF(__pyx_v_width); + Py_INCREF(__pyx_v_allow_unicode); + Py_INCREF(__pyx_v_line_break); + Py_INCREF(__pyx_v_encoding); + Py_INCREF(__pyx_v_explicit_start); + Py_INCREF(__pyx_v_explicit_end); + Py_INCREF(__pyx_v_version); + Py_INCREF(__pyx_v_tags); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":883 */ + __pyx_1 = (yaml_emitter_initialize((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter)) == 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":884 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; goto __pyx_L1;} + __Pyx_Raise(__pyx_2, 0, 0); + Py_DECREF(__pyx_2); __pyx_2 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":885 */ + Py_INCREF(__pyx_v_stream); + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->stream); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->stream = __pyx_v_stream; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":886 */ + yaml_emitter_set_output((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),__pyx_f_5_yaml_output_handler,((void (*))__pyx_v_self)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":887 */ + __pyx_1 = __pyx_v_canonical != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":888 */ + yaml_emitter_set_canonical((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),1); + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":889 */ + __pyx_1 = __pyx_v_indent != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":890 */ + __pyx_1 = PyInt_AsLong(__pyx_v_indent); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; goto __pyx_L1;} + yaml_emitter_set_indent((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),__pyx_1); + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":891 */ + __pyx_1 = __pyx_v_width != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":892 */ + __pyx_1 = PyInt_AsLong(__pyx_v_width); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; goto __pyx_L1;} + yaml_emitter_set_width((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),__pyx_1); + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":893 */ + __pyx_1 = __pyx_v_allow_unicode != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":894 */ + yaml_emitter_set_unicode((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),1); + goto __pyx_L6; + } + __pyx_L6:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":895 */ + __pyx_1 = __pyx_v_line_break != Py_None; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":896 */ + if (PyObject_Cmp(__pyx_v_line_break, __pyx_k73p, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 896; goto __pyx_L1;} + __pyx_1 = __pyx_1 == 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":897 */ + yaml_emitter_set_break((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),YAML_CR_BREAK); + goto __pyx_L8; + } + if (PyObject_Cmp(__pyx_v_line_break, __pyx_k74p, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; goto __pyx_L1;} + __pyx_1 = __pyx_1 == 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":899 */ + yaml_emitter_set_break((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),YAML_LN_BREAK); + goto __pyx_L8; + } + if (PyObject_Cmp(__pyx_v_line_break, __pyx_k75p, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 900; goto __pyx_L1;} + __pyx_1 = __pyx_1 == 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":901 */ + yaml_emitter_set_break((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),YAML_CRLN_BREAK); + goto __pyx_L8; + } + __pyx_L8:; + goto __pyx_L7; + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":902 */ + if (PyObject_Cmp(__pyx_v_encoding, __pyx_k76p, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 902; goto __pyx_L1;} + __pyx_1 = __pyx_1 == 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":903 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_encoding = YAML_UTF16LE_ENCODING; + goto __pyx_L9; + } + if (PyObject_Cmp(__pyx_v_encoding, __pyx_k77p, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 904; goto __pyx_L1;} + __pyx_1 = __pyx_1 == 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":905 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_encoding = YAML_UTF16BE_ENCODING; + goto __pyx_L9; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":907 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_encoding = YAML_UTF8_ENCODING; + } + __pyx_L9:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":908 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_start_implicit = 1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":909 */ + __pyx_1 = PyObject_IsTrue(__pyx_v_explicit_start); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":910 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_start_implicit = 0; + goto __pyx_L10; + } + __pyx_L10:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":911 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_end_implicit = 1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":912 */ + __pyx_1 = PyObject_IsTrue(__pyx_v_explicit_end); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 912; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":913 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_end_implicit = 0; + goto __pyx_L11; + } + __pyx_L11:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":914 */ + Py_INCREF(__pyx_v_version); + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_version); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_version = __pyx_v_version; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":915 */ + Py_INCREF(__pyx_v_tags); + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags = __pyx_v_tags; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":916 */ + __pyx_2 = PyDict_New(); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->serialized_nodes); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->serialized_nodes = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":917 */ + __pyx_2 = PyDict_New(); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 917; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->anchors); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->anchors = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":918 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->last_alias_id = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":919 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed = (-1); + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml.CEmitter.__init__"); + __pyx_r = -1; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_stream); + Py_DECREF(__pyx_v_canonical); + Py_DECREF(__pyx_v_indent); + Py_DECREF(__pyx_v_width); + Py_DECREF(__pyx_v_allow_unicode); + Py_DECREF(__pyx_v_line_break); + Py_DECREF(__pyx_v_encoding); + Py_DECREF(__pyx_v_explicit_start); + Py_DECREF(__pyx_v_explicit_end); + Py_DECREF(__pyx_v_version); + Py_DECREF(__pyx_v_tags); + return __pyx_r; +} + +static void __pyx_f_5_yaml_8CEmitter___dealloc__(PyObject *__pyx_v_self); /*proto*/ +static void __pyx_f_5_yaml_8CEmitter___dealloc__(PyObject *__pyx_v_self) { + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":922 */ + yaml_emitter_delete((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter)); + + goto __pyx_L0; + __pyx_L1:; + __Pyx_AddTraceback("_yaml.CEmitter.__dealloc__"); + __pyx_L0:; + Py_DECREF(__pyx_v_self); +} + +static PyObject *__pyx_k78p; + +static char (__pyx_k78[]) = "no emitter error"; + +static PyObject *__pyx_f_5_yaml_8CEmitter__emitter_error(struct __pyx_obj_5_yaml_CEmitter *__pyx_v_self) { + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + Py_INCREF(__pyx_v_self); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":925 */ + __pyx_1 = (__pyx_v_self->emitter.error == YAML_MEMORY_ERROR); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":926 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; goto __pyx_L1;} + __pyx_r = __pyx_2; + __pyx_2 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_1 = (__pyx_v_self->emitter.error == YAML_EMITTER_ERROR); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":928 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_EmitterError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; goto __pyx_L1;} + __pyx_3 = PyString_FromString(__pyx_v_self->emitter.problem); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3); + __pyx_3 = 0; + __pyx_3 = PyObject_CallObject(__pyx_2, __pyx_4); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_r = __pyx_3; + __pyx_3 = 0; + goto __pyx_L0; + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":929 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 929; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 929; goto __pyx_L1;} + Py_INCREF(__pyx_k78p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k78p); + __pyx_3 = PyObject_CallObject(__pyx_2, __pyx_4); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 929; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 929; goto __pyx_L1;} + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CEmitter._emitter_error"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_n_encoding; +static PyObject *__pyx_n_version; +static PyObject *__pyx_n_tags; +static PyObject *__pyx_n_len; +static PyObject *__pyx_n_explicit; +static PyObject *__pyx_n_anchor; +static PyObject *__pyx_n_tag; +static PyObject *__pyx_n_value; +static PyObject *__pyx_n_implicit; +static PyObject *__pyx_n_style; +static PyObject *__pyx_n_flow_style; + +static PyObject *__pyx_k79p; +static PyObject *__pyx_k80p; +static PyObject *__pyx_k81p; +static PyObject *__pyx_k82p; +static PyObject *__pyx_k83p; +static PyObject *__pyx_k84p; +static PyObject *__pyx_k85p; +static PyObject *__pyx_k86p; +static PyObject *__pyx_k87p; +static PyObject *__pyx_k88p; +static PyObject *__pyx_k89p; +static PyObject *__pyx_k90p; +static PyObject *__pyx_k91p; +static PyObject *__pyx_k92p; +static PyObject *__pyx_k93p; +static PyObject *__pyx_k94p; +static PyObject *__pyx_k95p; +static PyObject *__pyx_k96p; + +static char (__pyx_k79[]) = "utf-16-le"; +static char (__pyx_k80[]) = "utf-16-be"; +static char (__pyx_k81[]) = "too many tags"; +static char (__pyx_k82[]) = "tag handle must be a string"; +static char (__pyx_k83[]) = "tag prefix must be a string"; +static char (__pyx_k84[]) = "anchor must be a string"; +static char (__pyx_k85[]) = "anchor must be a string"; +static char (__pyx_k86[]) = "tag must be a string"; +static char (__pyx_k87[]) = "value must be a string"; +static char (__pyx_k88[]) = "\'"; +static char (__pyx_k89[]) = "\""; +static char (__pyx_k90[]) = "|"; +static char (__pyx_k91[]) = ">"; +static char (__pyx_k92[]) = "anchor must be a string"; +static char (__pyx_k93[]) = "tag must be a string"; +static char (__pyx_k94[]) = "anchor must be a string"; +static char (__pyx_k95[]) = "tag must be a string"; +static char (__pyx_k96[]) = "invalid event %s"; + +static int __pyx_f_5_yaml_8CEmitter__object_to_event(struct __pyx_obj_5_yaml_CEmitter *__pyx_v_self,PyObject *__pyx_v_event_object,yaml_event_t (*__pyx_v_event)) { + yaml_encoding_t __pyx_v_encoding; + yaml_version_directive_t __pyx_v_version_directive_value; + yaml_version_directive_t (*__pyx_v_version_directive); + yaml_tag_directive_t (__pyx_v_tag_directives_value[128]); + yaml_tag_directive_t (*__pyx_v_tag_directives_start); + yaml_tag_directive_t (*__pyx_v_tag_directives_end); + int __pyx_v_implicit; + int __pyx_v_plain_implicit; + int __pyx_v_quoted_implicit; + char (*__pyx_v_anchor); + char (*__pyx_v_tag); + char (*__pyx_v_value); + int __pyx_v_length; + yaml_scalar_style_t __pyx_v_scalar_style; + yaml_sequence_style_t __pyx_v_sequence_style; + yaml_mapping_style_t __pyx_v_mapping_style; + PyObject *__pyx_v_event_class; + PyObject *__pyx_v_cache; + PyObject *__pyx_v_handle; + PyObject *__pyx_v_prefix; + PyObject *__pyx_v_anchor_object; + PyObject *__pyx_v_tag_object; + PyObject *__pyx_v_value_object; + PyObject *__pyx_v_style_object; + int __pyx_r; + PyObject *__pyx_1 = 0; + int __pyx_2; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_event_object); + __pyx_v_event_class = Py_None; Py_INCREF(Py_None); + __pyx_v_cache = Py_None; Py_INCREF(Py_None); + __pyx_v_handle = Py_None; Py_INCREF(Py_None); + __pyx_v_prefix = Py_None; Py_INCREF(Py_None); + __pyx_v_anchor_object = Py_None; Py_INCREF(Py_None); + __pyx_v_tag_object = Py_None; Py_INCREF(Py_None); + __pyx_v_value_object = Py_None; Py_INCREF(Py_None); + __pyx_v_style_object = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":948 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n___class__); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 948; goto __pyx_L1;} + Py_DECREF(__pyx_v_event_class); + __pyx_v_event_class = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":949 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_StreamStartEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":950 */ + __pyx_v_encoding = YAML_UTF8_ENCODING; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":951 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_encoding); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; goto __pyx_L1;} + if (PyObject_Cmp(__pyx_1, __pyx_k79p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":952 */ + __pyx_v_encoding = YAML_UTF16LE_ENCODING; + goto __pyx_L3; + } + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_encoding); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 953; goto __pyx_L1;} + if (PyObject_Cmp(__pyx_1, __pyx_k80p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 953; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":954 */ + __pyx_v_encoding = YAML_UTF16BE_ENCODING; + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":955 */ + yaml_stream_start_event_initialize(__pyx_v_event,__pyx_v_encoding); + goto __pyx_L2; + } + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_StreamEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 956; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":957 */ + yaml_stream_end_event_initialize(__pyx_v_event); + goto __pyx_L2; + } + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentStartEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 958; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":959 */ + __pyx_v_version_directive = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":960 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_version); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_1); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":961 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_version); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; goto __pyx_L1;} + __pyx_4 = PyObject_GetItem(__pyx_1, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_2 = PyInt_AsLong(__pyx_4); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_v_version_directive_value.major = __pyx_2; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":962 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_version); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 962; goto __pyx_L1;} + __pyx_3 = PyInt_FromLong(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 962; goto __pyx_L1;} + __pyx_4 = PyObject_GetItem(__pyx_1, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 962; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_2 = PyInt_AsLong(__pyx_4); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 962; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_v_version_directive_value.minor = __pyx_2; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":963 */ + __pyx_v_version_directive = (&__pyx_v_version_directive_value); + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":964 */ + __pyx_v_tag_directives_start = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":965 */ + __pyx_v_tag_directives_end = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":966 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tags); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_1); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":967 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_len); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tags); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + __pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_4); + __pyx_4 = 0; + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_3 = PyInt_FromLong(128); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + if (PyObject_Cmp(__pyx_4, __pyx_3, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; goto __pyx_L1;} + __pyx_2 = __pyx_2 > 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":968 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; goto __pyx_L1;} + Py_INCREF(__pyx_k81p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k81p); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; goto __pyx_L1;} + goto __pyx_L6; + } + __pyx_L6:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":969 */ + __pyx_v_tag_directives_start = __pyx_v_tag_directives_value; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":970 */ + __pyx_v_tag_directives_end = __pyx_v_tag_directives_value; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":971 */ + __pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; goto __pyx_L1;} + Py_DECREF(__pyx_v_cache); + __pyx_v_cache = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":972 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tags); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; goto __pyx_L1;} + __pyx_3 = PyObject_GetIter(__pyx_4); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + for (;;) { + __pyx_L7:; + __pyx_1 = PyIter_Next(__pyx_3); + if (!__pyx_1) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":973 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tags); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; goto __pyx_L1;} + __pyx_1 = PyObject_GetItem(__pyx_4, __pyx_v_handle); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_v_prefix); + __pyx_v_prefix = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":974 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_handle); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":975 */ + __pyx_4 = PyUnicode_AsUTF8String(__pyx_v_handle); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 975; goto __pyx_L1;} + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":976 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_cache, __pyx_n_append); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; goto __pyx_L1;} + Py_INCREF(__pyx_v_handle); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_handle); + __pyx_5 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + goto __pyx_L9; + } + __pyx_L9:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":977 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_handle)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":978 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; goto __pyx_L1;} + Py_INCREF(__pyx_k82p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k82p); + __pyx_5 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; goto __pyx_L1;} + goto __pyx_L10; + } + __pyx_L10:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":979 */ + __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":980 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_prefix); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":981 */ + __pyx_1 = PyUnicode_AsUTF8String(__pyx_v_prefix); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; goto __pyx_L1;} + Py_DECREF(__pyx_v_prefix); + __pyx_v_prefix = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":982 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_cache, __pyx_n_append); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; goto __pyx_L1;} + Py_INCREF(__pyx_v_prefix); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_prefix); + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + goto __pyx_L11; + } + __pyx_L11:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":983 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_prefix)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":984 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; goto __pyx_L1;} + Py_INCREF(__pyx_k83p); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_k83p); + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; goto __pyx_L1;} + goto __pyx_L12; + } + __pyx_L12:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":985 */ + __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":986 */ + __pyx_v_tag_directives_end = (__pyx_v_tag_directives_end + 1); + } + __pyx_L8:; + Py_DECREF(__pyx_3); __pyx_3 = 0; + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":987 */ + __pyx_v_implicit = 1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":988 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_explicit); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 988; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_4); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 988; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":989 */ + __pyx_v_implicit = 0; + goto __pyx_L13; + } + __pyx_L13:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":990 */ + __pyx_2 = (yaml_document_start_event_initialize(__pyx_v_event,__pyx_v_version_directive,__pyx_v_tag_directives_start,__pyx_v_tag_directives_end,__pyx_v_implicit) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":992 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; goto __pyx_L1;} + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 992; goto __pyx_L1;} + goto __pyx_L14; + } + __pyx_L14:; + goto __pyx_L2; + } + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_DocumentEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":994 */ + __pyx_v_implicit = 1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":995 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_explicit); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_3); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":996 */ + __pyx_v_implicit = 0; + goto __pyx_L15; + } + __pyx_L15:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":997 */ + yaml_document_end_event_initialize(__pyx_v_event,__pyx_v_implicit); + goto __pyx_L2; + } + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_AliasEvent); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_4; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":999 */ + __pyx_v_anchor = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1000 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_anchor); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1001 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_anchor_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1002 */ + __pyx_1 = PyUnicode_AsUTF8String(__pyx_v_anchor_object); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1002; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_1; + __pyx_1 = 0; + goto __pyx_L16; + } + __pyx_L16:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1003 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_anchor_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1004 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1004; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1004; goto __pyx_L1;} + Py_INCREF(__pyx_k84p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k84p); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1004; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1004; goto __pyx_L1;} + goto __pyx_L17; + } + __pyx_L17:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1005 */ + __pyx_v_anchor = PyString_AS_STRING(__pyx_v_anchor_object); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1006 */ + __pyx_2 = (yaml_alias_event_initialize(__pyx_v_event,__pyx_v_anchor) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1007 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1007; goto __pyx_L1;} + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1007; goto __pyx_L1;} + goto __pyx_L18; + } + __pyx_L18:; + goto __pyx_L2; + } + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarEvent); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_3; + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1009 */ + __pyx_v_anchor = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1010 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_anchor); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1011 */ + __pyx_2 = __pyx_v_anchor_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1012 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_anchor_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1013 */ + __pyx_5 = PyUnicode_AsUTF8String(__pyx_v_anchor_object); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1013; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_5; + __pyx_5 = 0; + goto __pyx_L20; + } + __pyx_L20:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1014 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_anchor_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1015 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; goto __pyx_L1;} + Py_INCREF(__pyx_k85p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k85p); + __pyx_4 = PyObject_CallObject(__pyx_1, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; goto __pyx_L1;} + goto __pyx_L21; + } + __pyx_L21:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1016 */ + __pyx_v_anchor = PyString_AS_STRING(__pyx_v_anchor_object); + goto __pyx_L19; + } + __pyx_L19:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1017 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1018 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tag); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1019 */ + __pyx_2 = __pyx_v_tag_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1020 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1021 */ + __pyx_1 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1021; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_1; + __pyx_1 = 0; + goto __pyx_L23; + } + __pyx_L23:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1022 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1023 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; goto __pyx_L1;} + Py_INCREF(__pyx_k86p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k86p); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; goto __pyx_L1;} + goto __pyx_L24; + } + __pyx_L24:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1024 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L22; + } + __pyx_L22:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1025 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_value); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; goto __pyx_L1;} + Py_DECREF(__pyx_v_value_object); + __pyx_v_value_object = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1026 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_value_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1027 */ + __pyx_3 = PyUnicode_AsUTF8String(__pyx_v_value_object); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; goto __pyx_L1;} + Py_DECREF(__pyx_v_value_object); + __pyx_v_value_object = __pyx_3; + __pyx_3 = 0; + goto __pyx_L25; + } + __pyx_L25:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1028 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_value_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1029 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; goto __pyx_L1;} + Py_INCREF(__pyx_k87p); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_k87p); + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; goto __pyx_L1;} + goto __pyx_L26; + } + __pyx_L26:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1030 */ + __pyx_v_value = PyString_AS_STRING(__pyx_v_value_object); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1031 */ + __pyx_v_length = PyString_GET_SIZE(__pyx_v_value_object); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1032 */ + __pyx_v_plain_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1033 */ + __pyx_v_quoted_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1034 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_implicit); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1034; goto __pyx_L1;} + __pyx_2 = __pyx_3 != Py_None; + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1035 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_implicit); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; goto __pyx_L1;} + __pyx_5 = PyInt_FromLong(0); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; goto __pyx_L1;} + __pyx_1 = PyObject_GetItem(__pyx_4, __pyx_5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __pyx_2 = PyInt_AsLong(__pyx_1); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_v_plain_implicit = __pyx_2; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1036 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_implicit); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; goto __pyx_L1;} + __pyx_4 = PyInt_FromLong(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; goto __pyx_L1;} + __pyx_5 = PyObject_GetItem(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_2 = PyInt_AsLong(__pyx_5); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + __pyx_v_quoted_implicit = __pyx_2; + goto __pyx_L27; + } + __pyx_L27:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1037 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_style); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1037; goto __pyx_L1;} + Py_DECREF(__pyx_v_style_object); + __pyx_v_style_object = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1038 */ + __pyx_v_scalar_style = YAML_PLAIN_SCALAR_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1039 */ + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k88p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1040 */ + __pyx_v_scalar_style = YAML_SINGLE_QUOTED_SCALAR_STYLE; + goto __pyx_L28; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k89p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1041; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1042 */ + __pyx_v_scalar_style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; + goto __pyx_L28; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k90p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1043; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1044 */ + __pyx_v_scalar_style = YAML_LITERAL_SCALAR_STYLE; + goto __pyx_L28; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k91p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1046 */ + __pyx_v_scalar_style = YAML_FOLDED_SCALAR_STYLE; + goto __pyx_L28; + } + __pyx_L28:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1047 */ + __pyx_2 = (yaml_scalar_event_initialize(__pyx_v_event,__pyx_v_anchor,__pyx_v_tag,__pyx_v_value,__pyx_v_length,__pyx_v_plain_implicit,__pyx_v_quoted_implicit,__pyx_v_scalar_style) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1049 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; goto __pyx_L1;} + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; goto __pyx_L1;} + goto __pyx_L29; + } + __pyx_L29:; + goto __pyx_L2; + } + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceStartEvent); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_4; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1051 */ + __pyx_v_anchor = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1052 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_anchor); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1053 */ + __pyx_2 = __pyx_v_anchor_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1054 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_anchor_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1055 */ + __pyx_1 = PyUnicode_AsUTF8String(__pyx_v_anchor_object); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_1; + __pyx_1 = 0; + goto __pyx_L31; + } + __pyx_L31:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1056 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_anchor_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1057 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; goto __pyx_L1;} + Py_INCREF(__pyx_k92p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k92p); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; goto __pyx_L1;} + goto __pyx_L32; + } + __pyx_L32:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1058 */ + __pyx_v_anchor = PyString_AS_STRING(__pyx_v_anchor_object); + goto __pyx_L30; + } + __pyx_L30:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1059 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1060 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tag); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1060; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1061 */ + __pyx_2 = __pyx_v_tag_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1062 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1063 */ + __pyx_3 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1063; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_3; + __pyx_3 = 0; + goto __pyx_L34; + } + __pyx_L34:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1064 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1065 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; goto __pyx_L1;} + Py_INCREF(__pyx_k93p); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_k93p); + __pyx_1 = PyObject_CallObject(__pyx_4, __pyx_5); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; goto __pyx_L1;} + goto __pyx_L35; + } + __pyx_L35:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1066 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L33; + } + __pyx_L33:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1067 */ + __pyx_v_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1068 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_implicit); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_3); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1069 */ + __pyx_v_implicit = 1; + goto __pyx_L36; + } + __pyx_L36:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1070 */ + __pyx_v_sequence_style = YAML_BLOCK_SEQUENCE_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1071 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_flow_style); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_4); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1072 */ + __pyx_v_sequence_style = YAML_FLOW_SEQUENCE_STYLE; + goto __pyx_L37; + } + __pyx_L37:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1073 */ + __pyx_2 = (yaml_sequence_start_event_initialize(__pyx_v_event,__pyx_v_anchor,__pyx_v_tag,__pyx_v_implicit,__pyx_v_sequence_style) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1075 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1075; goto __pyx_L1;} + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1075; goto __pyx_L1;} + goto __pyx_L38; + } + __pyx_L38:; + goto __pyx_L2; + } + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_MappingStartEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1077 */ + __pyx_v_anchor = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1078 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_anchor); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1078; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1079 */ + __pyx_2 = __pyx_v_anchor_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1080 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_anchor_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1081 */ + __pyx_4 = PyUnicode_AsUTF8String(__pyx_v_anchor_object); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_4; + __pyx_4 = 0; + goto __pyx_L40; + } + __pyx_L40:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1082 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_anchor_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1083 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; goto __pyx_L1;} + __pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; goto __pyx_L1;} + Py_INCREF(__pyx_k94p); + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_k94p); + __pyx_3 = PyObject_CallObject(__pyx_5, __pyx_1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; goto __pyx_L1;} + goto __pyx_L41; + } + __pyx_L41:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1084 */ + __pyx_v_anchor = PyString_AS_STRING(__pyx_v_anchor_object); + goto __pyx_L39; + } + __pyx_L39:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1085 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1086 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_tag); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1086; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1087 */ + __pyx_2 = __pyx_v_tag_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1088 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1089 */ + __pyx_5 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1089; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_5; + __pyx_5 = 0; + goto __pyx_L43; + } + __pyx_L43:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1090 */ + __pyx_2 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1091 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; goto __pyx_L1;} + Py_INCREF(__pyx_k95p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k95p); + __pyx_4 = PyObject_CallObject(__pyx_1, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; goto __pyx_L1;} + goto __pyx_L44; + } + __pyx_L44:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1092 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L42; + } + __pyx_L42:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1093 */ + __pyx_v_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1094 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_implicit); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1094; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_5); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1094; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1095 */ + __pyx_v_implicit = 1; + goto __pyx_L45; + } + __pyx_L45:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1096 */ + __pyx_v_mapping_style = YAML_BLOCK_MAPPING_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1097 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_event_object, __pyx_n_flow_style); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1097; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_1); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1097; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1098 */ + __pyx_v_mapping_style = YAML_FLOW_MAPPING_STYLE; + goto __pyx_L46; + } + __pyx_L46:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1099 */ + __pyx_2 = (yaml_mapping_start_event_initialize(__pyx_v_event,__pyx_v_anchor,__pyx_v_tag,__pyx_v_implicit,__pyx_v_mapping_style) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1101 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; goto __pyx_L1;} + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; goto __pyx_L1;} + goto __pyx_L47; + } + __pyx_L47:; + goto __pyx_L2; + } + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceEndEvent); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1102; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_4; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1103 */ + yaml_sequence_end_event_initialize(__pyx_v_event); + goto __pyx_L2; + } + __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_MappingEndEvent); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1104; goto __pyx_L1;} + __pyx_2 = __pyx_v_event_class == __pyx_5; + Py_DECREF(__pyx_5); __pyx_5 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1105 */ + yaml_mapping_end_event_initialize(__pyx_v_event); + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1107 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; goto __pyx_L1;} + __pyx_3 = PyNumber_Remainder(__pyx_k96p, __pyx_v_event_object); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3); + __pyx_3 = 0; + __pyx_5 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; goto __pyx_L1;} + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1108 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + __Pyx_AddTraceback("_yaml.CEmitter._object_to_event"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_event_class); + Py_DECREF(__pyx_v_cache); + Py_DECREF(__pyx_v_handle); + Py_DECREF(__pyx_v_prefix); + Py_DECREF(__pyx_v_anchor_object); + Py_DECREF(__pyx_v_tag_object); + Py_DECREF(__pyx_v_value_object); + Py_DECREF(__pyx_v_style_object); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_event_object); + return __pyx_r; +} + +static PyObject *__pyx_f_5_yaml_8CEmitter_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_8CEmitter_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_event_object = 0; + yaml_event_t __pyx_v_event; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + static char *__pyx_argnames[] = {"event_object",0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O", __pyx_argnames, &__pyx_v_event_object)) return 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_event_object); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1112 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_object_to_event(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self),__pyx_v_event_object,(&__pyx_v_event)); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1113 */ + __pyx_1 = yaml_emitter_emit((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1113; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1114 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_emitter_error(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1114; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1115 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.CEmitter.emit"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_event_object); + return __pyx_r; +} + +static PyObject *__pyx_k97p; +static PyObject *__pyx_k98p; + +static char (__pyx_k97[]) = "serializer is closed"; +static char (__pyx_k98[]) = "serializer is already opened"; + +static PyObject *__pyx_f_5_yaml_8CEmitter_open(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_8CEmitter_open(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + yaml_event_t __pyx_v_event; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + int __pyx_2; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1119 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == (-1)); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1120 */ + yaml_stream_start_event_initialize((&__pyx_v_event),((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_encoding); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1121 */ + __pyx_1 = yaml_emitter_emit((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1121; goto __pyx_L1;} + __pyx_2 = (__pyx_1 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1122 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_emitter_error(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1122; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1123 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; goto __pyx_L1;} + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1124 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed = 0; + goto __pyx_L2; + } + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == 1); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1126 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_SerializerError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; goto __pyx_L1;} + Py_INCREF(__pyx_k97p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k97p); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; goto __pyx_L1;} + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1128 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_SerializerError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; goto __pyx_L1;} + __pyx_4 = PyTuple_New(1); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; goto __pyx_L1;} + Py_INCREF(__pyx_k98p); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_k98p); + __pyx_5 = PyObject_CallObject(__pyx_3, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; goto __pyx_L1;} + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + __Pyx_AddTraceback("_yaml.CEmitter.open"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_k99p; + +static char (__pyx_k99[]) = "serializer is not opened"; + +static PyObject *__pyx_f_5_yaml_8CEmitter_close(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_8CEmitter_close(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + yaml_event_t __pyx_v_event; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + int __pyx_5; + static char *__pyx_argnames[] = {0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; + Py_INCREF(__pyx_v_self); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1132 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == (-1)); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1133 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_SerializerError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; goto __pyx_L1;} + Py_INCREF(__pyx_k99p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k99p); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1135 */ + yaml_stream_end_event_initialize((&__pyx_v_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1136 */ + __pyx_1 = yaml_emitter_emit((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1136; goto __pyx_L1;} + __pyx_5 = (__pyx_1 == 0); + if (__pyx_5) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1137 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_emitter_error(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1138 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1138; goto __pyx_L1;} + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1139 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed = 1; + goto __pyx_L2; + } + __pyx_L2:; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + __Pyx_AddTraceback("_yaml.CEmitter.close"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + return __pyx_r; +} + +static PyObject *__pyx_k100p; +static PyObject *__pyx_k101p; +static PyObject *__pyx_k102p; +static PyObject *__pyx_k103p; +static PyObject *__pyx_k104p; + +static char (__pyx_k100[]) = "serializer is not opened"; +static char (__pyx_k101[]) = "serializer is closed"; +static char (__pyx_k102[]) = "too many tags"; +static char (__pyx_k103[]) = "tag handle must be a string"; +static char (__pyx_k104[]) = "tag prefix must be a string"; + +static PyObject *__pyx_f_5_yaml_8CEmitter_serialize(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static PyObject *__pyx_f_5_yaml_8CEmitter_serialize(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_node = 0; + yaml_event_t __pyx_v_event; + yaml_version_directive_t __pyx_v_version_directive_value; + yaml_version_directive_t (*__pyx_v_version_directive); + yaml_tag_directive_t (__pyx_v_tag_directives_value[128]); + yaml_tag_directive_t (*__pyx_v_tag_directives_start); + yaml_tag_directive_t (*__pyx_v_tag_directives_end); + PyObject *__pyx_v_cache; + PyObject *__pyx_v_handle; + PyObject *__pyx_v_prefix; + PyObject *__pyx_v_error; + PyObject *__pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + int __pyx_6; + static char *__pyx_argnames[] = {"node",0}; + if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O", __pyx_argnames, &__pyx_v_node)) return 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_node); + __pyx_v_cache = Py_None; Py_INCREF(Py_None); + __pyx_v_handle = Py_None; Py_INCREF(Py_None); + __pyx_v_prefix = Py_None; Py_INCREF(Py_None); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1148 */ + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == (-1)); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1149 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_SerializerError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; goto __pyx_L1;} + Py_INCREF(__pyx_k100p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k100p); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_1 = (((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->closed == 1); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1151 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_SerializerError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; goto __pyx_L1;} + Py_INCREF(__pyx_k101p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k101p); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; goto __pyx_L1;} + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1152 */ + __pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; goto __pyx_L1;} + Py_DECREF(__pyx_v_cache); + __pyx_v_cache = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1153 */ + __pyx_v_version_directive = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1154 */ + __pyx_1 = PyObject_IsTrue(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_version); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1154; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1155 */ + __pyx_3 = PyInt_FromLong(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1155; goto __pyx_L1;} + __pyx_4 = PyObject_GetItem(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_version, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1155; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_1 = PyInt_AsLong(__pyx_4); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1155; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + __pyx_v_version_directive_value.major = __pyx_1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1156 */ + __pyx_2 = PyInt_FromLong(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1156; goto __pyx_L1;} + __pyx_3 = PyObject_GetItem(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_version, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1156; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_1 = PyInt_AsLong(__pyx_3); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1156; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + __pyx_v_version_directive_value.minor = __pyx_1; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1157 */ + __pyx_v_version_directive = (&__pyx_v_version_directive_value); + goto __pyx_L3; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1158 */ + __pyx_v_tag_directives_start = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1159 */ + __pyx_v_tag_directives_end = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1160 */ + __pyx_1 = PyObject_IsTrue(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1161 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_len); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; goto __pyx_L1;} + __pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; goto __pyx_L1;} + Py_INCREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags); + PyTuple_SET_ITEM(__pyx_2, 0, ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags); + __pyx_3 = PyObject_CallObject(__pyx_4, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_4 = PyInt_FromLong(128); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; goto __pyx_L1;} + if (PyObject_Cmp(__pyx_3, __pyx_4, &__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; goto __pyx_L1;} + __pyx_1 = __pyx_1 > 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1162 */ + __pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_ValueError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; goto __pyx_L1;} + Py_INCREF(__pyx_k102p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k102p); + __pyx_4 = PyObject_CallObject(__pyx_2, __pyx_3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; goto __pyx_L1;} + goto __pyx_L5; + } + __pyx_L5:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1163 */ + __pyx_v_tag_directives_start = __pyx_v_tag_directives_value; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1164 */ + __pyx_v_tag_directives_end = __pyx_v_tag_directives_value; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1165 */ + __pyx_2 = PyObject_GetIter(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; goto __pyx_L1;} + for (;;) { + __pyx_L6:; + __pyx_3 = PyIter_Next(__pyx_2); + if (!__pyx_3) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1166 */ + __pyx_4 = PyObject_GetItem(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->use_tags, __pyx_v_handle); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; goto __pyx_L1;} + Py_DECREF(__pyx_v_prefix); + __pyx_v_prefix = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1167 */ + __pyx_1 = PyUnicode_CheckExact(__pyx_v_handle); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1168 */ + __pyx_3 = PyUnicode_AsUTF8String(__pyx_v_handle); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; goto __pyx_L1;} + Py_DECREF(__pyx_v_handle); + __pyx_v_handle = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1169 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_cache, __pyx_n_append); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; goto __pyx_L1;} + Py_INCREF(__pyx_v_handle); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_handle); + __pyx_5 = PyObject_CallObject(__pyx_4, __pyx_3); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + goto __pyx_L8; + } + __pyx_L8:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1170 */ + __pyx_1 = (!PyString_CheckExact(__pyx_v_handle)); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1171 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; goto __pyx_L1;} + __pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; goto __pyx_L1;} + Py_INCREF(__pyx_k103p); + PyTuple_SET_ITEM(__pyx_3, 0, __pyx_k103p); + __pyx_5 = PyObject_CallObject(__pyx_4, __pyx_3); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; goto __pyx_L1;} + goto __pyx_L9; + } + __pyx_L9:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1172 */ + __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1173 */ + __pyx_1 = PyUnicode_CheckExact(__pyx_v_prefix); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1174 */ + __pyx_4 = PyUnicode_AsUTF8String(__pyx_v_prefix); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1174; goto __pyx_L1;} + Py_DECREF(__pyx_v_prefix); + __pyx_v_prefix = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1175 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_cache, __pyx_n_append); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; goto __pyx_L1;} + Py_INCREF(__pyx_v_prefix); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_prefix); + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_5); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + goto __pyx_L10; + } + __pyx_L10:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1176 */ + __pyx_1 = (!PyString_CheckExact(__pyx_v_prefix)); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1177 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; goto __pyx_L1;} + __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; goto __pyx_L1;} + Py_INCREF(__pyx_k104p); + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_k104p); + __pyx_4 = PyObject_CallObject(__pyx_3, __pyx_5); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + __Pyx_Raise(__pyx_4, 0, 0); + Py_DECREF(__pyx_4); __pyx_4 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; goto __pyx_L1;} + goto __pyx_L11; + } + __pyx_L11:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1178 */ + __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1179 */ + __pyx_v_tag_directives_end = (__pyx_v_tag_directives_end + 1); + } + __pyx_L7:; + Py_DECREF(__pyx_2); __pyx_2 = 0; + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1180 */ + __pyx_1 = (yaml_document_start_event_initialize((&__pyx_v_event),__pyx_v_version_directive,__pyx_v_tag_directives_start,__pyx_v_tag_directives_end,((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_start_implicit) == 0); + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1183 */ + __pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; goto __pyx_L1;} + __Pyx_Raise(__pyx_3, 0, 0); + Py_DECREF(__pyx_3); __pyx_3 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; goto __pyx_L1;} + goto __pyx_L12; + } + __pyx_L12:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1184 */ + __pyx_1 = yaml_emitter_emit((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; goto __pyx_L1;} + __pyx_6 = (__pyx_1 == 0); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1185 */ + __pyx_5 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_emitter_error(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1185; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1186 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; goto __pyx_L1;} + goto __pyx_L13; + } + __pyx_L13:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1187 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_anchor_node(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self),__pyx_v_node); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1188 */ + __pyx_6 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_serialize_node(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self),__pyx_v_node,Py_None,Py_None); if (__pyx_6 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1189 */ + yaml_document_end_event_initialize((&__pyx_v_event),((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->document_end_implicit); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1190 */ + __pyx_1 = yaml_emitter_emit((&((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; goto __pyx_L1;} + __pyx_6 = (__pyx_1 == 0); + if (__pyx_6) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1191 */ + __pyx_4 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->__pyx_vtab)->_emitter_error(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1192 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; goto __pyx_L1;} + goto __pyx_L14; + } + __pyx_L14:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1193 */ + __pyx_2 = PyDict_New(); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1193; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->serialized_nodes); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->serialized_nodes = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1194 */ + __pyx_3 = PyDict_New(); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; goto __pyx_L1;} + Py_DECREF(((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->anchors); + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->anchors = __pyx_3; + __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1195 */ + ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_v_self)->last_alias_id = 0; + + __pyx_r = Py_None; Py_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + __Pyx_AddTraceback("_yaml.CEmitter.serialize"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_cache); + Py_DECREF(__pyx_v_handle); + Py_DECREF(__pyx_v_prefix); + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_node); + return __pyx_r; +} + +static PyObject *__pyx_k105p; + +static char (__pyx_k105[]) = "id%03d"; + +static int __pyx_f_5_yaml_8CEmitter__anchor_node(struct __pyx_obj_5_yaml_CEmitter *__pyx_v_self,PyObject *__pyx_v_node) { + PyObject *__pyx_v_node_class; + PyObject *__pyx_v_item; + PyObject *__pyx_v_key; + PyObject *__pyx_v_value; + int __pyx_r; + int __pyx_1; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_node); + __pyx_v_node_class = Py_None; Py_INCREF(Py_None); + __pyx_v_item = Py_None; Py_INCREF(Py_None); + __pyx_v_key = Py_None; Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1198 */ + __pyx_1 = PySequence_Contains(__pyx_v_self->anchors, __pyx_v_node); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1198; goto __pyx_L1;} + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1199 */ + __pyx_2 = PyObject_GetItem(__pyx_v_self->anchors, __pyx_v_node); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1199; goto __pyx_L1;} + __pyx_1 = __pyx_2 == Py_None; + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1200 */ + __pyx_v_self->last_alias_id = (__pyx_v_self->last_alias_id + 1); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1201 */ + __pyx_2 = PyInt_FromLong(__pyx_v_self->last_alias_id); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; goto __pyx_L1;} + __pyx_3 = PyNumber_Remainder(__pyx_k105p, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetItem(__pyx_v_self->anchors, __pyx_v_node, __pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + goto __pyx_L3; + } + __pyx_L3:; + goto __pyx_L2; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1203 */ + if (PyObject_SetItem(__pyx_v_self->anchors, __pyx_v_node, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1204 */ + __pyx_2 = PyObject_GetAttr(__pyx_v_node, __pyx_n___class__); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1204; goto __pyx_L1;} + Py_DECREF(__pyx_v_node_class); + __pyx_v_node_class = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1205 */ + __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceNode); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1205; goto __pyx_L1;} + __pyx_1 = __pyx_v_node_class == __pyx_3; + Py_DECREF(__pyx_3); __pyx_3 = 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1206 */ + __pyx_2 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; goto __pyx_L1;} + __pyx_3 = PyObject_GetIter(__pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + for (;;) { + __pyx_L5:; + __pyx_2 = PyIter_Next(__pyx_3); + if (!__pyx_2) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_item); + __pyx_v_item = __pyx_2; + __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1207 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_anchor_node(__pyx_v_self,__pyx_v_item); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; goto __pyx_L1;} + } + __pyx_L6:; + Py_DECREF(__pyx_3); __pyx_3 = 0; + goto __pyx_L4; + } + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_MappingNode); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; goto __pyx_L1;} + __pyx_1 = __pyx_v_node_class == __pyx_2; + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (__pyx_1) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1209 */ + __pyx_3 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + __pyx_2 = PyObject_GetIter(__pyx_3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + for (;;) { + __pyx_L7:; + __pyx_3 = PyIter_Next(__pyx_2); + if (!__pyx_3) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + break; + } + __pyx_4 = __Pyx_UnpackItem(__pyx_3, 0); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + Py_DECREF(__pyx_v_key); + __pyx_v_key = __pyx_4; + __pyx_4 = 0; + __pyx_5 = __Pyx_UnpackItem(__pyx_3, 1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_5; + __pyx_5 = 0; + if (__Pyx_EndUnpack(__pyx_3, 2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; goto __pyx_L1;} + Py_DECREF(__pyx_3); __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1210 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_anchor_node(__pyx_v_self,__pyx_v_key); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1211 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_anchor_node(__pyx_v_self,__pyx_v_value); if (__pyx_1 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1211; goto __pyx_L1;} + } + __pyx_L8:; + Py_DECREF(__pyx_2); __pyx_2 = 0; + goto __pyx_L4; + } + __pyx_L4:; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1212 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + __Pyx_AddTraceback("_yaml.CEmitter._anchor_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_node_class); + Py_DECREF(__pyx_v_item); + Py_DECREF(__pyx_v_key); + Py_DECREF(__pyx_v_value); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_node); + return __pyx_r; +} + +static PyObject *__pyx_k106p; +static PyObject *__pyx_k107p; +static PyObject *__pyx_k108p; +static PyObject *__pyx_k109p; +static PyObject *__pyx_k110p; +static PyObject *__pyx_k111p; +static PyObject *__pyx_k112p; +static PyObject *__pyx_k113p; + +static char (__pyx_k106[]) = "tag must be a string"; +static char (__pyx_k107[]) = "value must be a string"; +static char (__pyx_k108[]) = "\'"; +static char (__pyx_k109[]) = "\""; +static char (__pyx_k110[]) = "|"; +static char (__pyx_k111[]) = ">"; +static char (__pyx_k112[]) = "tag must be a string"; +static char (__pyx_k113[]) = "tag must be a string"; + +static int __pyx_f_5_yaml_8CEmitter__serialize_node(struct __pyx_obj_5_yaml_CEmitter *__pyx_v_self,PyObject *__pyx_v_node,PyObject *__pyx_v_parent,PyObject *__pyx_v_index) { + yaml_event_t __pyx_v_event; + int __pyx_v_implicit; + int __pyx_v_plain_implicit; + int __pyx_v_quoted_implicit; + char (*__pyx_v_anchor); + char (*__pyx_v_tag); + char (*__pyx_v_value); + int __pyx_v_length; + int __pyx_v_item_index; + yaml_scalar_style_t __pyx_v_scalar_style; + yaml_sequence_style_t __pyx_v_sequence_style; + yaml_mapping_style_t __pyx_v_mapping_style; + PyObject *__pyx_v_anchor_object; + PyObject *__pyx_v_error; + PyObject *__pyx_v_node_class; + PyObject *__pyx_v_tag_object; + PyObject *__pyx_v_value_object; + PyObject *__pyx_v_style_object; + PyObject *__pyx_v_item; + PyObject *__pyx_v_item_key; + PyObject *__pyx_v_item_value; + int __pyx_r; + PyObject *__pyx_1 = 0; + int __pyx_2; + int __pyx_3; + PyObject *__pyx_4 = 0; + PyObject *__pyx_5 = 0; + PyObject *__pyx_6 = 0; + PyObject *__pyx_7 = 0; + PyObject *__pyx_8 = 0; + Py_INCREF(__pyx_v_self); + Py_INCREF(__pyx_v_node); + Py_INCREF(__pyx_v_parent); + Py_INCREF(__pyx_v_index); + __pyx_v_anchor_object = Py_None; Py_INCREF(Py_None); + __pyx_v_error = Py_None; Py_INCREF(Py_None); + __pyx_v_node_class = Py_None; Py_INCREF(Py_None); + __pyx_v_tag_object = Py_None; Py_INCREF(Py_None); + __pyx_v_value_object = Py_None; Py_INCREF(Py_None); + __pyx_v_style_object = Py_None; Py_INCREF(Py_None); + __pyx_v_item = Py_None; Py_INCREF(Py_None); + __pyx_v_item_key = Py_None; Py_INCREF(Py_None); + __pyx_v_item_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1227 */ + __pyx_1 = PyObject_GetItem(__pyx_v_self->anchors, __pyx_v_node); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1227; goto __pyx_L1;} + Py_DECREF(__pyx_v_anchor_object); + __pyx_v_anchor_object = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1228 */ + __pyx_v_anchor = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1229 */ + __pyx_2 = __pyx_v_anchor_object != Py_None; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1230 */ + __pyx_v_anchor = PyString_AS_STRING(__pyx_v_anchor_object); + goto __pyx_L2; + } + __pyx_L2:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1231 */ + __pyx_2 = PySequence_Contains(__pyx_v_self->serialized_nodes, __pyx_v_node); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; goto __pyx_L1;} + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1232 */ + __pyx_2 = (yaml_alias_event_initialize((&__pyx_v_event),__pyx_v_anchor) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1233 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; goto __pyx_L1;} + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; goto __pyx_L1;} + goto __pyx_L4; + } + __pyx_L4:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1234 */ + __pyx_2 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; goto __pyx_L1;} + __pyx_3 = (__pyx_2 == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1235 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1235; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1236 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1236; goto __pyx_L1;} + goto __pyx_L5; + } + __pyx_L5:; + goto __pyx_L3; + } + /*else*/ { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1238 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_node, __pyx_n___class__); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1238; goto __pyx_L1;} + Py_DECREF(__pyx_v_node_class); + __pyx_v_node_class = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1239 */ + __pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1239; goto __pyx_L1;} + if (PyObject_SetItem(__pyx_v_self->serialized_nodes, __pyx_v_node, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1239; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1240 */ + __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_descend_resolver); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1240; goto __pyx_L1;} + __pyx_4 = PyTuple_New(2); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1240; goto __pyx_L1;} + Py_INCREF(__pyx_v_parent); + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_parent); + Py_INCREF(__pyx_v_index); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_index); + __pyx_5 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1240; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1241 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; goto __pyx_L1;} + __pyx_2 = __pyx_v_node_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1242 */ + __pyx_v_plain_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1243 */ + __pyx_v_quoted_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1244 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_node, __pyx_n_tag); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1245 */ + __pyx_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_4 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_7 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_8 = PyTuple_New(2); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_8, 0, __pyx_6); + PyTuple_SET_ITEM(__pyx_8, 1, __pyx_7); + __pyx_6 = 0; + __pyx_7 = 0; + __pyx_6 = PyTuple_New(3); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_1); + PyTuple_SET_ITEM(__pyx_6, 1, __pyx_4); + PyTuple_SET_ITEM(__pyx_6, 2, __pyx_8); + __pyx_1 = 0; + __pyx_4 = 0; + __pyx_8 = 0; + __pyx_7 = PyObject_CallObject(__pyx_5, __pyx_6); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_6); __pyx_6 = 0; + if (PyObject_Cmp(__pyx_7, __pyx_v_tag_object, &__pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; goto __pyx_L1;} + __pyx_3 = __pyx_3 == 0; + Py_DECREF(__pyx_7); __pyx_7 = 0; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1246 */ + __pyx_v_plain_implicit = 1; + goto __pyx_L7; + } + __pyx_L7:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1247 */ + __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_ScalarNode); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_8 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_False); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_7 = PyTuple_New(2); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_7, 0, __pyx_5); + PyTuple_SET_ITEM(__pyx_7, 1, __pyx_6); + __pyx_5 = 0; + __pyx_6 = 0; + __pyx_5 = PyTuple_New(3); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_5, 0, __pyx_4); + PyTuple_SET_ITEM(__pyx_5, 1, __pyx_8); + PyTuple_SET_ITEM(__pyx_5, 2, __pyx_7); + __pyx_4 = 0; + __pyx_8 = 0; + __pyx_7 = 0; + __pyx_6 = PyObject_CallObject(__pyx_1, __pyx_5); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + if (PyObject_Cmp(__pyx_6, __pyx_v_tag_object, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + Py_DECREF(__pyx_6); __pyx_6 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1248 */ + __pyx_v_quoted_implicit = 1; + goto __pyx_L8; + } + __pyx_L8:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1249 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1250 */ + __pyx_3 = __pyx_v_tag_object != Py_None; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1251 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1252 */ + __pyx_4 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_4; + __pyx_4 = 0; + goto __pyx_L10; + } + __pyx_L10:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1253 */ + __pyx_3 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1254 */ + __pyx_8 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; goto __pyx_L1;} + __pyx_7 = PyTuple_New(1); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; goto __pyx_L1;} + Py_INCREF(__pyx_k106p); + PyTuple_SET_ITEM(__pyx_7, 0, __pyx_k106p); + __pyx_1 = PyObject_CallObject(__pyx_8, __pyx_7); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; goto __pyx_L1;} + Py_DECREF(__pyx_8); __pyx_8 = 0; + Py_DECREF(__pyx_7); __pyx_7 = 0; + __Pyx_Raise(__pyx_1, 0, 0); + Py_DECREF(__pyx_1); __pyx_1 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; goto __pyx_L1;} + goto __pyx_L11; + } + __pyx_L11:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1255 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L9; + } + __pyx_L9:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1256 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1256; goto __pyx_L1;} + Py_DECREF(__pyx_v_value_object); + __pyx_v_value_object = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1257 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_value_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1258 */ + __pyx_6 = PyUnicode_AsUTF8String(__pyx_v_value_object); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1258; goto __pyx_L1;} + Py_DECREF(__pyx_v_value_object); + __pyx_v_value_object = __pyx_6; + __pyx_6 = 0; + goto __pyx_L12; + } + __pyx_L12:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1259 */ + __pyx_3 = (!PyString_CheckExact(__pyx_v_value_object)); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1260 */ + __pyx_4 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1260; goto __pyx_L1;} + __pyx_8 = PyTuple_New(1); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1260; goto __pyx_L1;} + Py_INCREF(__pyx_k107p); + PyTuple_SET_ITEM(__pyx_8, 0, __pyx_k107p); + __pyx_7 = PyObject_CallObject(__pyx_4, __pyx_8); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1260; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + Py_DECREF(__pyx_8); __pyx_8 = 0; + __Pyx_Raise(__pyx_7, 0, 0); + Py_DECREF(__pyx_7); __pyx_7 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1260; goto __pyx_L1;} + goto __pyx_L13; + } + __pyx_L13:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1261 */ + __pyx_v_value = PyString_AS_STRING(__pyx_v_value_object); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1262 */ + __pyx_v_length = PyString_GET_SIZE(__pyx_v_value_object); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1263 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_node, __pyx_n_style); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; goto __pyx_L1;} + Py_DECREF(__pyx_v_style_object); + __pyx_v_style_object = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1264 */ + __pyx_v_scalar_style = YAML_PLAIN_SCALAR_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1265 */ + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k108p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1266 */ + __pyx_v_scalar_style = YAML_SINGLE_QUOTED_SCALAR_STYLE; + goto __pyx_L14; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k109p, &__pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1267; goto __pyx_L1;} + __pyx_3 = __pyx_3 == 0; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1268 */ + __pyx_v_scalar_style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; + goto __pyx_L14; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k110p, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1269; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1270 */ + __pyx_v_scalar_style = YAML_LITERAL_SCALAR_STYLE; + goto __pyx_L14; + } + if (PyObject_Cmp(__pyx_v_style_object, __pyx_k111p, &__pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1271; goto __pyx_L1;} + __pyx_3 = __pyx_3 == 0; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1272 */ + __pyx_v_scalar_style = YAML_FOLDED_SCALAR_STYLE; + goto __pyx_L14; + } + __pyx_L14:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1273 */ + __pyx_2 = (yaml_scalar_event_initialize((&__pyx_v_event),__pyx_v_anchor,__pyx_v_tag,__pyx_v_value,__pyx_v_length,__pyx_v_plain_implicit,__pyx_v_quoted_implicit,__pyx_v_scalar_style) == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1275 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; goto __pyx_L1;} + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; goto __pyx_L1;} + goto __pyx_L15; + } + __pyx_L15:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1276 */ + __pyx_3 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1276; goto __pyx_L1;} + __pyx_2 = (__pyx_3 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1277 */ + __pyx_6 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1277; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_6; + __pyx_6 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1278 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1278; goto __pyx_L1;} + goto __pyx_L16; + } + __pyx_L16:; + goto __pyx_L6; + } + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceNode); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; goto __pyx_L1;} + __pyx_3 = __pyx_v_node_class == __pyx_4; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1280 */ + __pyx_v_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1281 */ + __pyx_8 = PyObject_GetAttr(__pyx_v_node, __pyx_n_tag); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1281; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_8; + __pyx_8 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1282 */ + __pyx_7 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_SequenceNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + __pyx_5 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + __pyx_4 = PyTuple_New(3); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_4, 0, __pyx_1); + PyTuple_SET_ITEM(__pyx_4, 1, __pyx_5); + PyTuple_SET_ITEM(__pyx_4, 2, __pyx_6); + __pyx_1 = 0; + __pyx_5 = 0; + __pyx_6 = 0; + __pyx_8 = PyObject_CallObject(__pyx_7, __pyx_4); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + Py_DECREF(__pyx_7); __pyx_7 = 0; + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (PyObject_Cmp(__pyx_8, __pyx_v_tag_object, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1282; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + Py_DECREF(__pyx_8); __pyx_8 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1283 */ + __pyx_v_implicit = 1; + goto __pyx_L17; + } + __pyx_L17:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1284 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1285 */ + __pyx_3 = __pyx_v_tag_object != Py_None; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1286 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1287 */ + __pyx_1 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1287; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_1; + __pyx_1 = 0; + goto __pyx_L19; + } + __pyx_L19:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1288 */ + __pyx_3 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1289 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1289; goto __pyx_L1;} + __pyx_6 = PyTuple_New(1); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1289; goto __pyx_L1;} + Py_INCREF(__pyx_k112p); + PyTuple_SET_ITEM(__pyx_6, 0, __pyx_k112p); + __pyx_7 = PyObject_CallObject(__pyx_5, __pyx_6); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1289; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + Py_DECREF(__pyx_6); __pyx_6 = 0; + __Pyx_Raise(__pyx_7, 0, 0); + Py_DECREF(__pyx_7); __pyx_7 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1289; goto __pyx_L1;} + goto __pyx_L20; + } + __pyx_L20:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1290 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L18; + } + __pyx_L18:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1291 */ + __pyx_v_sequence_style = YAML_BLOCK_SEQUENCE_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1292 */ + __pyx_4 = PyObject_GetAttr(__pyx_v_node, __pyx_n_flow_style); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1292; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_4); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1292; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1293 */ + __pyx_v_sequence_style = YAML_FLOW_SEQUENCE_STYLE; + goto __pyx_L21; + } + __pyx_L21:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1294 */ + __pyx_3 = (yaml_sequence_start_event_initialize((&__pyx_v_event),__pyx_v_anchor,__pyx_v_tag,__pyx_v_implicit,__pyx_v_sequence_style) == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1296 */ + __pyx_8 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1296; goto __pyx_L1;} + __Pyx_Raise(__pyx_8, 0, 0); + Py_DECREF(__pyx_8); __pyx_8 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1296; goto __pyx_L1;} + goto __pyx_L22; + } + __pyx_L22:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1297 */ + __pyx_2 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1297; goto __pyx_L1;} + __pyx_3 = (__pyx_2 == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1298 */ + __pyx_1 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1298; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1299 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; goto __pyx_L1;} + goto __pyx_L23; + } + __pyx_L23:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1300 */ + __pyx_v_item_index = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1301 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; goto __pyx_L1;} + __pyx_6 = PyObject_GetIter(__pyx_5); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; goto __pyx_L1;} + Py_DECREF(__pyx_5); __pyx_5 = 0; + for (;;) { + __pyx_L24:; + __pyx_7 = PyIter_Next(__pyx_6); + if (!__pyx_7) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; goto __pyx_L1;} + break; + } + Py_DECREF(__pyx_v_item); + __pyx_v_item = __pyx_7; + __pyx_7 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1302 */ + __pyx_4 = PyInt_FromLong(__pyx_v_item_index); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; goto __pyx_L1;} + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_serialize_node(__pyx_v_self,__pyx_v_item,__pyx_v_node,__pyx_4); if (__pyx_2 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; goto __pyx_L1;} + Py_DECREF(__pyx_4); __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1303 */ + __pyx_v_item_index = (__pyx_v_item_index + 1); + } + __pyx_L25:; + Py_DECREF(__pyx_6); __pyx_6 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1304 */ + yaml_sequence_end_event_initialize((&__pyx_v_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1305 */ + __pyx_3 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; goto __pyx_L1;} + __pyx_2 = (__pyx_3 == 0); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1306 */ + __pyx_8 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1306; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_8; + __pyx_8 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1307 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1307; goto __pyx_L1;} + goto __pyx_L26; + } + __pyx_L26:; + goto __pyx_L6; + } + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_MappingNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1308; goto __pyx_L1;} + __pyx_3 = __pyx_v_node_class == __pyx_1; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1309 */ + __pyx_v_implicit = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1310 */ + __pyx_5 = PyObject_GetAttr(__pyx_v_node, __pyx_n_tag); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1310; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_5; + __pyx_5 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1311 */ + __pyx_7 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_resolve); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_MappingNode); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + __pyx_6 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + __pyx_8 = __Pyx_GetName(__pyx_b, __pyx_n_True); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + __pyx_1 = PyTuple_New(3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + PyTuple_SET_ITEM(__pyx_1, 0, __pyx_4); + PyTuple_SET_ITEM(__pyx_1, 1, __pyx_6); + PyTuple_SET_ITEM(__pyx_1, 2, __pyx_8); + __pyx_4 = 0; + __pyx_6 = 0; + __pyx_8 = 0; + __pyx_5 = PyObject_CallObject(__pyx_7, __pyx_1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + Py_DECREF(__pyx_7); __pyx_7 = 0; + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_Cmp(__pyx_5, __pyx_v_tag_object, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1311; goto __pyx_L1;} + __pyx_2 = __pyx_2 == 0; + Py_DECREF(__pyx_5); __pyx_5 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1312 */ + __pyx_v_implicit = 1; + goto __pyx_L27; + } + __pyx_L27:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1313 */ + __pyx_v_tag = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1314 */ + __pyx_3 = __pyx_v_tag_object != Py_None; + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1315 */ + __pyx_2 = PyUnicode_CheckExact(__pyx_v_tag_object); + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1316 */ + __pyx_4 = PyUnicode_AsUTF8String(__pyx_v_tag_object); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; goto __pyx_L1;} + Py_DECREF(__pyx_v_tag_object); + __pyx_v_tag_object = __pyx_4; + __pyx_4 = 0; + goto __pyx_L29; + } + __pyx_L29:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1317 */ + __pyx_3 = (!PyString_CheckExact(__pyx_v_tag_object)); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1318 */ + __pyx_6 = __Pyx_GetName(__pyx_b, __pyx_n_TypeError); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; goto __pyx_L1;} + __pyx_8 = PyTuple_New(1); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; goto __pyx_L1;} + Py_INCREF(__pyx_k113p); + PyTuple_SET_ITEM(__pyx_8, 0, __pyx_k113p); + __pyx_7 = PyObject_CallObject(__pyx_6, __pyx_8); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; goto __pyx_L1;} + Py_DECREF(__pyx_6); __pyx_6 = 0; + Py_DECREF(__pyx_8); __pyx_8 = 0; + __Pyx_Raise(__pyx_7, 0, 0); + Py_DECREF(__pyx_7); __pyx_7 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; goto __pyx_L1;} + goto __pyx_L30; + } + __pyx_L30:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1319 */ + __pyx_v_tag = PyString_AS_STRING(__pyx_v_tag_object); + goto __pyx_L28; + } + __pyx_L28:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1320 */ + __pyx_v_mapping_style = YAML_BLOCK_MAPPING_STYLE; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1321 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_node, __pyx_n_flow_style); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; goto __pyx_L1;} + __pyx_2 = PyObject_IsTrue(__pyx_1); if (__pyx_2 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (__pyx_2) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1322 */ + __pyx_v_mapping_style = YAML_FLOW_MAPPING_STYLE; + goto __pyx_L31; + } + __pyx_L31:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1323 */ + __pyx_3 = (yaml_mapping_start_event_initialize((&__pyx_v_event),__pyx_v_anchor,__pyx_v_tag,__pyx_v_implicit,__pyx_v_mapping_style) == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1325 */ + __pyx_5 = __Pyx_GetName(__pyx_b, __pyx_n_MemoryError); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; goto __pyx_L1;} + __Pyx_Raise(__pyx_5, 0, 0); + Py_DECREF(__pyx_5); __pyx_5 = 0; + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; goto __pyx_L1;} + goto __pyx_L32; + } + __pyx_L32:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1326 */ + __pyx_2 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1326; goto __pyx_L1;} + __pyx_3 = (__pyx_2 == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1327 */ + __pyx_4 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1327; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1328 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1328; goto __pyx_L1;} + goto __pyx_L33; + } + __pyx_L33:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1329 */ + __pyx_6 = PyObject_GetAttr(__pyx_v_node, __pyx_n_value); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + __pyx_8 = PyObject_GetIter(__pyx_6); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + Py_DECREF(__pyx_6); __pyx_6 = 0; + for (;;) { + __pyx_L34:; + __pyx_7 = PyIter_Next(__pyx_8); + if (!__pyx_7) { + if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + break; + } + __pyx_1 = __Pyx_UnpackItem(__pyx_7, 0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + Py_DECREF(__pyx_v_item_key); + __pyx_v_item_key = __pyx_1; + __pyx_1 = 0; + __pyx_5 = __Pyx_UnpackItem(__pyx_7, 1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + Py_DECREF(__pyx_v_item_value); + __pyx_v_item_value = __pyx_5; + __pyx_5 = 0; + if (__Pyx_EndUnpack(__pyx_7, 2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; goto __pyx_L1;} + Py_DECREF(__pyx_7); __pyx_7 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1330 */ + __pyx_2 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_serialize_node(__pyx_v_self,__pyx_v_item_key,__pyx_v_node,Py_None); if (__pyx_2 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1330; goto __pyx_L1;} + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1331 */ + __pyx_3 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_serialize_node(__pyx_v_self,__pyx_v_item_value,__pyx_v_node,__pyx_v_item_key); if (__pyx_3 == 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; goto __pyx_L1;} + } + __pyx_L35:; + Py_DECREF(__pyx_8); __pyx_8 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1332 */ + yaml_mapping_end_event_initialize((&__pyx_v_event)); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1333 */ + __pyx_2 = yaml_emitter_emit((&__pyx_v_self->emitter),(&__pyx_v_event)); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1333; goto __pyx_L1;} + __pyx_3 = (__pyx_2 == 0); + if (__pyx_3) { + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1334 */ + __pyx_4 = ((struct __pyx_vtabstruct_5_yaml_CEmitter *)__pyx_v_self->__pyx_vtab)->_emitter_error(__pyx_v_self); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; goto __pyx_L1;} + Py_DECREF(__pyx_v_error); + __pyx_v_error = __pyx_4; + __pyx_4 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1335 */ + __Pyx_Raise(__pyx_v_error, 0, 0); + {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; goto __pyx_L1;} + goto __pyx_L36; + } + __pyx_L36:; + goto __pyx_L6; + } + __pyx_L6:; + } + __pyx_L3:; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1336 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_4); + Py_XDECREF(__pyx_5); + Py_XDECREF(__pyx_6); + Py_XDECREF(__pyx_7); + Py_XDECREF(__pyx_8); + __Pyx_AddTraceback("_yaml.CEmitter._serialize_node"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_anchor_object); + Py_DECREF(__pyx_v_error); + Py_DECREF(__pyx_v_node_class); + Py_DECREF(__pyx_v_tag_object); + Py_DECREF(__pyx_v_value_object); + Py_DECREF(__pyx_v_style_object); + Py_DECREF(__pyx_v_item); + Py_DECREF(__pyx_v_item_key); + Py_DECREF(__pyx_v_item_value); + Py_DECREF(__pyx_v_self); + Py_DECREF(__pyx_v_node); + Py_DECREF(__pyx_v_parent); + Py_DECREF(__pyx_v_index); + return __pyx_r; +} + +static PyObject *__pyx_n_write; + +static int __pyx_f_5_yaml_output_handler(void (*__pyx_v_data),char (*__pyx_v_buffer),int __pyx_v_size) { + struct __pyx_obj_5_yaml_CEmitter *__pyx_v_emitter; + PyObject *__pyx_v_value; + int __pyx_r; + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + PyObject *__pyx_3 = 0; + __pyx_v_emitter = ((struct __pyx_obj_5_yaml_CEmitter *)Py_None); Py_INCREF(Py_None); + __pyx_v_value = Py_None; Py_INCREF(Py_None); + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1340 */ + __pyx_1 = (PyObject *)__pyx_v_data; + Py_INCREF(__pyx_1); + Py_DECREF(((PyObject *)__pyx_v_emitter)); + __pyx_v_emitter = ((struct __pyx_obj_5_yaml_CEmitter *)__pyx_1); + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1341 */ + __pyx_1 = PyString_FromStringAndSize(__pyx_v_buffer,__pyx_v_size); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; goto __pyx_L1;} + Py_DECREF(__pyx_v_value); + __pyx_v_value = __pyx_1; + __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1342 */ + __pyx_1 = PyObject_GetAttr(__pyx_v_emitter->stream, __pyx_n_write); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1342; goto __pyx_L1;} + __pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1342; goto __pyx_L1;} + Py_INCREF(__pyx_v_value); + PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_value); + __pyx_3 = PyObject_CallObject(__pyx_1, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1342; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + Py_DECREF(__pyx_2); __pyx_2 = 0; + Py_DECREF(__pyx_3); __pyx_3 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1343 */ + __pyx_r = 1; + goto __pyx_L0; + + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + Py_XDECREF(__pyx_3); + __Pyx_AddTraceback("_yaml.output_handler"); + __pyx_r = 0; + __pyx_L0:; + Py_DECREF(__pyx_v_emitter); + Py_DECREF(__pyx_v_value); + return __pyx_r; +} + +static __Pyx_InternTabEntry __pyx_intern_tab[] = { + {&__pyx_n_AliasEvent, "AliasEvent"}, + {&__pyx_n_AliasToken, "AliasToken"}, + {&__pyx_n_AnchorToken, "AnchorToken"}, + {&__pyx_n_AttributeError, "AttributeError"}, + {&__pyx_n_BlockEndToken, "BlockEndToken"}, + {&__pyx_n_BlockEntryToken, "BlockEntryToken"}, + {&__pyx_n_BlockMappingStartToken, "BlockMappingStartToken"}, + {&__pyx_n_BlockSequenceStartToken, "BlockSequenceStartToken"}, + {&__pyx_n_ComposerError, "ComposerError"}, + {&__pyx_n_ConstructorError, "ConstructorError"}, + {&__pyx_n_DirectiveToken, "DirectiveToken"}, + {&__pyx_n_DocumentEndEvent, "DocumentEndEvent"}, + {&__pyx_n_DocumentEndToken, "DocumentEndToken"}, + {&__pyx_n_DocumentStartEvent, "DocumentStartEvent"}, + {&__pyx_n_DocumentStartToken, "DocumentStartToken"}, + {&__pyx_n_EmitterError, "EmitterError"}, + {&__pyx_n_False, "False"}, + {&__pyx_n_FlowEntryToken, "FlowEntryToken"}, + {&__pyx_n_FlowMappingEndToken, "FlowMappingEndToken"}, + {&__pyx_n_FlowMappingStartToken, "FlowMappingStartToken"}, + {&__pyx_n_FlowSequenceEndToken, "FlowSequenceEndToken"}, + {&__pyx_n_FlowSequenceStartToken, "FlowSequenceStartToken"}, + {&__pyx_n_KeyToken, "KeyToken"}, + {&__pyx_n_MappingEndEvent, "MappingEndEvent"}, + {&__pyx_n_MappingNode, "MappingNode"}, + {&__pyx_n_MappingStartEvent, "MappingStartEvent"}, + {&__pyx_n_MemoryError, "MemoryError"}, + {&__pyx_n_ParserError, "ParserError"}, + {&__pyx_n_ReaderError, "ReaderError"}, + {&__pyx_n_RepresenterError, "RepresenterError"}, + {&__pyx_n_ScalarEvent, "ScalarEvent"}, + {&__pyx_n_ScalarNode, "ScalarNode"}, + {&__pyx_n_ScalarToken, "ScalarToken"}, + {&__pyx_n_ScannerError, "ScannerError"}, + {&__pyx_n_SequenceEndEvent, "SequenceEndEvent"}, + {&__pyx_n_SequenceNode, "SequenceNode"}, + {&__pyx_n_SequenceStartEvent, "SequenceStartEvent"}, + {&__pyx_n_SerializerError, "SerializerError"}, + {&__pyx_n_StreamEndEvent, "StreamEndEvent"}, + {&__pyx_n_StreamEndToken, "StreamEndToken"}, + {&__pyx_n_StreamStartEvent, "StreamStartEvent"}, + {&__pyx_n_StreamStartToken, "StreamStartToken"}, + {&__pyx_n_TAG, "TAG"}, + {&__pyx_n_TagToken, "TagToken"}, + {&__pyx_n_True, "True"}, + {&__pyx_n_TypeError, "TypeError"}, + {&__pyx_n_ValueError, "ValueError"}, + {&__pyx_n_ValueToken, "ValueToken"}, + {&__pyx_n_YAML, "YAML"}, + {&__pyx_n_YAMLError, "YAMLError"}, + {&__pyx_n___class__, "__class__"}, + {&__pyx_n_anchor, "anchor"}, + {&__pyx_n_append, "append"}, + {&__pyx_n_ascend_resolver, "ascend_resolver"}, + {&__pyx_n_composer, "composer"}, + {&__pyx_n_constructor, "constructor"}, + {&__pyx_n_descend_resolver, "descend_resolver"}, + {&__pyx_n_emitter, "emitter"}, + {&__pyx_n_encoding, "encoding"}, + {&__pyx_n_end_mark, "end_mark"}, + {&__pyx_n_error, "error"}, + {&__pyx_n_events, "events"}, + {&__pyx_n_explicit, "explicit"}, + {&__pyx_n_flow_style, "flow_style"}, + {&__pyx_n_get_version, "get_version"}, + {&__pyx_n_get_version_string, "get_version_string"}, + {&__pyx_n_hasattr, "hasattr"}, + {&__pyx_n_implicit, "implicit"}, + {&__pyx_n_len, "len"}, + {&__pyx_n_name, "name"}, + {&__pyx_n_nodes, "nodes"}, + {&__pyx_n_parser, "parser"}, + {&__pyx_n_read, "read"}, + {&__pyx_n_reader, "reader"}, + {&__pyx_n_representer, "representer"}, + {&__pyx_n_resolve, "resolve"}, + {&__pyx_n_scanner, "scanner"}, + {&__pyx_n_serializer, "serializer"}, + {&__pyx_n_start_mark, "start_mark"}, + {&__pyx_n_style, "style"}, + {&__pyx_n_tag, "tag"}, + {&__pyx_n_tags, "tags"}, + {&__pyx_n_tokens, "tokens"}, + {&__pyx_n_value, "value"}, + {&__pyx_n_version, "version"}, + {&__pyx_n_write, "write"}, + {&__pyx_n_yaml, "yaml"}, + {0, 0} +}; + +static __Pyx_StringTabEntry __pyx_string_tab[] = { + {&__pyx_k12p, __pyx_k12, sizeof(__pyx_k12)}, + {&__pyx_k14p, __pyx_k14, sizeof(__pyx_k14)}, + {&__pyx_k15p, __pyx_k15, sizeof(__pyx_k15)}, + {&__pyx_k16p, __pyx_k16, sizeof(__pyx_k16)}, + {&__pyx_k17p, __pyx_k17, sizeof(__pyx_k17)}, + {&__pyx_k18p, __pyx_k18, sizeof(__pyx_k18)}, + {&__pyx_k19p, __pyx_k19, sizeof(__pyx_k19)}, + {&__pyx_k20p, __pyx_k20, sizeof(__pyx_k20)}, + {&__pyx_k21p, __pyx_k21, sizeof(__pyx_k21)}, + {&__pyx_k22p, __pyx_k22, sizeof(__pyx_k22)}, + {&__pyx_k30p, __pyx_k30, sizeof(__pyx_k30)}, + {&__pyx_k31p, __pyx_k31, sizeof(__pyx_k31)}, + {&__pyx_k32p, __pyx_k32, sizeof(__pyx_k32)}, + {&__pyx_k33p, __pyx_k33, sizeof(__pyx_k33)}, + {&__pyx_k34p, __pyx_k34, sizeof(__pyx_k34)}, + {&__pyx_k35p, __pyx_k35, sizeof(__pyx_k35)}, + {&__pyx_k36p, __pyx_k36, sizeof(__pyx_k36)}, + {&__pyx_k37p, __pyx_k37, sizeof(__pyx_k37)}, + {&__pyx_k38p, __pyx_k38, sizeof(__pyx_k38)}, + {&__pyx_k45p, __pyx_k45, sizeof(__pyx_k45)}, + {&__pyx_k46p, __pyx_k46, sizeof(__pyx_k46)}, + {&__pyx_k47p, __pyx_k47, sizeof(__pyx_k47)}, + {&__pyx_k48p, __pyx_k48, sizeof(__pyx_k48)}, + {&__pyx_k49p, __pyx_k49, sizeof(__pyx_k49)}, + {&__pyx_k54p, __pyx_k54, sizeof(__pyx_k54)}, + {&__pyx_k56p, __pyx_k56, sizeof(__pyx_k56)}, + {&__pyx_k60p, __pyx_k60, sizeof(__pyx_k60)}, + {&__pyx_k61p, __pyx_k61, sizeof(__pyx_k61)}, + {&__pyx_k64p, __pyx_k64, sizeof(__pyx_k64)}, + {&__pyx_k65p, __pyx_k65, sizeof(__pyx_k65)}, + {&__pyx_k66p, __pyx_k66, sizeof(__pyx_k66)}, + {&__pyx_k67p, __pyx_k67, sizeof(__pyx_k67)}, + {&__pyx_k68p, __pyx_k68, sizeof(__pyx_k68)}, + {&__pyx_k71p, __pyx_k71, sizeof(__pyx_k71)}, + {&__pyx_k72p, __pyx_k72, sizeof(__pyx_k72)}, + {&__pyx_k73p, __pyx_k73, sizeof(__pyx_k73)}, + {&__pyx_k74p, __pyx_k74, sizeof(__pyx_k74)}, + {&__pyx_k75p, __pyx_k75, sizeof(__pyx_k75)}, + {&__pyx_k76p, __pyx_k76, sizeof(__pyx_k76)}, + {&__pyx_k77p, __pyx_k77, sizeof(__pyx_k77)}, + {&__pyx_k78p, __pyx_k78, sizeof(__pyx_k78)}, + {&__pyx_k79p, __pyx_k79, sizeof(__pyx_k79)}, + {&__pyx_k80p, __pyx_k80, sizeof(__pyx_k80)}, + {&__pyx_k81p, __pyx_k81, sizeof(__pyx_k81)}, + {&__pyx_k82p, __pyx_k82, sizeof(__pyx_k82)}, + {&__pyx_k83p, __pyx_k83, sizeof(__pyx_k83)}, + {&__pyx_k84p, __pyx_k84, sizeof(__pyx_k84)}, + {&__pyx_k85p, __pyx_k85, sizeof(__pyx_k85)}, + {&__pyx_k86p, __pyx_k86, sizeof(__pyx_k86)}, + {&__pyx_k87p, __pyx_k87, sizeof(__pyx_k87)}, + {&__pyx_k88p, __pyx_k88, sizeof(__pyx_k88)}, + {&__pyx_k89p, __pyx_k89, sizeof(__pyx_k89)}, + {&__pyx_k90p, __pyx_k90, sizeof(__pyx_k90)}, + {&__pyx_k91p, __pyx_k91, sizeof(__pyx_k91)}, + {&__pyx_k92p, __pyx_k92, sizeof(__pyx_k92)}, + {&__pyx_k93p, __pyx_k93, sizeof(__pyx_k93)}, + {&__pyx_k94p, __pyx_k94, sizeof(__pyx_k94)}, + {&__pyx_k95p, __pyx_k95, sizeof(__pyx_k95)}, + {&__pyx_k96p, __pyx_k96, sizeof(__pyx_k96)}, + {&__pyx_k97p, __pyx_k97, sizeof(__pyx_k97)}, + {&__pyx_k98p, __pyx_k98, sizeof(__pyx_k98)}, + {&__pyx_k99p, __pyx_k99, sizeof(__pyx_k99)}, + {&__pyx_k100p, __pyx_k100, sizeof(__pyx_k100)}, + {&__pyx_k101p, __pyx_k101, sizeof(__pyx_k101)}, + {&__pyx_k102p, __pyx_k102, sizeof(__pyx_k102)}, + {&__pyx_k103p, __pyx_k103, sizeof(__pyx_k103)}, + {&__pyx_k104p, __pyx_k104, sizeof(__pyx_k104)}, + {&__pyx_k105p, __pyx_k105, sizeof(__pyx_k105)}, + {&__pyx_k106p, __pyx_k106, sizeof(__pyx_k106)}, + {&__pyx_k107p, __pyx_k107, sizeof(__pyx_k107)}, + {&__pyx_k108p, __pyx_k108, sizeof(__pyx_k108)}, + {&__pyx_k109p, __pyx_k109, sizeof(__pyx_k109)}, + {&__pyx_k110p, __pyx_k110, sizeof(__pyx_k110)}, + {&__pyx_k111p, __pyx_k111, sizeof(__pyx_k111)}, + {&__pyx_k112p, __pyx_k112, sizeof(__pyx_k112)}, + {&__pyx_k113p, __pyx_k113, sizeof(__pyx_k113)}, + {0, 0, 0} +}; + +static PyObject *__pyx_tp_new_5_yaml_Mark(PyTypeObject *t, PyObject *a, PyObject *k) { + PyObject *o = (*t->tp_alloc)(t, 0); + struct __pyx_obj_5_yaml_Mark *p = (struct __pyx_obj_5_yaml_Mark *)o; + p->name = Py_None; Py_INCREF(Py_None); + p->buffer = Py_None; Py_INCREF(Py_None); + p->pointer = Py_None; Py_INCREF(Py_None); + return o; +} + +static void __pyx_tp_dealloc_5_yaml_Mark(PyObject *o) { + struct __pyx_obj_5_yaml_Mark *p = (struct __pyx_obj_5_yaml_Mark *)o; + Py_XDECREF(p->name); + Py_XDECREF(p->buffer); + Py_XDECREF(p->pointer); + (*o->ob_type->tp_free)(o); +} + +static int __pyx_tp_traverse_5_yaml_Mark(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_obj_5_yaml_Mark *p = (struct __pyx_obj_5_yaml_Mark *)o; + if (p->name) { + e = (*v)(p->name, a); if (e) return e; + } + if (p->buffer) { + e = (*v)(p->buffer, a); if (e) return e; + } + if (p->pointer) { + e = (*v)(p->pointer, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear_5_yaml_Mark(PyObject *o) { + struct __pyx_obj_5_yaml_Mark *p = (struct __pyx_obj_5_yaml_Mark *)o; + Py_XDECREF(p->name); + p->name = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->buffer); + p->buffer = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->pointer); + p->pointer = Py_None; Py_INCREF(Py_None); + return 0; +} + +static struct PyMethodDef __pyx_methods_5_yaml_Mark[] = { + {"get_snippet", (PyCFunction)__pyx_f_5_yaml_4Mark_get_snippet, METH_VARARGS|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static struct PyMemberDef __pyx_members_5_yaml_Mark[] = { + {"name", T_OBJECT, offsetof(struct __pyx_obj_5_yaml_Mark, name), READONLY, 0}, + {"index", T_INT, offsetof(struct __pyx_obj_5_yaml_Mark, index), READONLY, 0}, + {"line", T_INT, offsetof(struct __pyx_obj_5_yaml_Mark, line), READONLY, 0}, + {"column", T_INT, offsetof(struct __pyx_obj_5_yaml_Mark, column), READONLY, 0}, + {"buffer", T_OBJECT, offsetof(struct __pyx_obj_5_yaml_Mark, buffer), READONLY, 0}, + {"pointer", T_OBJECT, offsetof(struct __pyx_obj_5_yaml_Mark, pointer), READONLY, 0}, + {0, 0, 0, 0, 0} +}; + +static PyNumberMethods __pyx_tp_as_number_Mark = { + 0, /*nb_add*/ + 0, /*nb_subtract*/ + 0, /*nb_multiply*/ + 0, /*nb_divide*/ + 0, /*nb_remainder*/ + 0, /*nb_divmod*/ + 0, /*nb_power*/ + 0, /*nb_negative*/ + 0, /*nb_positive*/ + 0, /*nb_absolute*/ + 0, /*nb_nonzero*/ + 0, /*nb_invert*/ + 0, /*nb_lshift*/ + 0, /*nb_rshift*/ + 0, /*nb_and*/ + 0, /*nb_xor*/ + 0, /*nb_or*/ + 0, /*nb_coerce*/ + 0, /*nb_int*/ + 0, /*nb_long*/ + 0, /*nb_float*/ + 0, /*nb_oct*/ + 0, /*nb_hex*/ + 0, /*nb_inplace_add*/ + 0, /*nb_inplace_subtract*/ + 0, /*nb_inplace_multiply*/ + 0, /*nb_inplace_divide*/ + 0, /*nb_inplace_remainder*/ + 0, /*nb_inplace_power*/ + 0, /*nb_inplace_lshift*/ + 0, /*nb_inplace_rshift*/ + 0, /*nb_inplace_and*/ + 0, /*nb_inplace_xor*/ + 0, /*nb_inplace_or*/ + 0, /*nb_floor_divide*/ + 0, /*nb_true_divide*/ + 0, /*nb_inplace_floor_divide*/ + 0, /*nb_inplace_true_divide*/ +}; + +static PySequenceMethods __pyx_tp_as_sequence_Mark = { + 0, /*sq_length*/ + 0, /*sq_concat*/ + 0, /*sq_repeat*/ + 0, /*sq_item*/ + 0, /*sq_slice*/ + 0, /*sq_ass_item*/ + 0, /*sq_ass_slice*/ + 0, /*sq_contains*/ + 0, /*sq_inplace_concat*/ + 0, /*sq_inplace_repeat*/ +}; + +static PyMappingMethods __pyx_tp_as_mapping_Mark = { + 0, /*mp_length*/ + 0, /*mp_subscript*/ + 0, /*mp_ass_subscript*/ +}; + +static PyBufferProcs __pyx_tp_as_buffer_Mark = { + 0, /*bf_getreadbuffer*/ + 0, /*bf_getwritebuffer*/ + 0, /*bf_getsegcount*/ + 0, /*bf_getcharbuffer*/ +}; + +PyTypeObject __pyx_type_5_yaml_Mark = { + PyObject_HEAD_INIT(0) + 0, /*ob_size*/ + "_yaml.Mark", /*tp_name*/ + sizeof(struct __pyx_obj_5_yaml_Mark), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_5_yaml_Mark, /*tp_dealloc*/ + 0, /*tp_print*/ + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + 0, /*tp_compare*/ + 0, /*tp_repr*/ + &__pyx_tp_as_number_Mark, /*tp_as_number*/ + &__pyx_tp_as_sequence_Mark, /*tp_as_sequence*/ + &__pyx_tp_as_mapping_Mark, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + __pyx_f_5_yaml_4Mark___str__, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + &__pyx_tp_as_buffer_Mark, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + 0, /*tp_doc*/ + __pyx_tp_traverse_5_yaml_Mark, /*tp_traverse*/ + __pyx_tp_clear_5_yaml_Mark, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_5_yaml_Mark, /*tp_methods*/ + __pyx_members_5_yaml_Mark, /*tp_members*/ + 0, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + 0, /*tp_dictoffset*/ + __pyx_f_5_yaml_4Mark___init__, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_5_yaml_Mark, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ +}; +static struct __pyx_vtabstruct_5_yaml_CParser __pyx_vtable_5_yaml_CParser; + +static PyObject *__pyx_tp_new_5_yaml_CParser(PyTypeObject *t, PyObject *a, PyObject *k) { + PyObject *o = (*t->tp_alloc)(t, 0); + struct __pyx_obj_5_yaml_CParser *p = (struct __pyx_obj_5_yaml_CParser *)o; + *(struct __pyx_vtabstruct_5_yaml_CParser **)&p->__pyx_vtab = __pyx_vtabptr_5_yaml_CParser; + p->stream = Py_None; Py_INCREF(Py_None); + p->stream_name = Py_None; Py_INCREF(Py_None); + p->current_token = Py_None; Py_INCREF(Py_None); + p->current_event = Py_None; Py_INCREF(Py_None); + p->anchors = Py_None; Py_INCREF(Py_None); + return o; +} + +static void __pyx_tp_dealloc_5_yaml_CParser(PyObject *o) { + struct __pyx_obj_5_yaml_CParser *p = (struct __pyx_obj_5_yaml_CParser *)o; + { + PyObject *etype, *eval, *etb; + PyErr_Fetch(&etype, &eval, &etb); + ++o->ob_refcnt; + __pyx_f_5_yaml_7CParser___dealloc__(o); + if (PyErr_Occurred()) PyErr_WriteUnraisable(o); + --o->ob_refcnt; + PyErr_Restore(etype, eval, etb); + } + Py_XDECREF(p->stream); + Py_XDECREF(p->stream_name); + Py_XDECREF(p->current_token); + Py_XDECREF(p->current_event); + Py_XDECREF(p->anchors); + (*o->ob_type->tp_free)(o); +} + +static int __pyx_tp_traverse_5_yaml_CParser(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_obj_5_yaml_CParser *p = (struct __pyx_obj_5_yaml_CParser *)o; + if (p->stream) { + e = (*v)(p->stream, a); if (e) return e; + } + if (p->stream_name) { + e = (*v)(p->stream_name, a); if (e) return e; + } + if (p->current_token) { + e = (*v)(p->current_token, a); if (e) return e; + } + if (p->current_event) { + e = (*v)(p->current_event, a); if (e) return e; + } + if (p->anchors) { + e = (*v)(p->anchors, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear_5_yaml_CParser(PyObject *o) { + struct __pyx_obj_5_yaml_CParser *p = (struct __pyx_obj_5_yaml_CParser *)o; + Py_XDECREF(p->stream); + p->stream = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->stream_name); + p->stream_name = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->current_token); + p->current_token = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->current_event); + p->current_event = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->anchors); + p->anchors = Py_None; Py_INCREF(Py_None); + return 0; +} + +static struct PyMethodDef __pyx_methods_5_yaml_CParser[] = { + {"raw_scan", (PyCFunction)__pyx_f_5_yaml_7CParser_raw_scan, METH_VARARGS|METH_KEYWORDS, 0}, + {"get_token", (PyCFunction)__pyx_f_5_yaml_7CParser_get_token, METH_VARARGS|METH_KEYWORDS, 0}, + {"peek_token", (PyCFunction)__pyx_f_5_yaml_7CParser_peek_token, METH_VARARGS|METH_KEYWORDS, 0}, + {"check_token", (PyCFunction)__pyx_f_5_yaml_7CParser_check_token, METH_VARARGS|METH_KEYWORDS, 0}, + {"raw_parse", (PyCFunction)__pyx_f_5_yaml_7CParser_raw_parse, METH_VARARGS|METH_KEYWORDS, 0}, + {"get_event", (PyCFunction)__pyx_f_5_yaml_7CParser_get_event, METH_VARARGS|METH_KEYWORDS, 0}, + {"peek_event", (PyCFunction)__pyx_f_5_yaml_7CParser_peek_event, METH_VARARGS|METH_KEYWORDS, 0}, + {"check_event", (PyCFunction)__pyx_f_5_yaml_7CParser_check_event, METH_VARARGS|METH_KEYWORDS, 0}, + {"check_node", (PyCFunction)__pyx_f_5_yaml_7CParser_check_node, METH_VARARGS|METH_KEYWORDS, 0}, + {"get_node", (PyCFunction)__pyx_f_5_yaml_7CParser_get_node, METH_VARARGS|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static PyNumberMethods __pyx_tp_as_number_CParser = { + 0, /*nb_add*/ + 0, /*nb_subtract*/ + 0, /*nb_multiply*/ + 0, /*nb_divide*/ + 0, /*nb_remainder*/ + 0, /*nb_divmod*/ + 0, /*nb_power*/ + 0, /*nb_negative*/ + 0, /*nb_positive*/ + 0, /*nb_absolute*/ + 0, /*nb_nonzero*/ + 0, /*nb_invert*/ + 0, /*nb_lshift*/ + 0, /*nb_rshift*/ + 0, /*nb_and*/ + 0, /*nb_xor*/ + 0, /*nb_or*/ + 0, /*nb_coerce*/ + 0, /*nb_int*/ + 0, /*nb_long*/ + 0, /*nb_float*/ + 0, /*nb_oct*/ + 0, /*nb_hex*/ + 0, /*nb_inplace_add*/ + 0, /*nb_inplace_subtract*/ + 0, /*nb_inplace_multiply*/ + 0, /*nb_inplace_divide*/ + 0, /*nb_inplace_remainder*/ + 0, /*nb_inplace_power*/ + 0, /*nb_inplace_lshift*/ + 0, /*nb_inplace_rshift*/ + 0, /*nb_inplace_and*/ + 0, /*nb_inplace_xor*/ + 0, /*nb_inplace_or*/ + 0, /*nb_floor_divide*/ + 0, /*nb_true_divide*/ + 0, /*nb_inplace_floor_divide*/ + 0, /*nb_inplace_true_divide*/ +}; + +static PySequenceMethods __pyx_tp_as_sequence_CParser = { + 0, /*sq_length*/ + 0, /*sq_concat*/ + 0, /*sq_repeat*/ + 0, /*sq_item*/ + 0, /*sq_slice*/ + 0, /*sq_ass_item*/ + 0, /*sq_ass_slice*/ + 0, /*sq_contains*/ + 0, /*sq_inplace_concat*/ + 0, /*sq_inplace_repeat*/ +}; + +static PyMappingMethods __pyx_tp_as_mapping_CParser = { + 0, /*mp_length*/ + 0, /*mp_subscript*/ + 0, /*mp_ass_subscript*/ +}; + +static PyBufferProcs __pyx_tp_as_buffer_CParser = { + 0, /*bf_getreadbuffer*/ + 0, /*bf_getwritebuffer*/ + 0, /*bf_getsegcount*/ + 0, /*bf_getcharbuffer*/ +}; + +PyTypeObject __pyx_type_5_yaml_CParser = { + PyObject_HEAD_INIT(0) + 0, /*ob_size*/ + "_yaml.CParser", /*tp_name*/ + sizeof(struct __pyx_obj_5_yaml_CParser), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_5_yaml_CParser, /*tp_dealloc*/ + 0, /*tp_print*/ + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + 0, /*tp_compare*/ + 0, /*tp_repr*/ + &__pyx_tp_as_number_CParser, /*tp_as_number*/ + &__pyx_tp_as_sequence_CParser, /*tp_as_sequence*/ + &__pyx_tp_as_mapping_CParser, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + 0, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + &__pyx_tp_as_buffer_CParser, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + 0, /*tp_doc*/ + __pyx_tp_traverse_5_yaml_CParser, /*tp_traverse*/ + __pyx_tp_clear_5_yaml_CParser, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_5_yaml_CParser, /*tp_methods*/ + 0, /*tp_members*/ + 0, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + 0, /*tp_dictoffset*/ + __pyx_f_5_yaml_7CParser___init__, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_5_yaml_CParser, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ +}; +static struct __pyx_vtabstruct_5_yaml_CEmitter __pyx_vtable_5_yaml_CEmitter; + +static PyObject *__pyx_tp_new_5_yaml_CEmitter(PyTypeObject *t, PyObject *a, PyObject *k) { + PyObject *o = (*t->tp_alloc)(t, 0); + struct __pyx_obj_5_yaml_CEmitter *p = (struct __pyx_obj_5_yaml_CEmitter *)o; + *(struct __pyx_vtabstruct_5_yaml_CEmitter **)&p->__pyx_vtab = __pyx_vtabptr_5_yaml_CEmitter; + p->stream = Py_None; Py_INCREF(Py_None); + p->use_version = Py_None; Py_INCREF(Py_None); + p->use_tags = Py_None; Py_INCREF(Py_None); + p->serialized_nodes = Py_None; Py_INCREF(Py_None); + p->anchors = Py_None; Py_INCREF(Py_None); + return o; +} + +static void __pyx_tp_dealloc_5_yaml_CEmitter(PyObject *o) { + struct __pyx_obj_5_yaml_CEmitter *p = (struct __pyx_obj_5_yaml_CEmitter *)o; + { + PyObject *etype, *eval, *etb; + PyErr_Fetch(&etype, &eval, &etb); + ++o->ob_refcnt; + __pyx_f_5_yaml_8CEmitter___dealloc__(o); + if (PyErr_Occurred()) PyErr_WriteUnraisable(o); + --o->ob_refcnt; + PyErr_Restore(etype, eval, etb); + } + Py_XDECREF(p->stream); + Py_XDECREF(p->use_version); + Py_XDECREF(p->use_tags); + Py_XDECREF(p->serialized_nodes); + Py_XDECREF(p->anchors); + (*o->ob_type->tp_free)(o); +} + +static int __pyx_tp_traverse_5_yaml_CEmitter(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_obj_5_yaml_CEmitter *p = (struct __pyx_obj_5_yaml_CEmitter *)o; + if (p->stream) { + e = (*v)(p->stream, a); if (e) return e; + } + if (p->use_version) { + e = (*v)(p->use_version, a); if (e) return e; + } + if (p->use_tags) { + e = (*v)(p->use_tags, a); if (e) return e; + } + if (p->serialized_nodes) { + e = (*v)(p->serialized_nodes, a); if (e) return e; + } + if (p->anchors) { + e = (*v)(p->anchors, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear_5_yaml_CEmitter(PyObject *o) { + struct __pyx_obj_5_yaml_CEmitter *p = (struct __pyx_obj_5_yaml_CEmitter *)o; + Py_XDECREF(p->stream); + p->stream = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->use_version); + p->use_version = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->use_tags); + p->use_tags = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->serialized_nodes); + p->serialized_nodes = Py_None; Py_INCREF(Py_None); + Py_XDECREF(p->anchors); + p->anchors = Py_None; Py_INCREF(Py_None); + return 0; +} + +static struct PyMethodDef __pyx_methods_5_yaml_CEmitter[] = { + {"emit", (PyCFunction)__pyx_f_5_yaml_8CEmitter_emit, METH_VARARGS|METH_KEYWORDS, 0}, + {"open", (PyCFunction)__pyx_f_5_yaml_8CEmitter_open, METH_VARARGS|METH_KEYWORDS, 0}, + {"close", (PyCFunction)__pyx_f_5_yaml_8CEmitter_close, METH_VARARGS|METH_KEYWORDS, 0}, + {"serialize", (PyCFunction)__pyx_f_5_yaml_8CEmitter_serialize, METH_VARARGS|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static PyNumberMethods __pyx_tp_as_number_CEmitter = { + 0, /*nb_add*/ + 0, /*nb_subtract*/ + 0, /*nb_multiply*/ + 0, /*nb_divide*/ + 0, /*nb_remainder*/ + 0, /*nb_divmod*/ + 0, /*nb_power*/ + 0, /*nb_negative*/ + 0, /*nb_positive*/ + 0, /*nb_absolute*/ + 0, /*nb_nonzero*/ + 0, /*nb_invert*/ + 0, /*nb_lshift*/ + 0, /*nb_rshift*/ + 0, /*nb_and*/ + 0, /*nb_xor*/ + 0, /*nb_or*/ + 0, /*nb_coerce*/ + 0, /*nb_int*/ + 0, /*nb_long*/ + 0, /*nb_float*/ + 0, /*nb_oct*/ + 0, /*nb_hex*/ + 0, /*nb_inplace_add*/ + 0, /*nb_inplace_subtract*/ + 0, /*nb_inplace_multiply*/ + 0, /*nb_inplace_divide*/ + 0, /*nb_inplace_remainder*/ + 0, /*nb_inplace_power*/ + 0, /*nb_inplace_lshift*/ + 0, /*nb_inplace_rshift*/ + 0, /*nb_inplace_and*/ + 0, /*nb_inplace_xor*/ + 0, /*nb_inplace_or*/ + 0, /*nb_floor_divide*/ + 0, /*nb_true_divide*/ + 0, /*nb_inplace_floor_divide*/ + 0, /*nb_inplace_true_divide*/ +}; + +static PySequenceMethods __pyx_tp_as_sequence_CEmitter = { + 0, /*sq_length*/ + 0, /*sq_concat*/ + 0, /*sq_repeat*/ + 0, /*sq_item*/ + 0, /*sq_slice*/ + 0, /*sq_ass_item*/ + 0, /*sq_ass_slice*/ + 0, /*sq_contains*/ + 0, /*sq_inplace_concat*/ + 0, /*sq_inplace_repeat*/ +}; + +static PyMappingMethods __pyx_tp_as_mapping_CEmitter = { + 0, /*mp_length*/ + 0, /*mp_subscript*/ + 0, /*mp_ass_subscript*/ +}; + +static PyBufferProcs __pyx_tp_as_buffer_CEmitter = { + 0, /*bf_getreadbuffer*/ + 0, /*bf_getwritebuffer*/ + 0, /*bf_getsegcount*/ + 0, /*bf_getcharbuffer*/ +}; + +PyTypeObject __pyx_type_5_yaml_CEmitter = { + PyObject_HEAD_INIT(0) + 0, /*ob_size*/ + "_yaml.CEmitter", /*tp_name*/ + sizeof(struct __pyx_obj_5_yaml_CEmitter), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_5_yaml_CEmitter, /*tp_dealloc*/ + 0, /*tp_print*/ + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + 0, /*tp_compare*/ + 0, /*tp_repr*/ + &__pyx_tp_as_number_CEmitter, /*tp_as_number*/ + &__pyx_tp_as_sequence_CEmitter, /*tp_as_sequence*/ + &__pyx_tp_as_mapping_CEmitter, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + 0, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + &__pyx_tp_as_buffer_CEmitter, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + 0, /*tp_doc*/ + __pyx_tp_traverse_5_yaml_CEmitter, /*tp_traverse*/ + __pyx_tp_clear_5_yaml_CEmitter, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_5_yaml_CEmitter, /*tp_methods*/ + 0, /*tp_members*/ + 0, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + 0, /*tp_dictoffset*/ + __pyx_f_5_yaml_8CEmitter___init__, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_5_yaml_CEmitter, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ +}; + +static struct PyMethodDef __pyx_methods[] = { + {"get_version_string", (PyCFunction)__pyx_f_5_yaml_get_version_string, METH_VARARGS|METH_KEYWORDS, 0}, + {"get_version", (PyCFunction)__pyx_f_5_yaml_get_version, METH_VARARGS|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static void __pyx_init_filenames(void); /*proto*/ + +PyMODINIT_FUNC init_yaml(void); /*proto*/ +PyMODINIT_FUNC init_yaml(void) { + PyObject *__pyx_1 = 0; + PyObject *__pyx_2 = 0; + __pyx_init_filenames(); + __pyx_m = Py_InitModule4("_yaml", __pyx_methods, 0, 0, PYTHON_API_VERSION); + if (!__pyx_m) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;}; + __pyx_b = PyImport_AddModule("__builtin__"); + if (!__pyx_b) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;}; + if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;}; + if (__Pyx_InternStrings(__pyx_intern_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;}; + if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;}; + __pyx_type_5_yaml_Mark.tp_free = _PyObject_GC_Del; + if (PyType_Ready(&__pyx_type_5_yaml_Mark) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 59; goto __pyx_L1;} + if (PyObject_SetAttrString(__pyx_m, "Mark", (PyObject *)&__pyx_type_5_yaml_Mark) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 59; goto __pyx_L1;} + __pyx_ptype_5_yaml_Mark = &__pyx_type_5_yaml_Mark; + __pyx_vtabptr_5_yaml_CParser = &__pyx_vtable_5_yaml_CParser; + *(void **)&__pyx_vtable_5_yaml_CParser._parser_error = (void *)__pyx_f_5_yaml_7CParser__parser_error; + *(void **)&__pyx_vtable_5_yaml_CParser._scan = (void *)__pyx_f_5_yaml_7CParser__scan; + *(void **)&__pyx_vtable_5_yaml_CParser._token_to_object = (void *)__pyx_f_5_yaml_7CParser__token_to_object; + *(void **)&__pyx_vtable_5_yaml_CParser._parse = (void *)__pyx_f_5_yaml_7CParser__parse; + *(void **)&__pyx_vtable_5_yaml_CParser._event_to_object = (void *)__pyx_f_5_yaml_7CParser__event_to_object; + *(void **)&__pyx_vtable_5_yaml_CParser._compose_document = (void *)__pyx_f_5_yaml_7CParser__compose_document; + *(void **)&__pyx_vtable_5_yaml_CParser._compose_node = (void *)__pyx_f_5_yaml_7CParser__compose_node; + *(void **)&__pyx_vtable_5_yaml_CParser._compose_scalar_node = (void *)__pyx_f_5_yaml_7CParser__compose_scalar_node; + *(void **)&__pyx_vtable_5_yaml_CParser._compose_sequence_node = (void *)__pyx_f_5_yaml_7CParser__compose_sequence_node; + *(void **)&__pyx_vtable_5_yaml_CParser._compose_mapping_node = (void *)__pyx_f_5_yaml_7CParser__compose_mapping_node; + *(void **)&__pyx_vtable_5_yaml_CParser._parse_next_event = (void *)__pyx_f_5_yaml_7CParser__parse_next_event; + __pyx_type_5_yaml_CParser.tp_free = _PyObject_GC_Del; + if (PyType_Ready(&__pyx_type_5_yaml_CParser) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; goto __pyx_L1;} + if (__Pyx_SetVtable(__pyx_type_5_yaml_CParser.tp_dict, __pyx_vtabptr_5_yaml_CParser) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; goto __pyx_L1;} + if (PyObject_SetAttrString(__pyx_m, "CParser", (PyObject *)&__pyx_type_5_yaml_CParser) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; goto __pyx_L1;} + __pyx_ptype_5_yaml_CParser = &__pyx_type_5_yaml_CParser; + __pyx_vtabptr_5_yaml_CEmitter = &__pyx_vtable_5_yaml_CEmitter; + *(void **)&__pyx_vtable_5_yaml_CEmitter._emitter_error = (void *)__pyx_f_5_yaml_8CEmitter__emitter_error; + *(void **)&__pyx_vtable_5_yaml_CEmitter._object_to_event = (void *)__pyx_f_5_yaml_8CEmitter__object_to_event; + *(void **)&__pyx_vtable_5_yaml_CEmitter._anchor_node = (void *)__pyx_f_5_yaml_8CEmitter__anchor_node; + *(void **)&__pyx_vtable_5_yaml_CEmitter._serialize_node = (void *)__pyx_f_5_yaml_8CEmitter__serialize_node; + __pyx_type_5_yaml_CEmitter.tp_free = _PyObject_GC_Del; + if (PyType_Ready(&__pyx_type_5_yaml_CEmitter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; goto __pyx_L1;} + if (__Pyx_SetVtable(__pyx_type_5_yaml_CEmitter.tp_dict, __pyx_vtabptr_5_yaml_CEmitter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; goto __pyx_L1;} + if (PyObject_SetAttrString(__pyx_m, "CEmitter", (PyObject *)&__pyx_type_5_yaml_CEmitter) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 863; goto __pyx_L1;} + __pyx_ptype_5_yaml_CEmitter = &__pyx_type_5_yaml_CEmitter; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":2 */ + __pyx_1 = __Pyx_Import(__pyx_n_yaml, 0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;} + if (PyObject_SetAttr(__pyx_m, __pyx_n_yaml, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 2; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":13 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_error); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_YAMLError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_YAMLError, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":14 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_reader); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_ReaderError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ReaderError, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":15 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_scanner); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_ScannerError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ScannerError, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":16 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_parser); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_ParserError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ParserError, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":17 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_composer); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_ComposerError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ComposerError, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":18 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_constructor); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_ConstructorError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ConstructorError, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":19 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_emitter); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_EmitterError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_EmitterError, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":20 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_serializer); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_SerializerError); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_SerializerError, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":21 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_representer); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_RepresenterError); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_RepresenterError, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":23 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_StreamStartToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_StreamStartToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":24 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_StreamEndToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_StreamEndToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":25 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_DirectiveToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_DirectiveToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":26 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_DocumentStartToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_DocumentStartToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":27 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 27; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 27; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_DocumentEndToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 27; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_DocumentEndToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 27; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":28 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_BlockSequenceStartToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_BlockSequenceStartToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":29 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_BlockMappingStartToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_BlockMappingStartToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":30 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_BlockEndToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_BlockEndToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":31 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_FlowSequenceStartToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_FlowSequenceStartToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":32 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_FlowMappingStartToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_FlowMappingStartToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":33 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_FlowSequenceEndToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_FlowSequenceEndToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":34 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_FlowMappingEndToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_FlowMappingEndToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":35 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_KeyToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_KeyToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":36 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_ValueToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ValueToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":37 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_BlockEntryToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_BlockEntryToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":38 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_FlowEntryToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_FlowEntryToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":39 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_AliasToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_AliasToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":40 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_AnchorToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_AnchorToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":41 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_tokens); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_TagToken); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_TagToken, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":42 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_tokens); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_ScalarToken); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ScalarToken, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":44 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_events); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_StreamStartEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_StreamStartEvent, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":45 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_events); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_StreamEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_StreamEndEvent, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":46 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_events); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_DocumentStartEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_DocumentStartEvent, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":47 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_events); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_DocumentEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_DocumentEndEvent, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":48 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_events); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_AliasEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_AliasEvent, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":49 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_events); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_ScalarEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ScalarEvent, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":50 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_events); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_SequenceStartEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_SequenceStartEvent, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":51 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_events); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_SequenceEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_SequenceEndEvent, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":52 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_events); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_MappingStartEvent); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_MappingStartEvent, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":53 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_events); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_MappingEndEvent); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_MappingEndEvent, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":55 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_nodes); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_ScalarNode); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_ScalarNode, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":56 */ + __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; goto __pyx_L1;} + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_nodes); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_SequenceNode); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_SequenceNode, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":57 */ + __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_yaml); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;} + __pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_nodes); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_MappingNode); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;} + Py_DECREF(__pyx_1); __pyx_1 = 0; + if (PyObject_SetAttr(__pyx_m, __pyx_n_MappingNode, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;} + Py_DECREF(__pyx_2); __pyx_2 = 0; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":880 */ + Py_INCREF(Py_None); + __pyx_k2 = Py_None; + Py_INCREF(Py_None); + __pyx_k3 = Py_None; + Py_INCREF(Py_None); + __pyx_k4 = Py_None; + Py_INCREF(Py_None); + __pyx_k5 = Py_None; + Py_INCREF(Py_None); + __pyx_k6 = Py_None; + Py_INCREF(Py_None); + __pyx_k7 = Py_None; + Py_INCREF(Py_None); + __pyx_k8 = Py_None; + Py_INCREF(Py_None); + __pyx_k9 = Py_None; + Py_INCREF(Py_None); + __pyx_k10 = Py_None; + Py_INCREF(Py_None); + __pyx_k11 = Py_None; + + /* "/home/xi/xitology/pyyaml-org/pyyaml/trunk/ext/_yaml.pyx":1338 */ + return; + __pyx_L1:; + Py_XDECREF(__pyx_1); + Py_XDECREF(__pyx_2); + __Pyx_AddTraceback("_yaml"); +} + +static char *__pyx_filenames[] = { + "_yaml.pyx", +}; + +/* Runtime support code */ + +static void __pyx_init_filenames(void) { + __pyx_f = __pyx_filenames; +} + +static int __Pyx_GetStarArgs( + PyObject **args, + PyObject **kwds, + char *kwd_list[], + Py_ssize_t nargs, + PyObject **args2, + PyObject **kwds2) +{ + PyObject *x = 0, *args1 = 0, *kwds1 = 0; + + if (args2) + *args2 = 0; + if (kwds2) + *kwds2 = 0; + + if (args2) { + args1 = PyTuple_GetSlice(*args, 0, nargs); + if (!args1) + goto bad; + *args2 = PyTuple_GetSlice(*args, nargs, PyTuple_Size(*args)); + if (!*args2) + goto bad; + } + else { + args1 = *args; + Py_INCREF(args1); + } + + if (kwds2) { + if (*kwds) { + char **p; + kwds1 = PyDict_New(); + if (!kwds) + goto bad; + *kwds2 = PyDict_Copy(*kwds); + if (!*kwds2) + goto bad; + for (p = kwd_list; *p; p++) { + x = PyDict_GetItemString(*kwds, *p); + if (x) { + if (PyDict_SetItemString(kwds1, *p, x) < 0) + goto bad; + if (PyDict_DelItemString(*kwds2, *p) < 0) + goto bad; + } + } + } + else { + *kwds2 = PyDict_New(); + if (!*kwds2) + goto bad; + } + } + else { + kwds1 = *kwds; + Py_XINCREF(kwds1); + } + + *args = args1; + *kwds = kwds1; + return 0; +bad: + Py_XDECREF(args1); + Py_XDECREF(kwds1); + Py_XDECREF(*args2); + Py_XDECREF(*kwds2); + return -1; +} + +static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list) { + PyObject *__import__ = 0; + PyObject *empty_list = 0; + PyObject *module = 0; + PyObject *global_dict = 0; + PyObject *empty_dict = 0; + PyObject *list; + __import__ = PyObject_GetAttrString(__pyx_b, "__import__"); + if (!__import__) + goto bad; + if (from_list) + list = from_list; + else { + empty_list = PyList_New(0); + if (!empty_list) + goto bad; + list = empty_list; + } + global_dict = PyModule_GetDict(__pyx_m); + if (!global_dict) + goto bad; + empty_dict = PyDict_New(); + if (!empty_dict) + goto bad; + module = PyObject_CallFunction(__import__, "OOOO", + name, global_dict, empty_dict, list); +bad: + Py_XDECREF(empty_list); + Py_XDECREF(__import__); + Py_XDECREF(empty_dict); + return module; +} + +static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name) { + PyObject *result; + result = PyObject_GetAttr(dict, name); + if (!result) + PyErr_SetObject(PyExc_NameError, name); + return result; +} + +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb) { + Py_XINCREF(type); + Py_XINCREF(value); + Py_XINCREF(tb); + /* First, check the traceback argument, replacing None with NULL. */ + if (tb == Py_None) { + Py_DECREF(tb); + tb = 0; + } + else if (tb != NULL && !PyTraceBack_Check(tb)) { + PyErr_SetString(PyExc_TypeError, + "raise: arg 3 must be a traceback or None"); + goto raise_error; + } + /* Next, replace a missing value with None */ + if (value == NULL) { + value = Py_None; + Py_INCREF(value); + } + /* Next, repeatedly, replace a tuple exception with its first item */ + while (PyTuple_Check(type) && PyTuple_Size(type) > 0) { + PyObject *tmp = type; + type = PyTuple_GET_ITEM(type, 0); + Py_INCREF(type); + Py_DECREF(tmp); + } + if (PyString_Check(type)) + ; + else if (PyType_Check(type) || PyClass_Check(type)) + ; /*PyErr_NormalizeException(&type, &value, &tb);*/ + else if (PyInstance_Check(type)) { + /* Raising an instance. The value should be a dummy. */ + if (value != Py_None) { + PyErr_SetString(PyExc_TypeError, + "instance exception may not have a separate value"); + goto raise_error; + } + else { + /* Normalize to raise <class>, <instance> */ + Py_DECREF(value); + value = type; + type = (PyObject*) ((PyInstanceObject*)type)->in_class; + Py_INCREF(type); + } + } + else { + /* Not something you can raise. You get an exception + anyway, just not what you specified :-) */ + PyErr_Format(PyExc_TypeError, + "exceptions must be strings, classes, or " + "instances, not %s", type->ob_type->tp_name); + goto raise_error; + } + PyErr_Restore(type, value, tb); + return; +raise_error: + Py_XDECREF(value); + Py_XDECREF(type); + Py_XDECREF(tb); + return; +} + +static PyObject *__Pyx_GetExcValue(void) { + PyObject *type = 0, *value = 0, *tb = 0; + PyObject *result = 0; + PyThreadState *tstate = PyThreadState_Get(); + PyErr_Fetch(&type, &value, &tb); + PyErr_NormalizeException(&type, &value, &tb); + if (PyErr_Occurred()) + goto bad; + if (!value) { + value = Py_None; + Py_INCREF(value); + } + Py_XDECREF(tstate->exc_type); + Py_XDECREF(tstate->exc_value); + Py_XDECREF(tstate->exc_traceback); + tstate->exc_type = type; + tstate->exc_value = value; + tstate->exc_traceback = tb; + result = value; + Py_XINCREF(result); + type = 0; + value = 0; + tb = 0; +bad: + Py_XDECREF(type); + Py_XDECREF(value); + Py_XDECREF(tb); + return result; +} + +static void __Pyx_UnpackError(void) { + PyErr_SetString(PyExc_ValueError, "unpack sequence of wrong size"); +} + +static PyObject *__Pyx_UnpackItem(PyObject *seq, Py_ssize_t i) { + PyObject *item; + if (!(item = PySequence_GetItem(seq, i))) { + if (PyErr_ExceptionMatches(PyExc_IndexError)) + __Pyx_UnpackError(); + } + return item; +} + +static int __Pyx_EndUnpack(PyObject *seq, Py_ssize_t i) { + PyObject *item; + if (item = PySequence_GetItem(seq, i)) { + Py_DECREF(item); + __Pyx_UnpackError(); + return -1; + } + PyErr_Clear(); + return 0; +} + +static int __Pyx_InternStrings(__Pyx_InternTabEntry *t) { + while (t->p) { + *t->p = PyString_InternFromString(t->s); + if (!*t->p) + return -1; + ++t; + } + return 0; +} + +static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) { + while (t->p) { + *t->p = PyString_FromStringAndSize(t->s, t->n - 1); + if (!*t->p) + return -1; + ++t; + } + return 0; +} + +static int __Pyx_SetVtable(PyObject *dict, void *vtable) { + PyObject *pycobj = 0; + int result; + + pycobj = PyCObject_FromVoidPtr(vtable, 0); + if (!pycobj) + goto bad; + if (PyDict_SetItemString(dict, "__pyx_vtable__", pycobj) < 0) + goto bad; + result = 0; + goto done; + +bad: + result = -1; +done: + Py_XDECREF(pycobj); + return result; +} + +#include "compile.h" +#include "frameobject.h" +#include "traceback.h" + +static void __Pyx_AddTraceback(char *funcname) { + PyObject *py_srcfile = 0; + PyObject *py_funcname = 0; + PyObject *py_globals = 0; + PyObject *empty_tuple = 0; + PyObject *empty_string = 0; + PyCodeObject *py_code = 0; + PyFrameObject *py_frame = 0; + + py_srcfile = PyString_FromString(__pyx_filename); + if (!py_srcfile) goto bad; + py_funcname = PyString_FromString(funcname); + if (!py_funcname) goto bad; + py_globals = PyModule_GetDict(__pyx_m); + if (!py_globals) goto bad; + empty_tuple = PyTuple_New(0); + if (!empty_tuple) goto bad; + empty_string = PyString_FromString(""); + if (!empty_string) goto bad; + py_code = PyCode_New( + 0, /*int argcount,*/ + 0, /*int nlocals,*/ + 0, /*int stacksize,*/ + 0, /*int flags,*/ + empty_string, /*PyObject *code,*/ + empty_tuple, /*PyObject *consts,*/ + empty_tuple, /*PyObject *names,*/ + empty_tuple, /*PyObject *varnames,*/ + empty_tuple, /*PyObject *freevars,*/ + empty_tuple, /*PyObject *cellvars,*/ + py_srcfile, /*PyObject *filename,*/ + py_funcname, /*PyObject *name,*/ + __pyx_lineno, /*int firstlineno,*/ + empty_string /*PyObject *lnotab*/ + ); + if (!py_code) goto bad; + py_frame = PyFrame_New( + PyThreadState_Get(), /*PyThreadState *tstate,*/ + py_code, /*PyCodeObject *code,*/ + py_globals, /*PyObject *globals,*/ + 0 /*PyObject *locals*/ + ); + if (!py_frame) goto bad; + py_frame->f_lineno = __pyx_lineno; + PyTraceBack_Here(py_frame); +bad: + Py_XDECREF(py_srcfile); + Py_XDECREF(py_funcname); + Py_XDECREF(empty_tuple); + Py_XDECREF(empty_string); + Py_XDECREF(py_code); + Py_XDECREF(py_frame); +} |