Files
fesmoo_perdoliq/baraban.build/module.html5lib.treebuilders.etree_lxml.c
2019-12-06 12:23:21 +03:00

29911 lines
947 KiB
C

/* Generated code for Python source for module 'html5lib.treebuilders.etree_lxml'
* created by Nuitka version 0.6.0
*
* This code is in part copyright 2018 Kay Hayen.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "nuitka/prelude.h"
#include "__helpers.h"
/* The _module_html5lib$treebuilders$etree_lxml is a Python object pointer of module type. */
/* Note: For full compatibility with CPython, every module variable access
* needs to go through it except for cases where the module cannot possibly
* have changed in the mean time.
*/
PyObject *module_html5lib$treebuilders$etree_lxml;
PyDictObject *moduledict_html5lib$treebuilders$etree_lxml;
/* The module constants used, if any. */
extern PyObject *const_str_plain_warn;
static PyObject *const_str_plain_addnext;
extern PyObject *const_str_plain_tag;
extern PyObject *const_str_plain_getprevious;
extern PyObject *const_str_plain_metaclass;
static PyObject *const_str_digest_b7db2bf7736d30812136c77c63404615;
extern PyObject *const_str_plain_Element;
extern PyObject *const_str_plain__setAttributes;
extern PyObject *const_str_plain__attributes;
extern PyObject *const_str_digest_9b2a32a10f34854554acce4f0a1e5df6;
static PyObject *const_str_digest_6e7c3384319b407eff97cdce5c7fde99;
static PyObject *const_tuple_13daadbf3ec37345277167c2d99326af_tuple;
extern PyObject *const_str_plain_dict;
extern PyObject *const_str_plain___name__;
extern PyObject *const_str_digest_7e74ebd73534ed29eee3c59d30d0a48b;
extern PyObject *const_str_digest_9537a87231d4075eb3b1b0c7efa1aa91;
extern PyObject *const_str_digest_fa15cf33f6e0f7bbb5935351de0e3715;
extern PyObject *const_tuple_str_plain___class___tuple;
extern PyObject *const_str_plain_constants;
extern PyObject *const_str_plain_sorted;
extern PyObject *const_str_angle_metaclass;
extern PyObject *const_str_plain_elementClass;
extern PyObject *const_tuple_false_tuple;
static PyObject *const_str_digest_1e7338124fd2319a419270db5a849460;
extern PyObject *const_str_plain_attr_string;
static PyObject *const_str_digest_b93049fdeb627d752afba5cb984c40c1;
extern PyObject *const_str_plain___file__;
extern PyObject *const_str_plain_object;
extern PyObject *const_str_plain_group;
extern PyObject *const_tuple_str_plain_DataLossWarning_tuple;
extern PyObject *const_tuple_str_plain_element_str_plain_rv_str_plain_serializeElement_tuple;
extern PyObject *const_str_plain__name;
extern PyObject *const_str_plain_etree;
extern PyObject *const_str_plain_bytes;
extern PyObject *const_str_plain_preventDoubleDashComments;
extern PyObject *const_str_digest_ed354d38a8179077fc0e1a36bd3e3c88;
extern PyObject *const_str_digest_6be6a846f8ab60ee86e4697dbb0b5f69;
extern PyObject *const_str_plain_prefix;
extern PyObject *const_tuple_str_chr_34_tuple;
static PyObject *const_tuple_5721905cb743c1838637affc03c7bb3f_tuple;
extern PyObject *const_str_plain__element;
extern PyObject *const_str_plain_division;
extern PyObject *const_str_plain_internalDTD;
extern PyObject *const_str_plain__getChildNodes;
extern PyObject *const_str_plain_items;
extern PyObject *const_int_neg_1;
extern PyObject *const_str_plain_TreeBuilder;
extern PyObject *const_str_plain_getFragment;
static PyObject *const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple;
extern PyObject *const_str_plain_rv;
static PyObject *const_str_plain_docStr;
static PyObject *const_str_digest_157044ffaa81175ad4903e1dd080dcd6;
extern PyObject *const_str_plain_fragment;
extern PyObject *const_str_plain_ns;
extern PyObject *const_str_plain_doctype;
extern PyObject *const_str_plain_None;
static PyObject *const_str_digest_10b8f28c6c066174c99fe668a39b8117;
static PyObject *const_str_plain__elementTree;
extern PyObject *const_str_plain_root_name;
static PyObject *const_str_digest_400394e32637cee088afa66d93dc33c1;
extern PyObject *const_str_plain_insertText;
static PyObject *const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple;
static PyObject *const_str_plain_comment_type;
extern PyObject *const_str_plain_builder;
static PyObject *const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple;
extern PyObject *const_str_plain_next_element;
extern PyObject *const_str_plain_join;
static PyObject *const_tuple_str_plain_self_str_plain_infosetFilter_tuple;
extern PyObject *const_tuple_0749368368a0cfa4901feb5a1b523968_tuple;
extern PyObject *const_str_plain_getroot;
extern PyObject *const_str_plain_DataLossWarning;
extern PyObject *const_str_plain_DocumentType;
extern PyObject *const_tuple_int_pos_1_tuple;
extern PyObject *const_tuple_type_dict_tuple;
static PyObject *const_str_digest_3f8b984275c38c3bda625b33f1771959;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_digest_effaccf01132aa7a279407b5ff12ad69;
static PyObject *const_str_digest_ea4126fd9638a8b23c8d75e146cf91f2;
extern PyObject *const_str_plain_absolute_import;
extern PyObject *const_str_plain_re;
extern PyObject *const_str_plain_extend;
static PyObject *const_tuple_b822c4c474984b0d568fc09f200640f9_tuple;
extern PyObject *const_str_plain_publicId;
extern PyObject *const_str_plain___orig_bases__;
extern PyObject *const_str_chr_62;
extern PyObject *const_str_plain___debug__;
static PyObject *const_str_digest_c3f7aeacbe8be57d8442408ed565acd3;
extern PyObject *const_str_digest_1e4616cb2877c002aa48d41e8b575b32;
extern PyObject *const_str_plain_root;
extern PyObject *const_str_plain_data;
static PyObject *const_str_plain_insertCommentMain;
extern PyObject *const_str_digest_de70a11ef971409076aa426e223c5dfd;
static PyObject *const_str_digest_ce210a5ba1d058780a85b26dedc97cc8;
extern PyObject *const_tuple_str_digest_7e74ebd73534ed29eee3c59d30d0a48b_tuple;
static PyObject *const_str_digest_6a46113026c008c69ac5eb1ec8732462;
extern PyObject *const_str_plain_warnings;
extern PyObject *const_tuple_str_plain_constants_tuple;
static PyObject *const_str_digest_cb4626c8a5f7a861675d955828e0e52a;
extern PyObject *const_str_plain_str;
static PyObject *const_str_digest_2593361995d74f6cc8469a151e84a58a;
static PyObject *const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple;
extern PyObject *const_str_plain___qualname__;
static PyObject *const_str_digest_2bdb90d56c98f223e14216a7d5288ec4;
extern PyObject *const_str_chr_39;
extern PyObject *const_str_plain_insertBefore;
extern PyObject *const_str_plain_tag_regexp;
static PyObject *const_tuple_str_chr_39_str_plain_U00027_tuple;
extern PyObject *const_str_digest_032c16ae0d10c68736800b6764144903;
static PyObject *const_tuple_92c6730ac7f771b03354c78da98513f0_tuple;
extern PyObject *const_str_plain_childNodes;
extern PyObject *const_str_plain_value;
extern PyObject *const_str_plain_coerceAttribute;
extern PyObject *const_str_plain__namespace;
extern PyObject *const_tuple_str_plain_self_tuple;
static PyObject *const_str_digest_9ce7f5f9a197df8e31892509c6c3c89d;
extern PyObject *const_str_plain_fromXmlName;
static PyObject *const_str_digest_1820d59173269edc917872caaf99df9a;
extern PyObject *const_str_plain_parent;
static PyObject *const_str_digest_5c4e8c2f19e297d12bbbb16255511973;
extern PyObject *const_str_plain__getAttributes;
extern PyObject *const_str_plain__getETreeTag;
static PyObject *const_str_plain_addprevious;
extern PyObject *const_str_plain_comment;
extern PyObject *const_str_plain__getData;
static PyObject *const_str_digest_136b4f535cc07eb8d1bb58bdad3cb2d6;
static PyObject *const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple;
static PyObject *const_str_digest_72acacd1895a5f52df4907d7389a2540;
extern PyObject *const_str_plain__setData;
extern PyObject *const_str_plain_tostring;
extern PyObject *const_str_plain_indent;
static PyObject *const_str_digest_766372f9f130bf73004b1284ff5b8101;
extern PyObject *const_tuple_empty;
extern PyObject *const_str_plain__setName;
extern PyObject *const_str_space;
extern PyObject *const_str_plain_append;
extern PyObject *const_str_digest_9f98288462e75229767715081c82f8e3;
extern PyObject *const_str_digest_c6a7e2e4d8820d0f9e64edc5c6b16c95;
extern PyObject *const_str_digest_23be8245b5c2c31c44519cc2152700d7;
static PyObject *const_str_digest_22458dfdf60aff9ff5147019bb64ce31;
extern PyObject *const_str_digest_3d21011b2dcbb4225ec1bdd53959a296;
extern PyObject *const_str_plain_nsmatch;
extern PyObject *const_str_plain_tail;
static PyObject *const_str_digest_416c22f7d0077d769a3ecbf84865a7a1;
extern PyObject *const_str_plain_name;
static PyObject *const_dict_f3ee083663520079b0398245ef994994;
static PyObject *const_str_digest_c460c9d2d0b41a036f1423fb6265106b;
extern PyObject *const_str_plain_documentClass;
extern PyObject *const_str_digest_f726c7f5472f8a368ddab3ea32349574;
extern PyObject *const_str_plain_insertRoot;
extern PyObject *const_str_plain_systemId;
extern PyObject *const_tuple_str_plain_name_str_plain_value_tuple;
extern PyObject *const_str_plain_document;
extern PyObject *const_str_plain_attr;
static PyObject *const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
extern PyObject *const_str_plain_element;
extern PyObject *const_str_plain_coerceComment;
extern PyObject *const_str_plain_compile;
static PyObject *const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple;
static PyObject *const_str_plain_coercedName;
extern PyObject *const_str_plain_public_id;
extern PyObject *const_str_plain_match;
static PyObject *const_str_digest_785786dd594195e92f9171a9f3cca933;
extern PyObject *const_tuple_int_0_tuple;
extern PyObject *const_str_plain_token;
static PyObject *const_str_digest_891b6f2e0f720c593c50e46e1cd1de78;
extern PyObject *const_str_plain_False;
extern PyObject *const_str_digest_5be01baa4ba3ebc25cf396b770724d67;
extern PyObject *const_str_plain___getitem__;
static PyObject *const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple;
static PyObject *const_str_digest_7f008b46055730231d7cb8c63029c513;
static PyObject *const_str_digest_a8ab2947e07ad7587f7839a1af7d3979;
extern PyObject *const_tuple_str_plain_base_tuple;
extern PyObject *const_str_digest_bec2b6469e6a014f889a463e40864578;
extern PyObject *const_str_plain_namespaceHTMLElements;
extern PyObject *const_str_plain_coerceElement;
static PyObject *const_tuple_e404755a3d4202614205028261c88242_tuple;
extern PyObject *const_tuple_str_plain_etree_tuple;
extern PyObject *const_str_plain_docinfo;
extern PyObject *const_int_0;
extern PyObject *const_str_plain_getDocument;
extern PyObject *const_str_plain_reset;
extern PyObject *const_tuple_int_pos_2_tuple;
extern PyObject *const_str_plain_text;
extern PyObject *const_str_digest_c80a6937774641657a6dac4ad54a24d6;
extern PyObject *const_str_digest_f3e75df7a436ebb396efad05407dbebd;
extern PyObject *const_str_plain_getnext;
static PyObject *const_str_plain_infosetFilter;
static PyObject *const_str_digest_f882e0883b8ffa6ed6d0406e0a309241;
static PyObject *const_str_plain_insertCommentInitial;
static PyObject *const_str_digest_21cb4cf97448f2c5ccd870f914bbbff2;
extern PyObject *const_str_plain_defaultNamespace;
extern PyObject *const_str_digest_a8720f3207aada7b835489a5b68857e0;
extern PyObject *const_str_plain_Attributes;
static PyObject *const_str_plain_initial_comments;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
extern PyObject *const_str_digest_9d7f19777720d6a10f854e5c58454668;
static PyObject *const_str_plain_dtd_str;
static PyObject *const_str_digest_fb26230655d21be471d7ee442137feff;
extern PyObject *const_str_angle_listcomp;
extern PyObject *const_str_digest_c0c3759da123e387798315e75d2fed70;
extern PyObject *const_str_plain__getName;
extern PyObject *const_str_plain_base;
static PyObject *const_str_digest_48fa30560f2d0e47e015a9aae37c3092;
extern PyObject *const_str_plain_Comment;
static PyObject *const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple;
static PyObject *const_str_digest_82c487f60198b530e0615f6c9a587b9c;
extern PyObject *const_str_plain_coerceCharacters;
extern PyObject *const_str_plain_fullTree;
extern PyObject *const_str_plain_Document;
extern PyObject *const_str_plain_type;
extern PyObject *const_str_plain_etree_tag;
extern PyObject *const_str_plain_namespace;
extern PyObject *const_str_plain_insertDoctype;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain___class__;
static PyObject *const_str_plain_fromstring;
static PyObject *const_str_plain__Element;
extern PyObject *const_str_plain_insertComment;
extern PyObject *const_str_digest_6f9a872a47904aea57244dbda428a451;
extern PyObject *const_tuple_none_tuple;
static PyObject *const_str_plain_getroottree;
extern PyObject *const_str_plain_coercePubid;
static PyObject *const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple;
extern PyObject *const_str_plain___module__;
extern PyObject *const_tuple_type_object_tuple;
extern PyObject *const_str_plain_system_url;
extern PyObject *const_str_plain_sys;
extern PyObject *const_tuple_str_plain__ihatexml_tuple;
extern PyObject *const_str_plain_prefixes;
extern PyObject *const_str_plain_unicode_literals;
extern PyObject *const_str_plain_fragmentClass;
extern PyObject *const_tuple_str_plain_self_str_plain_data_str_plain_parent_tuple;
extern PyObject *const_tuple_str_digest_fa15cf33f6e0f7bbb5935351de0e3715_tuple;
extern PyObject *const_str_plain_appendChild;
static PyObject *const_str_plain_root_element;
extern PyObject *const_str_plain_asd;
extern PyObject *const_int_pos_1;
static PyObject *const_str_digest_770fb38153aed93beb130bcd8f4ff0a6;
extern PyObject *const_str_plain_replace;
static PyObject *const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple;
extern PyObject *const_str_plain_tuple;
extern PyObject *const_tuple_str_plain_asd_tuple;
extern PyObject *const_str_plain__ihatexml;
static PyObject *const_str_plain_etree_builders;
extern PyObject *const_str_plain_attrib;
extern PyObject *const_tuple_str_plain_self_str_plain_element_tuple;
extern PyObject *const_str_plain_key;
extern PyObject *const_str_newline;
extern PyObject *const_str_digest_031c028bfc5063872fe2780ba70c819d;
extern PyObject *const_str_plain_commentClass;
extern PyObject *const_str_chr_34;
static PyObject *const_str_plain_comment_token;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_tuple_str_digest_9537a87231d4075eb3b1b0c7efa1aa91_tuple;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain___setitem__;
static PyObject *const_str_digest_16b0baf8bdbb6245ee1f43944c401f61;
extern PyObject *const_str_plain_getETreeModule;
static PyObject *const_str_plain_U00027;
extern PyObject *const_str_plain_self;
extern PyObject *const_str_plain_groups;
extern PyObject *const_str_plain_child;
extern PyObject *const_str_plain_testSerializer;
extern PyObject *const_str_plain_version_info;
static PyObject *const_str_digest_e320cd81ad66f1890bc3d4f8c7cff209;
static PyObject *const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple;
extern PyObject *const_str_digest_09da4543196399893e1a7556ded472a2;
extern PyObject *const_str_plain_serializeElement;
extern PyObject *const_str_plain__childNodes;
extern PyObject *const_str_plain_get;
extern PyObject *const_int_pos_2;
extern PyObject *const_str_plain_InfosetFilter;
extern PyObject *const_str_digest_e210569405c89c80326976b8d8e3fede;
extern PyObject *const_str_digest_dd860a010cefaec9bcca99e10582bb8a;
extern PyObject *const_str_plain_property;
extern PyObject *const_str_plain_attributes;
extern PyObject *const_str_empty;
static PyObject *const_str_digest_ab849e8c8ca5e9a66fbe1fb985734a18;
extern PyObject *const_str_plain_implementation;
extern PyObject *const_str_plain_find;
static PyObject *const_tuple_e80ab53747a645f04f5ba404395fb557_tuple;
extern PyObject *const_str_plain_openElements;
static PyObject *const_str_plain_sysid;
extern PyObject *const_tuple_str_chr_39_tuple;
extern PyObject *const_str_plain_doctypeClass;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_str_plain_addnext = UNSTREAM_STRING( &constant_bin[ 872981 ], 7, 1 );
const_str_digest_b7db2bf7736d30812136c77c63404615 = UNSTREAM_STRING( &constant_bin[ 872988 ], 46, 0 );
const_str_digest_6e7c3384319b407eff97cdce5c7fde99 = UNSTREAM_STRING( &constant_bin[ 873034 ], 41, 0 );
const_tuple_13daadbf3ec37345277167c2d99326af_tuple = PyTuple_New( 4 );
PyTuple_SET_ITEM( const_tuple_13daadbf3ec37345277167c2d99326af_tuple, 0, const_str_plain_element ); Py_INCREF( const_str_plain_element );
PyTuple_SET_ITEM( const_tuple_13daadbf3ec37345277167c2d99326af_tuple, 1, const_str_plain_rv ); Py_INCREF( const_str_plain_rv );
const_str_plain_infosetFilter = UNSTREAM_STRING( &constant_bin[ 873075 ], 13, 1 );
PyTuple_SET_ITEM( const_tuple_13daadbf3ec37345277167c2d99326af_tuple, 2, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
PyTuple_SET_ITEM( const_tuple_13daadbf3ec37345277167c2d99326af_tuple, 3, const_str_plain_serializeElement ); Py_INCREF( const_str_plain_serializeElement );
const_str_digest_1e7338124fd2319a419270db5a849460 = UNSTREAM_STRING( &constant_bin[ 873088 ], 32, 0 );
const_str_digest_b93049fdeb627d752afba5cb984c40c1 = UNSTREAM_STRING( &constant_bin[ 873120 ], 40, 0 );
const_tuple_5721905cb743c1838637affc03c7bb3f_tuple = PyTuple_New( 6 );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 2, const_str_plain_namespace ); Py_INCREF( const_str_plain_namespace );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 3, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 4, const_str_plain_builder ); Py_INCREF( const_str_plain_builder );
PyTuple_SET_ITEM( const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 5, const_str_plain_Attributes ); Py_INCREF( const_str_plain_Attributes );
const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple = PyTuple_New( 6 );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 1, const_str_plain_element ); Py_INCREF( const_str_plain_element );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 3, const_str_plain_key ); Py_INCREF( const_str_plain_key );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 4, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 5, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_plain_docStr = UNSTREAM_STRING( &constant_bin[ 873160 ], 6, 1 );
const_str_digest_157044ffaa81175ad4903e1dd080dcd6 = UNSTREAM_STRING( &constant_bin[ 873166 ], 49, 0 );
const_str_digest_10b8f28c6c066174c99fe668a39b8117 = UNSTREAM_STRING( &constant_bin[ 873215 ], 54, 0 );
const_str_plain__elementTree = UNSTREAM_STRING( &constant_bin[ 108433 ], 12, 1 );
const_str_digest_400394e32637cee088afa66d93dc33c1 = UNSTREAM_STRING( &constant_bin[ 873269 ], 52, 0 );
const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple, 1, const_str_plain_attributes ); Py_INCREF( const_str_plain_attributes );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple, 2, const_str_plain_Attributes ); Py_INCREF( const_str_plain_Attributes );
const_str_plain_comment_type = UNSTREAM_STRING( &constant_bin[ 873321 ], 12, 1 );
const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple = PyTuple_New( 7 );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 1, const_str_plain_token ); Py_INCREF( const_str_plain_token );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 3, const_str_plain_publicId ); Py_INCREF( const_str_plain_publicId );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 4, const_str_plain_systemId ); Py_INCREF( const_str_plain_systemId );
const_str_plain_coercedName = UNSTREAM_STRING( &constant_bin[ 873333 ], 11, 1 );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 5, const_str_plain_coercedName ); Py_INCREF( const_str_plain_coercedName );
PyTuple_SET_ITEM( const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 6, const_str_plain_doctype ); Py_INCREF( const_str_plain_doctype );
const_tuple_str_plain_self_str_plain_infosetFilter_tuple = PyTuple_New( 2 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_infosetFilter_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_infosetFilter_tuple, 1, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_digest_3f8b984275c38c3bda625b33f1771959 = UNSTREAM_STRING( &constant_bin[ 555057 ], 2, 0 );
const_str_digest_ea4126fd9638a8b23c8d75e146cf91f2 = UNSTREAM_STRING( &constant_bin[ 873344 ], 46, 0 );
const_tuple_b822c4c474984b0d568fc09f200640f9_tuple = PyTuple_New( 5 );
PyTuple_SET_ITEM( const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key );
PyTuple_SET_ITEM( const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
PyTuple_SET_ITEM( const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 3, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 4, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_digest_c3f7aeacbe8be57d8442408ed565acd3 = UNSTREAM_STRING( &constant_bin[ 871739 ], 34, 0 );
const_str_plain_insertCommentMain = UNSTREAM_STRING( &constant_bin[ 873390 ], 17, 1 );
const_str_digest_ce210a5ba1d058780a85b26dedc97cc8 = UNSTREAM_STRING( &constant_bin[ 872759 ], 21, 0 );
const_str_digest_6a46113026c008c69ac5eb1ec8732462 = UNSTREAM_STRING( &constant_bin[ 873407 ], 64, 0 );
const_str_digest_cb4626c8a5f7a861675d955828e0e52a = UNSTREAM_STRING( &constant_bin[ 873471 ], 29, 0 );
const_str_digest_2593361995d74f6cc8469a151e84a58a = UNSTREAM_STRING( &constant_bin[ 873500 ], 46, 0 );
const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple, 2, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_digest_2bdb90d56c98f223e14216a7d5288ec4 = UNSTREAM_STRING( &constant_bin[ 873546 ], 46, 0 );
const_tuple_str_chr_39_str_plain_U00027_tuple = PyTuple_New( 2 );
PyTuple_SET_ITEM( const_tuple_str_chr_39_str_plain_U00027_tuple, 0, const_str_chr_39 ); Py_INCREF( const_str_chr_39 );
const_str_plain_U00027 = UNSTREAM_STRING( &constant_bin[ 873592 ], 6, 1 );
PyTuple_SET_ITEM( const_tuple_str_chr_39_str_plain_U00027_tuple, 1, const_str_plain_U00027 ); Py_INCREF( const_str_plain_U00027 );
const_tuple_92c6730ac7f771b03354c78da98513f0_tuple = PyTuple_New( 4 );
PyTuple_SET_ITEM( const_tuple_92c6730ac7f771b03354c78da98513f0_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_92c6730ac7f771b03354c78da98513f0_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data );
PyTuple_SET_ITEM( const_tuple_92c6730ac7f771b03354c78da98513f0_tuple, 2, const_str_plain_parent ); Py_INCREF( const_str_plain_parent );
PyTuple_SET_ITEM( const_tuple_92c6730ac7f771b03354c78da98513f0_tuple, 3, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ );
const_str_digest_9ce7f5f9a197df8e31892509c6c3c89d = UNSTREAM_STRING( &constant_bin[ 873598 ], 49, 0 );
const_str_digest_1820d59173269edc917872caaf99df9a = UNSTREAM_STRING( &constant_bin[ 873344 ], 37, 0 );
const_str_digest_5c4e8c2f19e297d12bbbb16255511973 = UNSTREAM_STRING( &constant_bin[ 873647 ], 23, 0 );
const_str_plain_addprevious = UNSTREAM_STRING( &constant_bin[ 873670 ], 11, 1 );
const_str_digest_136b4f535cc07eb8d1bb58bdad3cb2d6 = UNSTREAM_STRING( &constant_bin[ 873681 ], 52, 0 );
const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple = PyTuple_New( 6 );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 0, const_str_plain_element ); Py_INCREF( const_str_plain_element );
const_str_plain_dtd_str = UNSTREAM_STRING( &constant_bin[ 873733 ], 7, 1 );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 1, const_str_plain_dtd_str ); Py_INCREF( const_str_plain_dtd_str );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 2, const_str_plain_attr ); Py_INCREF( const_str_plain_attr );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 3, const_str_plain_child ); Py_INCREF( const_str_plain_child );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 4, const_str_plain_rv ); Py_INCREF( const_str_plain_rv );
PyTuple_SET_ITEM( const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 5, const_str_plain_serializeElement ); Py_INCREF( const_str_plain_serializeElement );
const_str_digest_72acacd1895a5f52df4907d7389a2540 = UNSTREAM_STRING( &constant_bin[ 873740 ], 46, 0 );
const_str_digest_766372f9f130bf73004b1284ff5b8101 = UNSTREAM_STRING( &constant_bin[ 873786 ], 5, 0 );
const_str_digest_22458dfdf60aff9ff5147019bb64ce31 = UNSTREAM_STRING( &constant_bin[ 864170 ], 10, 0 );
const_str_digest_416c22f7d0077d769a3ecbf84865a7a1 = UNSTREAM_STRING( &constant_bin[ 873791 ], 68, 0 );
const_dict_f3ee083663520079b0398245ef994994 = _PyDict_NewPresized( 1 );
PyDict_SetItem( const_dict_f3ee083663520079b0398245ef994994, const_str_plain_preventDoubleDashComments, Py_True );
assert( PyDict_Size( const_dict_f3ee083663520079b0398245ef994994 ) == 1 );
const_str_digest_c460c9d2d0b41a036f1423fb6265106b = UNSTREAM_STRING( &constant_bin[ 873859 ], 46, 0 );
const_str_digest_f1275ea94736e4f524123f67a83c2ad5 = UNSTREAM_STRING( &constant_bin[ 873042 ], 32, 0 );
const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple = PyTuple_New( 4 );
PyTuple_SET_ITEM( const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data );
PyTuple_SET_ITEM( const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple, 2, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
PyTuple_SET_ITEM( const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple, 3, const_str_plain_builder ); Py_INCREF( const_str_plain_builder );
const_str_digest_785786dd594195e92f9171a9f3cca933 = UNSTREAM_STRING( &constant_bin[ 872988 ], 37, 0 );
const_str_digest_891b6f2e0f720c593c50e46e1cd1de78 = UNSTREAM_STRING( &constant_bin[ 107894 ], 40, 0 );
const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple, 2, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_digest_7f008b46055730231d7cb8c63029c513 = UNSTREAM_STRING( &constant_bin[ 873905 ], 36, 0 );
const_str_digest_a8ab2947e07ad7587f7839a1af7d3979 = UNSTREAM_STRING( &constant_bin[ 873941 ], 20, 0 );
const_tuple_e404755a3d4202614205028261c88242_tuple = PyTuple_New( 5 );
PyTuple_SET_ITEM( const_tuple_e404755a3d4202614205028261c88242_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_e404755a3d4202614205028261c88242_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data );
PyTuple_SET_ITEM( const_tuple_e404755a3d4202614205028261c88242_tuple, 2, const_str_plain_insertBefore ); Py_INCREF( const_str_plain_insertBefore );
PyTuple_SET_ITEM( const_tuple_e404755a3d4202614205028261c88242_tuple, 3, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
PyTuple_SET_ITEM( const_tuple_e404755a3d4202614205028261c88242_tuple, 4, const_str_plain_builder ); Py_INCREF( const_str_plain_builder );
const_str_digest_f882e0883b8ffa6ed6d0406e0a309241 = UNSTREAM_STRING( &constant_bin[ 873961 ], 52, 0 );
const_str_plain_insertCommentInitial = UNSTREAM_STRING( &constant_bin[ 873100 ], 20, 1 );
const_str_digest_21cb4cf97448f2c5ccd870f914bbbff2 = UNSTREAM_STRING( &constant_bin[ 874013 ], 71, 0 );
const_str_plain_initial_comments = UNSTREAM_STRING( &constant_bin[ 874084 ], 16, 1 );
const_str_digest_fb26230655d21be471d7ee442137feff = UNSTREAM_STRING( &constant_bin[ 874100 ], 10, 0 );
const_str_digest_48fa30560f2d0e47e015a9aae37c3092 = UNSTREAM_STRING( &constant_bin[ 127147 ], 4, 0 );
const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple, 1, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple, 2, const_str_plain_element ); Py_INCREF( const_str_plain_element );
const_str_digest_82c487f60198b530e0615f6c9a587b9c = UNSTREAM_STRING( &constant_bin[ 872121 ], 13, 0 );
const_str_plain_fromstring = UNSTREAM_STRING( &constant_bin[ 874110 ], 10, 1 );
const_str_plain__Element = UNSTREAM_STRING( &constant_bin[ 108563 ], 8, 1 );
const_str_plain_getroottree = UNSTREAM_STRING( &constant_bin[ 874120 ], 11, 1 );
const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple = PyTuple_New( 16 );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 0, const_str_plain_element ); Py_INCREF( const_str_plain_element );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 1, const_str_plain_indent ); Py_INCREF( const_str_plain_indent );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 2, const_str_plain_dtd_str ); Py_INCREF( const_str_plain_dtd_str );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 3, const_str_plain_next_element ); Py_INCREF( const_str_plain_next_element );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 4, const_str_plain_nsmatch ); Py_INCREF( const_str_plain_nsmatch );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 5, const_str_plain_ns ); Py_INCREF( const_str_plain_ns );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 6, const_str_plain_tag ); Py_INCREF( const_str_plain_tag );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 7, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 8, const_str_plain_attributes ); Py_INCREF( const_str_plain_attributes );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 9, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 10, const_str_plain_value ); Py_INCREF( const_str_plain_value );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 11, const_str_plain_attr_string ); Py_INCREF( const_str_plain_attr_string );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 12, const_str_plain_child ); Py_INCREF( const_str_plain_child );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 13, const_str_plain_rv ); Py_INCREF( const_str_plain_rv );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 14, const_str_plain_serializeElement ); Py_INCREF( const_str_plain_serializeElement );
PyTuple_SET_ITEM( const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 15, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
const_str_plain_root_element = UNSTREAM_STRING( &constant_bin[ 874131 ], 12, 1 );
const_str_digest_770fb38153aed93beb130bcd8f4ff0a6 = UNSTREAM_STRING( &constant_bin[ 874143 ], 451, 0 );
const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple = PyTuple_New( 11 );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 1, const_str_plain_token ); Py_INCREF( const_str_plain_token );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 2, const_str_plain_docStr ); Py_INCREF( const_str_plain_docStr );
const_str_plain_sysid = UNSTREAM_STRING( &constant_bin[ 874594 ], 5, 1 );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 3, const_str_plain_sysid ); Py_INCREF( const_str_plain_sysid );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 4, const_str_plain_root ); Py_INCREF( const_str_plain_root );
const_str_plain_comment_token = UNSTREAM_STRING( &constant_bin[ 874599 ], 13, 1 );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 5, const_str_plain_comment_token ); Py_INCREF( const_str_plain_comment_token );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 6, const_str_plain_comment ); Py_INCREF( const_str_plain_comment );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 7, const_str_plain_name ); Py_INCREF( const_str_plain_name );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 8, const_str_plain_namespace ); Py_INCREF( const_str_plain_namespace );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 9, const_str_plain_etree_tag ); Py_INCREF( const_str_plain_etree_tag );
PyTuple_SET_ITEM( const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 10, const_str_plain_root_element ); Py_INCREF( const_str_plain_root_element );
const_str_plain_etree_builders = UNSTREAM_STRING( &constant_bin[ 874612 ], 14, 1 );
const_str_digest_16b0baf8bdbb6245ee1f43944c401f61 = UNSTREAM_STRING( &constant_bin[ 874626 ], 35, 0 );
const_str_digest_e320cd81ad66f1890bc3d4f8c7cff209 = UNSTREAM_STRING( &constant_bin[ 874661 ], 37, 0 );
const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple, 1, const_str_plain_child ); Py_INCREF( const_str_plain_child );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple, 2, const_str_plain_builder ); Py_INCREF( const_str_plain_builder );
const_str_digest_ab849e8c8ca5e9a66fbe1fb985734a18 = UNSTREAM_STRING( &constant_bin[ 874698 ], 48, 0 );
const_tuple_e80ab53747a645f04f5ba404395fb557_tuple = PyTuple_New( 8 );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 1, const_str_plain_namespaceHTMLElements ); Py_INCREF( const_str_plain_namespaceHTMLElements );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 2, const_str_plain_fullTree ); Py_INCREF( const_str_plain_fullTree );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 3, const_str_plain_builder ); Py_INCREF( const_str_plain_builder );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 4, const_str_plain_infosetFilter ); Py_INCREF( const_str_plain_infosetFilter );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 5, const_str_plain_Attributes ); Py_INCREF( const_str_plain_Attributes );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 6, const_str_plain_Element ); Py_INCREF( const_str_plain_Element );
PyTuple_SET_ITEM( const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 7, const_str_plain_Comment ); Py_INCREF( const_str_plain_Comment );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_html5lib$treebuilders$etree_lxml( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_da61c4a997ccfb479b5f40db61acb57a;
static PyCodeObject *codeobj_3bf90fb7521f95b2ae5e9a4d72d5c3e4;
static PyCodeObject *codeobj_833d753b95b8f0ac99bebdd998f31eee;
static PyCodeObject *codeobj_5e1397f73186b904c251baa305741a9f;
static PyCodeObject *codeobj_8d3b7d1ed651548c3f58cf6d769e981e;
static PyCodeObject *codeobj_bb0a50bcd8564db7bc08a18785e7aa09;
static PyCodeObject *codeobj_7376dba775809bbb8de3d779ce2acc63;
static PyCodeObject *codeobj_bd32ea947cdf826fc59d708242090b47;
static PyCodeObject *codeobj_94efdd5aeaebfb6972cfe928568335c6;
static PyCodeObject *codeobj_8e674e012e750fbc332f2e65882740f1;
static PyCodeObject *codeobj_9eaf57a25c39c4d0bec38c10cab6c8a7;
static PyCodeObject *codeobj_596d31094c0a82f5f3e186e3e8d7a3fc;
static PyCodeObject *codeobj_67a5c4f8d39697ad9baa9541f5fb7fe4;
static PyCodeObject *codeobj_72e944aa1485a8ecfe708b8a8fded468;
static PyCodeObject *codeobj_bc66bf654e93bd58e4019b8e0c933bd8;
static PyCodeObject *codeobj_1d6f31053a502493cd5b3b933ab7c0e9;
static PyCodeObject *codeobj_20f203dc920e26395f60faac936440a6;
static PyCodeObject *codeobj_4918152e8796f071a3dffc699a2f0ed7;
static PyCodeObject *codeobj_5d3a03e78f6d12228cf0fd7f2a61b5c5;
static PyCodeObject *codeobj_33ac8a9966e5715738b1d27e6a366023;
static PyCodeObject *codeobj_90d2d08c5abe893d7114b704db5af02d;
static PyCodeObject *codeobj_11b6617287d9076bf64ad491026f56fe;
static PyCodeObject *codeobj_7873d09485b771d8b40073b48671e916;
static PyCodeObject *codeobj_d5ed7d33b03c4134fe40d8eacf103268;
static PyCodeObject *codeobj_7ae8031bef295630802e96e4158a7f4e;
static PyCodeObject *codeobj_036aee335ad091c665b877c7cf494b40;
static PyCodeObject *codeobj_6837bc0a783dd1ea48b3b9ac98faa192;
static PyCodeObject *codeobj_34e7b033bca433af19e077b04164d549;
static PyCodeObject *codeobj_66e4d1e661a9cf781a565024285bd1eb;
static PyCodeObject *codeobj_002e0192c586c8547f053f05b17e4664;
static PyCodeObject *codeobj_2b9d3c7f08377157499e9be61b4b7b35;
static PyCodeObject *codeobj_4174a5cddc6bfa0d2a7b31ea68a19ce2;
static PyCodeObject *codeobj_7e27e6bfbd8f807a73c08b0ad084bc95;
static PyCodeObject *codeobj_4845bf9cae396928f2ca891a1ffdac90;
static PyCodeObject *codeobj_feb6586f885a8e4ff63d373e0771d65c;
static PyCodeObject *codeobj_af852cb367ba86b02386e4ea11ae67b8;
static PyCodeObject *codeobj_8c2a29a8e624cd46f1c8b392216e0214;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_416c22f7d0077d769a3ecbf84865a7a1;
codeobj_da61c4a997ccfb479b5f40db61acb57a = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 156, const_tuple_str_plain_name_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_3bf90fb7521f95b2ae5e9a4d72d5c3e4 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_6e7c3384319b407eff97cdce5c7fde99, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_833d753b95b8f0ac99bebdd998f31eee = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Attributes, 188, const_tuple_str_plain___class___tuple, 0, 0, CO_OPTIMIZED | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_5e1397f73186b904c251baa305741a9f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Comment, 240, const_tuple_str_plain___class___tuple, 0, 0, CO_OPTIMIZED | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_8d3b7d1ed651548c3f58cf6d769e981e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Document, 41, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_bb0a50bcd8564db7bc08a18785e7aa09 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_DocumentType, 34, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_7376dba775809bbb8de3d779ce2acc63 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Element, 209, const_tuple_str_plain___class___tuple, 0, 0, CO_OPTIMIZED | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_bd32ea947cdf826fc59d708242090b47 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_TreeBuilder, 175, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_94efdd5aeaebfb6972cfe928568335c6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 35, const_tuple_0749368368a0cfa4901feb5a1b523968_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_8e674e012e750fbc332f2e65882740f1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 42, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_9eaf57a25c39c4d0bec38c10cab6c8a7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 183, const_tuple_e80ab53747a645f04f5ba404395fb557_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_596d31094c0a82f5f3e186e3e8d7a3fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 189, const_tuple_ceab8823f79e9eb394a6ef06668faa1b_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_67a5c4f8d39697ad9baa9541f5fb7fe4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 210, const_tuple_5721905cb743c1838637affc03c7bb3f_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_72e944aa1485a8ecfe708b8a8fded468 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 241, const_tuple_cc02b8332a41b2e17dda9a747d9547c9_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_bc66bf654e93bd58e4019b8e0c933bd8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setitem__, 201, const_tuple_b822c4c474984b0d568fc09f200640f9_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_1d6f31053a502493cd5b3b933ab7c0e9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__getAttributes, 225, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_20f203dc920e26395f60faac936440a6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__getChildNodes, 49, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_4918152e8796f071a3dffc699a2f0ed7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__getData, 249, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_5d3a03e78f6d12228cf0fd7f2a61b5c5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__getName, 220, const_tuple_str_plain_self_str_plain_infosetFilter_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_33ac8a9966e5715738b1d27e6a366023 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__setAttributes, 228, const_tuple_str_plain_self_str_plain_attributes_str_plain_Attributes_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_90d2d08c5abe893d7114b704db5af02d = MAKE_CODEOBJ( module_filename_obj, const_str_plain__setData, 245, const_tuple_str_plain_self_str_plain_data_str_plain_infosetFilter_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_11b6617287d9076bf64ad491026f56fe = MAKE_CODEOBJ( module_filename_obj, const_str_plain__setName, 215, const_tuple_str_plain_self_str_plain_name_str_plain_infosetFilter_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_7873d09485b771d8b40073b48671e916 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_appendChild, 46, const_tuple_str_plain_self_str_plain_element_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_d5ed7d33b03c4134fe40d8eacf103268 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_appendChild, 237, const_tuple_str_plain_self_str_plain_child_str_plain_builder_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_7ae8031bef295630802e96e4158a7f4e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getDocument, 268, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_036aee335ad091c665b877c7cf494b40 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getFragment, 274, const_tuple_str_plain_self_str_plain_fragment_str_plain_element_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_6837bc0a783dd1ea48b3b9ac98faa192 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insertCommentInitial, 300, const_tuple_str_plain_self_str_plain_data_str_plain_parent_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_34e7b033bca433af19e077b04164d549 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insertCommentMain, 305, const_tuple_92c6730ac7f771b03354c78da98513f0_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_66e4d1e661a9cf781a565024285bd1eb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insertDoctype, 284, const_tuple_21e99e03206bae2aaa838ca58bdc99e1_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_002e0192c586c8547f053f05b17e4664 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insertRoot, 311, const_tuple_06ebaf71bdb542da77a9f6cf5fe2a159_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_2b9d3c7f08377157499e9be61b4b7b35 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insertText, 233, const_tuple_e404755a3d4202614205028261c88242_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_4174a5cddc6bfa0d2a7b31ea68a19ce2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 259, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_7e27e6bfbd8f807a73c08b0ad084bc95 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_serializeElement, 59, const_tuple_0cc72acaed44c9f7d1acb089cb4a3db4_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_4845bf9cae396928f2ca891a1ffdac90 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_serializeElement, 138, const_tuple_110b784e69987f077b51ad0345bdcdc4_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS );
codeobj_feb6586f885a8e4ff63d373e0771d65c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_testSerializer, 55, const_tuple_13daadbf3ec37345277167c2d99326af_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_af852cb367ba86b02386e4ea11ae67b8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_testSerializer, 265, const_tuple_str_plain_self_str_plain_element_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_8c2a29a8e624cd46f1c8b392216e0214 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_tostring, 134, const_tuple_str_plain_element_str_plain_rv_str_plain_serializeElement_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_10_getDocument( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_11_getFragment( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_15_insertRoot( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_1___init__( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_2___init__( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_3_appendChild( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText( PyObject *defaults );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_8_reset( );
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_9_testSerializer( );
// The module function definitions.
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_name = python_pars[ 1 ];
PyObject *par_publicId = python_pars[ 2 ];
PyObject *par_systemId = python_pars[ 3 ];
struct Nuitka_FrameObject *frame_94efdd5aeaebfb6972cfe928568335c6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_94efdd5aeaebfb6972cfe928568335c6 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_94efdd5aeaebfb6972cfe928568335c6, codeobj_94efdd5aeaebfb6972cfe928568335c6, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_94efdd5aeaebfb6972cfe928568335c6 = cache_frame_94efdd5aeaebfb6972cfe928568335c6;
// Push the new frame as the currently active one.
pushFrameStack( frame_94efdd5aeaebfb6972cfe928568335c6 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_94efdd5aeaebfb6972cfe928568335c6 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( par_name );
tmp_assattr_name_1 = par_name;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_name, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 36;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_publicId == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "publicId" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 37;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_publicId;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 37;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_publicId, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 37;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( par_systemId == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "systemId" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 38;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = par_systemId;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 38;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_systemId, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 38;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_94efdd5aeaebfb6972cfe928568335c6 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_94efdd5aeaebfb6972cfe928568335c6 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_94efdd5aeaebfb6972cfe928568335c6, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_94efdd5aeaebfb6972cfe928568335c6->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_94efdd5aeaebfb6972cfe928568335c6, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_94efdd5aeaebfb6972cfe928568335c6,
type_description_1,
par_self,
par_name,
par_publicId,
par_systemId
);
// Release cached frame.
if ( frame_94efdd5aeaebfb6972cfe928568335c6 == cache_frame_94efdd5aeaebfb6972cfe928568335c6 )
{
Py_DECREF( frame_94efdd5aeaebfb6972cfe928568335c6 );
}
cache_frame_94efdd5aeaebfb6972cfe928568335c6 = NULL;
assertFrameObject( frame_94efdd5aeaebfb6972cfe928568335c6 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
Py_XDECREF( par_publicId );
par_publicId = NULL;
}
{
Py_XDECREF( par_systemId );
par_systemId = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
Py_XDECREF( par_publicId );
par_publicId = NULL;
}
{
Py_XDECREF( par_systemId );
par_systemId = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_1___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_2___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_8e674e012e750fbc332f2e65882740f1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_8e674e012e750fbc332f2e65882740f1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_8e674e012e750fbc332f2e65882740f1, codeobj_8e674e012e750fbc332f2e65882740f1, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_8e674e012e750fbc332f2e65882740f1 = cache_frame_8e674e012e750fbc332f2e65882740f1;
// Push the new frame as the currently active one.
pushFrameStack( frame_8e674e012e750fbc332f2e65882740f1 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_8e674e012e750fbc332f2e65882740f1 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_name_1 = Py_None;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__elementTree, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_name_2 = PyList_New( 0 );
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 44;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__childNodes, tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 44;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_8e674e012e750fbc332f2e65882740f1 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_8e674e012e750fbc332f2e65882740f1 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_8e674e012e750fbc332f2e65882740f1, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_8e674e012e750fbc332f2e65882740f1->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_8e674e012e750fbc332f2e65882740f1, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_8e674e012e750fbc332f2e65882740f1,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_8e674e012e750fbc332f2e65882740f1 == cache_frame_8e674e012e750fbc332f2e65882740f1 )
{
Py_DECREF( frame_8e674e012e750fbc332f2e65882740f1 );
}
cache_frame_8e674e012e750fbc332f2e65882740f1 = NULL;
assertFrameObject( frame_8e674e012e750fbc332f2e65882740f1 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_2___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_2___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_3_appendChild( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_element = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_7873d09485b771d8b40073b48671e916;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_7873d09485b771d8b40073b48671e916 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_7873d09485b771d8b40073b48671e916, codeobj_7873d09485b771d8b40073b48671e916, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *) );
frame_7873d09485b771d8b40073b48671e916 = cache_frame_7873d09485b771d8b40073b48671e916;
// Push the new frame as the currently active one.
pushFrameStack( frame_7873d09485b771d8b40073b48671e916 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_7873d09485b771d8b40073b48671e916 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_3;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__elementTree );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7873d09485b771d8b40073b48671e916->m_frame.f_lineno = 47;
tmp_source_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_getroot );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_addnext );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_element;
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__element );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7873d09485b771d8b40073b48671e916->m_frame.f_lineno = 47;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_7873d09485b771d8b40073b48671e916 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_7873d09485b771d8b40073b48671e916 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_7873d09485b771d8b40073b48671e916, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_7873d09485b771d8b40073b48671e916->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_7873d09485b771d8b40073b48671e916, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_7873d09485b771d8b40073b48671e916,
type_description_1,
par_self,
par_element
);
// Release cached frame.
if ( frame_7873d09485b771d8b40073b48671e916 == cache_frame_7873d09485b771d8b40073b48671e916 )
{
Py_DECREF( frame_7873d09485b771d8b40073b48671e916 );
}
cache_frame_7873d09485b771d8b40073b48671e916 = NULL;
assertFrameObject( frame_7873d09485b771d8b40073b48671e916 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_3_appendChild );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_3_appendChild );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_20f203dc920e26395f60faac936440a6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_20f203dc920e26395f60faac936440a6 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_20f203dc920e26395f60faac936440a6, codeobj_20f203dc920e26395f60faac936440a6, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_20f203dc920e26395f60faac936440a6 = cache_frame_20f203dc920e26395f60faac936440a6;
// Push the new frame as the currently active one.
pushFrameStack( frame_20f203dc920e26395f60faac936440a6 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_20f203dc920e26395f60faac936440a6 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__childNodes );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_20f203dc920e26395f60faac936440a6 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_20f203dc920e26395f60faac936440a6 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_20f203dc920e26395f60faac936440a6 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_20f203dc920e26395f60faac936440a6, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_20f203dc920e26395f60faac936440a6->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_20f203dc920e26395f60faac936440a6, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_20f203dc920e26395f60faac936440a6,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_20f203dc920e26395f60faac936440a6 == cache_frame_20f203dc920e26395f60faac936440a6 )
{
Py_DECREF( frame_20f203dc920e26395f60faac936440a6 );
}
cache_frame_20f203dc920e26395f60faac936440a6 = NULL;
assertFrameObject( frame_20f203dc920e26395f60faac936440a6 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_element = python_pars[ 0 ];
struct Nuitka_CellObject *var_rv = PyCell_EMPTY();
struct Nuitka_CellObject *var_infosetFilter = PyCell_EMPTY();
struct Nuitka_CellObject *var_serializeElement = PyCell_EMPTY();
struct Nuitka_FrameObject *frame_feb6586f885a8e4ff63d373e0771d65c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_feb6586f885a8e4ff63d373e0771d65c = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = PyList_New( 0 );
assert( PyCell_GET( var_rv ) == NULL );
PyCell_SET( var_rv, tmp_assign_source_1 );
}
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_feb6586f885a8e4ff63d373e0771d65c, codeobj_feb6586f885a8e4ff63d373e0771d65c, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_feb6586f885a8e4ff63d373e0771d65c = cache_frame_feb6586f885a8e4ff63d373e0771d65c;
// Push the new frame as the currently active one.
pushFrameStack( frame_feb6586f885a8e4ff63d373e0771d65c );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_feb6586f885a8e4ff63d373e0771d65c ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_kw_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain__ihatexml );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ihatexml );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ihatexml" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 57;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = tmp_mvar_value_1;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_InfosetFilter );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 57;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
tmp_kw_name_1 = PyDict_Copy( const_dict_f3ee083663520079b0398245ef994994 );
frame_feb6586f885a8e4ff63d373e0771d65c->m_frame.f_lineno = 57;
tmp_assign_source_2 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_kw_name_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 57;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
assert( PyCell_GET( var_infosetFilter ) == NULL );
PyCell_SET( var_infosetFilter, tmp_assign_source_2 );
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_int_0_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_assign_source_3 = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement( tmp_defaults_1 );
((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[0] );
((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[1] = var_rv;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[1] );
((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[2] = var_serializeElement;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_3)->m_closure[2] );
assert( PyCell_GET( var_serializeElement ) == NULL );
PyCell_SET( var_serializeElement, tmp_assign_source_3 );
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
CHECK_OBJECT( PyCell_GET( var_serializeElement ) );
tmp_called_name_2 = PyCell_GET( var_serializeElement );
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 129;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_element;
tmp_args_element_name_2 = const_int_0;
frame_feb6586f885a8e4ff63d373e0771d65c->m_frame.f_lineno = 129;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 129;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_3;
tmp_source_name_2 = const_str_newline;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_join );
assert( !(tmp_called_name_3 == NULL) );
if ( PyCell_GET( var_rv ) == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 131;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = PyCell_GET( var_rv );
frame_feb6586f885a8e4ff63d373e0771d65c->m_frame.f_lineno = 131;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 131;
type_description_1 = "occc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_feb6586f885a8e4ff63d373e0771d65c );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_feb6586f885a8e4ff63d373e0771d65c );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_feb6586f885a8e4ff63d373e0771d65c );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_feb6586f885a8e4ff63d373e0771d65c, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_feb6586f885a8e4ff63d373e0771d65c->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_feb6586f885a8e4ff63d373e0771d65c, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_feb6586f885a8e4ff63d373e0771d65c,
type_description_1,
par_element,
var_rv,
var_infosetFilter,
var_serializeElement
);
// Release cached frame.
if ( frame_feb6586f885a8e4ff63d373e0771d65c == cache_frame_feb6586f885a8e4ff63d373e0771d65c )
{
Py_DECREF( frame_feb6586f885a8e4ff63d373e0771d65c );
}
cache_frame_feb6586f885a8e4ff63d373e0771d65c = NULL;
assertFrameObject( frame_feb6586f885a8e4ff63d373e0771d65c );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_5_testSerializer );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_rv );
Py_DECREF( var_rv );
var_rv = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_infosetFilter );
Py_DECREF( var_infosetFilter );
var_infosetFilter = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_serializeElement );
Py_DECREF( var_serializeElement );
var_serializeElement = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_rv );
Py_DECREF( var_rv );
var_rv = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_infosetFilter );
Py_DECREF( var_infosetFilter );
var_infosetFilter = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_serializeElement );
Py_DECREF( var_serializeElement );
var_serializeElement = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_5_testSerializer );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_element = python_pars[ 0 ];
PyObject *par_indent = python_pars[ 1 ];
PyObject *var_dtd_str = NULL;
PyObject *var_next_element = NULL;
PyObject *var_nsmatch = NULL;
PyObject *var_ns = NULL;
PyObject *var_tag = NULL;
PyObject *var_prefix = NULL;
PyObject *var_attributes = NULL;
PyObject *var_name = NULL;
PyObject *var_value = NULL;
PyObject *var_attr_string = NULL;
PyObject *var_child = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__iter_value = NULL;
PyObject *tmp_for_loop_3__for_iterator = NULL;
PyObject *tmp_for_loop_3__iter_value = NULL;
PyObject *tmp_for_loop_4__for_iterator = NULL;
PyObject *tmp_for_loop_4__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
struct Nuitka_FrameObject *frame_7e27e6bfbd8f807a73c08b0ad084bc95;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
bool tmp_result;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
static struct Nuitka_FrameObject *cache_frame_7e27e6bfbd8f807a73c08b0ad084bc95 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_7e27e6bfbd8f807a73c08b0ad084bc95, codeobj_7e27e6bfbd8f807a73c08b0ad084bc95, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_7e27e6bfbd8f807a73c08b0ad084bc95 = cache_frame_7e27e6bfbd8f807a73c08b0ad084bc95;
// Push the new frame as the currently active one.
pushFrameStack( frame_7e27e6bfbd8f807a73c08b0ad084bc95 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_7e27e6bfbd8f807a73c08b0ad084bc95 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_name_1;
CHECK_OBJECT( par_element );
tmp_source_name_1 = par_element;
tmp_attribute_name_1 = const_str_plain_tag;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 60;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 60;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_source_name_2;
PyObject *tmp_attribute_name_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 61;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_element;
tmp_attribute_name_2 = const_str_plain_getroot;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 61;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_called_instance_1;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 63;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = PyCell_GET( self->m_closure[1] );
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 63;
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_9537a87231d4075eb3b1b0c7efa1aa91_tuple, 0 ) );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 64;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_element;
tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_docinfo );
if ( tmp_source_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 64;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_internalDTD );
Py_DECREF( tmp_source_name_3 );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 64;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_1 );
exception_lineno = 64;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_1 );
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_operand_name_2;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_source_name_7;
PyObject *tmp_source_name_8;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 65;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_element;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_docinfo );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 65;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_public_id );
Py_DECREF( tmp_source_name_5 );
if ( tmp_or_left_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 65;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
if ( tmp_or_left_truth_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_or_left_value_1 );
exception_lineno = 66;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( tmp_or_left_truth_1 == 1 )
{
goto or_left_1;
}
else
{
goto or_right_1;
}
or_right_1:;
Py_DECREF( tmp_or_left_value_1 );
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 66;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_element;
tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_docinfo );
if ( tmp_source_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 66;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_system_url );
Py_DECREF( tmp_source_name_7 );
if ( tmp_or_right_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 66;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_operand_name_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_operand_name_2 = tmp_or_left_value_1;
or_end_1:;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
Py_DECREF( tmp_operand_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 65;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
tmp_left_name_1 = const_str_digest_e210569405c89c80326976b8d8e3fede;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 67;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_10 = par_element;
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_docinfo );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_root_name );
Py_DECREF( tmp_source_name_9 );
if ( tmp_right_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_dtd_str == NULL );
var_dtd_str = tmp_assign_source_1;
}
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_11;
PyObject *tmp_source_name_12;
PyObject *tmp_source_name_13;
PyObject *tmp_source_name_14;
PyObject *tmp_source_name_15;
PyObject *tmp_source_name_16;
tmp_left_name_2 = const_str_digest_09da4543196399893e1a7556ded472a2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 70;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_12 = par_element;
tmp_source_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_docinfo );
if ( tmp_source_name_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_root_name );
Py_DECREF( tmp_source_name_11 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_2 = PyTuple_New( 3 );
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_1 );
if ( par_element == NULL )
{
Py_DECREF( tmp_right_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 71;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_element;
tmp_source_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_docinfo );
if ( tmp_source_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 71;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_public_id );
Py_DECREF( tmp_source_name_13 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 71;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_1 );
if ( par_element == NULL )
{
Py_DECREF( tmp_right_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 72;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_16 = par_element;
tmp_source_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_docinfo );
if ( tmp_source_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 72;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_system_url );
Py_DECREF( tmp_source_name_15 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 72;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_2, 2, tmp_tuple_element_1 );
tmp_assign_source_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 69;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
{
PyObject *old = var_dtd_str;
var_dtd_str = tmp_assign_source_2;
Py_XDECREF( old );
}
}
branch_end_4:;
}
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_17;
PyObject *tmp_args_element_name_1;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_tuple_element_2;
PyObject *tmp_left_name_4;
PyObject *tmp_right_name_4;
PyObject *tmp_left_name_5;
PyObject *tmp_right_name_5;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_17 = PyCell_GET( self->m_closure[1] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_append );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_3 = const_str_digest_766372f9f130bf73004b1284ff5b8101;
tmp_left_name_4 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_5 = par_indent;
tmp_right_name_5 = const_int_pos_2;
tmp_right_name_4 = BINARY_OPERATION_ADD( tmp_left_name_5, tmp_right_name_5 );
if ( tmp_right_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_2 = BINARY_OPERATION_MUL( tmp_left_name_4, tmp_right_name_4 );
Py_DECREF( tmp_right_name_4 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_3 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_2 );
if ( var_dtd_str == NULL )
{
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_right_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dtd_str" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_2 = var_dtd_str;
Py_INCREF( tmp_tuple_element_2 );
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_2 );
tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
Py_DECREF( tmp_right_name_3 );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 73;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 73;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_3:;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 74;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = par_element;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 74;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_getroot );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 74;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_next_element == NULL );
var_next_element = tmp_assign_source_3;
}
{
loop_start_1:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_called_instance_3;
if ( var_next_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = var_next_element;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 75;
tmp_compexpr_left_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_getprevious );
if ( tmp_compexpr_left_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 75;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = Py_None;
tmp_condition_result_5 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_compexpr_left_1 );
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
goto loop_end_1;
}
branch_no_5:;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_4;
if ( var_next_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 76;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_4 = var_next_element;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 76;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_getprevious );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 76;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
{
PyObject *old = var_next_element;
var_next_element = tmp_assign_source_4;
Py_XDECREF( old );
}
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 75;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
}
{
loop_start_2:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
if ( var_next_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 77;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = var_next_element;
tmp_compexpr_right_2 = Py_None;
tmp_condition_result_6 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
goto loop_end_2;
}
branch_no_6:;
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_left_name_6;
PyObject *tmp_right_name_6;
if ( PyCell_GET( self->m_closure[2] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "serializeElement" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 78;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_name_2 = PyCell_GET( self->m_closure[2] );
if ( var_next_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 78;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = var_next_element;
if ( par_indent == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 78;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_6 = par_indent;
tmp_right_name_6 = const_int_pos_2;
tmp_args_element_name_3 = BINARY_OPERATION_ADD( tmp_left_name_6, tmp_right_name_6 );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 78;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 78;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 78;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_5;
if ( var_next_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 79;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_5 = var_next_element;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 79;
tmp_assign_source_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_getnext );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 79;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
{
PyObject *old = var_next_element;
var_next_element = tmp_assign_source_5;
Py_XDECREF( old );
}
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 77;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_2:;
}
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_7;
int tmp_or_left_truth_2;
nuitka_bool tmp_or_left_value_2;
nuitka_bool tmp_or_right_value_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 80;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_1 = par_element;
tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type;
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 80;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_or_left_truth_2 == 1 )
{
goto or_left_2;
}
else
{
goto or_right_2;
}
or_right_2:;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 80;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_2 = par_element;
tmp_isinstance_cls_2 = (PyObject *)&PyBytes_Type;
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 80;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_7 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_condition_result_7 = tmp_or_left_value_2;
or_end_2:;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto branch_yes_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_operand_name_3;
int tmp_or_left_truth_3;
PyObject *tmp_or_left_value_3;
PyObject *tmp_or_right_value_3;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_source_name_18;
PyObject *tmp_mvar_value_1;
PyObject *tmp_subscript_name_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_3 = par_element;
tmp_isinstance_cls_3 = (PyObject *)&PyUnicode_Type;
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_or_left_value_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_or_left_truth_3 = CHECK_IF_TRUE( tmp_or_left_value_3 );
if ( tmp_or_left_truth_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( tmp_or_left_truth_3 == 1 )
{
goto or_left_3;
}
else
{
goto or_right_3;
}
or_right_3:;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_sys );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_18 = tmp_mvar_value_1;
tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_version_info );
if ( tmp_subscribed_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_subscript_name_1 = const_int_0;
tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
Py_DECREF( tmp_subscribed_name_1 );
if ( tmp_compexpr_left_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_compexpr_right_3 = const_int_pos_2;
tmp_or_right_value_3 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
Py_DECREF( tmp_compexpr_left_3 );
if ( tmp_or_right_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_operand_name_3 = tmp_or_right_value_3;
goto or_end_3;
or_left_3:;
Py_INCREF( tmp_or_left_value_3 );
tmp_operand_name_3 = tmp_or_left_value_3;
or_end_3:;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
Py_DECREF( tmp_operand_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 82;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
{
goto branch_yes_8;
}
else
{
goto branch_no_8;
}
branch_yes_8:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_lineno = 82;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
branch_no_8:;
}
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_19;
PyObject *tmp_args_element_name_4;
PyObject *tmp_left_name_7;
PyObject *tmp_right_name_7;
PyObject *tmp_tuple_element_3;
PyObject *tmp_left_name_8;
PyObject *tmp_right_name_8;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_19 = PyCell_GET( self->m_closure[1] );
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_append );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_7 = const_str_digest_3d21011b2dcbb4225ec1bdd53959a296;
tmp_left_name_8 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_8 = par_indent;
tmp_tuple_element_3 = BINARY_OPERATION_MUL( tmp_left_name_8, tmp_right_name_8 );
if ( tmp_tuple_element_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_7 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_3 );
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_right_name_7 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_3 = par_element;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_3 );
tmp_args_element_name_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 );
Py_DECREF( tmp_right_name_7 );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 83;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 83;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_called_instance_6;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 86;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = PyCell_GET( self->m_closure[1] );
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 86;
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_fa15cf33f6e0f7bbb5935351de0e3715_tuple, 0 ) );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 86;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 87;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = par_element;
tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 87;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_1__for_iterator == NULL );
tmp_for_loop_1__for_iterator = tmp_assign_source_6;
}
{
// Tried code:
{
loop_start_3:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_7;
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_1 );
if ( tmp_assign_source_7 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_3;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 87;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_7;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT( tmp_for_loop_1__iter_value );
tmp_assign_source_8 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_next_element;
var_next_element = tmp_assign_source_8;
Py_INCREF( var_next_element );
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_4;
PyObject *tmp_args_element_name_5;
PyObject *tmp_args_element_name_6;
PyObject *tmp_left_name_9;
PyObject *tmp_right_name_9;
if ( PyCell_GET( self->m_closure[2] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "serializeElement" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 88;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_2;
}
tmp_called_name_4 = PyCell_GET( self->m_closure[2] );
CHECK_OBJECT( var_next_element );
tmp_args_element_name_5 = var_next_element;
if ( par_indent == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 88;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_2;
}
tmp_left_name_9 = par_indent;
tmp_right_name_9 = const_int_pos_2;
tmp_args_element_name_6 = BINARY_OPERATION_ADD( tmp_left_name_9, tmp_right_name_9 );
if ( tmp_args_element_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 88;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_2;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 88;
{
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_args_element_name_6 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 88;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_2;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 87;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_2;
}
goto loop_start_3;
loop_end_3:;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
branch_end_7:;
}
branch_end_2:;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_compexpr_left_4;
PyObject *tmp_compexpr_right_4;
PyObject *tmp_source_name_20;
PyObject *tmp_mvar_value_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 89;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_20 = par_element;
tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_tag );
if ( tmp_compexpr_left_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 89;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_comment_type );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_comment_type );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_compexpr_left_4 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "comment_type" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 89;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_compexpr_right_4 = tmp_mvar_value_2;
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 );
Py_DECREF( tmp_compexpr_left_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 89;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
{
goto branch_yes_9;
}
else
{
goto branch_no_9;
}
branch_yes_9:;
{
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_21;
PyObject *tmp_args_element_name_7;
PyObject *tmp_left_name_10;
PyObject *tmp_right_name_10;
PyObject *tmp_tuple_element_4;
PyObject *tmp_left_name_11;
PyObject *tmp_right_name_11;
PyObject *tmp_source_name_22;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_21 = PyCell_GET( self->m_closure[1] );
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_append );
if ( tmp_called_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_10 = const_str_digest_9f98288462e75229767715081c82f8e3;
tmp_left_name_11 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_11 = par_indent;
tmp_tuple_element_4 = BINARY_OPERATION_MUL( tmp_left_name_11, tmp_right_name_11 );
if ( tmp_tuple_element_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_10 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_10, 0, tmp_tuple_element_4 );
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_right_name_10 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_22 = par_element;
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_text );
if ( tmp_tuple_element_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_right_name_10 );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_10, 1, tmp_tuple_element_4 );
tmp_args_element_name_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_10, tmp_right_name_10 );
Py_DECREF( tmp_right_name_10 );
if ( tmp_args_element_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 90;
{
PyObject *call_args[] = { tmp_args_element_name_7 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_args_element_name_7 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 90;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
nuitka_bool tmp_condition_result_10;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_source_name_23;
PyObject *tmp_attribute_name_3;
PyObject *tmp_source_name_24;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 91;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_23 = par_element;
tmp_attribute_name_3 = const_str_plain_tail;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_23, tmp_attribute_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 91;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_1 == 1 )
{
goto and_right_1;
}
else
{
goto and_left_1;
}
and_right_1:;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 91;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_24 = par_element;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_tail );
if ( tmp_attribute_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 91;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_2 );
exception_lineno = 91;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_2 );
tmp_condition_result_10 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_10 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
{
goto branch_yes_10;
}
else
{
goto branch_no_10;
}
branch_yes_10:;
{
PyObject *tmp_called_name_6;
PyObject *tmp_source_name_25;
PyObject *tmp_args_element_name_8;
PyObject *tmp_left_name_12;
PyObject *tmp_right_name_12;
PyObject *tmp_tuple_element_5;
PyObject *tmp_left_name_13;
PyObject *tmp_right_name_13;
PyObject *tmp_source_name_26;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_25 = PyCell_GET( self->m_closure[1] );
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_append );
if ( tmp_called_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_12 = const_str_digest_3d21011b2dcbb4225ec1bdd53959a296;
tmp_left_name_13 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_13 = par_indent;
tmp_tuple_element_5 = BINARY_OPERATION_MUL( tmp_left_name_13, tmp_right_name_13 );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_12 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_12, 0, tmp_tuple_element_5 );
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_right_name_12 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_26 = par_element;
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain_tail );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_right_name_12 );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_12, 1, tmp_tuple_element_5 );
tmp_args_element_name_8 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 );
Py_DECREF( tmp_right_name_12 );
if ( tmp_args_element_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 92;
{
PyObject *call_args[] = { tmp_args_element_name_8 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
}
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_8 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 92;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_10:;
}
goto branch_end_9;
branch_no_9:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_operand_name_4;
PyObject *tmp_isinstance_inst_4;
PyObject *tmp_isinstance_cls_4;
PyObject *tmp_source_name_27;
PyObject *tmp_mvar_value_3;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 94;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_4 = par_element;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 94;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_27 = tmp_mvar_value_3;
tmp_isinstance_cls_4 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain__Element );
if ( tmp_isinstance_cls_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 94;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_4, tmp_isinstance_cls_4 );
Py_DECREF( tmp_isinstance_cls_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 94;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_operand_name_4 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 94;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
{
goto branch_yes_11;
}
else
{
goto branch_no_11;
}
branch_yes_11:;
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = PyExc_AssertionError;
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_lineno = 94;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
branch_no_11:;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_28;
PyObject *tmp_source_name_29;
PyObject *tmp_mvar_value_4;
PyObject *tmp_args_element_name_9;
PyObject *tmp_source_name_30;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree_builders );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree_builders );
}
if ( tmp_mvar_value_4 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree_builders" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_29 = tmp_mvar_value_4;
tmp_source_name_28 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_tag_regexp );
if ( tmp_source_name_28 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_match );
Py_DECREF( tmp_source_name_28 );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_7 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_30 = par_element;
tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain_tag );
if ( tmp_args_element_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_7 );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 95;
{
PyObject *call_args[] = { tmp_args_element_name_9 };
tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
}
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_element_name_9 );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 95;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_nsmatch == NULL );
var_nsmatch = tmp_assign_source_9;
}
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_compexpr_left_5;
PyObject *tmp_compexpr_right_5;
CHECK_OBJECT( var_nsmatch );
tmp_compexpr_left_5 = var_nsmatch;
tmp_compexpr_right_5 = Py_None;
tmp_condition_result_12 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
{
goto branch_yes_12;
}
else
{
goto branch_no_12;
}
branch_yes_12:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_instance_7;
if ( var_nsmatch == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nsmatch" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 97;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_7 = var_nsmatch;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 97;
tmp_assign_source_10 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_7, const_str_plain_group, &PyTuple_GET_ITEM( const_tuple_int_pos_1_tuple, 0 ) );
if ( tmp_assign_source_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 97;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_ns == NULL );
var_ns = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_instance_8;
if ( var_nsmatch == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nsmatch" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 98;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_called_instance_8 = var_nsmatch;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 98;
tmp_assign_source_11 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_8, const_str_plain_group, &PyTuple_GET_ITEM( const_tuple_int_pos_2_tuple, 0 ) );
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 98;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_tag == NULL );
var_tag = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_source_name_31;
PyObject *tmp_mvar_value_5;
PyObject *tmp_subscript_name_2;
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_constants );
if (unlikely( tmp_mvar_value_5 == NULL ))
{
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_constants );
}
if ( tmp_mvar_value_5 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "constants" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 99;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_31 = tmp_mvar_value_5;
tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_prefixes );
if ( tmp_subscribed_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 99;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( var_ns == NULL )
{
Py_DECREF( tmp_subscribed_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ns" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 99;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_subscript_name_2 = var_ns;
tmp_assign_source_12 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
Py_DECREF( tmp_subscribed_name_2 );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 99;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( var_prefix == NULL );
var_prefix = tmp_assign_source_12;
}
{
PyObject *tmp_called_name_8;
PyObject *tmp_source_name_32;
PyObject *tmp_args_element_name_10;
PyObject *tmp_left_name_14;
PyObject *tmp_right_name_14;
PyObject *tmp_tuple_element_6;
PyObject *tmp_left_name_15;
PyObject *tmp_right_name_15;
PyObject *tmp_called_name_9;
PyObject *tmp_source_name_33;
PyObject *tmp_args_element_name_11;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_32 = PyCell_GET( self->m_closure[1] );
tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_append );
if ( tmp_called_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_14 = const_str_digest_fb26230655d21be471d7ee442137feff;
tmp_left_name_15 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_8 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_15 = par_indent;
tmp_tuple_element_6 = BINARY_OPERATION_MUL( tmp_left_name_15, tmp_right_name_15 );
if ( tmp_tuple_element_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_14 = PyTuple_New( 3 );
PyTuple_SET_ITEM( tmp_right_name_14, 0, tmp_tuple_element_6 );
if ( var_prefix == NULL )
{
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_right_name_14 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_6 = var_prefix;
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_right_name_14, 1, tmp_tuple_element_6 );
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_right_name_14 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 101;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_33 = PyCell_GET( self->m_closure[0] );
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_fromXmlName );
if ( tmp_called_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_right_name_14 );
exception_lineno = 101;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( var_tag == NULL )
{
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_right_name_14 );
Py_DECREF( tmp_called_name_9 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 101;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_args_element_name_11 = var_tag;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 101;
{
PyObject *call_args[] = { tmp_args_element_name_11 };
tmp_tuple_element_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
}
Py_DECREF( tmp_called_name_9 );
if ( tmp_tuple_element_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_right_name_14 );
exception_lineno = 101;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_14, 2, tmp_tuple_element_6 );
tmp_args_element_name_10 = BINARY_OPERATION_REMAINDER( tmp_left_name_14, tmp_right_name_14 );
Py_DECREF( tmp_right_name_14 );
if ( tmp_args_element_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 100;
{
PyObject *call_args[] = { tmp_args_element_name_10 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args );
}
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_args_element_name_10 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 100;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
goto branch_end_12;
branch_no_12:;
{
PyObject *tmp_called_name_10;
PyObject *tmp_source_name_34;
PyObject *tmp_args_element_name_12;
PyObject *tmp_left_name_16;
PyObject *tmp_right_name_16;
PyObject *tmp_tuple_element_7;
PyObject *tmp_left_name_17;
PyObject *tmp_right_name_17;
PyObject *tmp_called_name_11;
PyObject *tmp_source_name_35;
PyObject *tmp_args_element_name_13;
PyObject *tmp_source_name_36;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_34 = PyCell_GET( self->m_closure[1] );
tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_34, const_str_plain_append );
if ( tmp_called_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_16 = const_str_digest_6f9a872a47904aea57244dbda428a451;
tmp_left_name_17 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_10 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_17 = par_indent;
tmp_tuple_element_7 = BINARY_OPERATION_MUL( tmp_left_name_17, tmp_right_name_17 );
if ( tmp_tuple_element_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_16 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_16, 0, tmp_tuple_element_7 );
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_right_name_16 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 104;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_35 = PyCell_GET( self->m_closure[0] );
tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_35, const_str_plain_fromXmlName );
if ( tmp_called_name_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_right_name_16 );
exception_lineno = 104;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_right_name_16 );
Py_DECREF( tmp_called_name_11 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 104;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_36 = par_element;
tmp_args_element_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_36, const_str_plain_tag );
if ( tmp_args_element_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_right_name_16 );
Py_DECREF( tmp_called_name_11 );
exception_lineno = 104;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 104;
{
PyObject *call_args[] = { tmp_args_element_name_13 };
tmp_tuple_element_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args );
}
Py_DECREF( tmp_called_name_11 );
Py_DECREF( tmp_args_element_name_13 );
if ( tmp_tuple_element_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_right_name_16 );
exception_lineno = 104;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_16, 1, tmp_tuple_element_7 );
tmp_args_element_name_12 = BINARY_OPERATION_REMAINDER( tmp_left_name_16, tmp_right_name_16 );
Py_DECREF( tmp_right_name_16 );
if ( tmp_args_element_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 103;
{
PyObject *call_args[] = { tmp_args_element_name_12 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args );
}
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_args_element_name_12 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 103;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_end_12:;
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_source_name_37;
PyObject *tmp_attribute_name_4;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 106;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_37 = par_element;
tmp_attribute_name_4 = const_str_plain_attrib;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_37, tmp_attribute_name_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 106;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
{
goto branch_yes_13;
}
else
{
goto branch_no_13;
}
branch_yes_13:;
{
PyObject *tmp_assign_source_13;
tmp_assign_source_13 = PyList_New( 0 );
assert( var_attributes == NULL );
var_attributes = tmp_assign_source_13;
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_9;
PyObject *tmp_source_name_38;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_38 = par_element;
tmp_called_instance_9 = LOOKUP_ATTRIBUTE( tmp_source_name_38, const_str_plain_attrib );
if ( tmp_called_instance_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 108;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_9, const_str_plain_items );
Py_DECREF( tmp_called_instance_9 );
if ( tmp_iter_arg_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_assign_source_14 = MAKE_ITERATOR( tmp_iter_arg_2 );
Py_DECREF( tmp_iter_arg_2 );
if ( tmp_assign_source_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_2__for_iterator == NULL );
tmp_for_loop_2__for_iterator = tmp_assign_source_14;
}
{
// Tried code:
{
loop_start_4:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_15;
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_15 = ITERATOR_NEXT( tmp_next_source_2 );
if ( tmp_assign_source_15 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_4;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 108;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_15;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT( tmp_for_loop_2__iter_value );
tmp_iter_arg_3 = tmp_for_loop_2__iter_value;
tmp_assign_source_16 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 );
if ( tmp_assign_source_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_16;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_17;
PyObject *tmp_unpack_1;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_17 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
if ( tmp_assign_source_17 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 108;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_17;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_unpack_2;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_18 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
if ( tmp_assign_source_18 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 108;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_18;
Py_XDECREF( old );
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
if (likely( tmp_iterator_attempt == NULL ))
{
PyObject *error = GET_ERROR_OCCURRED();
if ( error != NULL )
{
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
{
CLEAR_ERROR_OCCURRED();
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 108;
goto try_except_handler_5;
}
}
}
else
{
Py_DECREF( tmp_iterator_attempt );
// TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 108;
goto try_except_handler_5;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
Py_DECREF( tmp_tuple_unpack_1__source_iter );
tmp_tuple_unpack_1__source_iter = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_4;
}
// End of try:
try_end_2:;
}
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
tmp_tuple_unpack_1__element_1 = NULL;
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
tmp_tuple_unpack_1__element_2 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_3;
}
// End of try:
try_end_3:;
}
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
Py_DECREF( tmp_tuple_unpack_1__source_iter );
tmp_tuple_unpack_1__source_iter = NULL;
}
{
PyObject *tmp_assign_source_19;
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
tmp_assign_source_19 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_name;
var_name = tmp_assign_source_19;
Py_INCREF( var_name );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
tmp_tuple_unpack_1__element_1 = NULL;
}
{
PyObject *tmp_assign_source_20;
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
tmp_assign_source_20 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_20;
Py_INCREF( var_value );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
tmp_tuple_unpack_1__element_2 = NULL;
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_name_12;
PyObject *tmp_source_name_39;
PyObject *tmp_mvar_value_6;
PyObject *tmp_args_element_name_14;
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_tag_regexp );
if (unlikely( tmp_mvar_value_6 == NULL ))
{
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_tag_regexp );
}
if ( tmp_mvar_value_6 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "tag_regexp" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 109;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_source_name_39 = tmp_mvar_value_6;
tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_39, const_str_plain_match );
if ( tmp_called_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 109;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_12 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 109;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_args_element_name_14 = var_name;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 109;
{
PyObject *call_args[] = { tmp_args_element_name_14 };
tmp_assign_source_21 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args );
}
Py_DECREF( tmp_called_name_12 );
if ( tmp_assign_source_21 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 109;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
{
PyObject *old = var_nsmatch;
var_nsmatch = tmp_assign_source_21;
Py_XDECREF( old );
}
}
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_compexpr_left_6;
PyObject *tmp_compexpr_right_6;
CHECK_OBJECT( var_nsmatch );
tmp_compexpr_left_6 = var_nsmatch;
tmp_compexpr_right_6 = Py_None;
tmp_condition_result_14 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
{
goto branch_yes_14;
}
else
{
goto branch_no_14;
}
branch_yes_14:;
{
// Tried code:
{
PyObject *tmp_assign_source_22;
PyObject *tmp_iter_arg_4;
PyObject *tmp_called_instance_10;
if ( var_nsmatch == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nsmatch" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 111;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_6;
}
tmp_called_instance_10 = var_nsmatch;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 111;
tmp_iter_arg_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_10, const_str_plain_groups );
if ( tmp_iter_arg_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 111;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_6;
}
tmp_assign_source_22 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 );
Py_DECREF( tmp_iter_arg_4 );
if ( tmp_assign_source_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 111;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_22;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_23;
PyObject *tmp_unpack_3;
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_23 = UNPACK_NEXT( tmp_unpack_3, 0, 2 );
if ( tmp_assign_source_23 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 111;
goto try_except_handler_7;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_23;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_unpack_4;
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_24 = UNPACK_NEXT( tmp_unpack_4, 1, 2 );
if ( tmp_assign_source_24 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 111;
goto try_except_handler_7;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_24;
Py_XDECREF( old );
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) );
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 );
if (likely( tmp_iterator_attempt == NULL ))
{
PyObject *error = GET_ERROR_OCCURRED();
if ( error != NULL )
{
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
{
CLEAR_ERROR_OCCURRED();
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 111;
goto try_except_handler_7;
}
}
}
else
{
Py_DECREF( tmp_iterator_attempt );
// TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 111;
goto try_except_handler_7;
}
}
goto try_end_4;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
Py_DECREF( tmp_tuple_unpack_2__source_iter );
tmp_tuple_unpack_2__source_iter = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_6;
}
// End of try:
try_end_4:;
}
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
tmp_tuple_unpack_2__element_1 = NULL;
}
{
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
tmp_tuple_unpack_2__element_2 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_3;
}
// End of try:
try_end_5:;
}
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
Py_DECREF( tmp_tuple_unpack_2__source_iter );
tmp_tuple_unpack_2__source_iter = NULL;
}
{
PyObject *tmp_assign_source_25;
CHECK_OBJECT( tmp_tuple_unpack_2__element_1 );
tmp_assign_source_25 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_ns;
var_ns = tmp_assign_source_25;
Py_INCREF( var_ns );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
tmp_tuple_unpack_2__element_1 = NULL;
}
{
PyObject *tmp_assign_source_26;
CHECK_OBJECT( tmp_tuple_unpack_2__element_2 );
tmp_assign_source_26 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_name;
var_name = tmp_assign_source_26;
Py_INCREF( var_name );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
tmp_tuple_unpack_2__element_2 = NULL;
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_called_name_13;
PyObject *tmp_source_name_40;
PyObject *tmp_args_element_name_15;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 112;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_source_name_40 = PyCell_GET( self->m_closure[0] );
tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_40, const_str_plain_fromXmlName );
if ( tmp_called_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 112;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_13 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 112;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_args_element_name_15 = var_name;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 112;
{
PyObject *call_args[] = { tmp_args_element_name_15 };
tmp_assign_source_27 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args );
}
Py_DECREF( tmp_called_name_13 );
if ( tmp_assign_source_27 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 112;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_27;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_source_name_41;
PyObject *tmp_mvar_value_7;
PyObject *tmp_subscript_name_3;
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_constants );
if (unlikely( tmp_mvar_value_7 == NULL ))
{
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_constants );
}
if ( tmp_mvar_value_7 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "constants" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 113;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_source_name_41 = tmp_mvar_value_7;
tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_41, const_str_plain_prefixes );
if ( tmp_subscribed_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 113;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
if ( var_ns == NULL )
{
Py_DECREF( tmp_subscribed_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ns" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 113;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_subscript_name_3 = var_ns;
tmp_assign_source_28 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
Py_DECREF( tmp_subscribed_name_3 );
if ( tmp_assign_source_28 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 113;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
{
PyObject *old = var_prefix;
var_prefix = tmp_assign_source_28;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_left_name_18;
PyObject *tmp_right_name_18;
PyObject *tmp_tuple_element_8;
tmp_left_name_18 = const_str_digest_9b2a32a10f34854554acce4f0a1e5df6;
CHECK_OBJECT( var_prefix );
tmp_tuple_element_8 = var_prefix;
tmp_right_name_18 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_right_name_18, 0, tmp_tuple_element_8 );
if ( var_name == NULL )
{
Py_DECREF( tmp_right_name_18 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 114;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_tuple_element_8 = var_name;
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_right_name_18, 1, tmp_tuple_element_8 );
tmp_assign_source_29 = BINARY_OPERATION_REMAINDER( tmp_left_name_18, tmp_right_name_18 );
Py_DECREF( tmp_right_name_18 );
if ( tmp_assign_source_29 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 114;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
{
PyObject *old = var_attr_string;
var_attr_string = tmp_assign_source_29;
Py_XDECREF( old );
}
}
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_name_14;
PyObject *tmp_source_name_42;
PyObject *tmp_args_element_name_16;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 116;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_source_name_42 = PyCell_GET( self->m_closure[0] );
tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_42, const_str_plain_fromXmlName );
if ( tmp_called_name_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 116;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_14 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 116;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_args_element_name_16 = var_name;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 116;
{
PyObject *call_args[] = { tmp_args_element_name_16 };
tmp_assign_source_30 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args );
}
Py_DECREF( tmp_called_name_14 );
if ( tmp_assign_source_30 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 116;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
{
PyObject *old = var_attr_string;
var_attr_string = tmp_assign_source_30;
Py_XDECREF( old );
}
}
branch_end_14:;
}
{
PyObject *tmp_called_name_15;
PyObject *tmp_source_name_43;
PyObject *tmp_args_element_name_17;
PyObject *tmp_tuple_element_9;
if ( var_attributes == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 117;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_source_name_43 = var_attributes;
tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_43, const_str_plain_append );
if ( tmp_called_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 117;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
if ( var_attr_string == NULL )
{
Py_DECREF( tmp_called_name_15 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr_string" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 117;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_tuple_element_9 = var_attr_string;
tmp_args_element_name_17 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_9 );
PyTuple_SET_ITEM( tmp_args_element_name_17, 0, tmp_tuple_element_9 );
if ( var_value == NULL )
{
Py_DECREF( tmp_called_name_15 );
Py_DECREF( tmp_args_element_name_17 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 117;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
tmp_tuple_element_9 = var_value;
Py_INCREF( tmp_tuple_element_9 );
PyTuple_SET_ITEM( tmp_args_element_name_17, 1, tmp_tuple_element_9 );
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 117;
{
PyObject *call_args[] = { tmp_args_element_name_17 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args );
}
Py_DECREF( tmp_called_name_15 );
Py_DECREF( tmp_args_element_name_17 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 117;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 108;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_3;
}
goto loop_start_4;
loop_end_4:;
}
goto try_end_6;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_2__iter_value );
tmp_for_loop_2__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
Py_DECREF( tmp_for_loop_2__for_iterator );
tmp_for_loop_2__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
}
// End of try:
try_end_6:;
}
{
Py_XDECREF( tmp_for_loop_2__iter_value );
tmp_for_loop_2__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
Py_DECREF( tmp_for_loop_2__for_iterator );
tmp_for_loop_2__for_iterator = NULL;
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_iter_arg_5;
PyObject *tmp_called_name_16;
PyObject *tmp_args_element_name_18;
tmp_called_name_16 = LOOKUP_BUILTIN( const_str_plain_sorted );
assert( tmp_called_name_16 != NULL );
if ( var_attributes == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 119;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_args_element_name_18 = var_attributes;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 119;
{
PyObject *call_args[] = { tmp_args_element_name_18 };
tmp_iter_arg_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args );
}
if ( tmp_iter_arg_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 119;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_assign_source_31 = MAKE_ITERATOR( tmp_iter_arg_5 );
Py_DECREF( tmp_iter_arg_5 );
if ( tmp_assign_source_31 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 119;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_3__for_iterator == NULL );
tmp_for_loop_3__for_iterator = tmp_assign_source_31;
}
{
// Tried code:
{
loop_start_5:;
{
PyObject *tmp_next_source_3;
PyObject *tmp_assign_source_32;
CHECK_OBJECT( tmp_for_loop_3__for_iterator );
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
tmp_assign_source_32 = ITERATOR_NEXT( tmp_next_source_3 );
if ( tmp_assign_source_32 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_5;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 119;
goto try_except_handler_8;
}
}
{
PyObject *old = tmp_for_loop_3__iter_value;
tmp_for_loop_3__iter_value = tmp_assign_source_32;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_33;
PyObject *tmp_iter_arg_6;
CHECK_OBJECT( tmp_for_loop_3__iter_value );
tmp_iter_arg_6 = tmp_for_loop_3__iter_value;
tmp_assign_source_33 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_6 );
if ( tmp_assign_source_33 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 119;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_9;
}
{
PyObject *old = tmp_tuple_unpack_3__source_iter;
tmp_tuple_unpack_3__source_iter = tmp_assign_source_33;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_34;
PyObject *tmp_unpack_5;
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
tmp_unpack_5 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_34 = UNPACK_NEXT( tmp_unpack_5, 0, 2 );
if ( tmp_assign_source_34 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 119;
goto try_except_handler_10;
}
{
PyObject *old = tmp_tuple_unpack_3__element_1;
tmp_tuple_unpack_3__element_1 = tmp_assign_source_34;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_unpack_6;
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
tmp_unpack_6 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_35 = UNPACK_NEXT( tmp_unpack_6, 1, 2 );
if ( tmp_assign_source_35 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooooooooooccc";
exception_lineno = 119;
goto try_except_handler_10;
}
{
PyObject *old = tmp_tuple_unpack_3__element_2;
tmp_tuple_unpack_3__element_2 = tmp_assign_source_35;
Py_XDECREF( old );
}
}
{
PyObject *tmp_iterator_name_3;
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT( tmp_iterator_name_3 ); assert( HAS_ITERNEXT( tmp_iterator_name_3 ) );
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_3 )->tp_iternext)( tmp_iterator_name_3 );
if (likely( tmp_iterator_attempt == NULL ))
{
PyObject *error = GET_ERROR_OCCURRED();
if ( error != NULL )
{
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
{
CLEAR_ERROR_OCCURRED();
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 119;
goto try_except_handler_10;
}
}
}
else
{
Py_DECREF( tmp_iterator_attempt );
// TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 119;
goto try_except_handler_10;
}
}
goto try_end_7;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter );
Py_DECREF( tmp_tuple_unpack_3__source_iter );
tmp_tuple_unpack_3__source_iter = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto try_except_handler_9;
}
// End of try:
try_end_7:;
}
goto try_end_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_tuple_unpack_3__element_1 );
tmp_tuple_unpack_3__element_1 = NULL;
}
{
Py_XDECREF( tmp_tuple_unpack_3__element_2 );
tmp_tuple_unpack_3__element_2 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_8;
}
// End of try:
try_end_8:;
}
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter );
Py_DECREF( tmp_tuple_unpack_3__source_iter );
tmp_tuple_unpack_3__source_iter = NULL;
}
{
PyObject *tmp_assign_source_36;
CHECK_OBJECT( tmp_tuple_unpack_3__element_1 );
tmp_assign_source_36 = tmp_tuple_unpack_3__element_1;
{
PyObject *old = var_name;
var_name = tmp_assign_source_36;
Py_INCREF( var_name );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_3__element_1 );
tmp_tuple_unpack_3__element_1 = NULL;
}
{
PyObject *tmp_assign_source_37;
CHECK_OBJECT( tmp_tuple_unpack_3__element_2 );
tmp_assign_source_37 = tmp_tuple_unpack_3__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_37;
Py_INCREF( var_value );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_3__element_2 );
tmp_tuple_unpack_3__element_2 = NULL;
}
{
PyObject *tmp_called_name_17;
PyObject *tmp_source_name_44;
PyObject *tmp_args_element_name_19;
PyObject *tmp_left_name_19;
PyObject *tmp_right_name_19;
PyObject *tmp_tuple_element_10;
PyObject *tmp_left_name_20;
PyObject *tmp_right_name_20;
PyObject *tmp_left_name_21;
PyObject *tmp_right_name_21;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_source_name_44 = PyCell_GET( self->m_closure[1] );
tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_44, const_str_plain_append );
if ( tmp_called_name_17 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_left_name_19 = const_str_digest_23be8245b5c2c31c44519cc2152700d7;
tmp_left_name_20 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_17 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_left_name_21 = par_indent;
tmp_right_name_21 = const_int_pos_2;
tmp_right_name_20 = BINARY_OPERATION_ADD( tmp_left_name_21, tmp_right_name_21 );
if ( tmp_right_name_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_17 );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_tuple_element_10 = BINARY_OPERATION_MUL( tmp_left_name_20, tmp_right_name_20 );
Py_DECREF( tmp_right_name_20 );
if ( tmp_tuple_element_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_17 );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_right_name_19 = PyTuple_New( 3 );
PyTuple_SET_ITEM( tmp_right_name_19, 0, tmp_tuple_element_10 );
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_17 );
Py_DECREF( tmp_right_name_19 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_tuple_element_10 = var_name;
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_right_name_19, 1, tmp_tuple_element_10 );
if ( var_value == NULL )
{
Py_DECREF( tmp_called_name_17 );
Py_DECREF( tmp_right_name_19 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
tmp_tuple_element_10 = var_value;
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_right_name_19, 2, tmp_tuple_element_10 );
tmp_args_element_name_19 = BINARY_OPERATION_REMAINDER( tmp_left_name_19, tmp_right_name_19 );
Py_DECREF( tmp_right_name_19 );
if ( tmp_args_element_name_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_17 );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 120;
{
PyObject *call_args[] = { tmp_args_element_name_19 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_17, call_args );
}
Py_DECREF( tmp_called_name_17 );
Py_DECREF( tmp_args_element_name_19 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 120;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 119;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_8;
}
goto loop_start_5;
loop_end_5:;
}
goto try_end_9;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_3__iter_value );
tmp_for_loop_3__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
Py_DECREF( tmp_for_loop_3__for_iterator );
tmp_for_loop_3__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
}
// End of try:
try_end_9:;
}
{
Py_XDECREF( tmp_for_loop_3__iter_value );
tmp_for_loop_3__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
Py_DECREF( tmp_for_loop_3__for_iterator );
tmp_for_loop_3__for_iterator = NULL;
}
branch_no_13:;
}
{
nuitka_bool tmp_condition_result_15;
PyObject *tmp_source_name_45;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_3;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 122;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_45 = par_element;
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_45, const_str_plain_text );
if ( tmp_attribute_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 122;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_3 );
if ( tmp_truth_name_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_3 );
exception_lineno = 122;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_condition_result_15 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_3 );
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
{
goto branch_yes_15;
}
else
{
goto branch_no_15;
}
branch_yes_15:;
{
PyObject *tmp_called_name_18;
PyObject *tmp_source_name_46;
PyObject *tmp_args_element_name_20;
PyObject *tmp_left_name_22;
PyObject *tmp_right_name_22;
PyObject *tmp_tuple_element_11;
PyObject *tmp_left_name_23;
PyObject *tmp_right_name_23;
PyObject *tmp_left_name_24;
PyObject *tmp_right_name_24;
PyObject *tmp_source_name_47;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_46 = PyCell_GET( self->m_closure[1] );
tmp_called_name_18 = LOOKUP_ATTRIBUTE( tmp_source_name_46, const_str_plain_append );
if ( tmp_called_name_18 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_22 = const_str_digest_3d21011b2dcbb4225ec1bdd53959a296;
tmp_left_name_23 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_18 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_24 = par_indent;
tmp_right_name_24 = const_int_pos_2;
tmp_right_name_23 = BINARY_OPERATION_ADD( tmp_left_name_24, tmp_right_name_24 );
if ( tmp_right_name_23 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_18 );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_11 = BINARY_OPERATION_MUL( tmp_left_name_23, tmp_right_name_23 );
Py_DECREF( tmp_right_name_23 );
if ( tmp_tuple_element_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_18 );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_22 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_22, 0, tmp_tuple_element_11 );
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_18 );
Py_DECREF( tmp_right_name_22 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_47 = par_element;
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_47, const_str_plain_text );
if ( tmp_tuple_element_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_18 );
Py_DECREF( tmp_right_name_22 );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_22, 1, tmp_tuple_element_11 );
tmp_args_element_name_20 = BINARY_OPERATION_REMAINDER( tmp_left_name_22, tmp_right_name_22 );
Py_DECREF( tmp_right_name_22 );
if ( tmp_args_element_name_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_18 );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 123;
{
PyObject *call_args[] = { tmp_args_element_name_20 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_18, call_args );
}
Py_DECREF( tmp_called_name_18 );
Py_DECREF( tmp_args_element_name_20 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 123;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_15:;
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_left_name_25;
PyObject *tmp_right_name_25;
if ( par_indent == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 124;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_25 = par_indent;
tmp_right_name_25 = const_int_pos_2;
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_25, tmp_right_name_25 );
tmp_assign_source_38 = tmp_left_name_25;
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 124;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
par_indent = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_iter_arg_7;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 125;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_iter_arg_7 = par_element;
tmp_assign_source_39 = MAKE_ITERATOR( tmp_iter_arg_7 );
if ( tmp_assign_source_39 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 125;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_4__for_iterator == NULL );
tmp_for_loop_4__for_iterator = tmp_assign_source_39;
}
{
// Tried code:
{
loop_start_6:;
{
PyObject *tmp_next_source_4;
PyObject *tmp_assign_source_40;
CHECK_OBJECT( tmp_for_loop_4__for_iterator );
tmp_next_source_4 = tmp_for_loop_4__for_iterator;
tmp_assign_source_40 = ITERATOR_NEXT( tmp_next_source_4 );
if ( tmp_assign_source_40 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_6;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooooooooccc";
exception_lineno = 125;
goto try_except_handler_11;
}
}
{
PyObject *old = tmp_for_loop_4__iter_value;
tmp_for_loop_4__iter_value = tmp_assign_source_40;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_41;
CHECK_OBJECT( tmp_for_loop_4__iter_value );
tmp_assign_source_41 = tmp_for_loop_4__iter_value;
{
PyObject *old = var_child;
var_child = tmp_assign_source_41;
Py_INCREF( var_child );
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_19;
PyObject *tmp_args_element_name_21;
PyObject *tmp_args_element_name_22;
if ( PyCell_GET( self->m_closure[2] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "serializeElement" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 126;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_11;
}
tmp_called_name_19 = PyCell_GET( self->m_closure[2] );
CHECK_OBJECT( var_child );
tmp_args_element_name_21 = var_child;
if ( par_indent == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 126;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_11;
}
tmp_args_element_name_22 = par_indent;
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 126;
{
PyObject *call_args[] = { tmp_args_element_name_21, tmp_args_element_name_22 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_19, call_args );
}
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 126;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_11;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 125;
type_description_1 = "oooooooooooooccc";
goto try_except_handler_11;
}
goto loop_start_6;
loop_end_6:;
}
goto try_end_10;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_4__iter_value );
tmp_for_loop_4__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator );
Py_DECREF( tmp_for_loop_4__for_iterator );
tmp_for_loop_4__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
}
// End of try:
try_end_10:;
}
{
Py_XDECREF( tmp_for_loop_4__iter_value );
tmp_for_loop_4__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator );
Py_DECREF( tmp_for_loop_4__for_iterator );
tmp_for_loop_4__for_iterator = NULL;
}
{
nuitka_bool tmp_condition_result_16;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_source_name_48;
PyObject *tmp_attribute_name_5;
PyObject *tmp_source_name_49;
PyObject *tmp_attribute_value_4;
int tmp_truth_name_4;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 127;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_48 = par_element;
tmp_attribute_name_5 = const_str_plain_tail;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_48, tmp_attribute_name_5 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 127;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_2 == 1 )
{
goto and_right_2;
}
else
{
goto and_left_2;
}
and_right_2:;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 127;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_49 = par_element;
tmp_attribute_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_49, const_str_plain_tail );
if ( tmp_attribute_value_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 127;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_truth_name_4 = CHECK_IF_TRUE( tmp_attribute_value_4 );
if ( tmp_truth_name_4 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_4 );
exception_lineno = 127;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_4 );
tmp_condition_result_16 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_16 = tmp_and_left_value_2;
and_end_2:;
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
{
goto branch_yes_16;
}
else
{
goto branch_no_16;
}
branch_yes_16:;
{
PyObject *tmp_called_name_20;
PyObject *tmp_source_name_50;
PyObject *tmp_args_element_name_23;
PyObject *tmp_left_name_26;
PyObject *tmp_right_name_26;
PyObject *tmp_tuple_element_12;
PyObject *tmp_left_name_27;
PyObject *tmp_right_name_27;
PyObject *tmp_left_name_28;
PyObject *tmp_right_name_28;
PyObject *tmp_source_name_51;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_50 = PyCell_GET( self->m_closure[1] );
tmp_called_name_20 = LOOKUP_ATTRIBUTE( tmp_source_name_50, const_str_plain_append );
if ( tmp_called_name_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_26 = const_str_digest_3d21011b2dcbb4225ec1bdd53959a296;
tmp_left_name_27 = const_str_space;
if ( par_indent == NULL )
{
Py_DECREF( tmp_called_name_20 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_left_name_28 = par_indent;
tmp_right_name_28 = const_int_pos_2;
tmp_right_name_27 = BINARY_OPERATION_SUB( tmp_left_name_28, tmp_right_name_28 );
if ( tmp_right_name_27 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_20 );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_12 = BINARY_OPERATION_MUL( tmp_left_name_27, tmp_right_name_27 );
Py_DECREF( tmp_right_name_27 );
if ( tmp_tuple_element_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_20 );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_right_name_26 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_26, 0, tmp_tuple_element_12 );
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_20 );
Py_DECREF( tmp_right_name_26 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
tmp_source_name_51 = par_element;
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE( tmp_source_name_51, const_str_plain_tail );
if ( tmp_tuple_element_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_20 );
Py_DECREF( tmp_right_name_26 );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_26, 1, tmp_tuple_element_12 );
tmp_args_element_name_23 = BINARY_OPERATION_REMAINDER( tmp_left_name_26, tmp_right_name_26 );
Py_DECREF( tmp_right_name_26 );
if ( tmp_args_element_name_23 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_20 );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame.f_lineno = 128;
{
PyObject *call_args[] = { tmp_args_element_name_23 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_20, call_args );
}
Py_DECREF( tmp_called_name_20 );
Py_DECREF( tmp_args_element_name_23 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 128;
type_description_1 = "oooooooooooooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_16:;
}
branch_end_9:;
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_7e27e6bfbd8f807a73c08b0ad084bc95 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_7e27e6bfbd8f807a73c08b0ad084bc95 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_7e27e6bfbd8f807a73c08b0ad084bc95, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_7e27e6bfbd8f807a73c08b0ad084bc95->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_7e27e6bfbd8f807a73c08b0ad084bc95, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_7e27e6bfbd8f807a73c08b0ad084bc95,
type_description_1,
par_element,
par_indent,
var_dtd_str,
var_next_element,
var_nsmatch,
var_ns,
var_tag,
var_prefix,
var_attributes,
var_name,
var_value,
var_attr_string,
var_child,
self->m_closure[1],
self->m_closure[2],
self->m_closure[0]
);
// Release cached frame.
if ( frame_7e27e6bfbd8f807a73c08b0ad084bc95 == cache_frame_7e27e6bfbd8f807a73c08b0ad084bc95 )
{
Py_DECREF( frame_7e27e6bfbd8f807a73c08b0ad084bc95 );
}
cache_frame_7e27e6bfbd8f807a73c08b0ad084bc95 = NULL;
assertFrameObject( frame_7e27e6bfbd8f807a73c08b0ad084bc95 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( par_indent );
par_indent = NULL;
}
{
Py_XDECREF( var_dtd_str );
var_dtd_str = NULL;
}
{
Py_XDECREF( var_next_element );
var_next_element = NULL;
}
{
Py_XDECREF( var_nsmatch );
var_nsmatch = NULL;
}
{
Py_XDECREF( var_ns );
var_ns = NULL;
}
{
Py_XDECREF( var_tag );
var_tag = NULL;
}
{
Py_XDECREF( var_prefix );
var_prefix = NULL;
}
{
Py_XDECREF( var_attributes );
var_attributes = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_value );
var_value = NULL;
}
{
Py_XDECREF( var_attr_string );
var_attr_string = NULL;
}
{
Py_XDECREF( var_child );
var_child = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( par_indent );
par_indent = NULL;
}
{
Py_XDECREF( var_dtd_str );
var_dtd_str = NULL;
}
{
Py_XDECREF( var_next_element );
var_next_element = NULL;
}
{
Py_XDECREF( var_nsmatch );
var_nsmatch = NULL;
}
{
Py_XDECREF( var_ns );
var_ns = NULL;
}
{
Py_XDECREF( var_tag );
var_tag = NULL;
}
{
Py_XDECREF( var_prefix );
var_prefix = NULL;
}
{
Py_XDECREF( var_attributes );
var_attributes = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_value );
var_value = NULL;
}
{
Py_XDECREF( var_attr_string );
var_attr_string = NULL;
}
{
Py_XDECREF( var_child );
var_child = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_6_tostring( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_element = python_pars[ 0 ];
struct Nuitka_CellObject *var_rv = PyCell_EMPTY();
struct Nuitka_CellObject *var_serializeElement = PyCell_EMPTY();
struct Nuitka_FrameObject *frame_8c2a29a8e624cd46f1c8b392216e0214;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_8c2a29a8e624cd46f1c8b392216e0214 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = PyList_New( 0 );
assert( PyCell_GET( var_rv ) == NULL );
PyCell_SET( var_rv, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement( );
((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[0] = var_rv;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[0] );
((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[1] = var_serializeElement;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[1] );
assert( PyCell_GET( var_serializeElement ) == NULL );
PyCell_SET( var_serializeElement, tmp_assign_source_2 );
}
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_8c2a29a8e624cd46f1c8b392216e0214, codeobj_8c2a29a8e624cd46f1c8b392216e0214, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_8c2a29a8e624cd46f1c8b392216e0214 = cache_frame_8c2a29a8e624cd46f1c8b392216e0214;
// Push the new frame as the currently active one.
pushFrameStack( frame_8c2a29a8e624cd46f1c8b392216e0214 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_8c2a29a8e624cd46f1c8b392216e0214 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_args_element_name_1;
CHECK_OBJECT( PyCell_GET( var_serializeElement ) );
tmp_called_name_1 = PyCell_GET( var_serializeElement );
CHECK_OBJECT( par_element );
tmp_args_element_name_1 = par_element;
frame_8c2a29a8e624cd46f1c8b392216e0214->m_frame.f_lineno = 170;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 170;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_2;
tmp_source_name_1 = const_str_empty;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join );
assert( !(tmp_called_name_2 == NULL) );
if ( PyCell_GET( var_rv ) == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 172;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = PyCell_GET( var_rv );
frame_8c2a29a8e624cd46f1c8b392216e0214->m_frame.f_lineno = 172;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 172;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_8c2a29a8e624cd46f1c8b392216e0214 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_8c2a29a8e624cd46f1c8b392216e0214 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_8c2a29a8e624cd46f1c8b392216e0214 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_8c2a29a8e624cd46f1c8b392216e0214, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_8c2a29a8e624cd46f1c8b392216e0214->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_8c2a29a8e624cd46f1c8b392216e0214, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_8c2a29a8e624cd46f1c8b392216e0214,
type_description_1,
par_element,
var_rv,
var_serializeElement
);
// Release cached frame.
if ( frame_8c2a29a8e624cd46f1c8b392216e0214 == cache_frame_8c2a29a8e624cd46f1c8b392216e0214 )
{
Py_DECREF( frame_8c2a29a8e624cd46f1c8b392216e0214 );
}
cache_frame_8c2a29a8e624cd46f1c8b392216e0214 = NULL;
assertFrameObject( frame_8c2a29a8e624cd46f1c8b392216e0214 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_rv );
Py_DECREF( var_rv );
var_rv = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_serializeElement );
Py_DECREF( var_serializeElement );
var_serializeElement = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_rv );
Py_DECREF( var_rv );
var_rv = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_serializeElement );
Py_DECREF( var_serializeElement );
var_serializeElement = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_element = python_pars[ 0 ];
PyObject *var_dtd_str = NULL;
PyObject *var_attr = NULL;
PyObject *var_child = NULL;
PyObject *outline_0_var_name = NULL;
PyObject *outline_0_var_value = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_1 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_2 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__source_iter = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_4845bf9cae396928f2ca891a1ffdac90;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
struct Nuitka_FrameObject *frame_da61c4a997ccfb479b5f40db61acb57a_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_da61c4a997ccfb479b5f40db61acb57a_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_4845bf9cae396928f2ca891a1ffdac90 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_4845bf9cae396928f2ca891a1ffdac90, codeobj_4845bf9cae396928f2ca891a1ffdac90, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_4845bf9cae396928f2ca891a1ffdac90 = cache_frame_4845bf9cae396928f2ca891a1ffdac90;
// Push the new frame as the currently active one.
pushFrameStack( frame_4845bf9cae396928f2ca891a1ffdac90 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_4845bf9cae396928f2ca891a1ffdac90 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_name_1;
CHECK_OBJECT( par_element );
tmp_source_name_1 = par_element;
tmp_attribute_name_1 = const_str_plain_tag;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 139;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 139;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 140;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_element;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_docinfo );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 140;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_internalDTD );
Py_DECREF( tmp_source_name_2 );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 140;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_1 );
exception_lineno = 140;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_1 );
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 141;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_element;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_docinfo );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 141;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_doctype );
Py_DECREF( tmp_source_name_4 );
if ( tmp_attribute_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 141;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_2 );
exception_lineno = 141;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_2 );
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_source_name_6;
PyObject *tmp_source_name_7;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 142;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_7 = par_element;
tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_docinfo );
if ( tmp_source_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 142;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_doctype );
Py_DECREF( tmp_source_name_6 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 142;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
assert( var_dtd_str == NULL );
var_dtd_str = tmp_assign_source_1;
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_source_name_8;
PyObject *tmp_source_name_9;
tmp_left_name_1 = const_str_digest_e210569405c89c80326976b8d8e3fede;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 144;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_9 = par_element;
tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_docinfo );
if ( tmp_source_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 144;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_root_name );
Py_DECREF( tmp_source_name_8 );
if ( tmp_right_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 144;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 144;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
{
PyObject *old = var_dtd_str;
var_dtd_str = tmp_assign_source_2;
Py_XDECREF( old );
}
}
branch_end_3:;
}
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_10;
PyObject *tmp_args_element_name_1;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 145;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_10 = PyCell_GET( self->m_closure[0] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 145;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
if ( var_dtd_str == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dtd_str" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 145;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = var_dtd_str;
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 145;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 145;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_2:;
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_args_element_name_2;
PyObject *tmp_called_instance_1;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "serializeElement" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 146;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_called_name_2 = PyCell_GET( self->m_closure[1] );
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 146;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_element;
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 146;
tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_getroot );
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 146;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 146;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 146;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_11;
PyObject *tmp_mvar_value_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 148;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_element;
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_tag );
if ( tmp_compexpr_left_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 148;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_comment_type );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_comment_type );
}
if ( tmp_mvar_value_1 == NULL )
{
Py_DECREF( tmp_compexpr_left_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "comment_type" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 148;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = tmp_mvar_value_1;
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
Py_DECREF( tmp_compexpr_left_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 148;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_12;
PyObject *tmp_args_element_name_3;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_13;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_12 = PyCell_GET( self->m_closure[0] );
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_append );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_left_name_2 = const_str_digest_c80a6937774641657a6dac4ad54a24d6;
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_13 = par_element;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_text );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_right_name_2 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_1 );
tmp_args_element_name_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 149;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 149;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
goto branch_end_4;
branch_no_4:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_2;
PyObject *tmp_source_name_14;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 153;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_element;
tmp_operand_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_attrib );
if ( tmp_operand_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 153;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
Py_DECREF( tmp_operand_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 153;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_15;
PyObject *tmp_args_element_name_4;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_tuple_element_2;
PyObject *tmp_source_name_16;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_15 = PyCell_GET( self->m_closure[0] );
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_append );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_left_name_3 = const_str_digest_c0c3759da123e387798315e75d2fed70;
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_16 = par_element;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_tag );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_right_name_3 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_2 );
tmp_args_element_name_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
Py_DECREF( tmp_right_name_3 );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 154;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 154;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_17;
PyObject *tmp_args_element_name_5;
tmp_source_name_17 = const_str_space;
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_join );
assert( !(tmp_called_name_5 == NULL) );
{
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_source_name_18;
if ( par_element == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 157;
type_description_1 = "oooocc";
goto try_except_handler_2;
}
tmp_source_name_18 = par_element;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_attrib );
if ( tmp_called_instance_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 157;
type_description_1 = "oooocc";
goto try_except_handler_2;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 157;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
Py_DECREF( tmp_called_instance_2 );
if ( tmp_iter_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 157;
type_description_1 = "oooocc";
goto try_except_handler_2;
}
tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 );
Py_DECREF( tmp_iter_arg_1 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_1 = "oooocc";
goto try_except_handler_2;
}
assert( tmp_listcomp_1__$0 == NULL );
tmp_listcomp_1__$0 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = PyList_New( 0 );
assert( tmp_listcomp_1__contraction == NULL );
tmp_listcomp_1__contraction = tmp_assign_source_5;
}
MAKE_OR_REUSE_FRAME( cache_frame_da61c4a997ccfb479b5f40db61acb57a_2, codeobj_da61c4a997ccfb479b5f40db61acb57a, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *) );
frame_da61c4a997ccfb479b5f40db61acb57a_2 = cache_frame_da61c4a997ccfb479b5f40db61acb57a_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_da61c4a997ccfb479b5f40db61acb57a_2 ) == 2 ); // Frame stack
// Framed code:
{
// Tried code:
{
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT( tmp_listcomp_1__$0 );
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 );
if ( tmp_assign_source_6 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_1;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_2 = "oo";
exception_lineno = 156;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_6;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
tmp_iter_arg_2 = tmp_listcomp_1__iter_value_0;
tmp_assign_source_7 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_7;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_1;
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
tmp_unpack_1 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
if ( tmp_assign_source_8 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_2 = "oo";
exception_lineno = 156;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_8;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_2;
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
tmp_unpack_2 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
if ( tmp_assign_source_9 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_2 = "oo";
exception_lineno = 156;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_9;
Py_XDECREF( old );
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
tmp_iterator_name_1 = tmp_listcomp$tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
if (likely( tmp_iterator_attempt == NULL ))
{
PyObject *error = GET_ERROR_OCCURRED();
if ( error != NULL )
{
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
{
CLEAR_ERROR_OCCURRED();
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_2 = "oo";
exception_lineno = 156;
goto try_except_handler_5;
}
}
}
else
{
Py_DECREF( tmp_iterator_attempt );
// TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_2 = "oo";
exception_lineno = 156;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_listcomp$tuple_unpack_1__source_iter );
Py_DECREF( tmp_listcomp$tuple_unpack_1__source_iter );
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
}
// End of try:
try_end_1:;
}
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_1 );
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
}
{
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_2 );
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_listcomp$tuple_unpack_1__source_iter );
Py_DECREF( tmp_listcomp$tuple_unpack_1__source_iter );
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
}
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__element_1 );
tmp_assign_source_10 = tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = outline_0_var_name;
outline_0_var_name = tmp_assign_source_10;
Py_INCREF( outline_0_var_name );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_1 );
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
}
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__element_2 );
tmp_assign_source_11 = tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = outline_0_var_value;
outline_0_var_value = tmp_assign_source_11;
Py_INCREF( outline_0_var_value );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_2 );
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_left_name_4;
PyObject *tmp_right_name_4;
PyObject *tmp_tuple_element_3;
CHECK_OBJECT( tmp_listcomp_1__contraction );
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_left_name_4 = const_str_digest_a8720f3207aada7b835489a5b68857e0;
if ( outline_0_var_name == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_tuple_element_3 = outline_0_var_name;
tmp_right_name_4 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_3 );
if ( outline_0_var_value == NULL )
{
Py_DECREF( tmp_right_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_tuple_element_3 = outline_0_var_value;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_3 );
tmp_append_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 );
Py_DECREF( tmp_right_name_4 );
if ( tmp_append_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_3;
}
assert( PyList_Check( tmp_append_list_1 ) );
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
Py_DECREF( tmp_append_value_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_3;
}
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_2 = "oo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
}
{
CHECK_OBJECT( tmp_listcomp_1__contraction );
tmp_args_element_name_5 = tmp_listcomp_1__contraction;
Py_INCREF( tmp_args_element_name_5 );
goto try_return_handler_3;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement );
return NULL;
// Return handler code:
try_return_handler_3:;
{
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
Py_DECREF( tmp_listcomp_1__$0 );
tmp_listcomp_1__$0 = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
Py_DECREF( tmp_listcomp_1__contraction );
tmp_listcomp_1__contraction = NULL;
}
{
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
tmp_listcomp_1__iter_value_0 = NULL;
}
{
goto frame_return_exit_1;
}
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
Py_DECREF( tmp_listcomp_1__$0 );
tmp_listcomp_1__$0 = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
Py_DECREF( tmp_listcomp_1__contraction );
tmp_listcomp_1__contraction = NULL;
}
{
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
tmp_listcomp_1__iter_value_0 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_2;
}
// End of try:
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_2;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_da61c4a997ccfb479b5f40db61acb57a_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_da61c4a997ccfb479b5f40db61acb57a_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_da61c4a997ccfb479b5f40db61acb57a_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_da61c4a997ccfb479b5f40db61acb57a_2,
type_description_2,
outline_0_var_name,
outline_0_var_value
);
// Release cached frame.
if ( frame_da61c4a997ccfb479b5f40db61acb57a_2 == cache_frame_da61c4a997ccfb479b5f40db61acb57a_2 )
{
Py_DECREF( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
}
cache_frame_da61c4a997ccfb479b5f40db61acb57a_2 = NULL;
assertFrameObject( frame_da61c4a997ccfb479b5f40db61acb57a_2 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
type_description_1 = "oooocc";
goto try_except_handler_2;
skip_nested_handling_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement );
return NULL;
// Return handler code:
try_return_handler_2:;
{
Py_XDECREF( outline_0_var_name );
outline_0_var_name = NULL;
}
{
Py_XDECREF( outline_0_var_value );
outline_0_var_value = NULL;
}
{
goto outline_result_1;
}
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( outline_0_var_name );
outline_0_var_name = NULL;
}
{
Py_XDECREF( outline_0_var_value );
outline_0_var_value = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto outline_exception_1;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement );
return NULL;
outline_exception_1:;
exception_lineno = 156;
goto frame_exception_exit_1;
outline_result_1:;
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 156;
{
PyObject *call_args[] = { tmp_args_element_name_5 };
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_args_element_name_5 );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
assert( var_attr == NULL );
var_attr = tmp_assign_source_3;
}
{
PyObject *tmp_called_name_6;
PyObject *tmp_source_name_19;
PyObject *tmp_args_element_name_6;
PyObject *tmp_left_name_5;
PyObject *tmp_right_name_5;
PyObject *tmp_tuple_element_4;
PyObject *tmp_source_name_20;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_19 = PyCell_GET( self->m_closure[0] );
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_append );
if ( tmp_called_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_left_name_5 = const_str_digest_6be6a846f8ab60ee86e4697dbb0b5f69;
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_20 = par_element;
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_tag );
if ( tmp_tuple_element_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_right_name_5 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_4 );
if ( var_attr == NULL )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_right_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_tuple_element_4 = var_attr;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_4 );
tmp_args_element_name_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 );
Py_DECREF( tmp_right_name_5 );
if ( tmp_args_element_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 158;
{
PyObject *call_args[] = { tmp_args_element_name_6 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
}
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_6 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 158;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_end_5:;
}
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_source_name_21;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_3;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 159;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_21 = par_element;
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_text );
if ( tmp_attribute_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 159;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_3 );
if ( tmp_truth_name_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_3 );
exception_lineno = 159;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_3 );
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_22;
PyObject *tmp_args_element_name_7;
PyObject *tmp_source_name_23;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 160;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_22 = PyCell_GET( self->m_closure[0] );
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_append );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 160;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_7 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 160;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_23 = par_element;
tmp_args_element_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_text );
if ( tmp_args_element_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_7 );
exception_lineno = 160;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 160;
{
PyObject *call_args[] = { tmp_args_element_name_7 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
}
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_element_name_7 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 160;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_6:;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_iter_arg_3;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 162;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_iter_arg_3 = par_element;
tmp_assign_source_12 = MAKE_ITERATOR( tmp_iter_arg_3 );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 162;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_1__for_iterator == NULL );
tmp_for_loop_1__for_iterator = tmp_assign_source_12;
}
{
// Tried code:
{
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_13;
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
tmp_next_source_2 = tmp_for_loop_1__for_iterator;
tmp_assign_source_13 = ITERATOR_NEXT( tmp_next_source_2 );
if ( tmp_assign_source_13 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_2;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooocc";
exception_lineno = 162;
goto try_except_handler_6;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_13;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT( tmp_for_loop_1__iter_value );
tmp_assign_source_14 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_child;
var_child = tmp_assign_source_14;
Py_INCREF( var_child );
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_8;
PyObject *tmp_args_element_name_8;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "serializeElement" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 163;
type_description_1 = "oooocc";
goto try_except_handler_6;
}
tmp_called_name_8 = PyCell_GET( self->m_closure[1] );
CHECK_OBJECT( var_child );
tmp_args_element_name_8 = var_child;
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 163;
{
PyObject *call_args[] = { tmp_args_element_name_8 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args );
}
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 163;
type_description_1 = "oooocc";
goto try_except_handler_6;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 162;
type_description_1 = "oooocc";
goto try_except_handler_6;
}
goto loop_start_2;
loop_end_2:;
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
}
// End of try:
try_end_3:;
}
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
PyObject *tmp_called_name_9;
PyObject *tmp_source_name_24;
PyObject *tmp_args_element_name_9;
PyObject *tmp_left_name_6;
PyObject *tmp_right_name_6;
PyObject *tmp_tuple_element_5;
PyObject *tmp_source_name_25;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_24 = PyCell_GET( self->m_closure[0] );
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_append );
if ( tmp_called_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_left_name_6 = const_str_digest_effaccf01132aa7a279407b5ff12ad69;
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_9 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_25 = par_element;
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_tag );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_9 );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_right_name_6 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_5 );
tmp_args_element_name_9 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 );
Py_DECREF( tmp_right_name_6 );
if ( tmp_args_element_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_9 );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 165;
{
PyObject *call_args[] = { tmp_args_element_name_9 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
}
Py_DECREF( tmp_called_name_9 );
Py_DECREF( tmp_args_element_name_9 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 165;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_end_4:;
}
branch_end_1:;
}
{
nuitka_bool tmp_condition_result_7;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_source_name_26;
PyObject *tmp_attribute_name_2;
PyObject *tmp_source_name_27;
PyObject *tmp_attribute_value_4;
int tmp_truth_name_4;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 167;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_26 = par_element;
tmp_attribute_name_2 = const_str_plain_tail;
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_26, tmp_attribute_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 167;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_1 == 1 )
{
goto and_right_1;
}
else
{
goto and_left_1;
}
and_right_1:;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 167;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_27 = par_element;
tmp_attribute_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_tail );
if ( tmp_attribute_value_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 167;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_truth_name_4 = CHECK_IF_TRUE( tmp_attribute_value_4 );
if ( tmp_truth_name_4 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_4 );
exception_lineno = 167;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_4 );
tmp_condition_result_7 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_7 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto branch_yes_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
PyObject *tmp_called_name_10;
PyObject *tmp_source_name_28;
PyObject *tmp_args_element_name_10;
PyObject *tmp_source_name_29;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "rv" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 168;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_28 = PyCell_GET( self->m_closure[0] );
tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_append );
if ( tmp_called_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 168;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
if ( par_element == NULL )
{
Py_DECREF( tmp_called_name_10 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 168;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
tmp_source_name_29 = par_element;
tmp_args_element_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_tail );
if ( tmp_args_element_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_10 );
exception_lineno = 168;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
frame_4845bf9cae396928f2ca891a1ffdac90->m_frame.f_lineno = 168;
{
PyObject *call_args[] = { tmp_args_element_name_10 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args );
}
Py_DECREF( tmp_called_name_10 );
Py_DECREF( tmp_args_element_name_10 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 168;
type_description_1 = "oooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_7:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_4845bf9cae396928f2ca891a1ffdac90 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_4845bf9cae396928f2ca891a1ffdac90 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_4845bf9cae396928f2ca891a1ffdac90, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_4845bf9cae396928f2ca891a1ffdac90->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_4845bf9cae396928f2ca891a1ffdac90, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_4845bf9cae396928f2ca891a1ffdac90,
type_description_1,
par_element,
var_dtd_str,
var_attr,
var_child,
self->m_closure[0],
self->m_closure[1]
);
// Release cached frame.
if ( frame_4845bf9cae396928f2ca891a1ffdac90 == cache_frame_4845bf9cae396928f2ca891a1ffdac90 )
{
Py_DECREF( frame_4845bf9cae396928f2ca891a1ffdac90 );
}
cache_frame_4845bf9cae396928f2ca891a1ffdac90 = NULL;
assertFrameObject( frame_4845bf9cae396928f2ca891a1ffdac90 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( var_dtd_str );
var_dtd_str = NULL;
}
{
Py_XDECREF( var_attr );
var_attr = NULL;
}
{
Py_XDECREF( var_child );
var_child = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( var_dtd_str );
var_dtd_str = NULL;
}
{
Py_XDECREF( var_attr );
var_attr = NULL;
}
{
Py_XDECREF( var_child );
var_child = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_namespaceHTMLElements = python_pars[ 1 ];
PyObject *par_fullTree = python_pars[ 2 ];
struct Nuitka_CellObject *var_builder = PyCell_EMPTY();
struct Nuitka_CellObject *var_infosetFilter = PyCell_EMPTY();
struct Nuitka_CellObject *var_Attributes = PyCell_EMPTY();
PyObject *var_Element = NULL;
PyObject *var_Comment = NULL;
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *tmp_assign_unpack_1__assign_source = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__bases_orig = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
struct Nuitka_FrameObject *frame_9eaf57a25c39c4d0bec38c10cab6c8a7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_833d753b95b8f0ac99bebdd998f31eee_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_833d753b95b8f0ac99bebdd998f31eee_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 = NULL;
struct Nuitka_FrameObject *frame_7376dba775809bbb8de3d779ce2acc63_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_7376dba775809bbb8de3d779ce2acc63_3 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 = NULL;
struct Nuitka_FrameObject *frame_5e1397f73186b904c251baa305741a9f_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_5e1397f73186b904c251baa305741a9f_4 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_9eaf57a25c39c4d0bec38c10cab6c8a7 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_9eaf57a25c39c4d0bec38c10cab6c8a7, codeobj_9eaf57a25c39c4d0bec38c10cab6c8a7, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_9eaf57a25c39c4d0bec38c10cab6c8a7 = cache_frame_9eaf57a25c39c4d0bec38c10cab6c8a7;
// Push the new frame as the currently active one.
pushFrameStack( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_mvar_value_2;
PyObject *tmp_kw_name_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree_builders );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree_builders );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree_builders" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 184;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = tmp_mvar_value_1;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_getETreeModule );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 184;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 184;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = tmp_mvar_value_2;
tmp_args_name_1 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
tmp_dict_key_1 = const_str_plain_fullTree;
if ( par_fullTree == NULL )
{
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fullTree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 184;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = par_fullTree;
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
assert( !(tmp_res != 0) );
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 184;
tmp_assign_source_1 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
Py_DECREF( tmp_kw_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 184;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
assert( PyCell_GET( var_builder ) == NULL );
PyCell_SET( var_builder, tmp_assign_source_1 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_mvar_value_3;
PyObject *tmp_kw_name_2;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain__ihatexml );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ihatexml );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ihatexml" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 185;
type_description_1 = "ooocccoo";
goto try_except_handler_2;
}
tmp_source_name_2 = tmp_mvar_value_3;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_InfosetFilter );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooocccoo";
goto try_except_handler_2;
}
tmp_kw_name_2 = PyDict_Copy( const_dict_f3ee083663520079b0398245ef994994 );
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 185;
tmp_assign_source_2 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_2, tmp_kw_name_2 );
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_kw_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooocccoo";
goto try_except_handler_2;
}
assert( tmp_assign_unpack_1__assign_source == NULL );
tmp_assign_unpack_1__assign_source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
tmp_assign_source_3 = tmp_assign_unpack_1__assign_source;
assert( PyCell_GET( var_infosetFilter ) == NULL );
Py_INCREF( tmp_assign_source_3 );
PyCell_SET( var_infosetFilter, tmp_assign_source_3 );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
tmp_assattr_name_1 = tmp_assign_unpack_1__assign_source;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 185;
type_description_1 = "ooocccoo";
goto try_except_handler_2;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_infosetFilter, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooocccoo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_assign_unpack_1__assign_source );
tmp_assign_unpack_1__assign_source = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
Py_DECREF( tmp_assign_unpack_1__assign_source );
tmp_assign_unpack_1__assign_source = NULL;
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_namespaceHTMLElements == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespaceHTMLElements" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 186;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_namespaceHTMLElements;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 186;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_namespaceHTMLElements, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 186;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = const_tuple_type_dict_tuple;
Py_INCREF( tmp_dircall_arg1_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_4 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
assert( tmp_class_creation_1__bases == NULL );
tmp_class_creation_1__bases = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = PyDict_New();
assert( tmp_class_creation_1__class_decl_dict == NULL );
tmp_class_creation_1__class_decl_dict = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_metaclass_name_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_key_name_1;
PyObject *tmp_dict_name_1;
PyObject *tmp_dict_name_2;
PyObject *tmp_key_name_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_bases_name_1;
tmp_key_name_1 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_1;
}
else
{
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_name_2 = const_str_plain_metaclass;
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_2;
}
else
{
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
tmp_subscript_name_1 = const_int_0;
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
if ( tmp_type_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
Py_DECREF( tmp_type_arg_1 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_1 );
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_bases_name_1 = tmp_class_creation_1__bases;
tmp_assign_source_6 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
Py_DECREF( tmp_metaclass_name_1 );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
assert( tmp_class_creation_1__metaclass == NULL );
tmp_class_creation_1__metaclass = tmp_assign_source_6;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_key_name_3;
PyObject *tmp_dict_name_3;
tmp_key_name_3 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_3;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_3 = tmp_class_creation_1__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___prepare__ );
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_args_name_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kw_name_3;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_4 = tmp_class_creation_1__metaclass;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___prepare__ );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_tuple_element_2 = const_str_plain_Attributes;
tmp_args_name_2 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_2 );
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_2 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_2 );
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_3 = tmp_class_creation_1__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 188;
tmp_assign_source_7 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_3 );
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_name_2 );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_7;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_5;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_source_name_5 = tmp_class_creation_1__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___getitem__ );
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_source_name_6;
PyObject *tmp_type_arg_2;
tmp_raise_type_1 = PyExc_TypeError;
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = const_str_plain___name__;
tmp_getattr_default_1 = const_str_angle_metaclass;
tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
if ( tmp_tuple_element_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_source_name_6 = BUILTIN_TYPE1( tmp_type_arg_2 );
assert( !(tmp_source_name_6 == NULL) );
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___name__ );
Py_DECREF( tmp_source_name_6 );
if ( tmp_tuple_element_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_raise_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_value = tmp_raise_value_1;
exception_lineno = 188;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooocccoo";
goto try_except_handler_3;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = PyDict_New();
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_8;
}
branch_end_2:;
}
{
PyObject *tmp_assign_source_9;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
}
}
{
tmp_dictset_value = const_str_digest_b93049fdeb627d752afba5cb984c40c1;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_833d753b95b8f0ac99bebdd998f31eee_2, codeobj_833d753b95b8f0ac99bebdd998f31eee, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_833d753b95b8f0ac99bebdd998f31eee_2 = cache_frame_833d753b95b8f0ac99bebdd998f31eee_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_833d753b95b8f0ac99bebdd998f31eee_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_833d753b95b8f0ac99bebdd998f31eee_2 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__( tmp_defaults_1 );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 189;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188, const_str_plain___setitem__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 201;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_833d753b95b8f0ac99bebdd998f31eee_2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_833d753b95b8f0ac99bebdd998f31eee_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_833d753b95b8f0ac99bebdd998f31eee_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_833d753b95b8f0ac99bebdd998f31eee_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_833d753b95b8f0ac99bebdd998f31eee_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_833d753b95b8f0ac99bebdd998f31eee_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_833d753b95b8f0ac99bebdd998f31eee_2 == cache_frame_833d753b95b8f0ac99bebdd998f31eee_2 )
{
Py_DECREF( frame_833d753b95b8f0ac99bebdd998f31eee_2 );
}
cache_frame_833d753b95b8f0ac99bebdd998f31eee_2 = NULL;
assertFrameObject( frame_833d753b95b8f0ac99bebdd998f31eee_2 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
tmp_compexpr_right_1 = const_tuple_type_dict_tuple;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
}
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
tmp_dictset_value = const_tuple_type_dict_tuple;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_name_4;
PyObject *tmp_args_name_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kw_name_4;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_called_name_4 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = const_str_plain_Attributes;
tmp_args_name_3 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_4 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 );
tmp_tuple_element_4 = locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_3, 2, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_4 = tmp_class_creation_1__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 188;
tmp_assign_source_10 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_3, tmp_kw_name_4 );
Py_DECREF( tmp_args_name_3 );
if ( tmp_assign_source_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooocccoo";
goto try_except_handler_5;
}
assert( outline_0_var___class__ == NULL );
outline_0_var___class__ = tmp_assign_source_10;
}
{
CHECK_OBJECT( outline_0_var___class__ );
tmp_assign_source_9 = outline_0_var___class__;
Py_INCREF( tmp_assign_source_9 );
goto try_return_handler_5;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_5:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 = NULL;
}
{
goto try_return_handler_4;
}
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_4;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_4:;
{
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
Py_DECREF( outline_0_var___class__ );
outline_0_var___class__ = NULL;
}
{
goto outline_result_1;
}
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto outline_exception_1;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
outline_exception_1:;
exception_lineno = 188;
goto try_except_handler_3;
outline_result_1:;
assert( PyCell_GET( var_Attributes ) == NULL );
PyCell_SET( var_Attributes, tmp_assign_source_9 );
}
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
Py_DECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
Py_DECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
Py_DECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
Py_DECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_tuple_element_5;
PyObject *tmp_source_name_7;
if ( PyCell_GET( var_builder ) == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_source_name_7 = PyCell_GET( var_builder );
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_Element );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_assign_source_11 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_assign_source_11, 0, tmp_tuple_element_5 );
assert( tmp_class_creation_2__bases_orig == NULL );
tmp_class_creation_2__bases_orig = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
Py_INCREF( tmp_dircall_arg1_2 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_12 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
assert( tmp_class_creation_2__bases == NULL );
tmp_class_creation_2__bases = tmp_assign_source_12;
}
{
PyObject *tmp_assign_source_13;
tmp_assign_source_13 = PyDict_New();
assert( tmp_class_creation_2__class_decl_dict == NULL );
tmp_class_creation_2__class_decl_dict = tmp_assign_source_13;
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_metaclass_name_2;
nuitka_bool tmp_condition_result_7;
PyObject *tmp_key_name_4;
PyObject *tmp_dict_name_4;
PyObject *tmp_dict_name_5;
PyObject *tmp_key_name_5;
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
PyObject *tmp_bases_name_2;
tmp_key_name_4 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_3;
}
else
{
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_name_5 = const_str_plain_metaclass;
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_4;
}
else
{
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_subscribed_name_2 = tmp_class_creation_2__bases;
tmp_subscript_name_2 = const_int_0;
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
if ( tmp_type_arg_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
Py_DECREF( tmp_type_arg_3 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_2 );
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_bases_name_2 = tmp_class_creation_2__bases;
tmp_assign_source_14 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
Py_DECREF( tmp_metaclass_name_2 );
if ( tmp_assign_source_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
assert( tmp_class_creation_2__metaclass == NULL );
tmp_class_creation_2__metaclass = tmp_assign_source_14;
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_key_name_6;
PyObject *tmp_dict_name_6;
tmp_key_name_6 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
}
branch_no_5:;
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_source_name_8;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_8 = tmp_class_creation_2__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___prepare__ );
tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_9;
PyObject *tmp_args_name_4;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kw_name_5;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_9 = tmp_class_creation_2__metaclass;
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___prepare__ );
if ( tmp_called_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_tuple_element_6 = const_str_plain_Element;
tmp_args_name_4 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_6 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_5 = tmp_class_creation_2__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 209;
tmp_assign_source_15 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_4, tmp_kw_name_5 );
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_args_name_4 );
if ( tmp_assign_source_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_15;
}
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_operand_name_2;
PyObject *tmp_source_name_10;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_source_name_10 = tmp_class_creation_2__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_10, const_str_plain___getitem__ );
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
{
goto branch_yes_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
PyObject *tmp_source_name_11;
PyObject *tmp_type_arg_4;
tmp_raise_type_2 = PyExc_TypeError;
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = const_str_plain___name__;
tmp_getattr_default_2 = const_str_angle_metaclass;
tmp_tuple_element_7 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 );
if ( tmp_tuple_element_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
tmp_right_name_2 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_7 );
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_source_name_11 = BUILTIN_TYPE1( tmp_type_arg_4 );
assert( !(tmp_source_name_11 == NULL) );
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain___name__ );
Py_DECREF( tmp_source_name_11 );
if ( tmp_tuple_element_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_7 );
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_raise_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_value = tmp_raise_value_2;
exception_lineno = 209;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooocccoo";
goto try_except_handler_6;
}
branch_no_7:;
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = PyDict_New();
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_16;
}
branch_end_6:;
}
{
PyObject *tmp_assign_source_17;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 = tmp_set_locals_2;
Py_INCREF( tmp_set_locals_2 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
}
}
{
tmp_dictset_value = const_str_digest_785786dd594195e92f9171a9f3cca933;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_7376dba775809bbb8de3d779ce2acc63_3, codeobj_7376dba775809bbb8de3d779ce2acc63, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_7376dba775809bbb8de3d779ce2acc63_3 = cache_frame_7376dba775809bbb8de3d779ce2acc63_3;
// Push the new frame as the currently active one.
pushFrameStack( frame_7376dba775809bbb8de3d779ce2acc63_3 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_7376dba775809bbb8de3d779ce2acc63_3 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_Attributes;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] = var_builder;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[2] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[2] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 210;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setName, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 215;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getName, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 220;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_called_name_6;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_called_name_7;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
tmp_res = MAPPING_HAS_ITEM( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_12 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_5;
}
else
{
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_name_6 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_property );
if ( tmp_called_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_called_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_1 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getName );
if ( tmp_args_element_name_1 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getName" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_2 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setName );
if ( tmp_args_element_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setName" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_1 );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_7376dba775809bbb8de3d779ce2acc63_3->m_frame.f_lineno = 223;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args );
}
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_1 );
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_name_7 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_3 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getName );
if ( tmp_args_element_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getName" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_4 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setName );
if ( tmp_args_element_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_args_element_name_3 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setName" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_args_element_name_3 );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_7376dba775809bbb8de3d779ce2acc63_3->m_frame.f_lineno = 223;
{
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_7, call_args );
}
Py_DECREF( tmp_args_element_name_3 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_name, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getAttributes, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 225;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_Attributes;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setAttributes, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 228;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_called_name_8;
PyObject *tmp_args_element_name_5;
PyObject *tmp_args_element_name_6;
PyObject *tmp_called_name_9;
PyObject *tmp_args_element_name_7;
PyObject *tmp_args_element_name_8;
tmp_res = MAPPING_HAS_ITEM( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_13 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_6;
}
else
{
goto condexpr_false_6;
}
condexpr_true_6:;
tmp_called_name_8 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_property );
if ( tmp_called_name_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_called_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_5 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getAttributes );
if ( tmp_args_element_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_8 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getAttributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_6 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setAttributes );
if ( tmp_args_element_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_args_element_name_5 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setAttributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_args_element_name_5 );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_7376dba775809bbb8de3d779ce2acc63_3->m_frame.f_lineno = 231;
{
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_8, call_args );
}
Py_DECREF( tmp_called_name_8 );
Py_DECREF( tmp_args_element_name_5 );
Py_DECREF( tmp_args_element_name_6 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_called_name_9 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_7 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__getAttributes );
if ( tmp_args_element_name_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getAttributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_8 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain__setAttributes );
if ( tmp_args_element_name_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_args_element_name_7 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setAttributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_args_element_name_7 );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_7376dba775809bbb8de3d779ce2acc63_3->m_frame.f_lineno = 231;
{
PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_9, call_args );
}
Py_DECREF( tmp_args_element_name_7 );
Py_DECREF( tmp_args_element_name_8 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_6:;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_attributes, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_2;
tmp_defaults_2 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_2 );
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText( tmp_defaults_2 );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_builder;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_insertText, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 233;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_builder;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain_appendChild, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 237;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_7376dba775809bbb8de3d779ce2acc63_3 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_7376dba775809bbb8de3d779ce2acc63_3 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_7376dba775809bbb8de3d779ce2acc63_3, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_7376dba775809bbb8de3d779ce2acc63_3->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_7376dba775809bbb8de3d779ce2acc63_3, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_7376dba775809bbb8de3d779ce2acc63_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame.
if ( frame_7376dba775809bbb8de3d779ce2acc63_3 == cache_frame_7376dba775809bbb8de3d779ce2acc63_3 )
{
Py_DECREF( frame_7376dba775809bbb8de3d779ce2acc63_3 );
}
cache_frame_7376dba775809bbb8de3d779ce2acc63_3 = NULL;
assertFrameObject( frame_7376dba775809bbb8de3d779ce2acc63_3 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
}
tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
{
goto branch_yes_8;
}
else
{
goto branch_no_8;
}
branch_yes_8:;
{
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
tmp_dictset_value = tmp_class_creation_2__bases_orig;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
}
}
branch_no_8:;
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_called_name_10;
PyObject *tmp_args_name_5;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kw_name_6;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_called_name_10 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = const_str_plain_Element;
tmp_args_name_5 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_8 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_8 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_8 );
tmp_tuple_element_8 = locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209;
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_args_name_5, 2, tmp_tuple_element_8 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_6 = tmp_class_creation_2__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 209;
tmp_assign_source_18 = CALL_FUNCTION( tmp_called_name_10, tmp_args_name_5, tmp_kw_name_6 );
Py_DECREF( tmp_args_name_5 );
if ( tmp_assign_source_18 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 209;
type_description_1 = "ooocccoo";
goto try_except_handler_8;
}
assert( outline_1_var___class__ == NULL );
outline_1_var___class__ = tmp_assign_source_18;
}
{
CHECK_OBJECT( outline_1_var___class__ );
tmp_assign_source_17 = outline_1_var___class__;
Py_INCREF( tmp_assign_source_17 );
goto try_return_handler_8;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_8:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 = NULL;
}
{
goto try_return_handler_7;
}
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_7;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_7:;
{
CHECK_OBJECT( (PyObject *)outline_1_var___class__ );
Py_DECREF( outline_1_var___class__ );
outline_1_var___class__ = NULL;
}
{
goto outline_result_2;
}
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto outline_exception_2;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
outline_exception_2:;
exception_lineno = 209;
goto try_except_handler_6;
outline_result_2:;
assert( var_Element == NULL );
var_Element = tmp_assign_source_17;
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_2__bases );
tmp_class_creation_2__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__class_decl_dict );
tmp_class_creation_2__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__metaclass );
tmp_class_creation_2__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__prepared );
tmp_class_creation_2__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
}
// End of try:
try_end_3:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
Py_DECREF( tmp_class_creation_2__bases );
tmp_class_creation_2__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict );
Py_DECREF( tmp_class_creation_2__class_decl_dict );
tmp_class_creation_2__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass );
Py_DECREF( tmp_class_creation_2__metaclass );
tmp_class_creation_2__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
Py_DECREF( tmp_class_creation_2__prepared );
tmp_class_creation_2__prepared = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_tuple_element_9;
PyObject *tmp_source_name_12;
if ( PyCell_GET( var_builder ) == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_source_name_12 = PyCell_GET( var_builder );
tmp_tuple_element_9 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_Comment );
if ( tmp_tuple_element_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_assign_source_19 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_assign_source_19, 0, tmp_tuple_element_9 );
assert( tmp_class_creation_3__bases_orig == NULL );
tmp_class_creation_3__bases_orig = tmp_assign_source_19;
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF( tmp_dircall_arg1_3 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_20 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
assert( tmp_class_creation_3__bases == NULL );
tmp_class_creation_3__bases = tmp_assign_source_20;
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = PyDict_New();
assert( tmp_class_creation_3__class_decl_dict == NULL );
tmp_class_creation_3__class_decl_dict = tmp_assign_source_21;
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_metaclass_name_3;
nuitka_bool tmp_condition_result_15;
PyObject *tmp_key_name_7;
PyObject *tmp_dict_name_7;
PyObject *tmp_dict_name_8;
PyObject *tmp_key_name_8;
nuitka_bool tmp_condition_result_16;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_subscript_name_3;
PyObject *tmp_bases_name_3;
tmp_key_name_7 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_7;
}
else
{
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_name_8 = const_str_plain_metaclass;
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
goto condexpr_end_7;
condexpr_false_7:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases );
if ( tmp_truth_name_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_condition_result_16 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_8;
}
else
{
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
tmp_subscript_name_3 = const_int_0;
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
if ( tmp_type_arg_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
Py_DECREF( tmp_type_arg_5 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_3 );
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_bases_name_3 = tmp_class_creation_3__bases;
tmp_assign_source_22 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
Py_DECREF( tmp_metaclass_name_3 );
if ( tmp_assign_source_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
assert( tmp_class_creation_3__metaclass == NULL );
tmp_class_creation_3__metaclass = tmp_assign_source_22;
}
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_key_name_9;
PyObject *tmp_dict_name_9;
tmp_key_name_9 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
{
goto branch_yes_9;
}
else
{
goto branch_no_9;
}
branch_yes_9:;
{
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
}
branch_no_9:;
}
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_source_name_13;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_13 = tmp_class_creation_3__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_13, const_str_plain___prepare__ );
tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
{
goto branch_yes_10;
}
else
{
goto branch_no_10;
}
branch_yes_10:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_called_name_11;
PyObject *tmp_source_name_14;
PyObject *tmp_args_name_6;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kw_name_7;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_14 = tmp_class_creation_3__metaclass;
tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain___prepare__ );
if ( tmp_called_name_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_tuple_element_10 = const_str_plain_Comment;
tmp_args_name_6 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_10 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_10 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_10 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_7 = tmp_class_creation_3__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 240;
tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_6, tmp_kw_name_7 );
Py_DECREF( tmp_called_name_11 );
Py_DECREF( tmp_args_name_6 );
if ( tmp_assign_source_23 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_23;
}
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_operand_name_3;
PyObject *tmp_source_name_15;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_source_name_15 = tmp_class_creation_3__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_15, const_str_plain___getitem__ );
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_condition_result_19 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE )
{
goto branch_yes_11;
}
else
{
goto branch_no_11;
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_tuple_element_11;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
PyObject *tmp_source_name_16;
PyObject *tmp_type_arg_6;
tmp_raise_type_3 = PyExc_TypeError;
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = const_str_plain___name__;
tmp_getattr_default_3 = const_str_angle_metaclass;
tmp_tuple_element_11 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
if ( tmp_tuple_element_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
tmp_right_name_3 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_11 );
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_source_name_16 = BUILTIN_TYPE1( tmp_type_arg_6 );
assert( !(tmp_source_name_16 == NULL) );
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain___name__ );
Py_DECREF( tmp_source_name_16 );
if ( tmp_tuple_element_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_3 );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_11 );
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
Py_DECREF( tmp_right_name_3 );
if ( tmp_raise_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
exception_type = tmp_raise_type_3;
Py_INCREF( tmp_raise_type_3 );
exception_value = tmp_raise_value_3;
exception_lineno = 240;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooocccoo";
goto try_except_handler_9;
}
branch_no_11:;
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = PyDict_New();
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_24;
}
branch_end_10:;
}
{
PyObject *tmp_assign_source_25;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 = tmp_set_locals_3;
Py_INCREF( tmp_set_locals_3 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
}
}
{
tmp_dictset_value = const_str_digest_1820d59173269edc917872caaf99df9a;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_5e1397f73186b904c251baa305741a9f_4, codeobj_5e1397f73186b904c251baa305741a9f, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_5e1397f73186b904c251baa305741a9f_4 = cache_frame_5e1397f73186b904c251baa305741a9f_4;
// Push the new frame as the currently active one.
pushFrameStack( frame_5e1397f73186b904c251baa305741a9f_4 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_5e1397f73186b904c251baa305741a9f_4 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_builder;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[1] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 241;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData( );
((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] = var_infosetFilter;
Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_dictset_value)->m_closure[0] );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__setData, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 245;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__getData, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 249;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_called_name_12;
PyObject *tmp_args_element_name_9;
PyObject *tmp_args_element_name_10;
PyObject *tmp_called_name_13;
PyObject *tmp_args_element_name_11;
PyObject *tmp_args_element_name_12;
tmp_res = MAPPING_HAS_ITEM( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_20 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_9;
}
else
{
goto condexpr_false_9;
}
condexpr_true_9:;
tmp_called_name_12 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain_property );
if ( tmp_called_name_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if ( tmp_called_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_name_9 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__getData );
if ( tmp_args_element_name_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_12 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getData" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if ( tmp_args_element_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_12 );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_name_10 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__setData );
if ( tmp_args_element_name_10 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_12 );
Py_DECREF( tmp_args_element_name_9 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setData" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if ( tmp_args_element_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_12 );
Py_DECREF( tmp_args_element_name_9 );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
frame_5e1397f73186b904c251baa305741a9f_4->m_frame.f_lineno = 252;
{
PyObject *call_args[] = { tmp_args_element_name_9, tmp_args_element_name_10 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_12, call_args );
}
Py_DECREF( tmp_called_name_12 );
Py_DECREF( tmp_args_element_name_9 );
Py_DECREF( tmp_args_element_name_10 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_called_name_13 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_11 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__getData );
if ( tmp_args_element_name_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getData" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if ( tmp_args_element_name_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_name_12 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain__setData );
if ( tmp_args_element_name_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_args_element_name_11 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_setData" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if ( tmp_args_element_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_args_element_name_11 );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
frame_5e1397f73186b904c251baa305741a9f_4->m_frame.f_lineno = 252;
{
PyObject *call_args[] = { tmp_args_element_name_11, tmp_args_element_name_12 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_13, call_args );
}
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_9:;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain_data, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 252;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_5e1397f73186b904c251baa305741a9f_4 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_5e1397f73186b904c251baa305741a9f_4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_5e1397f73186b904c251baa305741a9f_4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_5e1397f73186b904c251baa305741a9f_4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_5e1397f73186b904c251baa305741a9f_4, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_5e1397f73186b904c251baa305741a9f_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame.
if ( frame_5e1397f73186b904c251baa305741a9f_4 == cache_frame_5e1397f73186b904c251baa305741a9f_4 )
{
Py_DECREF( frame_5e1397f73186b904c251baa305741a9f_4 );
}
cache_frame_5e1397f73186b904c251baa305741a9f_4 = NULL;
assertFrameObject( frame_5e1397f73186b904c251baa305741a9f_4 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
}
tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE )
{
goto branch_yes_12;
}
else
{
goto branch_no_12;
}
branch_yes_12:;
{
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
}
}
branch_no_12:;
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_called_name_14;
PyObject *tmp_args_name_7;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kw_name_8;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_called_name_14 = tmp_class_creation_3__metaclass;
tmp_tuple_element_12 = const_str_plain_Comment;
tmp_args_name_7 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_12 );
PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_12 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_12 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_12 );
PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_12 );
tmp_tuple_element_12 = locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240;
Py_INCREF( tmp_tuple_element_12 );
PyTuple_SET_ITEM( tmp_args_name_7, 2, tmp_tuple_element_12 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_8 = tmp_class_creation_3__class_decl_dict;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 240;
tmp_assign_source_26 = CALL_FUNCTION( tmp_called_name_14, tmp_args_name_7, tmp_kw_name_8 );
Py_DECREF( tmp_args_name_7 );
if ( tmp_assign_source_26 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 240;
type_description_1 = "ooocccoo";
goto try_except_handler_11;
}
assert( outline_2_var___class__ == NULL );
outline_2_var___class__ = tmp_assign_source_26;
}
{
CHECK_OBJECT( outline_2_var___class__ );
tmp_assign_source_25 = outline_2_var___class__;
Py_INCREF( tmp_assign_source_25 );
goto try_return_handler_11;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_11:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 = NULL;
}
{
goto try_return_handler_10;
}
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 );
locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_10;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_10:;
{
CHECK_OBJECT( (PyObject *)outline_2_var___class__ );
Py_DECREF( outline_2_var___class__ );
outline_2_var___class__ = NULL;
}
{
goto outline_result_3;
}
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto outline_exception_3;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
outline_exception_3:;
exception_lineno = 240;
goto try_except_handler_9;
outline_result_3:;
assert( var_Comment == NULL );
var_Comment = tmp_assign_source_25;
}
goto try_end_4;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_3__bases );
tmp_class_creation_3__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__class_decl_dict );
tmp_class_creation_3__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__metaclass );
tmp_class_creation_3__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__prepared );
tmp_class_creation_3__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
}
// End of try:
try_end_4:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
Py_DECREF( tmp_class_creation_3__bases );
tmp_class_creation_3__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict );
Py_DECREF( tmp_class_creation_3__class_decl_dict );
tmp_class_creation_3__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass );
Py_DECREF( tmp_class_creation_3__metaclass );
tmp_class_creation_3__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
Py_DECREF( tmp_class_creation_3__prepared );
tmp_class_creation_3__prepared = NULL;
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( var_Element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "Element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 254;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = var_Element;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 254;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_elementClass, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 254;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
if ( var_Comment == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "Comment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 255;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_name_4 = var_Comment;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 255;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_commentClass, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 255;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_name_15;
PyObject *tmp_source_name_17;
PyObject *tmp_source_name_18;
PyObject *tmp_mvar_value_4;
PyObject *tmp_args_element_name_13;
PyObject *tmp_args_element_name_14;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_base );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
}
if ( tmp_mvar_value_4 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_source_name_18 = tmp_mvar_value_4;
tmp_source_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_TreeBuilder );
if ( tmp_source_name_17 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain___init__ );
Py_DECREF( tmp_source_name_17 );
if ( tmp_called_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_15 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_args_element_name_13 = par_self;
if ( par_namespaceHTMLElements == NULL )
{
Py_DECREF( tmp_called_name_15 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespaceHTMLElements" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
tmp_args_element_name_14 = par_namespaceHTMLElements;
frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame.f_lineno = 257;
{
PyObject *call_args[] = { tmp_args_element_name_13, tmp_args_element_name_14 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_15, call_args );
}
Py_DECREF( tmp_called_name_15 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 257;
type_description_1 = "ooocccoo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_9eaf57a25c39c4d0bec38c10cab6c8a7, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_9eaf57a25c39c4d0bec38c10cab6c8a7->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_9eaf57a25c39c4d0bec38c10cab6c8a7, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_9eaf57a25c39c4d0bec38c10cab6c8a7,
type_description_1,
par_self,
par_namespaceHTMLElements,
par_fullTree,
var_builder,
var_infosetFilter,
var_Attributes,
var_Element,
var_Comment
);
// Release cached frame.
if ( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 == cache_frame_9eaf57a25c39c4d0bec38c10cab6c8a7 )
{
Py_DECREF( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 );
}
cache_frame_9eaf57a25c39c4d0bec38c10cab6c8a7 = NULL;
assertFrameObject( frame_9eaf57a25c39c4d0bec38c10cab6c8a7 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_4:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_namespaceHTMLElements );
par_namespaceHTMLElements = NULL;
}
{
Py_XDECREF( par_fullTree );
par_fullTree = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_builder );
Py_DECREF( var_builder );
var_builder = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_infosetFilter );
Py_DECREF( var_infosetFilter );
var_infosetFilter = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_Attributes );
Py_DECREF( var_Attributes );
var_Attributes = NULL;
}
{
Py_XDECREF( var_Element );
var_Element = NULL;
}
{
Py_XDECREF( var_Comment );
var_Comment = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_namespaceHTMLElements );
par_namespaceHTMLElements = NULL;
}
{
Py_XDECREF( par_fullTree );
par_fullTree = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_builder );
Py_DECREF( var_builder );
var_builder = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_infosetFilter );
Py_DECREF( var_infosetFilter );
var_infosetFilter = NULL;
}
{
CHECK_OBJECT( (PyObject *)var_Attributes );
Py_DECREF( var_Attributes );
var_Attributes = NULL;
}
{
Py_XDECREF( var_Element );
var_Element = NULL;
}
{
Py_XDECREF( var_Comment );
var_Comment = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__ );
return NULL;
function_exception_exit:
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 );
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 );
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 );
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___209 );
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___188 );
Py_XDECREF( locals_html5lib$treebuilders$etree_lxml$$$function_7___init___240 );
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_element = python_pars[ 1 ];
PyObject *par_value = python_pars[ 2 ];
PyObject *var_key = NULL;
PyObject *var_name = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_596d31094c0a82f5f3e186e3e8d7a3fc;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_596d31094c0a82f5f3e186e3e8d7a3fc = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function code.
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( par_value );
tmp_compexpr_left_1 = par_value;
tmp_compexpr_right_1 = Py_None;
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = PyDict_New();
{
PyObject *old = par_value;
par_value = tmp_assign_source_1;
Py_XDECREF( old );
}
}
branch_no_1:;
}
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_596d31094c0a82f5f3e186e3e8d7a3fc, codeobj_596d31094c0a82f5f3e186e3e8d7a3fc, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_596d31094c0a82f5f3e186e3e8d7a3fc = cache_frame_596d31094c0a82f5f3e186e3e8d7a3fc;
// Push the new frame as the currently active one.
pushFrameStack( frame_596d31094c0a82f5f3e186e3e8d7a3fc );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_596d31094c0a82f5f3e186e3e8d7a3fc ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
if ( par_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 192;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_assattr_name_1 = par_element;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 192;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__element, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 192;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
tmp_source_name_1 = (PyObject *)&PyDict_Type;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___init__ );
assert( !(tmp_called_name_1 == NULL) );
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 193;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_self;
if ( par_value == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 193;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_value;
frame_596d31094c0a82f5f3e186e3e8d7a3fc->m_frame.f_lineno = 193;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 193;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 194;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_self;
frame_596d31094c0a82f5f3e186e3e8d7a3fc->m_frame.f_lineno = 194;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
if ( tmp_iter_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 194;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
Py_DECREF( tmp_iter_arg_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 194;
type_description_1 = "oooooc";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_1__for_iterator == NULL );
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
{
// Tried code:
{
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
if ( tmp_assign_source_3 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_1;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooc";
exception_lineno = 194;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT( tmp_for_loop_1__iter_value );
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 194;
type_description_1 = "oooooc";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
if ( tmp_assign_source_5 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooc";
exception_lineno = 194;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
if ( tmp_assign_source_6 == NULL )
{
if ( !ERROR_OCCURRED() )
{
exception_type = PyExc_StopIteration;
Py_INCREF( exception_type );
exception_value = NULL;
exception_tb = NULL;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
}
type_description_1 = "oooooc";
exception_lineno = 194;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
Py_XDECREF( old );
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
if (likely( tmp_iterator_attempt == NULL ))
{
PyObject *error = GET_ERROR_OCCURRED();
if ( error != NULL )
{
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
{
CLEAR_ERROR_OCCURRED();
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooc";
exception_lineno = 194;
goto try_except_handler_4;
}
}
}
else
{
Py_DECREF( tmp_iterator_attempt );
// TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooc";
exception_lineno = 194;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
Py_DECREF( tmp_tuple_unpack_1__source_iter );
tmp_tuple_unpack_1__source_iter = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
}
// End of try:
try_end_1:;
}
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
tmp_tuple_unpack_1__element_1 = NULL;
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
tmp_tuple_unpack_1__element_2 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
Py_DECREF( tmp_tuple_unpack_1__source_iter );
tmp_tuple_unpack_1__source_iter = NULL;
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_key;
var_key = tmp_assign_source_7;
Py_INCREF( var_key );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
tmp_tuple_unpack_1__element_1 = NULL;
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = par_value;
par_value = tmp_assign_source_8;
Py_INCREF( par_value );
Py_XDECREF( old );
}
}
{
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
tmp_tuple_unpack_1__element_2 = NULL;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
if ( var_key == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 195;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_isinstance_inst_1 = var_key;
tmp_isinstance_cls_1 = (PyObject *)&PyTuple_Type;
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 195;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
tmp_left_name_1 = const_str_digest_5be01baa4ba3ebc25cf396b770724d67;
if ( var_key == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_subscribed_name_1 = var_key;
tmp_subscript_name_1 = const_int_pos_2;
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 2 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
Py_DECREF( tmp_right_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_source_name_2 = PyCell_GET( self->m_closure[0] );
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_coerceAttribute );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
if ( var_key == NULL )
{
Py_DECREF( tmp_right_name_1 );
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_subscribed_name_2 = var_key;
tmp_subscript_name_2 = const_int_pos_1;
tmp_args_element_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
frame_596d31094c0a82f5f3e186e3e8d7a3fc->m_frame.f_lineno = 196;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
tmp_assign_source_9 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 196;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_9;
Py_XDECREF( old );
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_4;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 198;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_source_name_3 = PyCell_GET( self->m_closure[0] );
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_coerceAttribute );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 198;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
if ( var_key == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 198;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_args_element_name_4 = var_key;
frame_596d31094c0a82f5f3e186e3e8d7a3fc->m_frame.f_lineno = 198;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
if ( tmp_assign_source_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 198;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_10;
Py_XDECREF( old );
}
}
branch_end_2:;
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_ass_subscript_1;
if ( par_value == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_ass_subvalue_1 = par_value;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__element );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__element );
Py_DECREF( tmp_source_name_5 );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_attrib );
Py_DECREF( tmp_source_name_4 );
if ( tmp_ass_subscribed_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_ass_subscribed_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
tmp_ass_subscript_1 = var_name;
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
Py_DECREF( tmp_ass_subscribed_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 199;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 194;
type_description_1 = "oooooc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
}
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
}
// End of try:
try_end_3:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_596d31094c0a82f5f3e186e3e8d7a3fc );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_596d31094c0a82f5f3e186e3e8d7a3fc );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_596d31094c0a82f5f3e186e3e8d7a3fc, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_596d31094c0a82f5f3e186e3e8d7a3fc->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_596d31094c0a82f5f3e186e3e8d7a3fc, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_596d31094c0a82f5f3e186e3e8d7a3fc,
type_description_1,
par_self,
par_element,
par_value,
var_key,
var_name,
self->m_closure[0]
);
// Release cached frame.
if ( frame_596d31094c0a82f5f3e186e3e8d7a3fc == cache_frame_596d31094c0a82f5f3e186e3e8d7a3fc )
{
Py_DECREF( frame_596d31094c0a82f5f3e186e3e8d7a3fc );
}
cache_frame_596d31094c0a82f5f3e186e3e8d7a3fc = NULL;
assertFrameObject( frame_596d31094c0a82f5f3e186e3e8d7a3fc );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( par_value );
par_value = NULL;
}
{
Py_XDECREF( var_key );
var_key = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
Py_XDECREF( par_value );
par_value = NULL;
}
{
Py_XDECREF( var_key );
var_key = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_key = python_pars[ 1 ];
PyObject *par_value = python_pars[ 2 ];
PyObject *var_name = NULL;
struct Nuitka_FrameObject *frame_bc66bf654e93bd58e4019b8e0c933bd8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_bc66bf654e93bd58e4019b8e0c933bd8 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_bc66bf654e93bd58e4019b8e0c933bd8, codeobj_bc66bf654e93bd58e4019b8e0c933bd8, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_bc66bf654e93bd58e4019b8e0c933bd8 = cache_frame_bc66bf654e93bd58e4019b8e0c933bd8;
// Push the new frame as the currently active one.
pushFrameStack( frame_bc66bf654e93bd58e4019b8e0c933bd8 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_bc66bf654e93bd58e4019b8e0c933bd8 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
tmp_called_instance_1 = (PyObject *)&PyDict_Type;
CHECK_OBJECT( par_self );
tmp_args_element_name_1 = par_self;
CHECK_OBJECT( par_key );
tmp_args_element_name_2 = par_key;
CHECK_OBJECT( par_value );
tmp_args_element_name_3 = par_value;
frame_bc66bf654e93bd58e4019b8e0c933bd8->m_frame.f_lineno = 202;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_unused = CALL_METHOD_WITH_ARGS3( tmp_called_instance_1, const_str_plain___setitem__, call_args );
}
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 202;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
if ( par_key == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 203;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_1 = par_key;
tmp_isinstance_cls_1 = (PyObject *)&PyTuple_Type;
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 203;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_4;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
tmp_left_name_1 = const_str_digest_5be01baa4ba3ebc25cf396b770724d67;
if ( par_key == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_subscribed_name_1 = par_key;
tmp_subscript_name_1 = const_int_pos_2;
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 2 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
Py_DECREF( tmp_right_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[0] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceAttribute );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
if ( par_key == NULL )
{
Py_DECREF( tmp_right_name_1 );
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_subscribed_name_2 = par_key;
tmp_subscript_name_2 = const_int_pos_1;
tmp_args_element_name_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
frame_bc66bf654e93bd58e4019b8e0c933bd8->m_frame.f_lineno = 204;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
tmp_assign_source_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 204;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
assert( var_name == NULL );
var_name = tmp_assign_source_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_5;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 206;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = PyCell_GET( self->m_closure[0] );
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_coerceAttribute );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 206;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
if ( par_key == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 206;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_5 = par_key;
frame_bc66bf654e93bd58e4019b8e0c933bd8->m_frame.f_lineno = 206;
{
PyObject *call_args[] = { tmp_args_element_name_5 };
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 206;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
assert( var_name == NULL );
var_name = tmp_assign_source_2;
}
branch_end_1:;
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_ass_subscript_1;
if ( par_value == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_ass_subvalue_1 = par_value;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__element );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__element );
Py_DECREF( tmp_source_name_4 );
if ( tmp_source_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_attrib );
Py_DECREF( tmp_source_name_3 );
if ( tmp_ass_subscribed_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_ass_subscribed_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = var_name;
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
Py_DECREF( tmp_ass_subscribed_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 207;
type_description_1 = "ooooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_bc66bf654e93bd58e4019b8e0c933bd8 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_bc66bf654e93bd58e4019b8e0c933bd8 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_bc66bf654e93bd58e4019b8e0c933bd8, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_bc66bf654e93bd58e4019b8e0c933bd8->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_bc66bf654e93bd58e4019b8e0c933bd8, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_bc66bf654e93bd58e4019b8e0c933bd8,
type_description_1,
par_self,
par_key,
par_value,
var_name,
self->m_closure[0]
);
// Release cached frame.
if ( frame_bc66bf654e93bd58e4019b8e0c933bd8 == cache_frame_bc66bf654e93bd58e4019b8e0c933bd8 )
{
Py_DECREF( frame_bc66bf654e93bd58e4019b8e0c933bd8 );
}
cache_frame_bc66bf654e93bd58e4019b8e0c933bd8 = NULL;
assertFrameObject( frame_bc66bf654e93bd58e4019b8e0c933bd8 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_key );
par_key = NULL;
}
{
Py_XDECREF( par_value );
par_value = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_key );
par_key = NULL;
}
{
Py_XDECREF( par_value );
par_value = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_name = python_pars[ 1 ];
PyObject *par_namespace = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_67a5c4f8d39697ad9baa9541f5fb7fe4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_67a5c4f8d39697ad9baa9541f5fb7fe4 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_67a5c4f8d39697ad9baa9541f5fb7fe4, codeobj_67a5c4f8d39697ad9baa9541f5fb7fe4, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_67a5c4f8d39697ad9baa9541f5fb7fe4 = cache_frame_67a5c4f8d39697ad9baa9541f5fb7fe4;
// Push the new frame as the currently active one.
pushFrameStack( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
if ( PyCell_GET( self->m_closure[2] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 211;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[2] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceElement );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 211;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
if ( par_name == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 211;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_name;
frame_67a5c4f8d39697ad9baa9541f5fb7fe4->m_frame.f_lineno = 211;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 211;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_name;
par_name = tmp_assign_source_1;
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kw_name_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = PyCell_GET( self->m_closure[1] );
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_Element );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___init__ );
Py_DECREF( tmp_source_name_2 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = par_self;
tmp_args_name_1 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
if ( par_name == NULL )
{
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = par_name;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
tmp_dict_key_1 = const_str_plain_namespace;
if ( par_namespace == NULL )
{
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = par_namespace;
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
assert( !(tmp_res != 0) );
frame_67a5c4f8d39697ad9baa9541f5fb7fe4->m_frame.f_lineno = 212;
tmp_unused = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_name_1 );
Py_DECREF( tmp_kw_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 212;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_called_name_3;
PyObject *tmp_args_element_name_2;
PyObject *tmp_assattr_target_1;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "Attributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 213;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_called_name_3 = PyCell_GET( self->m_closure[0] );
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 213;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_self;
frame_67a5c4f8d39697ad9baa9541f5fb7fe4->m_frame.f_lineno = 213;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
if ( tmp_assattr_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 213;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 213;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__attributes, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 213;
type_description_1 = "oooccc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_67a5c4f8d39697ad9baa9541f5fb7fe4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_67a5c4f8d39697ad9baa9541f5fb7fe4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_67a5c4f8d39697ad9baa9541f5fb7fe4, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_67a5c4f8d39697ad9baa9541f5fb7fe4,
type_description_1,
par_self,
par_name,
par_namespace,
self->m_closure[2],
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame.
if ( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 == cache_frame_67a5c4f8d39697ad9baa9541f5fb7fe4 )
{
Py_DECREF( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 );
}
cache_frame_67a5c4f8d39697ad9baa9541f5fb7fe4 = NULL;
assertFrameObject( frame_67a5c4f8d39697ad9baa9541f5fb7fe4 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
Py_XDECREF( par_namespace );
par_namespace = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
Py_XDECREF( par_namespace );
par_namespace = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_name = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_11b6617287d9076bf64ad491026f56fe;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_11b6617287d9076bf64ad491026f56fe = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_11b6617287d9076bf64ad491026f56fe, codeobj_11b6617287d9076bf64ad491026f56fe, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_11b6617287d9076bf64ad491026f56fe = cache_frame_11b6617287d9076bf64ad491026f56fe;
// Push the new frame as the currently active one.
pushFrameStack( frame_11b6617287d9076bf64ad491026f56fe );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_11b6617287d9076bf64ad491026f56fe ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_assattr_target_1;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[0] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceElement );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_name == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_name;
frame_11b6617287d9076bf64ad491026f56fe->m_frame.f_lineno = 216;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assattr_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__name, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 216;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_assattr_target_2;
PyObject *tmp_source_name_5;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__getETreeTag );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 218;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__name );
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 218;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 218;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__namespace );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_2 );
exception_lineno = 218;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_11b6617287d9076bf64ad491026f56fe->m_frame.f_lineno = 217;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_2 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_assattr_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_assattr_target_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__element );
if ( tmp_assattr_target_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_assattr_name_2 );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_tag, tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_target_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 217;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_11b6617287d9076bf64ad491026f56fe );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_11b6617287d9076bf64ad491026f56fe );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_11b6617287d9076bf64ad491026f56fe, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_11b6617287d9076bf64ad491026f56fe->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_11b6617287d9076bf64ad491026f56fe, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_11b6617287d9076bf64ad491026f56fe,
type_description_1,
par_self,
par_name,
self->m_closure[0]
);
// Release cached frame.
if ( frame_11b6617287d9076bf64ad491026f56fe == cache_frame_11b6617287d9076bf64ad491026f56fe )
{
Py_DECREF( frame_11b6617287d9076bf64ad491026f56fe );
}
cache_frame_11b6617287d9076bf64ad491026f56fe = NULL;
assertFrameObject( frame_11b6617287d9076bf64ad491026f56fe );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_name );
par_name = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_5d3a03e78f6d12228cf0fd7f2a61b5c5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_5d3a03e78f6d12228cf0fd7f2a61b5c5, codeobj_5d3a03e78f6d12228cf0fd7f2a61b5c5, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *) );
frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 = cache_frame_5d3a03e78f6d12228cf0fd7f2a61b5c5;
// Push the new frame as the currently active one.
pushFrameStack( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_2;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 221;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[0] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_fromXmlName );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 221;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 221;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__name );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 221;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_5d3a03e78f6d12228cf0fd7f2a61b5c5->m_frame.f_lineno = 221;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 221;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_5d3a03e78f6d12228cf0fd7f2a61b5c5->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_5d3a03e78f6d12228cf0fd7f2a61b5c5, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_5d3a03e78f6d12228cf0fd7f2a61b5c5,
type_description_1,
par_self,
self->m_closure[0]
);
// Release cached frame.
if ( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 == cache_frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 )
{
Py_DECREF( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
}
cache_frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 = NULL;
assertFrameObject( frame_5d3a03e78f6d12228cf0fd7f2a61b5c5 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_1d6f31053a502493cd5b3b933ab7c0e9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_1d6f31053a502493cd5b3b933ab7c0e9 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_1d6f31053a502493cd5b3b933ab7c0e9, codeobj_1d6f31053a502493cd5b3b933ab7c0e9, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_1d6f31053a502493cd5b3b933ab7c0e9 = cache_frame_1d6f31053a502493cd5b3b933ab7c0e9;
// Push the new frame as the currently active one.
pushFrameStack( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_1d6f31053a502493cd5b3b933ab7c0e9 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__attributes );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 226;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_1d6f31053a502493cd5b3b933ab7c0e9, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_1d6f31053a502493cd5b3b933ab7c0e9->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_1d6f31053a502493cd5b3b933ab7c0e9, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_1d6f31053a502493cd5b3b933ab7c0e9,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_1d6f31053a502493cd5b3b933ab7c0e9 == cache_frame_1d6f31053a502493cd5b3b933ab7c0e9 )
{
Py_DECREF( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
}
cache_frame_1d6f31053a502493cd5b3b933ab7c0e9 = NULL;
assertFrameObject( frame_1d6f31053a502493cd5b3b933ab7c0e9 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_attributes = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_33ac8a9966e5715738b1d27e6a366023;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_33ac8a9966e5715738b1d27e6a366023 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_33ac8a9966e5715738b1d27e6a366023, codeobj_33ac8a9966e5715738b1d27e6a366023, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_33ac8a9966e5715738b1d27e6a366023 = cache_frame_33ac8a9966e5715738b1d27e6a366023;
// Push the new frame as the currently active one.
pushFrameStack( frame_33ac8a9966e5715738b1d27e6a366023 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_33ac8a9966e5715738b1d27e6a366023 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_called_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_assattr_target_1;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "Attributes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 229;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_called_name_1 = PyCell_GET( self->m_closure[0] );
CHECK_OBJECT( par_self );
tmp_args_element_name_1 = par_self;
CHECK_OBJECT( par_attributes );
tmp_args_element_name_2 = par_attributes;
frame_33ac8a9966e5715738b1d27e6a366023->m_frame.f_lineno = 229;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
if ( tmp_assattr_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 229;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 229;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__attributes, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 229;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_33ac8a9966e5715738b1d27e6a366023 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_33ac8a9966e5715738b1d27e6a366023 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_33ac8a9966e5715738b1d27e6a366023, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_33ac8a9966e5715738b1d27e6a366023->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_33ac8a9966e5715738b1d27e6a366023, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_33ac8a9966e5715738b1d27e6a366023,
type_description_1,
par_self,
par_attributes,
self->m_closure[0]
);
// Release cached frame.
if ( frame_33ac8a9966e5715738b1d27e6a366023 == cache_frame_33ac8a9966e5715738b1d27e6a366023 )
{
Py_DECREF( frame_33ac8a9966e5715738b1d27e6a366023 );
}
cache_frame_33ac8a9966e5715738b1d27e6a366023 = NULL;
assertFrameObject( frame_33ac8a9966e5715738b1d27e6a366023 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_attributes );
par_attributes = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_attributes );
par_attributes = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
PyObject *par_insertBefore = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_2b9d3c7f08377157499e9be61b4b7b35;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_2b9d3c7f08377157499e9be61b4b7b35 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_2b9d3c7f08377157499e9be61b4b7b35, codeobj_2b9d3c7f08377157499e9be61b4b7b35, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_2b9d3c7f08377157499e9be61b4b7b35 = cache_frame_2b9d3c7f08377157499e9be61b4b7b35;
// Push the new frame as the currently active one.
pushFrameStack( frame_2b9d3c7f08377157499e9be61b4b7b35 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_2b9d3c7f08377157499e9be61b4b7b35 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 234;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[1] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceCharacters );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 234;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 234;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_data;
frame_2b9d3c7f08377157499e9be61b4b7b35->m_frame.f_lineno = 234;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 234;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_data;
par_data = tmp_assign_source_1;
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = PyCell_GET( self->m_closure[0] );
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_Element );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_insertText );
Py_DECREF( tmp_source_name_2 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_self;
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = par_data;
if ( par_insertBefore == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "insertBefore" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = par_insertBefore;
frame_2b9d3c7f08377157499e9be61b4b7b35->m_frame.f_lineno = 235;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 235;
type_description_1 = "ooocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_2b9d3c7f08377157499e9be61b4b7b35 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_2b9d3c7f08377157499e9be61b4b7b35 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_2b9d3c7f08377157499e9be61b4b7b35, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_2b9d3c7f08377157499e9be61b4b7b35->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_2b9d3c7f08377157499e9be61b4b7b35, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_2b9d3c7f08377157499e9be61b4b7b35,
type_description_1,
par_self,
par_data,
par_insertBefore,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame.
if ( frame_2b9d3c7f08377157499e9be61b4b7b35 == cache_frame_2b9d3c7f08377157499e9be61b4b7b35 )
{
Py_DECREF( frame_2b9d3c7f08377157499e9be61b4b7b35 );
}
cache_frame_2b9d3c7f08377157499e9be61b4b7b35 = NULL;
assertFrameObject( frame_2b9d3c7f08377157499e9be61b4b7b35 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_insertBefore );
par_insertBefore = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_insertBefore );
par_insertBefore = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_child = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_d5ed7d33b03c4134fe40d8eacf103268;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_d5ed7d33b03c4134fe40d8eacf103268 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_d5ed7d33b03c4134fe40d8eacf103268, codeobj_d5ed7d33b03c4134fe40d8eacf103268, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_d5ed7d33b03c4134fe40d8eacf103268 = cache_frame_d5ed7d33b03c4134fe40d8eacf103268;
// Push the new frame as the currently active one.
pushFrameStack( frame_d5ed7d33b03c4134fe40d8eacf103268 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_d5ed7d33b03c4134fe40d8eacf103268 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = PyCell_GET( self->m_closure[0] );
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_Element );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_appendChild );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_self;
if ( par_child == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "child" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_child;
frame_d5ed7d33b03c4134fe40d8eacf103268->m_frame.f_lineno = 238;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 238;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_d5ed7d33b03c4134fe40d8eacf103268 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_d5ed7d33b03c4134fe40d8eacf103268 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_d5ed7d33b03c4134fe40d8eacf103268, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_d5ed7d33b03c4134fe40d8eacf103268->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_d5ed7d33b03c4134fe40d8eacf103268, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_d5ed7d33b03c4134fe40d8eacf103268,
type_description_1,
par_self,
par_child,
self->m_closure[0]
);
// Release cached frame.
if ( frame_d5ed7d33b03c4134fe40d8eacf103268 == cache_frame_d5ed7d33b03c4134fe40d8eacf103268 )
{
Py_DECREF( frame_d5ed7d33b03c4134fe40d8eacf103268 );
}
cache_frame_d5ed7d33b03c4134fe40d8eacf103268 = NULL;
assertFrameObject( frame_d5ed7d33b03c4134fe40d8eacf103268 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_child );
par_child = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_child );
par_child = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_72e944aa1485a8ecfe708b8a8fded468;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_72e944aa1485a8ecfe708b8a8fded468 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_72e944aa1485a8ecfe708b8a8fded468, codeobj_72e944aa1485a8ecfe708b8a8fded468, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_72e944aa1485a8ecfe708b8a8fded468 = cache_frame_72e944aa1485a8ecfe708b8a8fded468;
// Push the new frame as the currently active one.
pushFrameStack( frame_72e944aa1485a8ecfe708b8a8fded468 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_72e944aa1485a8ecfe708b8a8fded468 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
if ( PyCell_GET( self->m_closure[1] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 242;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[1] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceComment );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 242;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 242;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_data;
frame_72e944aa1485a8ecfe708b8a8fded468->m_frame.f_lineno = 242;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 242;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_data;
par_data = tmp_assign_source_1;
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "builder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_source_name_3 = PyCell_GET( self->m_closure[0] );
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_Comment );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___init__ );
Py_DECREF( tmp_source_name_2 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_self;
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = par_data;
frame_72e944aa1485a8ecfe708b8a8fded468->m_frame.f_lineno = 243;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 243;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_72e944aa1485a8ecfe708b8a8fded468 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_72e944aa1485a8ecfe708b8a8fded468 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_72e944aa1485a8ecfe708b8a8fded468, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_72e944aa1485a8ecfe708b8a8fded468->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_72e944aa1485a8ecfe708b8a8fded468, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_72e944aa1485a8ecfe708b8a8fded468,
type_description_1,
par_self,
par_data,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame.
if ( frame_72e944aa1485a8ecfe708b8a8fded468 == cache_frame_72e944aa1485a8ecfe708b8a8fded468 )
{
Py_DECREF( frame_72e944aa1485a8ecfe708b8a8fded468 );
}
cache_frame_72e944aa1485a8ecfe708b8a8fded468 = NULL;
assertFrameObject( frame_72e944aa1485a8ecfe708b8a8fded468 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_90d2d08c5abe893d7114b704db5af02d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_90d2d08c5abe893d7114b704db5af02d = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_90d2d08c5abe893d7114b704db5af02d, codeobj_90d2d08c5abe893d7114b704db5af02d, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_90d2d08c5abe893d7114b704db5af02d = cache_frame_90d2d08c5abe893d7114b704db5af02d;
// Push the new frame as the currently active one.
pushFrameStack( frame_90d2d08c5abe893d7114b704db5af02d );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_90d2d08c5abe893d7114b704db5af02d ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
if ( PyCell_GET( self->m_closure[0] ) == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "infosetFilter" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 246;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_1 = PyCell_GET( self->m_closure[0] );
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_coerceComment );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 246;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 246;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_data;
frame_90d2d08c5abe893d7114b704db5af02d->m_frame.f_lineno = 246;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 246;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_data;
par_data = tmp_assign_source_1;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
PyObject *tmp_source_name_2;
CHECK_OBJECT( par_data );
tmp_assattr_name_1 = par_data;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 247;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_assattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__element );
if ( tmp_assattr_target_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 247;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_text, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_target_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 247;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_90d2d08c5abe893d7114b704db5af02d );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_90d2d08c5abe893d7114b704db5af02d );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_90d2d08c5abe893d7114b704db5af02d, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_90d2d08c5abe893d7114b704db5af02d->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_90d2d08c5abe893d7114b704db5af02d, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_90d2d08c5abe893d7114b704db5af02d,
type_description_1,
par_self,
par_data,
self->m_closure[0]
);
// Release cached frame.
if ( frame_90d2d08c5abe893d7114b704db5af02d == cache_frame_90d2d08c5abe893d7114b704db5af02d )
{
Py_DECREF( frame_90d2d08c5abe893d7114b704db5af02d );
}
cache_frame_90d2d08c5abe893d7114b704db5af02d = NULL;
assertFrameObject( frame_90d2d08c5abe893d7114b704db5af02d );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_4918152e8796f071a3dffc699a2f0ed7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_4918152e8796f071a3dffc699a2f0ed7 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_4918152e8796f071a3dffc699a2f0ed7, codeobj_4918152e8796f071a3dffc699a2f0ed7, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_4918152e8796f071a3dffc699a2f0ed7 = cache_frame_4918152e8796f071a3dffc699a2f0ed7;
// Push the new frame as the currently active one.
pushFrameStack( frame_4918152e8796f071a3dffc699a2f0ed7 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_4918152e8796f071a3dffc699a2f0ed7 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__element );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 250;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_text );
Py_DECREF( tmp_source_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 250;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_4918152e8796f071a3dffc699a2f0ed7 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_4918152e8796f071a3dffc699a2f0ed7 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_4918152e8796f071a3dffc699a2f0ed7 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_4918152e8796f071a3dffc699a2f0ed7, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_4918152e8796f071a3dffc699a2f0ed7->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_4918152e8796f071a3dffc699a2f0ed7, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_4918152e8796f071a3dffc699a2f0ed7,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_4918152e8796f071a3dffc699a2f0ed7 == cache_frame_4918152e8796f071a3dffc699a2f0ed7 )
{
Py_DECREF( frame_4918152e8796f071a3dffc699a2f0ed7 );
}
cache_frame_4918152e8796f071a3dffc699a2f0ed7 = NULL;
assertFrameObject( frame_4918152e8796f071a3dffc699a2f0ed7 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_8_reset( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_4174a5cddc6bfa0d2a7b31ea68a19ce2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_4174a5cddc6bfa0d2a7b31ea68a19ce2, codeobj_4174a5cddc6bfa0d2a7b31ea68a19ce2, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 = cache_frame_4174a5cddc6bfa0d2a7b31ea68a19ce2;
// Push the new frame as the currently active one.
pushFrameStack( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_base );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 260;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_2 = tmp_mvar_value_1;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_TreeBuilder );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 260;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_reset );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 260;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 260;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_self;
frame_4174a5cddc6bfa0d2a7b31ea68a19ce2->m_frame.f_lineno = 260;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 260;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_source_name_3;
PyObject *tmp_assattr_target_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 261;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_assattr_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_insertCommentInitial );
if ( tmp_assattr_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 261;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 261;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_insertComment, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 261;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_name_2 = PyList_New( 0 );
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 262;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_initial_comments, tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 262;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_name_3 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 263;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_doctype, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 263;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_4174a5cddc6bfa0d2a7b31ea68a19ce2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_4174a5cddc6bfa0d2a7b31ea68a19ce2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_4174a5cddc6bfa0d2a7b31ea68a19ce2,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 == cache_frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 )
{
Py_DECREF( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 );
}
cache_frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 = NULL;
assertFrameObject( frame_4174a5cddc6bfa0d2a7b31ea68a19ce2 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_8_reset );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_8_reset );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_9_testSerializer( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_element = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_af852cb367ba86b02386e4ea11ae67b8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_af852cb367ba86b02386e4ea11ae67b8 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_af852cb367ba86b02386e4ea11ae67b8, codeobj_af852cb367ba86b02386e4ea11ae67b8, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *) );
frame_af852cb367ba86b02386e4ea11ae67b8 = cache_frame_af852cb367ba86b02386e4ea11ae67b8;
// Push the new frame as the currently active one.
pushFrameStack( frame_af852cb367ba86b02386e4ea11ae67b8 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_af852cb367ba86b02386e4ea11ae67b8 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_testSerializer );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_testSerializer );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "testSerializer" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 266;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = tmp_mvar_value_1;
CHECK_OBJECT( par_element );
tmp_args_element_name_1 = par_element;
frame_af852cb367ba86b02386e4ea11ae67b8->m_frame.f_lineno = 266;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 266;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_af852cb367ba86b02386e4ea11ae67b8 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_af852cb367ba86b02386e4ea11ae67b8 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_af852cb367ba86b02386e4ea11ae67b8 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_af852cb367ba86b02386e4ea11ae67b8, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_af852cb367ba86b02386e4ea11ae67b8->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_af852cb367ba86b02386e4ea11ae67b8, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_af852cb367ba86b02386e4ea11ae67b8,
type_description_1,
par_self,
par_element
);
// Release cached frame.
if ( frame_af852cb367ba86b02386e4ea11ae67b8 == cache_frame_af852cb367ba86b02386e4ea11ae67b8 )
{
Py_DECREF( frame_af852cb367ba86b02386e4ea11ae67b8 );
}
cache_frame_af852cb367ba86b02386e4ea11ae67b8 = NULL;
assertFrameObject( frame_af852cb367ba86b02386e4ea11ae67b8 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_9_testSerializer );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_element );
par_element = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_9_testSerializer );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_10_getDocument( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_7ae8031bef295630802e96e4158a7f4e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_7ae8031bef295630802e96e4158a7f4e = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_7ae8031bef295630802e96e4158a7f4e, codeobj_7ae8031bef295630802e96e4158a7f4e, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_7ae8031bef295630802e96e4158a7f4e = cache_frame_7ae8031bef295630802e96e4158a7f4e;
// Push the new frame as the currently active one.
pushFrameStack( frame_7ae8031bef295630802e96e4158a7f4e );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_7ae8031bef295630802e96e4158a7f4e ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_fullTree );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_fullTree );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "fullTree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 269;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 269;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_document );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 270;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__elementTree );
Py_DECREF( tmp_source_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 270;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
CHECK_OBJECT( par_self );
tmp_source_name_4 = par_self;
tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_document );
if ( tmp_source_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 272;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__elementTree );
Py_DECREF( tmp_source_name_3 );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 272;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_7ae8031bef295630802e96e4158a7f4e->m_frame.f_lineno = 272;
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_getroot );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 272;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_7ae8031bef295630802e96e4158a7f4e );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_7ae8031bef295630802e96e4158a7f4e );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_7ae8031bef295630802e96e4158a7f4e );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_7ae8031bef295630802e96e4158a7f4e, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_7ae8031bef295630802e96e4158a7f4e->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_7ae8031bef295630802e96e4158a7f4e, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_7ae8031bef295630802e96e4158a7f4e,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_7ae8031bef295630802e96e4158a7f4e == cache_frame_7ae8031bef295630802e96e4158a7f4e )
{
Py_DECREF( frame_7ae8031bef295630802e96e4158a7f4e );
}
cache_frame_7ae8031bef295630802e96e4158a7f4e = NULL;
assertFrameObject( frame_7ae8031bef295630802e96e4158a7f4e );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_10_getDocument );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_10_getDocument );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_11_getFragment( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *var_fragment = NULL;
PyObject *var_element = NULL;
struct Nuitka_FrameObject *frame_036aee335ad091c665b877c7cf494b40;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_036aee335ad091c665b877c7cf494b40 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = PyList_New( 0 );
assert( var_fragment == NULL );
var_fragment = tmp_assign_source_1;
}
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_036aee335ad091c665b877c7cf494b40, codeobj_036aee335ad091c665b877c7cf494b40, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_036aee335ad091c665b877c7cf494b40 = cache_frame_036aee335ad091c665b877c7cf494b40;
// Push the new frame as the currently active one.
pushFrameStack( frame_036aee335ad091c665b877c7cf494b40 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_036aee335ad091c665b877c7cf494b40 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_source_name_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_subscript_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_openElements );
if ( tmp_subscribed_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 276;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_subscript_name_1 = const_int_0;
tmp_source_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
Py_DECREF( tmp_subscribed_name_1 );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 276;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__element );
Py_DECREF( tmp_source_name_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 276;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_element == NULL );
var_element = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_source_name_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT( var_element );
tmp_source_name_3 = var_element;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_text );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 277;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_1 );
exception_lineno = 277;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_1 );
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_4;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_5;
if ( var_fragment == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 278;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = var_fragment;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 278;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_element == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 278;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = var_element;
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_text );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 278;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_036aee335ad091c665b877c7cf494b40->m_frame.f_lineno = 278;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 278;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_1:;
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_6;
PyObject *tmp_args_element_name_2;
PyObject *tmp_list_arg_1;
if ( var_fragment == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 279;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = var_fragment;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_extend );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 279;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_element == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 279;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_list_arg_1 = var_element;
tmp_args_element_name_2 = PySequence_List( tmp_list_arg_1 );
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 279;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_036aee335ad091c665b877c7cf494b40->m_frame.f_lineno = 279;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 279;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_source_name_7;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if ( var_element == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 280;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_7 = var_element;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_tail );
if ( tmp_attribute_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 280;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_2 );
exception_lineno = 280;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_2 );
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_8;
PyObject *tmp_args_element_name_3;
PyObject *tmp_source_name_9;
if ( var_fragment == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 281;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = var_fragment;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 281;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_element == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 281;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = var_element;
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_tail );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 281;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_036aee335ad091c665b877c7cf494b40->m_frame.f_lineno = 281;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 281;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_2:;
}
{
if ( var_fragment == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 282;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_fragment;
Py_INCREF( tmp_return_value );
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_036aee335ad091c665b877c7cf494b40 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_036aee335ad091c665b877c7cf494b40 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_036aee335ad091c665b877c7cf494b40 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_036aee335ad091c665b877c7cf494b40, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_036aee335ad091c665b877c7cf494b40->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_036aee335ad091c665b877c7cf494b40, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_036aee335ad091c665b877c7cf494b40,
type_description_1,
par_self,
var_fragment,
var_element
);
// Release cached frame.
if ( frame_036aee335ad091c665b877c7cf494b40 == cache_frame_036aee335ad091c665b877c7cf494b40 )
{
Py_DECREF( frame_036aee335ad091c665b877c7cf494b40 );
}
cache_frame_036aee335ad091c665b877c7cf494b40 = NULL;
assertFrameObject( frame_036aee335ad091c665b877c7cf494b40 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_11_getFragment );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_fragment );
var_fragment = NULL;
}
{
Py_XDECREF( var_element );
var_element = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_fragment );
var_fragment = NULL;
}
{
Py_XDECREF( var_element );
var_element = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_11_getFragment );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_token = python_pars[ 1 ];
PyObject *var_name = NULL;
PyObject *var_publicId = NULL;
PyObject *var_systemId = NULL;
PyObject *var_coercedName = NULL;
PyObject *var_doctype = NULL;
struct Nuitka_FrameObject *frame_66e4d1e661a9cf781a565024285bd1eb;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_66e4d1e661a9cf781a565024285bd1eb = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_66e4d1e661a9cf781a565024285bd1eb, codeobj_66e4d1e661a9cf781a565024285bd1eb, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_66e4d1e661a9cf781a565024285bd1eb = cache_frame_66e4d1e661a9cf781a565024285bd1eb;
// Push the new frame as the currently active one.
pushFrameStack( frame_66e4d1e661a9cf781a565024285bd1eb );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_66e4d1e661a9cf781a565024285bd1eb ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
CHECK_OBJECT( par_token );
tmp_subscribed_name_1 = par_token;
tmp_subscript_name_1 = const_str_plain_name;
tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 285;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert( var_name == NULL );
var_name = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
if ( par_token == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 286;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_subscribed_name_2 = par_token;
tmp_subscript_name_2 = const_str_plain_publicId;
tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 286;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert( var_publicId == NULL );
var_publicId = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_subscript_name_3;
if ( par_token == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 287;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_subscribed_name_3 = par_token;
tmp_subscript_name_3 = const_str_plain_systemId;
tmp_assign_source_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 287;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert( var_systemId == NULL );
var_systemId = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
if ( var_name == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 289;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_operand_name_1 = var_name;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 289;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 290;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = tmp_mvar_value_1;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_warn );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 290;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = const_str_digest_16b0baf8bdbb6245ee1f43944c401f61;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DataLossWarning" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 290;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = tmp_mvar_value_2;
frame_66e4d1e661a9cf781a565024285bd1eb->m_frame.f_lineno = 290;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 290;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_name_1 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 291;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_doctype, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 291;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_3;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 293;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_infosetFilter );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 293;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_coerceElement );
Py_DECREF( tmp_source_name_2 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 293;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 293;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = var_name;
frame_66e4d1e661a9cf781a565024285bd1eb->m_frame.f_lineno = 293;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 293;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert( var_coercedName == NULL );
var_coercedName = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( var_coercedName );
tmp_compexpr_left_1 = var_coercedName;
if ( var_name == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 294;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = var_name;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 294;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_mvar_value_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_args_element_name_5;
PyObject *tmp_mvar_value_4;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 295;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = tmp_mvar_value_3;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_warn );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 295;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = const_str_digest_e320cd81ad66f1890bc3d4f8c7cff209;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
}
if ( tmp_mvar_value_4 == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DataLossWarning" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 295;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_5 = tmp_mvar_value_4;
frame_66e4d1e661a9cf781a565024285bd1eb->m_frame.f_lineno = 295;
{
PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 295;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_2:;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_args_element_name_6;
PyObject *tmp_args_element_name_7;
PyObject *tmp_args_element_name_8;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_doctypeClass );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
if ( var_coercedName == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "coercedName" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_6 = var_coercedName;
if ( var_publicId == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "publicId" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_7 = var_publicId;
if ( var_systemId == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "systemId" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_8 = var_systemId;
frame_66e4d1e661a9cf781a565024285bd1eb->m_frame.f_lineno = 297;
{
PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8 };
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 297;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert( var_doctype == NULL );
var_doctype = tmp_assign_source_5;
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT( var_doctype );
tmp_assattr_name_2 = var_doctype;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 298;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_doctype, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 298;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_66e4d1e661a9cf781a565024285bd1eb );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_66e4d1e661a9cf781a565024285bd1eb );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_66e4d1e661a9cf781a565024285bd1eb, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_66e4d1e661a9cf781a565024285bd1eb->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_66e4d1e661a9cf781a565024285bd1eb, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_66e4d1e661a9cf781a565024285bd1eb,
type_description_1,
par_self,
par_token,
var_name,
var_publicId,
var_systemId,
var_coercedName,
var_doctype
);
// Release cached frame.
if ( frame_66e4d1e661a9cf781a565024285bd1eb == cache_frame_66e4d1e661a9cf781a565024285bd1eb )
{
Py_DECREF( frame_66e4d1e661a9cf781a565024285bd1eb );
}
cache_frame_66e4d1e661a9cf781a565024285bd1eb = NULL;
assertFrameObject( frame_66e4d1e661a9cf781a565024285bd1eb );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_token );
par_token = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_publicId );
var_publicId = NULL;
}
{
Py_XDECREF( var_systemId );
var_systemId = NULL;
}
{
Py_XDECREF( var_coercedName );
var_coercedName = NULL;
}
{
Py_XDECREF( var_doctype );
var_doctype = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_token );
par_token = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_publicId );
var_publicId = NULL;
}
{
Py_XDECREF( var_systemId );
var_systemId = NULL;
}
{
Py_XDECREF( var_coercedName );
var_coercedName = NULL;
}
{
Py_XDECREF( var_doctype );
var_doctype = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
PyObject *par_parent = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_6837bc0a783dd1ea48b3b9ac98faa192;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_6837bc0a783dd1ea48b3b9ac98faa192 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_6837bc0a783dd1ea48b3b9ac98faa192, codeobj_6837bc0a783dd1ea48b3b9ac98faa192, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_6837bc0a783dd1ea48b3b9ac98faa192 = cache_frame_6837bc0a783dd1ea48b3b9ac98faa192;
// Push the new frame as the currently active one.
pushFrameStack( frame_6837bc0a783dd1ea48b3b9ac98faa192 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_6837bc0a783dd1ea48b3b9ac98faa192 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_source_name_1;
CHECK_OBJECT( par_parent );
tmp_compexpr_left_1 = par_parent;
tmp_compexpr_right_1 = Py_None;
tmp_or_left_value_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? Py_True : Py_False;
tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
if ( tmp_or_left_truth_1 == 1 )
{
goto or_left_1;
}
else
{
goto or_right_1;
}
or_right_1:;
if ( par_parent == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 301;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = par_parent;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 301;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = par_self;
tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_document );
if ( tmp_compexpr_right_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 301;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? Py_True : Py_False;
Py_DECREF( tmp_compexpr_right_2 );
tmp_operand_name_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_operand_name_1 = tmp_or_left_value_1;
or_end_1:;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
assert( !(tmp_res == -1) );
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_lineno = 301;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 302;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_document );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 302;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__elementTree );
Py_DECREF( tmp_source_name_2 );
if ( tmp_compexpr_left_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 302;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_3 = Py_None;
tmp_condition_result_2 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_compexpr_left_3 );
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = PyExc_AssertionError;
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_lineno = 302;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_2:;
}
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_args_element_name_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 303;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_initial_comments );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 303;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append );
Py_DECREF( tmp_source_name_4 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 303;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 303;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_data;
frame_6837bc0a783dd1ea48b3b9ac98faa192->m_frame.f_lineno = 303;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 303;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_6837bc0a783dd1ea48b3b9ac98faa192 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_6837bc0a783dd1ea48b3b9ac98faa192 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_6837bc0a783dd1ea48b3b9ac98faa192, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_6837bc0a783dd1ea48b3b9ac98faa192->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_6837bc0a783dd1ea48b3b9ac98faa192, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_6837bc0a783dd1ea48b3b9ac98faa192,
type_description_1,
par_self,
par_data,
par_parent
);
// Release cached frame.
if ( frame_6837bc0a783dd1ea48b3b9ac98faa192 == cache_frame_6837bc0a783dd1ea48b3b9ac98faa192 )
{
Py_DECREF( frame_6837bc0a783dd1ea48b3b9ac98faa192 );
}
cache_frame_6837bc0a783dd1ea48b3b9ac98faa192 = NULL;
assertFrameObject( frame_6837bc0a783dd1ea48b3b9ac98faa192 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_parent );
par_parent = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_parent );
par_parent = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
PyObject *par_parent = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_34e7b033bca433af19e077b04164d549;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_34e7b033bca433af19e077b04164d549 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_34e7b033bca433af19e077b04164d549, codeobj_34e7b033bca433af19e077b04164d549, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_34e7b033bca433af19e077b04164d549 = cache_frame_34e7b033bca433af19e077b04164d549;
// Push the new frame as the currently active one.
pushFrameStack( frame_34e7b033bca433af19e077b04164d549 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_34e7b033bca433af19e077b04164d549 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_1;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_source_name_2;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_subscript_name_1;
PyObject *tmp_mvar_value_1;
CHECK_OBJECT( par_parent );
tmp_compexpr_left_1 = par_parent;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_document );
if ( tmp_compexpr_right_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 306;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 306;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_1 == 1 )
{
goto and_right_1;
}
else
{
goto and_left_1;
}
and_right_1:;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_document );
if ( tmp_source_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__elementTree );
Py_DECREF( tmp_source_name_3 );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_34e7b033bca433af19e077b04164d549->m_frame.f_lineno = 307;
tmp_subscribed_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_getroot );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_subscribed_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_subscript_name_1 = const_int_neg_1;
tmp_source_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 );
Py_DECREF( tmp_subscribed_name_1 );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_tag );
Py_DECREF( tmp_source_name_2 );
if ( tmp_compexpr_left_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_comment_type );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_comment_type );
}
if ( tmp_mvar_value_1 == NULL )
{
Py_DECREF( tmp_compexpr_left_2 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "comment_type" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_compexpr_right_2 = tmp_mvar_value_1;
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
Py_DECREF( tmp_compexpr_left_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 307;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_5;
PyObject *tmp_mvar_value_2;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_mvar_value_3;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
}
if ( tmp_mvar_value_2 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 308;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_source_name_5 = tmp_mvar_value_2;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_warn );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 308;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = const_str_digest_6a46113026c008c69ac5eb1ec8732462;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
}
if ( tmp_mvar_value_3 == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DataLossWarning" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 308;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = tmp_mvar_value_3;
frame_34e7b033bca433af19e077b04164d549->m_frame.f_lineno = 308;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 308;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_1:;
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_6;
PyObject *tmp_type_name_1;
PyObject *tmp_mvar_value_4;
PyObject *tmp_object_name_1;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_TreeBuilder );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TreeBuilder );
}
if ( tmp_mvar_value_4 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TreeBuilder" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_type_name_1 = tmp_mvar_value_4;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_object_name_1 = par_self;
tmp_source_name_6 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 );
if ( tmp_source_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_insertComment );
Py_DECREF( tmp_source_name_6 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = par_data;
if ( par_parent == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = par_parent;
frame_34e7b033bca433af19e077b04164d549->m_frame.f_lineno = 309;
{
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 309;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_34e7b033bca433af19e077b04164d549 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_34e7b033bca433af19e077b04164d549 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_34e7b033bca433af19e077b04164d549, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_34e7b033bca433af19e077b04164d549->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_34e7b033bca433af19e077b04164d549, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_34e7b033bca433af19e077b04164d549,
type_description_1,
par_self,
par_data,
par_parent,
NULL
);
// Release cached frame.
if ( frame_34e7b033bca433af19e077b04164d549 == cache_frame_34e7b033bca433af19e077b04164d549 )
{
Py_DECREF( frame_34e7b033bca433af19e077b04164d549 );
}
cache_frame_34e7b033bca433af19e077b04164d549 = NULL;
assertFrameObject( frame_34e7b033bca433af19e077b04164d549 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_parent );
par_parent = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_parent );
par_parent = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_html5lib$treebuilders$etree_lxml$$$function_15_insertRoot( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_token = python_pars[ 1 ];
PyObject *var_docStr = NULL;
PyObject *var_sysid = NULL;
PyObject *var_root = NULL;
PyObject *var_comment_token = NULL;
PyObject *var_comment = NULL;
PyObject *var_name = NULL;
PyObject *var_namespace = NULL;
PyObject *var_etree_tag = NULL;
PyObject *var_root_element = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_002e0192c586c8547f053f05b17e4664;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_002e0192c586c8547f053f05b17e4664 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = const_str_empty;
assert( var_docStr == NULL );
Py_INCREF( tmp_assign_source_1 );
var_docStr = tmp_assign_source_1;
}
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_002e0192c586c8547f053f05b17e4664, codeobj_002e0192c586c8547f053f05b17e4664, module_html5lib$treebuilders$etree_lxml, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_002e0192c586c8547f053f05b17e4664 = cache_frame_002e0192c586c8547f053f05b17e4664;
// Push the new frame as the currently active one.
pushFrameStack( frame_002e0192c586c8547f053f05b17e4664 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_002e0192c586c8547f053f05b17e4664 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_doctype );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 317;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_1 );
exception_lineno = 317;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_1 );
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 318;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_doctype );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 318;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name );
Py_DECREF( tmp_source_name_2 );
if ( tmp_operand_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 318;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
Py_DECREF( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 318;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_lineno = 318;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_1 = var_docStr;
tmp_left_name_2 = const_str_digest_de70a11ef971409076aa426e223c5dfd;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_doctype );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name );
Py_DECREF( tmp_source_name_4 );
if ( tmp_right_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_right_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 );
tmp_assign_source_2 = tmp_left_name_1;
Py_DECREF( tmp_right_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 319;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_3;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_6;
PyObject *tmp_source_name_7;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_source_name_8;
PyObject *tmp_source_name_9;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 320;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_7 = par_self;
tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_doctype );
if ( tmp_source_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 320;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_publicId );
Py_DECREF( tmp_source_name_6 );
if ( tmp_compexpr_left_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 320;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = Py_None;
tmp_or_left_value_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_compexpr_left_1 );
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_or_left_truth_1 == 1 )
{
goto or_left_1;
}
else
{
goto or_right_1;
}
or_right_1:;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 321;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = par_self;
tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_doctype );
if ( tmp_source_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 321;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_systemId );
Py_DECREF( tmp_source_name_8 );
if ( tmp_compexpr_left_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 321;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_2 = Py_None;
tmp_or_right_value_1 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_compexpr_left_2 );
tmp_condition_result_3 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_3 = tmp_or_left_value_1;
or_end_1:;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_left_name_4;
PyObject *tmp_right_name_4;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_10;
PyObject *tmp_source_name_11;
PyObject *tmp_args_element_name_1;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_source_name_12;
PyObject *tmp_source_name_13;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 322;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_3 = var_docStr;
tmp_left_name_4 = const_str_digest_82c487f60198b530e0615f6c9a587b9c;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_self;
tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_infosetFilter );
if ( tmp_source_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_coercePubid );
Py_DECREF( tmp_source_name_10 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_13 = par_self;
tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_doctype );
if ( tmp_source_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_publicId );
Py_DECREF( tmp_source_name_12 );
if ( tmp_or_left_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE( tmp_or_left_value_2 );
if ( tmp_or_left_truth_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_or_left_value_2 );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( tmp_or_left_truth_2 == 1 )
{
goto or_left_2;
}
else
{
goto or_right_2;
}
or_right_2:;
Py_DECREF( tmp_or_left_value_2 );
tmp_or_right_value_2 = const_str_empty;
Py_INCREF( tmp_or_right_value_2 );
tmp_args_element_name_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_args_element_name_1 = tmp_or_left_value_2;
or_end_2:;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 323;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_right_name_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_right_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 );
Py_DECREF( tmp_right_name_4 );
if ( tmp_right_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 322;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_3, tmp_right_name_3 );
tmp_assign_source_3 = tmp_left_name_3;
Py_DECREF( tmp_right_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 322;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_14;
PyObject *tmp_source_name_15;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 324;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_15 = par_self;
tmp_source_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_doctype );
if ( tmp_source_name_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 324;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_systemId );
Py_DECREF( tmp_source_name_14 );
if ( tmp_attribute_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 324;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_attribute_value_2 );
exception_lineno = 324;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_attribute_value_2 );
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_source_name_16;
PyObject *tmp_source_name_17;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 325;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_17 = par_self;
tmp_source_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_doctype );
if ( tmp_source_name_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 325;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_systemId );
Py_DECREF( tmp_source_name_16 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 325;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_sysid == NULL );
var_sysid = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_5;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_compexpr_left_4;
PyObject *tmp_compexpr_right_4;
PyObject *tmp_called_instance_2;
CHECK_OBJECT( var_sysid );
tmp_called_instance_1 = var_sysid;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 326;
tmp_compexpr_left_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_39_tuple, 0 ) );
if ( tmp_compexpr_left_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 326;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_3 = const_int_0;
tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
Py_DECREF( tmp_compexpr_left_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 326;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_1 == 1 )
{
goto and_right_1;
}
else
{
goto and_left_1;
}
and_right_1:;
if ( var_sysid == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sysid" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 326;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = var_sysid;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 326;
tmp_compexpr_left_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_34_tuple, 0 ) );
if ( tmp_compexpr_left_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 326;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_4 = const_int_0;
tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_4, tmp_compexpr_right_4 );
Py_DECREF( tmp_compexpr_left_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 326;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_5 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_5 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_18;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 327;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_18 = tmp_mvar_value_1;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_warn );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 327;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = const_str_digest_10b8f28c6c066174c99fe668a39b8117;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DataLossWarning" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 327;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = tmp_mvar_value_2;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 327;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 327;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_3;
if ( var_sysid == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sysid" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 328;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = var_sysid;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 328;
tmp_assign_source_5 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_39_str_plain_U00027_tuple, 0 ) );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 328;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_sysid;
var_sysid = tmp_assign_source_5;
Py_XDECREF( old );
}
}
branch_no_5:;
}
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_5;
PyObject *tmp_compexpr_right_5;
PyObject *tmp_called_instance_4;
if ( var_sysid == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sysid" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 329;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_4 = var_sysid;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 329;
tmp_compexpr_left_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_39_tuple, 0 ) );
if ( tmp_compexpr_left_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 329;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_5 = const_int_0;
tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_5, tmp_compexpr_right_5 );
Py_DECREF( tmp_compexpr_left_5 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 329;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_left_name_5;
PyObject *tmp_right_name_5;
PyObject *tmp_left_name_6;
PyObject *tmp_right_name_6;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 330;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_5 = var_docStr;
tmp_left_name_6 = const_str_digest_1e4616cb2877c002aa48d41e8b575b32;
if ( var_sysid == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sysid" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 330;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_6 = var_sysid;
tmp_right_name_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 );
if ( tmp_right_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 330;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_5, tmp_right_name_5 );
tmp_assign_source_6 = tmp_left_name_5;
Py_DECREF( tmp_right_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 330;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_6;
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_left_name_7;
PyObject *tmp_right_name_7;
PyObject *tmp_left_name_8;
PyObject *tmp_right_name_8;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 332;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_7 = var_docStr;
tmp_left_name_8 = const_str_digest_48fa30560f2d0e47e015a9aae37c3092;
if ( var_sysid == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sysid" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 332;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_8 = var_sysid;
tmp_right_name_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_8, tmp_right_name_8 );
if ( tmp_right_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 332;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_7, tmp_right_name_7 );
tmp_assign_source_7 = tmp_left_name_7;
Py_DECREF( tmp_right_name_7 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 332;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_7;
}
branch_end_6:;
}
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_left_name_9;
PyObject *tmp_right_name_9;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 334;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_9 = var_docStr;
tmp_right_name_9 = const_str_digest_3f8b984275c38c3bda625b33f1771959;
tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_9, tmp_right_name_9 );
tmp_assign_source_8 = tmp_left_name_9;
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 334;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_8;
}
branch_end_4:;
}
branch_no_3:;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_left_name_10;
PyObject *tmp_right_name_10;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 335;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_10 = var_docStr;
tmp_right_name_10 = const_str_chr_62;
tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_10, tmp_right_name_10 );
tmp_assign_source_9 = tmp_left_name_10;
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 335;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_9;
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_compexpr_left_6;
PyObject *tmp_compexpr_right_6;
PyObject *tmp_source_name_19;
PyObject *tmp_source_name_20;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_20 = par_self;
tmp_source_name_19 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_doctype );
if ( tmp_source_name_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_6 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_name );
Py_DECREF( tmp_source_name_19 );
if ( tmp_compexpr_left_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( par_token == NULL )
{
Py_DECREF( tmp_compexpr_left_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscribed_name_1 = par_token;
tmp_subscript_name_1 = const_str_plain_name;
tmp_compexpr_right_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
if ( tmp_compexpr_right_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_left_6 );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 );
Py_DECREF( tmp_compexpr_left_6 );
Py_DECREF( tmp_compexpr_right_6 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 336;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto branch_yes_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_21;
PyObject *tmp_mvar_value_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_args_element_name_5;
PyObject *tmp_mvar_value_4;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 337;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_21 = tmp_mvar_value_3;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_warn );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 337;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = const_str_digest_21cb4cf97448f2c5ccd870f914bbbff2;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DataLossWarning );
}
if ( tmp_mvar_value_4 == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DataLossWarning" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 337;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_5 = tmp_mvar_value_4;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 337;
{
PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 337;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_7:;
}
branch_no_1:;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_left_name_11;
PyObject *tmp_right_name_11;
if ( var_docStr == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 338;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_left_name_11 = var_docStr;
tmp_right_name_11 = const_str_digest_7f008b46055730231d7cb8c63029c513;
tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_11, tmp_right_name_11 );
tmp_assign_source_10 = tmp_left_name_11;
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 338;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
var_docStr = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_22;
PyObject *tmp_mvar_value_5;
PyObject *tmp_args_element_name_6;
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree );
if (unlikely( tmp_mvar_value_5 == NULL ))
{
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree );
}
if ( tmp_mvar_value_5 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 339;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_22 = tmp_mvar_value_5;
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_fromstring );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 339;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( var_docStr == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "docStr" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 339;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_6 = var_docStr;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 339;
{
PyObject *call_args[] = { tmp_args_element_name_6 };
tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 339;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_root == NULL );
var_root = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_iter_arg_1;
PyObject *tmp_source_name_23;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 342;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_23 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_initial_comments );
if ( tmp_iter_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 342;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_12 = MAKE_ITERATOR( tmp_iter_arg_1 );
Py_DECREF( tmp_iter_arg_1 );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 342;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_1__for_iterator == NULL );
tmp_for_loop_1__for_iterator = tmp_assign_source_12;
}
{
// Tried code:
{
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_13;
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_13 = ITERATOR_NEXT( tmp_next_source_1 );
if ( tmp_assign_source_13 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_1;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooooooooooo";
exception_lineno = 342;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_13;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT( tmp_for_loop_1__iter_value );
tmp_assign_source_14 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_comment_token;
var_comment_token = tmp_assign_source_14;
Py_INCREF( var_comment_token );
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_24;
PyObject *tmp_args_element_name_7;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 343;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_source_name_24 = par_self;
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_commentClass );
if ( tmp_called_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 343;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
if ( var_comment_token == NULL )
{
Py_DECREF( tmp_called_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "comment_token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 343;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_subscribed_name_2 = var_comment_token;
tmp_subscript_name_2 = const_str_plain_data;
tmp_args_element_name_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
if ( tmp_args_element_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 343;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 343;
{
PyObject *call_args[] = { tmp_args_element_name_7 };
tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_args_element_name_7 );
if ( tmp_assign_source_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 343;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_comment;
var_comment = tmp_assign_source_15;
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_6;
PyObject *tmp_source_name_25;
PyObject *tmp_args_element_name_8;
PyObject *tmp_source_name_26;
if ( var_root == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 344;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_source_name_25 = var_root;
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_addprevious );
if ( tmp_called_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 344;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
if ( var_comment == NULL )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "comment" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 344;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_source_name_26 = var_comment;
tmp_args_element_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain__element );
if ( tmp_args_element_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 344;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 344;
{
PyObject *call_args[] = { tmp_args_element_name_8 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
}
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_8 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 344;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
Py_DECREF( tmp_unused );
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 342;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
Py_XDECREF( tmp_for_loop_1__iter_value );
tmp_for_loop_1__iter_value = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
Py_DECREF( tmp_for_loop_1__for_iterator );
tmp_for_loop_1__for_iterator = NULL;
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_called_instance_5;
PyObject *tmp_assattr_target_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 347;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_5 = par_self;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 347;
tmp_assattr_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_documentClass );
if ( tmp_assattr_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 347;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 347;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_document, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 347;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_called_instance_6;
PyObject *tmp_assattr_target_2;
PyObject *tmp_source_name_27;
if ( var_root == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 348;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = var_root;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 348;
tmp_assattr_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_getroottree );
if ( tmp_assattr_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 348;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 348;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_27 = par_self;
tmp_assattr_target_2 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_document );
if ( tmp_assattr_target_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_assattr_name_2 );
exception_lineno = 348;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__elementTree, tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_target_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 348;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_subscript_name_3;
if ( par_token == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 351;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscribed_name_3 = par_token;
tmp_subscript_name_3 = const_str_plain_name;
tmp_assign_source_16 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
if ( tmp_assign_source_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 351;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_name == NULL );
var_name = tmp_assign_source_16;
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_28;
PyObject *tmp_args_element_name_9;
PyObject *tmp_args_element_name_10;
PyObject *tmp_source_name_29;
if ( par_token == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 352;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_28 = par_token;
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_get );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 352;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_9 = const_str_plain_namespace;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_7 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 352;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_29 = par_self;
tmp_args_element_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_defaultNamespace );
if ( tmp_args_element_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_7 );
exception_lineno = 352;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 352;
{
PyObject *call_args[] = { tmp_args_element_name_9, tmp_args_element_name_10 };
tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_7, call_args );
}
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_element_name_10 );
if ( tmp_assign_source_17 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 352;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_namespace == NULL );
var_namespace = tmp_assign_source_17;
}
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_compexpr_left_7;
PyObject *tmp_compexpr_right_7;
CHECK_OBJECT( var_namespace );
tmp_compexpr_left_7 = var_namespace;
tmp_compexpr_right_7 = Py_None;
tmp_condition_result_8 = ( tmp_compexpr_left_7 == tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
{
goto branch_yes_8;
}
else
{
goto branch_no_8;
}
branch_yes_8:;
{
PyObject *tmp_assign_source_18;
if ( var_name == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 354;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_18 = var_name;
assert( var_etree_tag == NULL );
Py_INCREF( tmp_assign_source_18 );
var_etree_tag = tmp_assign_source_18;
}
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_assign_source_19;
PyObject *tmp_left_name_12;
PyObject *tmp_right_name_12;
PyObject *tmp_tuple_element_1;
tmp_left_name_12 = const_str_digest_5be01baa4ba3ebc25cf396b770724d67;
if ( var_namespace == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 356;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = var_namespace;
tmp_right_name_12 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_right_name_12, 0, tmp_tuple_element_1 );
if ( var_name == NULL )
{
Py_DECREF( tmp_right_name_12 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 356;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = var_name;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_right_name_12, 1, tmp_tuple_element_1 );
tmp_assign_source_19 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 );
Py_DECREF( tmp_right_name_12 );
if ( tmp_assign_source_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 356;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_etree_tag == NULL );
var_etree_tag = tmp_assign_source_19;
}
branch_end_8:;
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT( var_etree_tag );
tmp_assattr_name_3 = var_etree_tag;
if ( var_root == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 357;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = var_root;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_tag, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 357;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_called_name_8;
PyObject *tmp_source_name_30;
PyObject *tmp_args_element_name_11;
PyObject *tmp_args_element_name_12;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 360;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_30 = par_self;
tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain_elementClass );
if ( tmp_called_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 360;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( var_name == NULL )
{
Py_DECREF( tmp_called_name_8 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 360;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_11 = var_name;
if ( var_namespace == NULL )
{
Py_DECREF( tmp_called_name_8 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 360;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_12 = var_namespace;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 360;
{
PyObject *call_args[] = { tmp_args_element_name_11, tmp_args_element_name_12 };
tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_8, call_args );
}
Py_DECREF( tmp_called_name_8 );
if ( tmp_assign_source_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 360;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert( var_root_element == NULL );
var_root_element = tmp_assign_source_20;
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
if ( var_root == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 361;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_4 = var_root;
CHECK_OBJECT( var_root_element );
tmp_assattr_target_4 = var_root_element;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__element, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 361;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_name_9;
PyObject *tmp_source_name_31;
PyObject *tmp_source_name_32;
PyObject *tmp_source_name_33;
PyObject *tmp_args_element_name_13;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_33 = par_self;
tmp_source_name_32 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_document );
if ( tmp_source_name_32 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_31 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain__childNodes );
Py_DECREF( tmp_source_name_32 );
if ( tmp_source_name_31 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_append );
Py_DECREF( tmp_source_name_31 );
if ( tmp_called_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( var_root_element == NULL )
{
Py_DECREF( tmp_called_name_9 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_13 = var_root_element;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 362;
{
PyObject *call_args[] = { tmp_args_element_name_13 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
}
Py_DECREF( tmp_called_name_9 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 362;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_called_name_10;
PyObject *tmp_source_name_34;
PyObject *tmp_source_name_35;
PyObject *tmp_args_element_name_14;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 363;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_35 = par_self;
tmp_source_name_34 = LOOKUP_ATTRIBUTE( tmp_source_name_35, const_str_plain_openElements );
if ( tmp_source_name_34 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 363;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_34, const_str_plain_append );
Py_DECREF( tmp_source_name_34 );
if ( tmp_called_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 363;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( var_root_element == NULL )
{
Py_DECREF( tmp_called_name_10 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root_element" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 363;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_14 = var_root_element;
frame_002e0192c586c8547f053f05b17e4664->m_frame.f_lineno = 363;
{
PyObject *call_args[] = { tmp_args_element_name_14 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args );
}
Py_DECREF( tmp_called_name_10 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 363;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_source_name_36;
PyObject *tmp_assattr_target_5;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 366;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_36 = par_self;
tmp_assattr_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_36, const_str_plain_insertCommentMain );
if ( tmp_assattr_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 366;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 366;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_insertComment, tmp_assattr_name_5 );
Py_DECREF( tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 366;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_002e0192c586c8547f053f05b17e4664 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_002e0192c586c8547f053f05b17e4664 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_002e0192c586c8547f053f05b17e4664, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_002e0192c586c8547f053f05b17e4664->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_002e0192c586c8547f053f05b17e4664, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_002e0192c586c8547f053f05b17e4664,
type_description_1,
par_self,
par_token,
var_docStr,
var_sysid,
var_root,
var_comment_token,
var_comment,
var_name,
var_namespace,
var_etree_tag,
var_root_element
);
// Release cached frame.
if ( frame_002e0192c586c8547f053f05b17e4664 == cache_frame_002e0192c586c8547f053f05b17e4664 )
{
Py_DECREF( frame_002e0192c586c8547f053f05b17e4664 );
}
cache_frame_002e0192c586c8547f053f05b17e4664 = NULL;
assertFrameObject( frame_002e0192c586c8547f053f05b17e4664 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_15_insertRoot );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_token );
par_token = NULL;
}
{
Py_XDECREF( var_docStr );
var_docStr = NULL;
}
{
Py_XDECREF( var_sysid );
var_sysid = NULL;
}
{
Py_XDECREF( var_root );
var_root = NULL;
}
{
Py_XDECREF( var_comment_token );
var_comment_token = NULL;
}
{
Py_XDECREF( var_comment );
var_comment = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_namespace );
var_namespace = NULL;
}
{
Py_XDECREF( var_etree_tag );
var_etree_tag = NULL;
}
{
Py_XDECREF( var_root_element );
var_root_element = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_token );
par_token = NULL;
}
{
Py_XDECREF( var_docStr );
var_docStr = NULL;
}
{
Py_XDECREF( var_sysid );
var_sysid = NULL;
}
{
Py_XDECREF( var_root );
var_root = NULL;
}
{
Py_XDECREF( var_comment_token );
var_comment_token = NULL;
}
{
Py_XDECREF( var_comment );
var_comment = NULL;
}
{
Py_XDECREF( var_name );
var_name = NULL;
}
{
Py_XDECREF( var_namespace );
var_namespace = NULL;
}
{
Py_XDECREF( var_etree_tag );
var_etree_tag = NULL;
}
{
Py_XDECREF( var_root_element );
var_root_element = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml$$$function_15_insertRoot );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_10_getDocument( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_10_getDocument,
const_str_plain_getDocument,
#if PYTHON_VERSION >= 300
const_str_digest_032c16ae0d10c68736800b6764144903,
#endif
codeobj_7ae8031bef295630802e96e4158a7f4e,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_11_getFragment( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_11_getFragment,
const_str_plain_getFragment,
#if PYTHON_VERSION >= 300
const_str_digest_bec2b6469e6a014f889a463e40864578,
#endif
codeobj_036aee335ad091c665b877c7cf494b40,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype,
const_str_plain_insertDoctype,
#if PYTHON_VERSION >= 300
const_str_digest_ed354d38a8179077fc0e1a36bd3e3c88,
#endif
codeobj_66e4d1e661a9cf781a565024285bd1eb,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial,
const_str_plain_insertCommentInitial,
#if PYTHON_VERSION >= 300
const_str_digest_1e7338124fd2319a419270db5a849460,
#endif
codeobj_6837bc0a783dd1ea48b3b9ac98faa192,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain,
const_str_plain_insertCommentMain,
#if PYTHON_VERSION >= 300
const_str_digest_cb4626c8a5f7a861675d955828e0e52a,
#endif
codeobj_34e7b033bca433af19e077b04164d549,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_15_insertRoot( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_15_insertRoot,
const_str_plain_insertRoot,
#if PYTHON_VERSION >= 300
const_str_digest_dd860a010cefaec9bcca99e10582bb8a,
#endif
codeobj_002e0192c586c8547f053f05b17e4664,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_1___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_ce210a5ba1d058780a85b26dedc97cc8,
#endif
codeobj_94efdd5aeaebfb6972cfe928568335c6,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_2___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_2___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_031c028bfc5063872fe2780ba70c819d,
#endif
codeobj_8e674e012e750fbc332f2e65882740f1,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_3_appendChild( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_3_appendChild,
const_str_plain_appendChild,
#if PYTHON_VERSION >= 300
const_str_digest_a8ab2947e07ad7587f7839a1af7d3979,
#endif
codeobj_7873d09485b771d8b40073b48671e916,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes,
const_str_plain__getChildNodes,
#if PYTHON_VERSION >= 300
const_str_digest_5c4e8c2f19e297d12bbbb16255511973,
#endif
codeobj_20f203dc920e26395f60faac936440a6,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer,
const_str_plain_testSerializer,
#if PYTHON_VERSION >= 300
NULL,
#endif
codeobj_feb6586f885a8e4ff63d373e0771d65c,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer$$$function_1_serializeElement,
const_str_plain_serializeElement,
#if PYTHON_VERSION >= 300
const_str_digest_891b6f2e0f720c593c50e46e1cd1de78,
#endif
codeobj_7e27e6bfbd8f807a73c08b0ad084bc95,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
3
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_6_tostring,
const_str_plain_tostring,
#if PYTHON_VERSION >= 300
NULL,
#endif
codeobj_8c2a29a8e624cd46f1c8b392216e0214,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
const_str_digest_c6a7e2e4d8820d0f9e64edc5c6b16c95,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_6_tostring$$$function_1_serializeElement,
const_str_plain_serializeElement,
#if PYTHON_VERSION >= 300
const_str_digest_c3f7aeacbe8be57d8442408ed565acd3,
#endif
codeobj_4845bf9cae396928f2ca891a1ffdac90,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_f3e75df7a436ebb396efad05407dbebd,
#endif
codeobj_9eaf57a25c39c4d0bec38c10cab6c8a7,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_10___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_72acacd1895a5f52df4907d7389a2540,
#endif
codeobj_72e944aa1485a8ecfe708b8a8fded468,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_11__setData,
const_str_plain__setData,
#if PYTHON_VERSION >= 300
const_str_digest_2bdb90d56c98f223e14216a7d5288ec4,
#endif
codeobj_90d2d08c5abe893d7114b704db5af02d,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_12__getData,
const_str_plain__getData,
#if PYTHON_VERSION >= 300
const_str_digest_ea4126fd9638a8b23c8d75e146cf91f2,
#endif
codeobj_4918152e8796f071a3dffc699a2f0ed7,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_157044ffaa81175ad4903e1dd080dcd6,
#endif
codeobj_596d31094c0a82f5f3e186e3e8d7a3fc,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_2___setitem__,
const_str_plain___setitem__,
#if PYTHON_VERSION >= 300
const_str_digest_400394e32637cee088afa66d93dc33c1,
#endif
codeobj_bc66bf654e93bd58e4019b8e0c933bd8,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_3___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_c460c9d2d0b41a036f1423fb6265106b,
#endif
codeobj_67a5c4f8d39697ad9baa9541f5fb7fe4,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
3
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_4__setName,
const_str_plain__setName,
#if PYTHON_VERSION >= 300
const_str_digest_b7db2bf7736d30812136c77c63404615,
#endif
codeobj_11b6617287d9076bf64ad491026f56fe,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_5__getName,
const_str_plain__getName,
#if PYTHON_VERSION >= 300
const_str_digest_2593361995d74f6cc8469a151e84a58a,
#endif
codeobj_5d3a03e78f6d12228cf0fd7f2a61b5c5,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_6__getAttributes,
const_str_plain__getAttributes,
#if PYTHON_VERSION >= 300
const_str_digest_f882e0883b8ffa6ed6d0406e0a309241,
#endif
codeobj_1d6f31053a502493cd5b3b933ab7c0e9,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_7__setAttributes,
const_str_plain__setAttributes,
#if PYTHON_VERSION >= 300
const_str_digest_136b4f535cc07eb8d1bb58bdad3cb2d6,
#endif
codeobj_33ac8a9966e5715738b1d27e6a366023,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_8_insertText,
const_str_plain_insertText,
#if PYTHON_VERSION >= 300
const_str_digest_ab849e8c8ca5e9a66fbe1fb985734a18,
#endif
codeobj_2b9d3c7f08377157499e9be61b4b7b35,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_7___init__$$$function_9_appendChild,
const_str_plain_appendChild,
#if PYTHON_VERSION >= 300
const_str_digest_9ce7f5f9a197df8e31892509c6c3c89d,
#endif
codeobj_d5ed7d33b03c4134fe40d8eacf103268,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_8_reset( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_8_reset,
const_str_plain_reset,
#if PYTHON_VERSION >= 300
const_str_digest_9d7f19777720d6a10f854e5c58454668,
#endif
codeobj_4174a5cddc6bfa0d2a7b31ea68a19ce2,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_9_testSerializer( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_html5lib$treebuilders$etree_lxml$$$function_9_testSerializer,
const_str_plain_testSerializer,
#if PYTHON_VERSION >= 300
const_str_digest_f726c7f5472f8a368ddab3ea32349574,
#endif
codeobj_af852cb367ba86b02386e4ea11ae67b8,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_html5lib$treebuilders$etree_lxml,
NULL,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_html5lib$treebuilders$etree_lxml =
{
PyModuleDef_HEAD_INIT,
"html5lib.treebuilders.etree_lxml", /* m_name */
NULL, /* m_doc */
-1, /* m_size */
NULL, /* m_methods */
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL, /* m_free */
};
#endif
extern PyObject *const_str_plain___package__;
#if PYTHON_VERSION >= 300
extern PyObject *const_str_dot;
extern PyObject *const_str_plain___loader__;
extern PyObject *metapath_based_loader;
#endif
#if PYTHON_VERSION >= 340
extern PyObject *const_str_plain___spec__;
extern PyObject *const_str_plain__initializing;
#endif
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
#if PYTHON_VERSION >= 350
extern void _initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
extern void _initCompiledAsyncgenTypes();
#endif
// The exported interface to CPython. On import of the module, this function
// gets called. It has to have an exact function name, in cases it's a shared
// library export. This is hidden behind the MOD_INIT_DECL.
MOD_INIT_DECL( html5lib$treebuilders$etree_lxml )
{
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
static bool _init_done = false;
// Modules might be imported repeatedly, which is to be ignored.
if ( _init_done )
{
return MOD_RETURN_VALUE( module_html5lib$treebuilders$etree_lxml );
}
else
{
_init_done = true;
}
#endif
#ifdef _NUITKA_MODULE
// In case of a stand alone extension module, need to call initialization
// the init here because that's the first and only time we are going to get
// called here.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
#if PYTHON_VERSION >= 350
_initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
_initCompiledAsyncgenTypes();
#endif
#if PYTHON_VERSION < 300
_initSlotCompare();
#endif
#if PYTHON_VERSION >= 270
_initSlotIternext();
#endif
patchBuiltinModule();
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
puts("html5lib.treebuilders.etree_lxml: Calling setupMetaPathBasedLoader().");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("html5lib.treebuilders.etree_lxml: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("html5lib.treebuilders.etree_lxml: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in inithtml5lib$treebuilders$etree_lxml" );
// Create the module object first. There are no methods initially, all are
// added dynamically in actual code only. Also no "__doc__" is initially
// set at this time, as it could not contain NUL characters this way, they
// are instead set in early module code. No "self" for modules, we have no
// use for it.
#if PYTHON_VERSION < 300
module_html5lib$treebuilders$etree_lxml = Py_InitModule4(
"html5lib.treebuilders.etree_lxml", // Module Name
NULL, // No methods initially, all are added
// dynamically in actual module code only.
NULL, // No "__doc__" is initially set, as it could
// not contain NUL this way, added early in
// actual code.
NULL, // No self for modules, we don't use it.
PYTHON_API_VERSION
);
#else
module_html5lib$treebuilders$etree_lxml = PyModule_Create( &mdef_html5lib$treebuilders$etree_lxml );
#endif
moduledict_html5lib$treebuilders$etree_lxml = MODULE_DICT( module_html5lib$treebuilders$etree_lxml );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_html5lib$treebuilders$etree_lxml,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___name__ );
char const *module_name_cstr = PyString_AS_STRING( module_name );
char const *last_dot = strrchr( module_name_cstr, '.' );
if ( last_dot != NULL )
{
UPDATE_STRING_DICT1(
moduledict_html5lib$treebuilders$etree_lxml,
(Nuitka_StringObject *)const_str_plain___package__,
PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr )
);
}
#else
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___name__ );
Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 );
if ( dot_index != -1 )
{
UPDATE_STRING_DICT1(
moduledict_html5lib$treebuilders$etree_lxml,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_html5lib$treebuilders$etree_lxml );
// Seems to work for Python2.7 out of the box, but for Python3, the module
// doesn't automatically enter "sys.modules", so do it manually.
#if PYTHON_VERSION >= 300
{
int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_f1275ea94736e4f524123f67a83c2ad5, module_html5lib$treebuilders$etree_lxml );
assert( r != -1 );
}
#endif
// For deep importing of a module we need to have "__builtins__", so we set
// it ourselves in the same way than CPython does. Note: This must be done
// before the frame object is allocated, or else it may fail.
if ( GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL )
{
PyObject *value = (PyObject *)builtin_module;
// Check if main module, not a dict then but the module itself.
#if !defined(_NUITKA_EXE) || !0
value = PyModule_GetDict( value );
#endif
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
#else
{
PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
CHECK_OBJECT( bootstrap_module );
PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
Py_DECREF( bootstrap_module );
PyObject *args[] = {
GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___name__ ),
metapath_based_loader
};
PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
module_spec_class,
args
);
SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
Py_DECREF( module_spec_class );
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
bool tmp_result;
PyObject *locals_html5lib$treebuilders$etree_lxml_34 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_bb0a50bcd8564db7bc08a18785e7aa09_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_bb0a50bcd8564db7bc08a18785e7aa09_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *locals_html5lib$treebuilders$etree_lxml_41 = NULL;
struct Nuitka_FrameObject *frame_8d3b7d1ed651548c3f58cf6d769e981e_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_8d3b7d1ed651548c3f58cf6d769e981e_3 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_html5lib$treebuilders$etree_lxml_175 = NULL;
struct Nuitka_FrameObject *frame_bd32ea947cdf826fc59d708242090b47_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_bd32ea947cdf826fc59d708242090b47_4 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = const_str_digest_770fb38153aed93beb130bcd8f4ff0a6;
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_416c22f7d0077d769a3ecbf84865a7a1;
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = PyImport_ImportModule("__future__");
assert( !(tmp_assign_source_4 == NULL) );
assert( tmp_import_from_1__module == NULL );
Py_INCREF( tmp_assign_source_4 );
tmp_import_from_1__module = tmp_assign_source_4;
}
// Frame without reuse.
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 = MAKE_MODULE_FRAME( codeobj_3bf90fb7521f95b2ae5e9a4d72d5c3e4, module_html5lib$treebuilders$etree_lxml );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 );
assert( Py_REFCNT( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 ) == 2 );
// Framed code:
{
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_1 = tmp_import_from_1__module;
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 );
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_2 = tmp_import_from_1__module;
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_3 = tmp_import_from_1__module;
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_unicode_literals );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_7 );
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_name_name_1;
PyObject *tmp_globals_name_1;
PyObject *tmp_locals_name_1;
PyObject *tmp_fromlist_name_1;
PyObject *tmp_level_name_1;
tmp_name_name_1 = const_str_plain_warnings;
tmp_globals_name_1 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_1 = Py_None;
tmp_fromlist_name_1 = Py_None;
tmp_level_name_1 = const_int_0;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 15;
tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
if ( tmp_assign_source_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 15;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_warnings, tmp_assign_source_8 );
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_name_name_2;
PyObject *tmp_globals_name_2;
PyObject *tmp_locals_name_2;
PyObject *tmp_fromlist_name_2;
PyObject *tmp_level_name_2;
tmp_name_name_2 = const_str_plain_re;
tmp_globals_name_2 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_2 = Py_None;
tmp_fromlist_name_2 = Py_None;
tmp_level_name_2 = const_int_0;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 16;
tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_9 );
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_name_name_3;
PyObject *tmp_globals_name_3;
PyObject *tmp_locals_name_3;
PyObject *tmp_fromlist_name_3;
PyObject *tmp_level_name_3;
tmp_name_name_3 = const_str_plain_sys;
tmp_globals_name_3 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_3 = Py_None;
tmp_fromlist_name_3 = Py_None;
tmp_level_name_3 = const_int_0;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 17;
tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
assert( !(tmp_assign_source_10 == NULL) );
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_10 );
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_name_4;
PyObject *tmp_globals_name_4;
PyObject *tmp_locals_name_4;
PyObject *tmp_fromlist_name_4;
PyObject *tmp_level_name_4;
tmp_name_name_4 = const_str_empty;
tmp_globals_name_4 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_4 = Py_None;
tmp_fromlist_name_4 = const_tuple_str_plain_base_tuple;
tmp_level_name_4 = const_int_pos_1;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 19;
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 );
if ( tmp_import_name_from_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 19;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_4 ) )
{
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)MODULE_DICT(tmp_import_name_from_4),
const_str_plain_base,
const_int_pos_1
);
}
else
{
tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_base );
}
Py_DECREF( tmp_import_name_from_4 );
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 19;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_base, tmp_assign_source_11 );
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_5;
PyObject *tmp_name_name_5;
PyObject *tmp_globals_name_5;
PyObject *tmp_locals_name_5;
PyObject *tmp_fromlist_name_5;
PyObject *tmp_level_name_5;
tmp_name_name_5 = const_str_plain_constants;
tmp_globals_name_5 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_5 = Py_None;
tmp_fromlist_name_5 = const_tuple_str_plain_DataLossWarning_tuple;
tmp_level_name_5 = const_int_pos_2;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 20;
tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 );
if ( tmp_import_name_from_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 20;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_5 ) )
{
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)MODULE_DICT(tmp_import_name_from_5),
const_str_plain_DataLossWarning,
const_int_pos_2
);
}
else
{
tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_DataLossWarning );
}
Py_DECREF( tmp_import_name_from_5 );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 20;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DataLossWarning, tmp_assign_source_12 );
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_6;
PyObject *tmp_name_name_6;
PyObject *tmp_globals_name_6;
PyObject *tmp_locals_name_6;
PyObject *tmp_fromlist_name_6;
PyObject *tmp_level_name_6;
tmp_name_name_6 = const_str_empty;
tmp_globals_name_6 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_6 = Py_None;
tmp_fromlist_name_6 = const_tuple_str_plain_constants_tuple;
tmp_level_name_6 = const_int_pos_2;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 21;
tmp_import_name_from_6 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 );
if ( tmp_import_name_from_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_6 ) )
{
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)MODULE_DICT(tmp_import_name_from_6),
const_str_plain_constants,
const_int_pos_2
);
}
else
{
tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_constants );
}
Py_DECREF( tmp_import_name_from_6 );
if ( tmp_assign_source_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_constants, tmp_assign_source_13 );
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_7;
PyObject *tmp_name_name_7;
PyObject *tmp_globals_name_7;
PyObject *tmp_locals_name_7;
PyObject *tmp_fromlist_name_7;
PyObject *tmp_level_name_7;
tmp_name_name_7 = const_str_empty;
tmp_globals_name_7 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_7 = Py_None;
tmp_fromlist_name_7 = const_tuple_str_plain_etree_tuple;
tmp_level_name_7 = const_int_pos_1;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 22;
tmp_import_name_from_7 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 );
if ( tmp_import_name_from_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 22;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_7 ) )
{
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)MODULE_DICT(tmp_import_name_from_7),
const_str_plain_etree,
const_int_pos_1
);
}
else
{
tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_etree );
}
Py_DECREF( tmp_import_name_from_7 );
if ( tmp_assign_source_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 22;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree_builders, tmp_assign_source_14 );
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_8;
PyObject *tmp_name_name_8;
PyObject *tmp_globals_name_8;
PyObject *tmp_locals_name_8;
PyObject *tmp_fromlist_name_8;
PyObject *tmp_level_name_8;
tmp_name_name_8 = const_str_empty;
tmp_globals_name_8 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_8 = Py_None;
tmp_fromlist_name_8 = const_tuple_str_plain__ihatexml_tuple;
tmp_level_name_8 = const_int_pos_2;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 23;
tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 );
if ( tmp_import_name_from_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 23;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_8 ) )
{
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)MODULE_DICT(tmp_import_name_from_8),
const_str_plain__ihatexml,
const_int_pos_2
);
}
else
{
tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain__ihatexml );
}
Py_DECREF( tmp_import_name_from_8 );
if ( tmp_assign_source_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 23;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain__ihatexml, tmp_assign_source_15 );
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_9;
PyObject *tmp_name_name_9;
PyObject *tmp_globals_name_9;
PyObject *tmp_locals_name_9;
PyObject *tmp_fromlist_name_9;
PyObject *tmp_level_name_9;
tmp_name_name_9 = const_str_digest_22458dfdf60aff9ff5147019bb64ce31;
tmp_globals_name_9 = (PyObject *)moduledict_html5lib$treebuilders$etree_lxml;
tmp_locals_name_9 = Py_None;
tmp_fromlist_name_9 = Py_None;
tmp_level_name_9 = const_int_0;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 25;
tmp_import_name_from_9 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 );
if ( tmp_import_name_from_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 25;
goto frame_exception_exit_1;
}
tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_etree );
Py_DECREF( tmp_import_name_from_9 );
if ( tmp_assign_source_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 25;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree, tmp_assign_source_16 );
}
{
PyObject *tmp_assign_source_17;
tmp_assign_source_17 = Py_True;
UPDATE_STRING_DICT0( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_fullTree, tmp_assign_source_17 );
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_called_instance_1;
PyObject *tmp_mvar_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_re );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 29;
goto frame_exception_exit_1;
}
tmp_called_instance_1 = tmp_mvar_value_1;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 29;
tmp_assign_source_18 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_7e74ebd73534ed29eee3c59d30d0a48b_tuple, 0 ) );
if ( tmp_assign_source_18 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 29;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_tag_regexp, tmp_assign_source_18 );
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_source_name_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree );
}
if ( tmp_mvar_value_2 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 31;
goto frame_exception_exit_1;
}
tmp_called_instance_2 = tmp_mvar_value_2;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 31;
tmp_source_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_Comment, &PyTuple_GET_ITEM( const_tuple_str_plain_asd_tuple, 0 ) );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 31;
goto frame_exception_exit_1;
}
tmp_assign_source_19 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_tag );
Py_DECREF( tmp_source_name_1 );
if ( tmp_assign_source_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 31;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_comment_type, tmp_assign_source_19 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = const_tuple_type_object_tuple;
Py_INCREF( tmp_dircall_arg1_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_20 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__bases == NULL );
tmp_class_creation_1__bases = tmp_assign_source_20;
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = PyDict_New();
assert( tmp_class_creation_1__class_decl_dict == NULL );
tmp_class_creation_1__class_decl_dict = tmp_assign_source_21;
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_metaclass_name_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_key_name_1;
PyObject *tmp_dict_name_1;
PyObject *tmp_dict_name_2;
PyObject *tmp_key_name_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_bases_name_1;
tmp_key_name_1 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_1;
}
else
{
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_name_2 = const_str_plain_metaclass;
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_2;
}
else
{
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
tmp_subscript_name_1 = const_int_0;
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
if ( tmp_type_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
Py_DECREF( tmp_type_arg_1 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_1 );
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_bases_name_1 = tmp_class_creation_1__bases;
tmp_assign_source_22 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
Py_DECREF( tmp_metaclass_name_1 );
if ( tmp_assign_source_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__metaclass == NULL );
tmp_class_creation_1__metaclass = tmp_assign_source_22;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_key_name_3;
PyObject *tmp_dict_name_3;
tmp_key_name_3 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_2;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_2 = tmp_class_creation_1__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_2, const_str_plain___prepare__ );
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_3;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kw_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_3 = tmp_class_creation_1__metaclass;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___prepare__ );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_tuple_element_1 = const_str_plain_DocumentType;
tmp_args_name_1 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_1 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 34;
tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
if ( tmp_assign_source_23 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_23;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_4;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_source_name_4 = tmp_class_creation_1__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_4, const_str_plain___getitem__ );
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_source_name_5;
PyObject *tmp_type_arg_2;
tmp_raise_type_1 = PyExc_TypeError;
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = const_str_plain___name__;
tmp_getattr_default_1 = const_str_angle_metaclass;
tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_source_name_5 = BUILTIN_TYPE1( tmp_type_arg_2 );
assert( !(tmp_source_name_5 == NULL) );
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ );
Py_DECREF( tmp_source_name_5 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 34;
goto try_except_handler_2;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_raise_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_value = tmp_raise_value_1;
exception_lineno = 34;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_2;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = PyDict_New();
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_24;
}
branch_end_2:;
}
{
PyObject *tmp_assign_source_25;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_html5lib$treebuilders$etree_lxml_34 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_34, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_4;
}
}
{
tmp_dictset_value = const_str_plain_DocumentType;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_34, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_4;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_bb0a50bcd8564db7bc08a18785e7aa09_2, codeobj_bb0a50bcd8564db7bc08a18785e7aa09, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_bb0a50bcd8564db7bc08a18785e7aa09_2 = cache_frame_bb0a50bcd8564db7bc08a18785e7aa09_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_1___init__( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_34, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 35;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_bb0a50bcd8564db7bc08a18785e7aa09_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_bb0a50bcd8564db7bc08a18785e7aa09_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_bb0a50bcd8564db7bc08a18785e7aa09_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_bb0a50bcd8564db7bc08a18785e7aa09_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 == cache_frame_bb0a50bcd8564db7bc08a18785e7aa09_2 )
{
Py_DECREF( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 );
}
cache_frame_bb0a50bcd8564db7bc08a18785e7aa09_2 = NULL;
assertFrameObject( frame_bb0a50bcd8564db7bc08a18785e7aa09_2 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_4;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
tmp_compexpr_right_1 = const_tuple_type_object_tuple;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_4;
}
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
tmp_dictset_value = const_tuple_type_object_tuple;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_34, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_4;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_called_name_2;
PyObject *tmp_args_name_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kw_name_2;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_called_name_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = const_str_plain_DocumentType;
tmp_args_name_2 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_3 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 );
tmp_tuple_element_3 = locals_html5lib$treebuilders$etree_lxml_34;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 34;
tmp_assign_source_26 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
Py_DECREF( tmp_args_name_2 );
if ( tmp_assign_source_26 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
goto try_except_handler_4;
}
assert( outline_0_var___class__ == NULL );
outline_0_var___class__ = tmp_assign_source_26;
}
{
CHECK_OBJECT( outline_0_var___class__ );
tmp_assign_source_25 = outline_0_var___class__;
Py_INCREF( tmp_assign_source_25 );
goto try_return_handler_4;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_4:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_34 );
locals_html5lib$treebuilders$etree_lxml_34 = NULL;
}
{
goto try_return_handler_3;
}
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_34 );
locals_html5lib$treebuilders$etree_lxml_34 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_3:;
{
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
Py_DECREF( outline_0_var___class__ );
outline_0_var___class__ = NULL;
}
{
goto outline_result_1;
}
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto outline_exception_1;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
outline_exception_1:;
exception_lineno = 34;
goto try_except_handler_2;
outline_result_1:;
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DocumentType, tmp_assign_source_25 );
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
Py_DECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
Py_DECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
Py_DECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
Py_DECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_27;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = const_tuple_type_object_tuple;
Py_INCREF( tmp_dircall_arg1_2 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_27 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_27 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__bases == NULL );
tmp_class_creation_2__bases = tmp_assign_source_27;
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = PyDict_New();
assert( tmp_class_creation_2__class_decl_dict == NULL );
tmp_class_creation_2__class_decl_dict = tmp_assign_source_28;
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_metaclass_name_2;
nuitka_bool tmp_condition_result_7;
PyObject *tmp_key_name_4;
PyObject *tmp_dict_name_4;
PyObject *tmp_dict_name_5;
PyObject *tmp_key_name_5;
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
PyObject *tmp_bases_name_2;
tmp_key_name_4 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_3;
}
else
{
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_name_5 = const_str_plain_metaclass;
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_4;
}
else
{
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_subscribed_name_2 = tmp_class_creation_2__bases;
tmp_subscript_name_2 = const_int_0;
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
if ( tmp_type_arg_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
Py_DECREF( tmp_type_arg_3 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_2 );
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_bases_name_2 = tmp_class_creation_2__bases;
tmp_assign_source_29 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
Py_DECREF( tmp_metaclass_name_2 );
if ( tmp_assign_source_29 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__metaclass == NULL );
tmp_class_creation_2__metaclass = tmp_assign_source_29;
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_key_name_6;
PyObject *tmp_dict_name_6;
tmp_key_name_6 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
}
branch_no_5:;
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_source_name_6;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_6 = tmp_class_creation_2__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_6, const_str_plain___prepare__ );
tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_7;
PyObject *tmp_args_name_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kw_name_3;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_7 = tmp_class_creation_2__metaclass;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___prepare__ );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_tuple_element_4 = const_str_plain_Document;
tmp_args_name_3 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_4 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 41;
tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 );
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_name_3 );
if ( tmp_assign_source_30 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_30;
}
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_operand_name_2;
PyObject *tmp_source_name_8;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_source_name_8 = tmp_class_creation_2__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___getitem__ );
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
{
goto branch_yes_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_tuple_element_5;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
PyObject *tmp_source_name_9;
PyObject *tmp_type_arg_4;
tmp_raise_type_2 = PyExc_TypeError;
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = const_str_plain___name__;
tmp_getattr_default_2 = const_str_angle_metaclass;
tmp_tuple_element_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_right_name_2 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_5 );
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_source_name_9 = BUILTIN_TYPE1( tmp_type_arg_4 );
assert( !(tmp_source_name_9 == NULL) );
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___name__ );
Py_DECREF( tmp_source_name_9 );
if ( tmp_tuple_element_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 41;
goto try_except_handler_5;
}
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_5 );
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_raise_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_value = tmp_raise_value_2;
exception_lineno = 41;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_5;
}
branch_no_7:;
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = PyDict_New();
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_31;
}
branch_end_6:;
}
{
PyObject *tmp_assign_source_32;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_html5lib$treebuilders$etree_lxml_41 = tmp_set_locals_2;
Py_INCREF( tmp_set_locals_2 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
{
tmp_dictset_value = const_str_plain_Document;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_8d3b7d1ed651548c3f58cf6d769e981e_3, codeobj_8d3b7d1ed651548c3f58cf6d769e981e, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_8d3b7d1ed651548c3f58cf6d769e981e_3 = cache_frame_8d3b7d1ed651548c3f58cf6d769e981e_3;
// Push the new frame as the currently active one.
pushFrameStack( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_2___init__( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 42;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_3_appendChild( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain_appendChild, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 46;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_4__getChildNodes( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain__getChildNodes, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 49;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_called_name_4;
PyObject *tmp_args_element_name_1;
PyObject *tmp_called_name_5;
PyObject *tmp_args_element_name_2;
tmp_res = MAPPING_HAS_ITEM( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_12 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_5;
}
else
{
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_name_4 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain_property );
if ( tmp_called_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_1 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain__getChildNodes );
if ( tmp_args_element_name_1 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getChildNodes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_8d3b7d1ed651548c3f58cf6d769e981e_3->m_frame.f_lineno = 52;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_name_5 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_2 = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain__getChildNodes );
if ( tmp_args_element_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_getChildNodes" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
frame_8d3b7d1ed651548c3f58cf6d769e981e_3->m_frame.f_lineno = 52;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain_childNodes, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 52;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_8d3b7d1ed651548c3f58cf6d769e981e_3, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_8d3b7d1ed651548c3f58cf6d769e981e_3->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_8d3b7d1ed651548c3f58cf6d769e981e_3, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_8d3b7d1ed651548c3f58cf6d769e981e_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame.
if ( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 == cache_frame_8d3b7d1ed651548c3f58cf6d769e981e_3 )
{
Py_DECREF( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 );
}
cache_frame_8d3b7d1ed651548c3f58cf6d769e981e_3 = NULL;
assertFrameObject( frame_8d3b7d1ed651548c3f58cf6d769e981e_3 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_7;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
tmp_compexpr_right_2 = const_tuple_type_object_tuple;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
{
goto branch_yes_8;
}
else
{
goto branch_no_8;
}
branch_yes_8:;
{
tmp_dictset_value = const_tuple_type_object_tuple;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_41, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
branch_no_8:;
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_name_6;
PyObject *tmp_args_name_4;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kw_name_4;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_called_name_6 = tmp_class_creation_2__metaclass;
tmp_tuple_element_6 = const_str_plain_Document;
tmp_args_name_4 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_6 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 );
tmp_tuple_element_6 = locals_html5lib$treebuilders$etree_lxml_41;
Py_INCREF( tmp_tuple_element_6 );
PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 41;
tmp_assign_source_33 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_4, tmp_kw_name_4 );
Py_DECREF( tmp_args_name_4 );
if ( tmp_assign_source_33 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
assert( outline_1_var___class__ == NULL );
outline_1_var___class__ = tmp_assign_source_33;
}
{
CHECK_OBJECT( outline_1_var___class__ );
tmp_assign_source_32 = outline_1_var___class__;
Py_INCREF( tmp_assign_source_32 );
goto try_return_handler_7;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_7:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_41 );
locals_html5lib$treebuilders$etree_lxml_41 = NULL;
}
{
goto try_return_handler_6;
}
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_41 );
locals_html5lib$treebuilders$etree_lxml_41 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_6:;
{
CHECK_OBJECT( (PyObject *)outline_1_var___class__ );
Py_DECREF( outline_1_var___class__ );
outline_1_var___class__ = NULL;
}
{
goto outline_result_2;
}
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto outline_exception_2;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
outline_exception_2:;
exception_lineno = 41;
goto try_except_handler_5;
outline_result_2:;
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_Document, tmp_assign_source_32 );
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_2__bases );
tmp_class_creation_2__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__class_decl_dict );
tmp_class_creation_2__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__metaclass );
tmp_class_creation_2__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_2__prepared );
tmp_class_creation_2__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
}
// End of try:
try_end_3:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
Py_DECREF( tmp_class_creation_2__bases );
tmp_class_creation_2__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict );
Py_DECREF( tmp_class_creation_2__class_decl_dict );
tmp_class_creation_2__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass );
Py_DECREF( tmp_class_creation_2__metaclass );
tmp_class_creation_2__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
Py_DECREF( tmp_class_creation_2__prepared );
tmp_class_creation_2__prepared = NULL;
}
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_5_testSerializer( );
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_testSerializer, tmp_assign_source_34 );
}
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_6_tostring( );
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_tostring, tmp_assign_source_35 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_tuple_element_7;
PyObject *tmp_source_name_10;
PyObject *tmp_mvar_value_3;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_base );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_source_name_10 = tmp_mvar_value_3;
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_TreeBuilder );
if ( tmp_tuple_element_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_assign_source_36 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_assign_source_36, 0, tmp_tuple_element_7 );
assert( tmp_class_creation_3__bases_orig == NULL );
tmp_class_creation_3__bases_orig = tmp_assign_source_36;
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF( tmp_dircall_arg1_3 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_37 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_37 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__bases == NULL );
tmp_class_creation_3__bases = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
tmp_assign_source_38 = PyDict_New();
assert( tmp_class_creation_3__class_decl_dict == NULL );
tmp_class_creation_3__class_decl_dict = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_metaclass_name_3;
nuitka_bool tmp_condition_result_14;
PyObject *tmp_key_name_7;
PyObject *tmp_dict_name_7;
PyObject *tmp_dict_name_8;
PyObject *tmp_key_name_8;
nuitka_bool tmp_condition_result_15;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_subscript_name_3;
PyObject *tmp_bases_name_3;
tmp_key_name_7 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_6;
}
else
{
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_name_8 = const_str_plain_metaclass;
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
goto condexpr_end_6;
condexpr_false_6:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases );
if ( tmp_truth_name_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_condition_result_15 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_7;
}
else
{
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
tmp_subscript_name_3 = const_int_0;
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
if ( tmp_type_arg_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
Py_DECREF( tmp_type_arg_5 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_3 );
condexpr_end_7:;
condexpr_end_6:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_bases_name_3 = tmp_class_creation_3__bases;
tmp_assign_source_39 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
Py_DECREF( tmp_metaclass_name_3 );
if ( tmp_assign_source_39 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__metaclass == NULL );
tmp_class_creation_3__metaclass = tmp_assign_source_39;
}
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_key_name_9;
PyObject *tmp_dict_name_9;
tmp_key_name_9 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
{
goto branch_yes_9;
}
else
{
goto branch_no_9;
}
branch_yes_9:;
{
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
}
branch_no_9:;
}
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_source_name_11;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_11 = tmp_class_creation_3__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___prepare__ );
tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
{
goto branch_yes_10;
}
else
{
goto branch_no_10;
}
branch_yes_10:;
{
PyObject *tmp_assign_source_40;
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_12;
PyObject *tmp_args_name_5;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kw_name_5;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_12 = tmp_class_creation_3__metaclass;
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___prepare__ );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_tuple_element_8 = const_str_plain_TreeBuilder;
tmp_args_name_5 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_8 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_8 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_8 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 175;
tmp_assign_source_40 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_5, tmp_kw_name_5 );
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_name_5 );
if ( tmp_assign_source_40 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_40;
}
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_operand_name_3;
PyObject *tmp_source_name_13;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_source_name_13 = tmp_class_creation_3__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_13, const_str_plain___getitem__ );
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_condition_result_18 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
{
goto branch_yes_11;
}
else
{
goto branch_no_11;
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_tuple_element_9;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
PyObject *tmp_source_name_14;
PyObject *tmp_type_arg_6;
tmp_raise_type_3 = PyExc_TypeError;
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = const_str_plain___name__;
tmp_getattr_default_3 = const_str_angle_metaclass;
tmp_tuple_element_9 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
if ( tmp_tuple_element_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
tmp_right_name_3 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_9 );
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_source_name_14 = BUILTIN_TYPE1( tmp_type_arg_6 );
assert( !(tmp_source_name_14 == NULL) );
tmp_tuple_element_9 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain___name__ );
Py_DECREF( tmp_source_name_14 );
if ( tmp_tuple_element_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_3 );
exception_lineno = 175;
goto try_except_handler_8;
}
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_9 );
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
Py_DECREF( tmp_right_name_3 );
if ( tmp_raise_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_3;
Py_INCREF( tmp_raise_type_3 );
exception_value = tmp_raise_value_3;
exception_lineno = 175;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_8;
}
branch_no_11:;
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = PyDict_New();
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_41;
}
branch_end_10:;
}
{
PyObject *tmp_assign_source_42;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_html5lib$treebuilders$etree_lxml_175 = tmp_set_locals_3;
Py_INCREF( tmp_set_locals_3 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_f1275ea94736e4f524123f67a83c2ad5;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_10;
}
}
{
tmp_dictset_value = const_str_plain_TreeBuilder;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_10;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_bd32ea947cdf826fc59d708242090b47_4, codeobj_bd32ea947cdf826fc59d708242090b47, module_html5lib$treebuilders$etree_lxml, sizeof(void *) );
frame_bd32ea947cdf826fc59d708242090b47_4 = cache_frame_bd32ea947cdf826fc59d708242090b47_4;
// Push the new frame as the currently active one.
pushFrameStack( frame_bd32ea947cdf826fc59d708242090b47_4 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_bd32ea947cdf826fc59d708242090b47_4 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_mvar_value_4;
tmp_dictset_value = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_Document );
if ( tmp_dictset_value == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_Document );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Document );
}
if ( tmp_mvar_value_4 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Document" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 176;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = tmp_mvar_value_4;
Py_INCREF( tmp_dictset_value );
}
}
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_documentClass, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 176;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_mvar_value_5;
tmp_dictset_value = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_DocumentType );
if ( tmp_dictset_value == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_DocumentType );
if (unlikely( tmp_mvar_value_5 == NULL ))
{
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DocumentType );
}
if ( tmp_mvar_value_5 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DocumentType" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 177;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = tmp_mvar_value_5;
Py_INCREF( tmp_dictset_value );
}
}
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_doctypeClass, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 177;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_elementClass, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 178;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_commentClass, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 179;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_mvar_value_6;
tmp_dictset_value = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_Document );
if ( tmp_dictset_value == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_Document );
if (unlikely( tmp_mvar_value_6 == NULL ))
{
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Document );
}
if ( tmp_mvar_value_6 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Document" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 180;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = tmp_mvar_value_6;
Py_INCREF( tmp_dictset_value );
}
}
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_fragmentClass, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 180;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_mvar_value_7;
tmp_dictset_value = PyObject_GetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_etree );
if ( tmp_dictset_value == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_etree );
if (unlikely( tmp_mvar_value_7 == NULL ))
{
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_etree );
}
if ( tmp_mvar_value_7 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "etree" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 181;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = tmp_mvar_value_7;
Py_INCREF( tmp_dictset_value );
}
}
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_implementation, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 181;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_false_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_7___init__( tmp_defaults_1 );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 183;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_8_reset( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_reset, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 259;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_9_testSerializer( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_testSerializer, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 265;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_10_getDocument( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_getDocument, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 268;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_11_getFragment( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_getFragment, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 274;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_12_insertDoctype( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_insertDoctype, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 284;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_2;
tmp_defaults_2 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_2 );
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_13_insertCommentInitial( tmp_defaults_2 );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_insertCommentInitial, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 300;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_3;
tmp_defaults_3 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_3 );
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_14_insertCommentMain( tmp_defaults_3 );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_insertCommentMain, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 305;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_html5lib$treebuilders$etree_lxml$$$function_15_insertRoot( );
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain_insertRoot, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 311;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_bd32ea947cdf826fc59d708242090b47_4 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_bd32ea947cdf826fc59d708242090b47_4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_bd32ea947cdf826fc59d708242090b47_4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_bd32ea947cdf826fc59d708242090b47_4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_bd32ea947cdf826fc59d708242090b47_4, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_bd32ea947cdf826fc59d708242090b47_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame.
if ( frame_bd32ea947cdf826fc59d708242090b47_4 == cache_frame_bd32ea947cdf826fc59d708242090b47_4 )
{
Py_DECREF( frame_bd32ea947cdf826fc59d708242090b47_4 );
}
cache_frame_bd32ea947cdf826fc59d708242090b47_4 = NULL;
assertFrameObject( frame_bd32ea947cdf826fc59d708242090b47_4 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_10;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_10;
}
tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE )
{
goto branch_yes_12;
}
else
{
goto branch_no_12;
}
branch_yes_12:;
{
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem( locals_html5lib$treebuilders$etree_lxml_175, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_10;
}
}
branch_no_12:;
}
{
PyObject *tmp_assign_source_43;
PyObject *tmp_called_name_8;
PyObject *tmp_args_name_6;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kw_name_6;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_called_name_8 = tmp_class_creation_3__metaclass;
tmp_tuple_element_10 = const_str_plain_TreeBuilder;
tmp_args_name_6 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_10 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_10 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_10 );
tmp_tuple_element_10 = locals_html5lib$treebuilders$etree_lxml_175;
Py_INCREF( tmp_tuple_element_10 );
PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_10 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict;
frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame.f_lineno = 175;
tmp_assign_source_43 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_6, tmp_kw_name_6 );
Py_DECREF( tmp_args_name_6 );
if ( tmp_assign_source_43 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
goto try_except_handler_10;
}
assert( outline_2_var___class__ == NULL );
outline_2_var___class__ = tmp_assign_source_43;
}
{
CHECK_OBJECT( outline_2_var___class__ );
tmp_assign_source_42 = outline_2_var___class__;
Py_INCREF( tmp_assign_source_42 );
goto try_return_handler_10;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_10:;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_175 );
locals_html5lib$treebuilders$etree_lxml_175 = NULL;
}
{
goto try_return_handler_9;
}
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_html5lib$treebuilders$etree_lxml_175 );
locals_html5lib$treebuilders$etree_lxml_175 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_9:;
{
CHECK_OBJECT( (PyObject *)outline_2_var___class__ );
Py_DECREF( outline_2_var___class__ );
outline_2_var___class__ = NULL;
}
{
goto outline_result_3;
}
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto outline_exception_3;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( html5lib$treebuilders$etree_lxml );
return MOD_RETURN_VALUE( NULL );
outline_exception_3:;
exception_lineno = 175;
goto try_except_handler_8;
outline_result_3:;
UPDATE_STRING_DICT1( moduledict_html5lib$treebuilders$etree_lxml, (Nuitka_StringObject *)const_str_plain_TreeBuilder, tmp_assign_source_42 );
}
goto try_end_4;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_3__bases );
tmp_class_creation_3__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__class_decl_dict );
tmp_class_creation_3__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__metaclass );
tmp_class_creation_3__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_3__prepared );
tmp_class_creation_3__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
}
// End of try:
try_end_4:;
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 );
#endif
popFrameStack();
assertFrameObject( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 );
goto frame_no_exception_4;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_3bf90fb7521f95b2ae5e9a4d72d5c3e4, exception_lineno );
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_4:;
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
Py_DECREF( tmp_class_creation_3__bases );
tmp_class_creation_3__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict );
Py_DECREF( tmp_class_creation_3__class_decl_dict );
tmp_class_creation_3__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass );
Py_DECREF( tmp_class_creation_3__metaclass );
tmp_class_creation_3__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
Py_DECREF( tmp_class_creation_3__prepared );
tmp_class_creation_3__prepared = NULL;
}
return MOD_RETURN_VALUE( module_html5lib$treebuilders$etree_lxml );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}