/* Generated code for Python source for module 'html5lib.serializer' * 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$serializer 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$serializer; PyDictObject *moduledict_html5lib$serializer; /* The module constants used, if any. */ static PyObject *const_str_digest_de233d91e595275787e1e2553b7d534e; static PyObject *const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple; static PyObject *const_str_digest_8f45e66dcad25a84568377b5ca20c9b8; extern PyObject *const_str_chr_38; static PyObject *const_str_plain_inject_meta_charset; static PyObject *const_str_plain_legacy; static PyObject *const_tuple_str_plain_register_error_str_plain_xmlcharrefreplace_errors_tuple; static PyObject *const_tuple_str_plain_etree_none_tuple; static PyObject *const_str_plain__is_ucs4; extern PyObject *const_str_plain_metaclass; static PyObject *const_tuple_str_chr_39_str_digest_a3d81feff0be3a3ff360ca33ad836962_tuple; static PyObject *const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple; extern PyObject *const_str_plain_index; extern PyObject *const_str_plain_cp; extern PyObject *const_str_plain___name__; static PyObject *const_str_digest_4e22726cad3faad8ce2e39a5a9cdeafe; extern PyObject *const_str_plain_constants; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; static PyObject *const_str_plain__quoteAttributeSpecChars; extern PyObject *const_str_plain_treewalkers; extern PyObject *const_str_plain_i; static PyObject *const_str_plain_escape_lt_in_attrs; extern PyObject *const_str_plain_object; extern PyObject *const_tuple_str_space_tuple; extern PyObject *const_str_plain___file__; extern PyObject *const_str_plain_StartTag; static PyObject *const_str_digest_3a29b48c0513c8e830e5ce7dd9392fcd; static PyObject *const_tuple_str_digest_85fe97af08c9a213aa891dc673aeaa3e_tuple; extern PyObject *const_str_plain_tree; extern PyObject *const_str_plain_etree; extern PyObject *const_str_plain_isSurrogatePair; extern PyObject *const_str_plain_encode; static PyObject *const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple; extern PyObject *const_tuple_str_chr_34_tuple; extern PyObject *const_str_plain_division; extern PyObject *const_str_plain_items; extern PyObject *const_tuple_str_plain_escape_tuple; static PyObject *const_str_digest_45bf095ec65b6daaf5d7d061d493ab02; static PyObject *const_str_plain__quoteAttributeLegacy; static PyObject *const_str_plain_htmlentityreplace_errors; static PyObject *const_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb; static PyObject *const_str_plain__quoteAttributeSpec; extern PyObject *const_tuple_str_chr_62_tuple; extern PyObject *const_str_plain_end; extern PyObject *const_str_plain_None; extern PyObject *const_str_plain_doctype; static PyObject *const_tuple_type_UnicodeEncodeError_type_UnicodeTranslateError_tuple; extern PyObject *const_str_chr_61; extern PyObject *const_str_plain_input; extern PyObject *const_str_plain_string; extern PyObject *const_str_plain_serialize; static PyObject *const_str_digest_4059b94fc4f22f1c3a890cddd6eb7b75; static PyObject *const_str_digest_014ff86370a6b88b8cba0a005dc66e61; extern PyObject *const_tuple_str_chr_59_tuple; extern PyObject *const_str_digest_ab515849ebca7deaff42737911a1a57e; static PyObject *const_str_plain_use_best_quote_char; static PyObject *const_str_digest_cae40bec1d8e4a2ab96611b9f5b1ebd9; static PyObject *const_str_plain_attr_name; extern PyObject *const_str_plain_join; static PyObject *const_str_digest_3c80e4986274551c0c6392fccb31e449; static PyObject *const_str_digest_0f38fb7cd422658bd6cecda5d259f9d8; extern PyObject *const_str_plain_start; static PyObject *const_tuple_str_chr_34_str_digest_0a0424cff781b765f01c51300bb05782_tuple; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_digest_effaccf01132aa7a279407b5ff12ad69; extern PyObject *const_str_plain_getTreeWalker; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain_re; extern PyObject *const_str_plain_xmlEntities; static PyObject *const_tuple_a005564f7b5edeac69278032124c78e3_tuple; extern PyObject *const_str_plain_publicId; extern PyObject *const_str_chr_62; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_plain_xmlcharrefreplace_errors; static PyObject *const_str_digest_a3d81feff0be3a3ff360ca33ad836962; extern PyObject *const_str_plain_res; extern PyObject *const_str_plain_data; extern PyObject *const_str_plain_options; extern PyObject *const_str_digest_de70a11ef971409076aa426e223c5dfd; extern PyObject *const_str_plain_s; static PyObject *const_str_plain_render; extern PyObject *const_str_plain_register_error; static PyObject *const_str_digest_19aff41d8ac585724335bfceaca74bdf; static PyObject *const_str_plain_omit_optional_tags; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_plain_htmlentityreplace; extern PyObject *const_str_digest_0a0424cff781b765f01c51300bb05782; extern PyObject *const_str_plain_sanitize; extern PyObject *const_str_chr_39; static PyObject *const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple; extern PyObject *const_str_plain_Characters; extern PyObject *const_str_plain_min; extern PyObject *const_str_chr_60; extern PyObject *const_str_plain_surrogatePairToCodepoint; extern PyObject *const_str_plain_six; static PyObject *const_str_plain_quote_char; extern PyObject *const_str_plain__utils; extern PyObject *const_str_plain_e; extern PyObject *const_str_plain_Doctype; extern PyObject *const_str_chr_91; extern PyObject *const_tuple_str_plain_text_type_tuple; extern PyObject *const_tuple_empty; static PyObject *const_str_digest_f1765c16264e9c89e9abd2de673f996b; static PyObject *const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple; extern PyObject *const_str_plain_enumerate; static PyObject *const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple; extern PyObject *const_str_space; extern PyObject *const_str_digest_9e22f855d491619d56677fec5533ea95; static PyObject *const_tuple_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb_tuple; extern PyObject *const_str_plain_append; extern PyObject *const_str_plain_EndTag; extern PyObject *const_str_plain_SerializeError; static PyObject *const_str_digest_142631de7020fd4952e4a338fac17c9c; static PyObject *const_str_digest_fe7418a8bad7cc10cdbf2c4eff8a8e5b; extern PyObject *const_str_plain_name; extern PyObject *const_str_plain_errors; extern PyObject *const_str_plain_endswith; static PyObject *const_str_plain_strip_whitespace; extern PyObject *const_str_plain_systemId; static PyObject *const_tuple_str_plain_Filter_tuple; static PyObject *const_str_digest_4770ad00e7b626b24ceafb8f23e7a8bb; extern PyObject *const_str_plain_attr; extern PyObject *const_tuple_str_chr_38_tuple; static PyObject *const_tuple_str_digest_9e22f855d491619d56677fec5533ea95_tuple; static PyObject *const_tuple_str_chr_38_str_digest_945228044f484d0c86a3cdf3a6e4cbbd_tuple; static PyObject *const_str_digest_69d6e02e6b70c15a6b9c01a96f918cd7; static PyObject *const_str_digest_3c001c9cdbc9559f8c41b15d80a1821f; extern PyObject *const_str_plain_always; extern PyObject *const_str_plain_compile; static PyObject *const_str_plain_resolve_entities; static PyObject *const_str_digest_76103f97635a3101aea1df9bc3d540fd; static PyObject *const_str_digest_777a453601ce95db768e5af985bc134b; static PyObject *const_str_plain_alphabetical_attributes; static PyObject *const_tuple_str_plain_treewalkers_str_plain__utils_tuple; extern PyObject *const_str_plain_token; extern PyObject *const_str_plain_codepoint; static PyObject *const_str_digest_2fe33107e3a0e0c5960752cdfe6bac8b; extern PyObject *const_str_plain_k; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain_skip; extern PyObject *const_str_plain_rcdataElements; extern PyObject *const_str_plain_strict; static PyObject *const_str_plain_codepoints; static PyObject *const_tuple_str_digest_3c001c9cdbc9559f8c41b15d80a1821f_tuple; extern PyObject *const_str_plain_encoding; static PyObject *const_str_digest_3da7ccb3c63d1454ed2de4f48f61b7ae; extern PyObject *const_int_0; static PyObject *const_str_digest_9b858f6e408f00089a6857022cdf383e; static PyObject *const_str_plain_unexpected_args; static PyObject *const_str_digest_1368a1262adf6c8f9e05641f9e489ea4; extern PyObject *const_tuple_str_plain_StartTag_str_plain_EmptyTag_tuple; static PyObject *const_str_plain_serializeError; extern PyObject *const_tuple_str_plain_Characters_str_plain_SpaceCharacters_tuple; extern PyObject *const_str_digest_c80a6937774641657a6dac4ad54a24d6; extern PyObject *const_str_plain_search; static PyObject *const_str_plain_treewalker; extern PyObject *const_str_plain_EmptyTag; static PyObject *const_tuple_str_digest_1c1d8534171c01e2acfa5f22e7740f2b_tuple; extern PyObject *const_str_digest_0a965353587989cc5fc3cd0b4a3488a4; static PyObject *const_str_plain_encodeStrict; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_digest_85fe97af08c9a213aa891dc673aeaa3e; extern PyObject *const_str_plain_c; static PyObject *const_str_digest_25fd5ead3f086addba74ff5e559ee564; extern PyObject *const_tuple_str_chr_61_tuple; static PyObject *const_str_plain__encode_entity_map; static PyObject *const_tuple_str_digest_3c80e4986274551c0c6392fccb31e449_tuple; static PyObject *const_str_digest_1c1036a1cf9efd79228b74dd5807c5b3; extern PyObject *const_str_plain_SpaceCharacters; extern PyObject *const_str_plain_Comment; static PyObject *const_str_digest_1c1d8534171c01e2acfa5f22e7740f2b; extern PyObject *const_str_plain_type; extern PyObject *const_str_plain_voidElements; extern PyObject *const_str_plain_entities; extern PyObject *const_bytes_empty; static PyObject *const_str_digest_cdec768902c025a1be1382af5e0130c1; extern PyObject *const_str_chr_93; extern PyObject *const_str_plain_spaceCharacters; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain_v; extern PyObject *const_str_plain___class__; static PyObject *const_str_digest_4396a736f9c419751535a8bfae0e4cc5; extern PyObject *const_str_plain__; static PyObject *const_str_plain_islower; extern PyObject *const_tuple_none_tuple; extern PyObject *const_tuple_type_Exception_tuple; static PyObject *const_str_plain_escape_rcdata; static PyObject *const_str_plain_minimize_boolean_attributes; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_tuple_str_digest_1368a1262adf6c8f9e05641f9e489ea4_tuple; extern PyObject *const_str_plain_codecs; extern PyObject *const_str_plain___module__; extern PyObject *const_str_chr_47; static PyObject *const_str_plain_use_trailing_solidus; extern PyObject *const_str_plain_unicode_literals; extern PyObject *const_str_plain_text_type; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_replace; extern PyObject *const_str_plain_Filter; extern PyObject *const_str_plain_exc; extern PyObject *const_tuple_str_chr_47_tuple; extern PyObject *const_str_plain_key; extern PyObject *const_str_plain_booleanAttributes; extern PyObject *const_slice_int_pos_2_none_none; static PyObject *const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple; extern PyObject *const_str_chr_34; extern PyObject *const_tuple_str_plain_self_str_plain_data_tuple; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___init__; static PyObject *const_tuple_str_empty_tuple_empty_tuple; extern PyObject *const_str_digest_bd517be1a6775ddc2c1691fffb54b115; extern PyObject *const_tuple_str_plain_self_str_plain_string_tuple; extern PyObject *const_str_digest_6e71b18f4f00a0af73d97ee880b369b1; static PyObject *const_str_plain_quote_attr; extern PyObject *const_str_plain_self; static PyObject *const_str_plain_serializer_opts; static PyObject *const_str_digest_3ebff851ef4ced537dfeb1da9816b872; extern PyObject *const_str_plain_Entity; static PyObject *const_tuple_str_digest_81bc30b4e62844a6e7deac82a881dc7d_tuple; static PyObject *const_str_digest_490cf39db856f7d89e4dea8e97aa0151; static PyObject *const_str_plain_space_before_trailing_solidus; extern PyObject *const_str_chr_59; extern PyObject *const_str_plain_kwargs; extern PyObject *const_str_plain_get; static PyObject *const_str_digest_81bc30b4e62844a6e7deac82a881dc7d; static PyObject *const_str_plain_HTMLSerializer; extern PyObject *const_int_pos_2; static PyObject *const_str_plain_in_cdata; extern PyObject *const_str_empty; static PyObject *const_str_plain_quote_attr_values; extern PyObject *const_str_plain_find; extern PyObject *const_str_plain_spec; extern PyObject *const_str_plain_escape; extern PyObject *const_str_plain_walker; extern PyObject *const_str_plain_attr_value; static PyObject *const_tuple_str_chr_60_str_digest_25fd5ead3f086addba74ff5e559ee564_tuple; extern PyObject *const_tuple_str_chr_39_tuple; static PyObject *const_str_digest_289cda406035f86f49222ab90986fefb; static PyObject *const_str_digest_945228044f484d0c86a3cdf3a6e4cbbd; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_digest_de233d91e595275787e1e2553b7d534e = UNSTREAM_STRING( &constant_bin[ 108515 ], 7, 0 ); const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple = PyTuple_New( 14 ); const_str_plain_quote_attr_values = UNSTREAM_STRING( &constant_bin[ 858653 ], 17, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 0, const_str_plain_quote_attr_values ); Py_INCREF( const_str_plain_quote_attr_values ); const_str_plain_quote_char = UNSTREAM_STRING( &constant_bin[ 858670 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 1, const_str_plain_quote_char ); Py_INCREF( const_str_plain_quote_char ); const_str_plain_use_best_quote_char = UNSTREAM_STRING( &constant_bin[ 858680 ], 19, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 2, const_str_plain_use_best_quote_char ); Py_INCREF( const_str_plain_use_best_quote_char ); const_str_plain_omit_optional_tags = UNSTREAM_STRING( &constant_bin[ 858699 ], 18, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 3, const_str_plain_omit_optional_tags ); Py_INCREF( const_str_plain_omit_optional_tags ); const_str_plain_minimize_boolean_attributes = UNSTREAM_STRING( &constant_bin[ 858717 ], 27, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 4, const_str_plain_minimize_boolean_attributes ); Py_INCREF( const_str_plain_minimize_boolean_attributes ); const_str_plain_use_trailing_solidus = UNSTREAM_STRING( &constant_bin[ 858744 ], 20, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 5, const_str_plain_use_trailing_solidus ); Py_INCREF( const_str_plain_use_trailing_solidus ); const_str_plain_space_before_trailing_solidus = UNSTREAM_STRING( &constant_bin[ 858764 ], 29, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 6, const_str_plain_space_before_trailing_solidus ); Py_INCREF( const_str_plain_space_before_trailing_solidus ); const_str_plain_escape_lt_in_attrs = UNSTREAM_STRING( &constant_bin[ 858793 ], 18, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 7, const_str_plain_escape_lt_in_attrs ); Py_INCREF( const_str_plain_escape_lt_in_attrs ); const_str_plain_escape_rcdata = UNSTREAM_STRING( &constant_bin[ 858811 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 8, const_str_plain_escape_rcdata ); Py_INCREF( const_str_plain_escape_rcdata ); const_str_plain_resolve_entities = UNSTREAM_STRING( &constant_bin[ 858824 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 9, const_str_plain_resolve_entities ); Py_INCREF( const_str_plain_resolve_entities ); const_str_plain_alphabetical_attributes = UNSTREAM_STRING( &constant_bin[ 858840 ], 23, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 10, const_str_plain_alphabetical_attributes ); Py_INCREF( const_str_plain_alphabetical_attributes ); const_str_plain_inject_meta_charset = UNSTREAM_STRING( &constant_bin[ 827099 ], 19, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 11, const_str_plain_inject_meta_charset ); Py_INCREF( const_str_plain_inject_meta_charset ); const_str_plain_strip_whitespace = UNSTREAM_STRING( &constant_bin[ 858863 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 12, const_str_plain_strip_whitespace ); Py_INCREF( const_str_plain_strip_whitespace ); PyTuple_SET_ITEM( const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple, 13, const_str_plain_sanitize ); Py_INCREF( const_str_plain_sanitize ); const_str_digest_8f45e66dcad25a84568377b5ca20c9b8 = UNSTREAM_STRING( &constant_bin[ 858879 ], 2626, 0 ); const_str_plain_legacy = UNSTREAM_STRING( &constant_bin[ 29944 ], 6, 1 ); const_tuple_str_plain_register_error_str_plain_xmlcharrefreplace_errors_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_register_error_str_plain_xmlcharrefreplace_errors_tuple, 0, const_str_plain_register_error ); Py_INCREF( const_str_plain_register_error ); const_str_plain_xmlcharrefreplace_errors = UNSTREAM_STRING( &constant_bin[ 861505 ], 24, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_register_error_str_plain_xmlcharrefreplace_errors_tuple, 1, const_str_plain_xmlcharrefreplace_errors ); Py_INCREF( const_str_plain_xmlcharrefreplace_errors ); const_tuple_str_plain_etree_none_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_etree_none_tuple, 0, const_str_plain_etree ); Py_INCREF( const_str_plain_etree ); PyTuple_SET_ITEM( const_tuple_str_plain_etree_none_tuple, 1, Py_None ); Py_INCREF( Py_None ); const_str_plain__is_ucs4 = UNSTREAM_STRING( &constant_bin[ 861529 ], 8, 1 ); const_tuple_str_chr_39_str_digest_a3d81feff0be3a3ff360ca33ad836962_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_39_str_digest_a3d81feff0be3a3ff360ca33ad836962_tuple, 0, const_str_chr_39 ); Py_INCREF( const_str_chr_39 ); const_str_digest_a3d81feff0be3a3ff360ca33ad836962 = UNSTREAM_STRING( &constant_bin[ 861537 ], 5, 0 ); PyTuple_SET_ITEM( const_tuple_str_chr_39_str_digest_a3d81feff0be3a3ff360ca33ad836962_tuple, 1, const_str_digest_a3d81feff0be3a3ff360ca33ad836962 ); Py_INCREF( const_str_digest_a3d81feff0be3a3ff360ca33ad836962 ); const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 0, const_str_plain_input ); Py_INCREF( const_str_plain_input ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 1, const_str_plain_tree ); Py_INCREF( const_str_plain_tree ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_plain_serializer_opts = UNSTREAM_STRING( &constant_bin[ 861542 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 3, const_str_plain_serializer_opts ); Py_INCREF( const_str_plain_serializer_opts ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 4, const_str_plain_walker ); Py_INCREF( const_str_plain_walker ); PyTuple_SET_ITEM( const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 5, const_str_plain_s ); Py_INCREF( const_str_plain_s ); const_str_digest_4e22726cad3faad8ce2e39a5a9cdeafe = UNSTREAM_STRING( &constant_bin[ 861557 ], 29, 0 ); const_str_plain__quoteAttributeSpecChars = UNSTREAM_STRING( &constant_bin[ 861586 ], 24, 1 ); const_str_digest_3a29b48c0513c8e830e5ce7dd9392fcd = UNSTREAM_STRING( &constant_bin[ 827608 ], 20, 0 ); const_tuple_str_digest_85fe97af08c9a213aa891dc673aeaa3e_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_85fe97af08c9a213aa891dc673aeaa3e_tuple, 0, const_str_digest_85fe97af08c9a213aa891dc673aeaa3e ); Py_INCREF( const_str_digest_85fe97af08c9a213aa891dc673aeaa3e ); const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple = PyTuple_New( 18 ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_treewalker = UNSTREAM_STRING( &constant_bin[ 751833 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 1, const_str_plain_treewalker ); Py_INCREF( const_str_plain_treewalker ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_plain_in_cdata = UNSTREAM_STRING( &constant_bin[ 861610 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 3, const_str_plain_in_cdata ); Py_INCREF( const_str_plain_in_cdata ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 4, const_str_plain_Filter ); Py_INCREF( const_str_plain_Filter ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 5, const_str_plain_token ); Py_INCREF( const_str_plain_token ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 6, const_str_plain_type ); Py_INCREF( const_str_plain_type ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 7, const_str_plain_doctype ); Py_INCREF( const_str_plain_doctype ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 8, const_str_plain_quote_char ); Py_INCREF( const_str_plain_quote_char ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 9, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 10, const_str_plain__ ); Py_INCREF( const_str_plain__ ); const_str_plain_attr_name = UNSTREAM_STRING( &constant_bin[ 831579 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 11, const_str_plain_attr_name ); Py_INCREF( const_str_plain_attr_name ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 12, const_str_plain_attr_value ); Py_INCREF( const_str_plain_attr_value ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 13, const_str_plain_k ); Py_INCREF( const_str_plain_k ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 14, const_str_plain_v ); Py_INCREF( const_str_plain_v ); const_str_plain_quote_attr = UNSTREAM_STRING( &constant_bin[ 858653 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 15, const_str_plain_quote_attr ); Py_INCREF( const_str_plain_quote_attr ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 16, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 17, const_str_plain_key ); Py_INCREF( const_str_plain_key ); const_str_digest_45bf095ec65b6daaf5d7d061d493ab02 = UNSTREAM_STRING( &constant_bin[ 861618 ], 24, 0 ); const_str_plain__quoteAttributeLegacy = UNSTREAM_STRING( &constant_bin[ 861642 ], 21, 1 ); const_str_plain_htmlentityreplace_errors = UNSTREAM_STRING( &constant_bin[ 861663 ], 24, 1 ); const_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb = UNSTREAM_STRING( &constant_bin[ 861687 ], 22, 0 ); const_str_plain__quoteAttributeSpec = UNSTREAM_STRING( &constant_bin[ 861586 ], 19, 1 ); const_tuple_type_UnicodeEncodeError_type_UnicodeTranslateError_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_type_UnicodeEncodeError_type_UnicodeTranslateError_tuple, 0, (PyObject *)PyExc_UnicodeEncodeError ); Py_INCREF( (PyObject *)PyExc_UnicodeEncodeError ); PyTuple_SET_ITEM( const_tuple_type_UnicodeEncodeError_type_UnicodeTranslateError_tuple, 1, (PyObject *)PyExc_UnicodeTranslateError ); Py_INCREF( (PyObject *)PyExc_UnicodeTranslateError ); const_str_digest_4059b94fc4f22f1c3a890cddd6eb7b75 = UNSTREAM_STRING( &constant_bin[ 861709 ], 27, 0 ); const_str_digest_014ff86370a6b88b8cba0a005dc66e61 = UNSTREAM_STRING( &constant_bin[ 861736 ], 23, 0 ); const_str_digest_cae40bec1d8e4a2ab96611b9f5b1ebd9 = UNSTREAM_STRING( &constant_bin[ 861759 ], 63, 0 ); const_str_digest_3c80e4986274551c0c6392fccb31e449 = UNSTREAM_STRING( &constant_bin[ 861822 ], 65, 0 ); const_str_digest_0f38fb7cd422658bd6cecda5d259f9d8 = UNSTREAM_STRING( &constant_bin[ 861887 ], 95, 0 ); const_tuple_str_chr_34_str_digest_0a0424cff781b765f01c51300bb05782_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_34_str_digest_0a0424cff781b765f01c51300bb05782_tuple, 0, const_str_chr_34 ); Py_INCREF( const_str_chr_34 ); PyTuple_SET_ITEM( const_tuple_str_chr_34_str_digest_0a0424cff781b765f01c51300bb05782_tuple, 1, const_str_digest_0a0424cff781b765f01c51300bb05782 ); Py_INCREF( const_str_digest_0a0424cff781b765f01c51300bb05782 ); const_tuple_a005564f7b5edeac69278032124c78e3_tuple = PyTuple_New( 10 ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 0, const_str_plain_exc ); Py_INCREF( const_str_plain_exc ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 1, const_str_plain_res ); Py_INCREF( const_str_plain_res ); const_str_plain_codepoints = UNSTREAM_STRING( &constant_bin[ 764903 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 2, const_str_plain_codepoints ); Py_INCREF( const_str_plain_codepoints ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 3, const_str_plain_skip ); Py_INCREF( const_str_plain_skip ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 4, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 5, const_str_plain_c ); Py_INCREF( const_str_plain_c ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 6, const_str_plain_index ); Py_INCREF( const_str_plain_index ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 7, const_str_plain_codepoint ); Py_INCREF( const_str_plain_codepoint ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 8, const_str_plain_cp ); Py_INCREF( const_str_plain_cp ); PyTuple_SET_ITEM( const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 9, const_str_plain_e ); Py_INCREF( const_str_plain_e ); const_str_plain_render = UNSTREAM_STRING( &constant_bin[ 129042 ], 6, 1 ); const_str_digest_19aff41d8ac585724335bfceaca74bdf = UNSTREAM_STRING( &constant_bin[ 56536 ], 3, 0 ); const_str_plain_htmlentityreplace = UNSTREAM_STRING( &constant_bin[ 861663 ], 17, 1 ); const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple, 1, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_str_plain_unexpected_args = UNSTREAM_STRING( &constant_bin[ 861982 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple, 2, const_str_plain_unexpected_args ); Py_INCREF( const_str_plain_unexpected_args ); PyTuple_SET_ITEM( const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple, 3, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); const_str_digest_f1765c16264e9c89e9abd2de673f996b = UNSTREAM_STRING( &constant_bin[ 826419 ], 30, 0 ); const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple, 0, const_str_plain_voidElements ); Py_INCREF( const_str_plain_voidElements ); PyTuple_SET_ITEM( const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple, 1, const_str_plain_booleanAttributes ); Py_INCREF( const_str_plain_booleanAttributes ); PyTuple_SET_ITEM( const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple, 2, const_str_plain_spaceCharacters ); Py_INCREF( const_str_plain_spaceCharacters ); const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple, 0, const_str_plain_rcdataElements ); Py_INCREF( const_str_plain_rcdataElements ); PyTuple_SET_ITEM( const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple, 1, const_str_plain_entities ); Py_INCREF( const_str_plain_entities ); PyTuple_SET_ITEM( const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple, 2, const_str_plain_xmlEntities ); Py_INCREF( const_str_plain_xmlEntities ); const_tuple_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb_tuple, 0, const_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb ); Py_INCREF( const_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb ); const_str_digest_142631de7020fd4952e4a338fac17c9c = UNSTREAM_STRING( &constant_bin[ 861709 ], 21, 0 ); const_str_digest_fe7418a8bad7cc10cdbf2c4eff8a8e5b = UNSTREAM_STRING( &constant_bin[ 861997 ], 19, 0 ); const_tuple_str_plain_Filter_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_Filter_tuple, 0, const_str_plain_Filter ); Py_INCREF( const_str_plain_Filter ); const_str_digest_4770ad00e7b626b24ceafb8f23e7a8bb = UNSTREAM_STRING( &constant_bin[ 862016 ], 21, 0 ); const_tuple_str_digest_9e22f855d491619d56677fec5533ea95_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_9e22f855d491619d56677fec5533ea95_tuple, 0, const_str_digest_9e22f855d491619d56677fec5533ea95 ); Py_INCREF( const_str_digest_9e22f855d491619d56677fec5533ea95 ); const_tuple_str_chr_38_str_digest_945228044f484d0c86a3cdf3a6e4cbbd_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_38_str_digest_945228044f484d0c86a3cdf3a6e4cbbd_tuple, 0, const_str_chr_38 ); Py_INCREF( const_str_chr_38 ); const_str_digest_945228044f484d0c86a3cdf3a6e4cbbd = UNSTREAM_STRING( &constant_bin[ 115816 ], 5, 0 ); PyTuple_SET_ITEM( const_tuple_str_chr_38_str_digest_945228044f484d0c86a3cdf3a6e4cbbd_tuple, 1, const_str_digest_945228044f484d0c86a3cdf3a6e4cbbd ); Py_INCREF( const_str_digest_945228044f484d0c86a3cdf3a6e4cbbd ); const_str_digest_69d6e02e6b70c15a6b9c01a96f918cd7 = UNSTREAM_STRING( &constant_bin[ 827130 ], 27, 0 ); const_str_digest_3c001c9cdbc9559f8c41b15d80a1821f = UNSTREAM_STRING( &constant_bin[ 862037 ], 24, 0 ); const_str_digest_76103f97635a3101aea1df9bc3d540fd = UNSTREAM_STRING( &constant_bin[ 862061 ], 622, 0 ); const_str_digest_777a453601ce95db768e5af985bc134b = UNSTREAM_STRING( &constant_bin[ 862683 ], 28, 0 ); const_tuple_str_plain_treewalkers_str_plain__utils_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_treewalkers_str_plain__utils_tuple, 0, const_str_plain_treewalkers ); Py_INCREF( const_str_plain_treewalkers ); PyTuple_SET_ITEM( const_tuple_str_plain_treewalkers_str_plain__utils_tuple, 1, const_str_plain__utils ); Py_INCREF( const_str_plain__utils ); const_str_digest_2fe33107e3a0e0c5960752cdfe6bac8b = UNSTREAM_STRING( &constant_bin[ 861557 ], 24, 0 ); const_tuple_str_digest_3c001c9cdbc9559f8c41b15d80a1821f_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_3c001c9cdbc9559f8c41b15d80a1821f_tuple, 0, const_str_digest_3c001c9cdbc9559f8c41b15d80a1821f ); Py_INCREF( const_str_digest_3c001c9cdbc9559f8c41b15d80a1821f ); const_str_digest_3da7ccb3c63d1454ed2de4f48f61b7ae = UNSTREAM_STRING( &constant_bin[ 862711 ], 24, 0 ); const_str_digest_9b858f6e408f00089a6857022cdf383e = UNSTREAM_STRING( &constant_bin[ 831347 ], 17, 0 ); const_str_digest_1368a1262adf6c8f9e05641f9e489ea4 = UNSTREAM_STRING( &constant_bin[ 862735 ], 19, 0 ); const_str_plain_serializeError = UNSTREAM_STRING( &constant_bin[ 861572 ], 14, 1 ); const_tuple_str_digest_1c1d8534171c01e2acfa5f22e7740f2b_tuple = PyTuple_New( 1 ); const_str_digest_1c1d8534171c01e2acfa5f22e7740f2b = UNSTREAM_STRING( &constant_bin[ 132 ], 2, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_1c1d8534171c01e2acfa5f22e7740f2b_tuple, 0, const_str_digest_1c1d8534171c01e2acfa5f22e7740f2b ); Py_INCREF( const_str_digest_1c1d8534171c01e2acfa5f22e7740f2b ); const_str_plain_encodeStrict = UNSTREAM_STRING( &constant_bin[ 861724 ], 12, 1 ); const_str_digest_25fd5ead3f086addba74ff5e559ee564 = UNSTREAM_STRING( &constant_bin[ 115729 ], 4, 0 ); const_str_plain__encode_entity_map = UNSTREAM_STRING( &constant_bin[ 862754 ], 18, 1 ); const_tuple_str_digest_3c80e4986274551c0c6392fccb31e449_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_3c80e4986274551c0c6392fccb31e449_tuple, 0, const_str_digest_3c80e4986274551c0c6392fccb31e449 ); Py_INCREF( const_str_digest_3c80e4986274551c0c6392fccb31e449 ); const_str_digest_1c1036a1cf9efd79228b74dd5807c5b3 = UNSTREAM_STRING( &constant_bin[ 833380 ], 18, 0 ); const_str_digest_cdec768902c025a1be1382af5e0130c1 = UNSTREAM_STRING( &constant_bin[ 862772 ], 6, 0 ); const_str_digest_4396a736f9c419751535a8bfae0e4cc5 = UNSTREAM_STRING( &constant_bin[ 862778 ], 6, 0 ); const_str_plain_islower = UNSTREAM_STRING( &constant_bin[ 862784 ], 7, 1 ); const_tuple_str_digest_1368a1262adf6c8f9e05641f9e489ea4_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_1368a1262adf6c8f9e05641f9e489ea4_tuple, 0, const_str_digest_1368a1262adf6c8f9e05641f9e489ea4 ); Py_INCREF( const_str_digest_1368a1262adf6c8f9e05641f9e489ea4 ); const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple, 1, const_str_plain_treewalker ); Py_INCREF( const_str_plain_treewalker ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_tuple_str_empty_tuple_empty_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_empty_tuple_empty_tuple, 0, const_str_empty ); Py_INCREF( const_str_empty ); PyTuple_SET_ITEM( const_tuple_str_empty_tuple_empty_tuple, 1, const_tuple_empty ); Py_INCREF( const_tuple_empty ); const_str_digest_3ebff851ef4ced537dfeb1da9816b872 = UNSTREAM_STRING( &constant_bin[ 862791 ], 664, 0 ); const_tuple_str_digest_81bc30b4e62844a6e7deac82a881dc7d_tuple = PyTuple_New( 1 ); const_str_digest_81bc30b4e62844a6e7deac82a881dc7d = UNSTREAM_STRING( &constant_bin[ 863455 ], 43, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_81bc30b4e62844a6e7deac82a881dc7d_tuple, 0, const_str_digest_81bc30b4e62844a6e7deac82a881dc7d ); Py_INCREF( const_str_digest_81bc30b4e62844a6e7deac82a881dc7d ); const_str_digest_490cf39db856f7d89e4dea8e97aa0151 = UNSTREAM_STRING( &constant_bin[ 863498 ], 55, 0 ); const_str_plain_HTMLSerializer = UNSTREAM_STRING( &constant_bin[ 858890 ], 14, 1 ); const_tuple_str_chr_60_str_digest_25fd5ead3f086addba74ff5e559ee564_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_60_str_digest_25fd5ead3f086addba74ff5e559ee564_tuple, 0, const_str_chr_60 ); Py_INCREF( const_str_chr_60 ); PyTuple_SET_ITEM( const_tuple_str_chr_60_str_digest_25fd5ead3f086addba74ff5e559ee564_tuple, 1, const_str_digest_25fd5ead3f086addba74ff5e559ee564 ); Py_INCREF( const_str_digest_25fd5ead3f086addba74ff5e559ee564 ); const_str_digest_289cda406035f86f49222ab90986fefb = UNSTREAM_STRING( &constant_bin[ 863553 ], 7, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_html5lib$serializer( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_d87f98f57637e0d7a26ece04383710bf; static PyCodeObject *codeobj_08e23ddb3575e156fd03530ae8535837; static PyCodeObject *codeobj_b8616de2d353c55093a327431e69d92a; static PyCodeObject *codeobj_12ca190b99eb2c4a5bfb820b8194a0b1; static PyCodeObject *codeobj_aa654545b650d2245e74c97c0df44114; static PyCodeObject *codeobj_974692674f3c300cc4e1662658b357fc; static PyCodeObject *codeobj_09a693524f82cf35345f33576cadf6f6; static PyCodeObject *codeobj_52603af83d42e5ab3900a2800331eb68; static PyCodeObject *codeobj_2806d4ce90cd1ce99678659655c55e97; static PyCodeObject *codeobj_0c25520c0857e20ca57e22f1fb625f4e; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_490cf39db856f7d89e4dea8e97aa0151; codeobj_d87f98f57637e0d7a26ece04383710bf = MAKE_CODEOBJ( module_filename_obj, const_str_digest_777a453601ce95db768e5af985bc134b, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_08e23ddb3575e156fd03530ae8535837 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLSerializer, 104, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_b8616de2d353c55093a327431e69d92a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 135, const_tuple_fdd30fff2968560cc646f23f2fe8e3ca_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_12ca190b99eb2c4a5bfb820b8194a0b1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode, 224, const_tuple_str_plain_self_str_plain_string_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_aa654545b650d2245e74c97c0df44114 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encodeStrict, 231, const_tuple_str_plain_self_str_plain_string_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_974692674f3c300cc4e1662658b357fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_htmlentityreplace_errors, 42, const_tuple_a005564f7b5edeac69278032124c78e3_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_09a693524f82cf35345f33576cadf6f6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_render, 375, const_tuple_str_plain_self_str_plain_treewalker_str_plain_encoding_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_52603af83d42e5ab3900a2800331eb68 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_serialize, 75, const_tuple_32bbacbc1b679543cba1c9bcc9d7cc9f_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_2806d4ce90cd1ce99678659655c55e97 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_serialize, 238, const_tuple_8fe2f60ab8c54e96c2edb2ba33f4353a_tuple, 3, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_0c25520c0857e20ca57e22f1fb625f4e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_serializeError, 400, const_tuple_str_plain_self_str_plain_data_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); } // The module function declarations. static PyObject *html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_maker( void ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_7_complex_call_helper_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_1_htmlentityreplace_errors( ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_2_serialize( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_3___init__( ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_4_encode( ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_5_encodeStrict( ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_6_serialize( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_7_render( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_8_serializeError( PyObject *defaults ); // The module function definitions. static PyObject *impl_html5lib$serializer$$$function_1_htmlentityreplace_errors( 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_exc = python_pars[ 0 ]; PyObject *var_res = NULL; PyObject *var_codepoints = NULL; PyObject *var_skip = NULL; PyObject *var_i = NULL; PyObject *var_c = NULL; PyObject *var_index = NULL; PyObject *var_codepoint = NULL; PyObject *var_cp = NULL; PyObject *var_e = 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_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_974692674f3c300cc4e1662658b357fc; 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; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_974692674f3c300cc4e1662658b357fc = 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; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_974692674f3c300cc4e1662658b357fc, codeobj_974692674f3c300cc4e1662658b357fc, module_html5lib$serializer, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_974692674f3c300cc4e1662658b357fc = cache_frame_974692674f3c300cc4e1662658b357fc; // Push the new frame as the currently active one. pushFrameStack( frame_974692674f3c300cc4e1662658b357fc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_974692674f3c300cc4e1662658b357fc ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_exc ); tmp_isinstance_inst_1 = par_exc; tmp_isinstance_cls_1 = const_tuple_type_UnicodeEncodeError_type_UnicodeTranslateError_tuple; 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 = 43; type_description_1 = "oooooooooo"; 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; tmp_assign_source_1 = PyList_New( 0 ); assert( var_res == NULL ); var_res = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( var_codepoints == NULL ); var_codepoints = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_False; assert( var_skip == NULL ); Py_INCREF( tmp_assign_source_3 ); var_skip = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_source_name_2; PyObject *tmp_stop_name_1; PyObject *tmp_source_name_3; PyObject *tmp_step_name_1; tmp_called_name_1 = (PyObject *)&PyEnum_Type; CHECK_OBJECT( par_exc ); tmp_source_name_1 = par_exc; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_object ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_exc == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_exc; tmp_start_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_start ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_exc == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_exc; tmp_stop_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_end ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 47; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } 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 = 47; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_4; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_5 == 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 = "oooooooooo"; exception_lineno = 47; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_5; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_6; 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_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_1 = "oooooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_6; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_7 == 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 = "oooooooooo"; exception_lineno = 47; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_2, 1, 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_1 = "oooooooooo"; exception_lineno = 47; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_8; 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 = "oooooooooo"; exception_lineno = 47; 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 = "oooooooooo"; exception_lineno = 47; 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_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_9; Py_INCREF( var_i ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_c; var_c = tmp_assign_source_10; Py_INCREF( var_c ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if ( var_skip == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "skip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 48; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( var_skip ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_1 = "oooooooooo"; 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 branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_11; tmp_assign_source_11 = Py_False; { PyObject *old = var_skip; var_skip = tmp_assign_source_11; Py_INCREF( var_skip ); Py_XDECREF( old ); } } { goto loop_start_1; } branch_no_2:; } { PyObject *tmp_assign_source_12; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_source_name_4; if ( var_i == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 51; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_left_name_1 = var_i; if ( par_exc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 51; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_4 = par_exc; tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_start ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_assign_source_12 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; type_description_1 = "oooooooooo"; goto try_except_handler_2; } { PyObject *old = var_index; var_index = tmp_assign_source_12; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_6; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_list_element_1; PyObject *tmp_source_name_7; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_name_2; int tmp_truth_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_5 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_isSurrogatePair ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } if ( par_exc == 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", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_6 = par_exc; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_object ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } if ( var_index == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_start_name_2 = var_index; tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_min ); assert( tmp_called_name_3 != NULL ); if ( par_exc == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_7 = par_exc; tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_end ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_args_element_name_3 = PyList_New( 2 ); PyList_SET_ITEM( tmp_args_element_name_3, 0, tmp_list_element_1 ); if ( var_index == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_args_element_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_left_name_2 = var_index; tmp_right_name_2 = const_int_pos_2; tmp_list_element_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_args_element_name_3 ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } PyList_SET_ITEM( tmp_args_element_name_3, 1, tmp_list_element_1 ); frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 52; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_stop_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_stop_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_stop_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_subscript_name_2 ); 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 = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 52; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_call_result_1 = 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_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 52; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_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_13; PyObject *tmp_called_name_4; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_4; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_9; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_3; PyObject *tmp_stop_name_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_step_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_8 = tmp_mvar_value_2; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_surrogatePairToCodepoint ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } if ( par_exc == 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", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_9 = par_exc; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_object ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } if ( var_index == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_start_name_3 = var_index; if ( var_index == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_left_name_3 = var_index; tmp_right_name_3 = const_int_pos_2; tmp_stop_name_3 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_stop_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_name_3 ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_step_name_3 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_3, tmp_stop_name_3, tmp_step_name_3 ); Py_DECREF( tmp_stop_name_3 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_args_element_name_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscribed_name_3 ); Py_DECREF( tmp_subscript_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 = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 53; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_13 = 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_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 53; type_description_1 = "oooooooooo"; goto try_except_handler_2; } { PyObject *old = var_codepoint; var_codepoint = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_14; tmp_assign_source_14 = Py_True; { PyObject *old = var_skip; var_skip = tmp_assign_source_14; Py_INCREF( var_skip ); Py_XDECREF( old ); } } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_15; PyObject *tmp_ord_arg_1; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 56; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_ord_arg_1 = var_c; tmp_assign_source_15 = BUILTIN_ORD( tmp_ord_arg_1 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 56; type_description_1 = "oooooooooo"; goto try_except_handler_2; } { PyObject *old = var_codepoint; var_codepoint = tmp_assign_source_15; Py_XDECREF( old ); } } branch_end_3:; } { PyObject *tmp_called_name_5; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_5; if ( var_codepoints == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codepoints" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 57; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_source_name_10 = var_codepoints; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_1 = "oooooooooo"; goto try_except_handler_2; } if ( var_codepoint == 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", "codepoint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 57; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = var_codepoint; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 57; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_1 = "oooooooooo"; 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 = 47; type_description_1 = "oooooooooo"; 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:; } { 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_assign_source_16; PyObject *tmp_iter_arg_3; if ( var_codepoints == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codepoints" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 58; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_3 = var_codepoints; tmp_assign_source_16 = MAKE_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 = 58; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_16; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_17; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_17 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_17 == 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 = "oooooooooo"; exception_lineno = 58; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_17; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_18; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_18 = tmp_for_loop_2__iter_value; { PyObject *old = var_cp; var_cp = tmp_assign_source_18; Py_INCREF( var_cp ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_19; PyObject *tmp_called_name_6; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_6; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode_entity_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_source_name_11 = tmp_mvar_value_3; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_get ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "oooooooooo"; goto try_except_handler_5; } if ( var_cp == 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", "cp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_args_element_name_6 = var_cp; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 59; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assign_source_19 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "oooooooooo"; goto try_except_handler_5; } { PyObject *old = var_e; var_e = tmp_assign_source_19; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; int tmp_truth_name_3; CHECK_OBJECT( var_e ); tmp_truth_name_3 = CHECK_IF_TRUE( var_e ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_condition_result_4 = tmp_truth_name_3 == 1 ? 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_instance_1; if ( var_res == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 61; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_called_instance_1 = var_res; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 61; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_chr_38_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_7; PyObject *tmp_source_name_12; PyObject *tmp_args_element_name_7; if ( var_res == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 62; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_source_name_12 = var_res; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_append ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "oooooooooo"; goto try_except_handler_5; } if ( var_e == 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", "e" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 62; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_args_element_name_7 = var_e; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 62; { 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 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "oooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_called_instance_2; if ( var_e == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "e" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 63; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_called_instance_2 = var_e; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 63; tmp_operand_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_endswith, &PyTuple_GET_ITEM( const_tuple_str_chr_59_tuple, 0 ) ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 63; type_description_1 = "oooooooooo"; goto try_except_handler_5; } 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 = 63; type_description_1 = "oooooooooo"; goto try_except_handler_5; } 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_instance_3; if ( var_res == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_called_instance_3 = var_res; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 64; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_chr_59_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 64; type_description_1 = "oooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } branch_no_5:; } goto branch_end_4; branch_no_4:; { PyObject *tmp_called_name_8; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_8; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_subscribed_name_4; PyObject *tmp_hex_arg_1; PyObject *tmp_subscript_name_4; if ( var_res == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_source_name_13 = var_res; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_append ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_left_name_4 = const_str_digest_4396a736f9c419751535a8bfae0e4cc5; if ( var_cp == 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", "cp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_hex_arg_1 = var_cp; tmp_subscribed_name_4 = BUILTIN_HEX( tmp_hex_arg_1 ); if ( tmp_subscribed_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_subscript_name_4 = const_slice_int_pos_2_none_none; tmp_right_name_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); Py_DECREF( tmp_subscribed_name_4 ); if ( tmp_right_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_args_element_name_8 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 66; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); 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 = 66; type_description_1 = "oooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } branch_end_4:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "oooooooooo"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; } goto try_end_4; // Exception handler code: try_except_handler_5:; 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_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_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_4:; } { 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_tuple_element_1; PyObject *tmp_called_name_9; PyObject *tmp_source_name_14; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_15; tmp_source_name_14 = const_str_empty; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_join ); assert( !(tmp_called_name_9 == NULL) ); if ( var_res == 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", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 67; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_res; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 67; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 67; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( par_exc == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "exc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 67; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = par_exc; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_end ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 67; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_name_10; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_10; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_xmlcharrefreplace_errors ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_xmlcharrefreplace_errors ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "xmlcharrefreplace_errors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 69; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_called_name_10 = tmp_mvar_value_4; CHECK_OBJECT( par_exc ); tmp_args_element_name_10 = par_exc; frame_974692674f3c300cc4e1662658b357fc->m_frame.f_lineno = 69; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 69; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_974692674f3c300cc4e1662658b357fc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_974692674f3c300cc4e1662658b357fc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_974692674f3c300cc4e1662658b357fc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_974692674f3c300cc4e1662658b357fc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_974692674f3c300cc4e1662658b357fc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_974692674f3c300cc4e1662658b357fc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_974692674f3c300cc4e1662658b357fc, type_description_1, par_exc, var_res, var_codepoints, var_skip, var_i, var_c, var_index, var_codepoint, var_cp, var_e ); // Release cached frame. if ( frame_974692674f3c300cc4e1662658b357fc == cache_frame_974692674f3c300cc4e1662658b357fc ) { Py_DECREF( frame_974692674f3c300cc4e1662658b357fc ); } cache_frame_974692674f3c300cc4e1662658b357fc = NULL; assertFrameObject( frame_974692674f3c300cc4e1662658b357fc ); // 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$serializer$$$function_1_htmlentityreplace_errors ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_exc ); par_exc = NULL; } { Py_XDECREF( var_res ); var_res = NULL; } { Py_XDECREF( var_codepoints ); var_codepoints = NULL; } { Py_XDECREF( var_skip ); var_skip = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_index ); var_index = NULL; } { Py_XDECREF( var_codepoint ); var_codepoint = NULL; } { Py_XDECREF( var_cp ); var_cp = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_exc ); par_exc = NULL; } { Py_XDECREF( var_res ); var_res = NULL; } { Py_XDECREF( var_codepoints ); var_codepoints = NULL; } { Py_XDECREF( var_skip ); var_skip = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_index ); var_index = NULL; } { Py_XDECREF( var_codepoint ); var_codepoint = NULL; } { Py_XDECREF( var_cp ); var_cp = NULL; } { Py_XDECREF( var_e ); var_e = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$serializer$$$function_1_htmlentityreplace_errors ); 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$serializer$$$function_2_serialize( 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_input = python_pars[ 0 ]; PyObject *par_tree = python_pars[ 1 ]; PyObject *par_encoding = python_pars[ 2 ]; PyObject *par_serializer_opts = python_pars[ 3 ]; PyObject *var_walker = NULL; PyObject *var_s = NULL; struct Nuitka_FrameObject *frame_52603af83d42e5ab3900a2800331eb68; 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_52603af83d42e5ab3900a2800331eb68 = 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_52603af83d42e5ab3900a2800331eb68, codeobj_52603af83d42e5ab3900a2800331eb68, module_html5lib$serializer, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_52603af83d42e5ab3900a2800331eb68 = cache_frame_52603af83d42e5ab3900a2800331eb68; // Push the new frame as the currently active one. pushFrameStack( frame_52603af83d42e5ab3900a2800331eb68 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_52603af83d42e5ab3900a2800331eb68 ) == 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_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_treewalkers ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_treewalkers ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "treewalkers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooo"; 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_getTreeWalker ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_tree == 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", "tree" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_tree; frame_52603af83d42e5ab3900a2800331eb68->m_frame.f_lineno = 99; { 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 = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_walker == NULL ); var_walker = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_dircall_arg1_1; PyObject *tmp_mvar_value_2; PyObject *tmp_dircall_arg2_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_HTMLSerializer ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLSerializer ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLSerializer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = tmp_mvar_value_2; if ( par_serializer_opts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "serializer_opts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_serializer_opts; Py_INCREF( tmp_dircall_arg1_1 ); Py_INCREF( tmp_dircall_arg2_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_assign_source_2 = impl___internal__$$$function_7_complex_call_helper_star_dict( dir_call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_s == NULL ); var_s = tmp_assign_source_2; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; CHECK_OBJECT( var_s ); tmp_source_name_2 = var_s; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_render ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_walker == 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", "walker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = var_walker; if ( par_input == 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", "input" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_input; frame_52603af83d42e5ab3900a2800331eb68->m_frame.f_lineno = 101; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } 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 = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_encoding; frame_52603af83d42e5ab3900a2800331eb68->m_frame.f_lineno = 101; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_52603af83d42e5ab3900a2800331eb68 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_52603af83d42e5ab3900a2800331eb68 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_52603af83d42e5ab3900a2800331eb68 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_52603af83d42e5ab3900a2800331eb68, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_52603af83d42e5ab3900a2800331eb68->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_52603af83d42e5ab3900a2800331eb68, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_52603af83d42e5ab3900a2800331eb68, type_description_1, par_input, par_tree, par_encoding, par_serializer_opts, var_walker, var_s ); // Release cached frame. if ( frame_52603af83d42e5ab3900a2800331eb68 == cache_frame_52603af83d42e5ab3900a2800331eb68 ) { Py_DECREF( frame_52603af83d42e5ab3900a2800331eb68 ); } cache_frame_52603af83d42e5ab3900a2800331eb68 = NULL; assertFrameObject( frame_52603af83d42e5ab3900a2800331eb68 ); // 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$serializer$$$function_2_serialize ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_input ); par_input = NULL; } { Py_XDECREF( par_tree ); par_tree = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_serializer_opts ); par_serializer_opts = NULL; } { Py_XDECREF( var_walker ); var_walker = NULL; } { Py_XDECREF( var_s ); var_s = 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_input ); par_input = NULL; } { Py_XDECREF( par_tree ); par_tree = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_serializer_opts ); par_serializer_opts = NULL; } { Py_XDECREF( var_walker ); var_walker = NULL; } { Py_XDECREF( var_s ); var_s = 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$serializer$$$function_2_serialize ); 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$serializer$$$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_kwargs = python_pars[ 1 ]; PyObject *var_unexpected_args = NULL; PyObject *var_attr = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_b8616de2d353c55093a327431e69d92a; 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_b8616de2d353c55093a327431e69d92a = 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. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_b8616de2d353c55093a327431e69d92a, codeobj_b8616de2d353c55093a327431e69d92a, module_html5lib$serializer, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b8616de2d353c55093a327431e69d92a = cache_frame_b8616de2d353c55093a327431e69d92a; // Push the new frame as the currently active one. pushFrameStack( frame_b8616de2d353c55093a327431e69d92a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b8616de2d353c55093a327431e69d92a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_frozenset_arg_1; PyObject *tmp_right_name_1; PyObject *tmp_frozenset_arg_2; PyObject *tmp_source_name_1; CHECK_OBJECT( par_kwargs ); tmp_frozenset_arg_1 = par_kwargs; tmp_left_name_1 = PyFrozenSet_New( tmp_frozenset_arg_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_frozenset_arg_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_options ); if ( tmp_frozenset_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_1 = PyFrozenSet_New( tmp_frozenset_arg_2 ); Py_DECREF( tmp_frozenset_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_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 = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_unexpected_args == NULL ); var_unexpected_args = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_unexpected_args ); tmp_len_arg_1 = var_unexpected_args; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 215; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 215; type_description_1 = "oooo"; 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_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_value_name_1; PyObject *tmp_iter_arg_1; tmp_left_name_2 = const_str_digest_bd517be1a6775ddc2c1691fffb54b115; if ( var_unexpected_args == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "unexpected_args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 216; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = var_unexpected_args; tmp_value_name_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_value_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 216; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_2 = ITERATOR_NEXT( tmp_value_name_1 ); Py_DECREF( tmp_value_name_1 ); if ( tmp_right_name_2 == 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 = "oooo"; exception_lineno = 216; goto frame_exception_exit_1; } tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 216; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_b8616de2d353c55093a327431e69d92a->m_frame.f_lineno = 216; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 216; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = const_str_plain_quote_char; if ( par_kwargs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 217; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = par_kwargs; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 1 ) ? 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_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = Py_False; 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 = 218; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_use_best_quote_char, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 218; type_description_1 = "oooo"; goto frame_exception_exit_1; } } branch_no_2:; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_2; PyObject *tmp_source_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 = 219; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_options ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oooo"; 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 = "oooo"; exception_lineno = 219; 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 ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_attr; var_attr = tmp_assign_source_4; Py_INCREF( var_attr ); Py_XDECREF( old ); } } { PyObject *tmp_setattr_target_1; PyObject *tmp_setattr_attr_1; PyObject *tmp_setattr_value_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_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 = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_setattr_target_1 = par_self; CHECK_OBJECT( var_attr ); tmp_setattr_attr_1 = var_attr; if ( par_kwargs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_3 = par_kwargs; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_get ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_attr == 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", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_attr; 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 = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_getattr_target_1 = par_self; if ( var_attr == 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", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_getattr_attr_1 = var_attr; tmp_args_element_name_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } frame_b8616de2d353c55093a327431e69d92a->m_frame.f_lineno = 220; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_setattr_value_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_setattr_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_unused = BUILTIN_SETATTR( tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1 ); Py_DECREF( tmp_setattr_value_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oooo"; 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_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 = 221; 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_errors, 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 = 221; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = Py_False; 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 = 222; 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_strict, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 222; type_description_1 = "oooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_b8616de2d353c55093a327431e69d92a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b8616de2d353c55093a327431e69d92a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b8616de2d353c55093a327431e69d92a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b8616de2d353c55093a327431e69d92a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b8616de2d353c55093a327431e69d92a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b8616de2d353c55093a327431e69d92a, type_description_1, par_self, par_kwargs, var_unexpected_args, var_attr ); // Release cached frame. if ( frame_b8616de2d353c55093a327431e69d92a == cache_frame_b8616de2d353c55093a327431e69d92a ) { Py_DECREF( frame_b8616de2d353c55093a327431e69d92a ); } cache_frame_b8616de2d353c55093a327431e69d92a = NULL; assertFrameObject( frame_b8616de2d353c55093a327431e69d92a ); // 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$serializer$$$function_3___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_unexpected_args ); var_unexpected_args = NULL; } { Py_XDECREF( var_attr ); var_attr = 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_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_unexpected_args ); var_unexpected_args = NULL; } { Py_XDECREF( var_attr ); var_attr = 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$serializer$$$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$serializer$$$function_4_encode( 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_string = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_12ca190b99eb2c4a5bfb820b8194a0b1; 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_12ca190b99eb2c4a5bfb820b8194a0b1 = 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_12ca190b99eb2c4a5bfb820b8194a0b1, codeobj_12ca190b99eb2c4a5bfb820b8194a0b1, module_html5lib$serializer, sizeof(void *)+sizeof(void *) ); frame_12ca190b99eb2c4a5bfb820b8194a0b1 = cache_frame_12ca190b99eb2c4a5bfb820b8194a0b1; // Push the new frame as the currently active one. pushFrameStack( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_string ); tmp_isinstance_inst_1 = par_string; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_text_type ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_text_type ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "text_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 225; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; 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 = 225; type_description_1 = "oo"; 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 = 225; type_description_1 = "oo"; 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 225; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_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 = 226; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encoding ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 226; type_description_1 = "oo"; 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 = 226; type_description_1 = "oo"; 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:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; if ( par_string == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 227; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_string; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_1 = "oo"; 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 = 227; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_encoding ); 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 = 227; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_plain_htmlentityreplace; frame_12ca190b99eb2c4a5bfb820b8194a0b1->m_frame.f_lineno = 227; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( 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 = 227; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { if ( par_string == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 229; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = par_string; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_12ca190b99eb2c4a5bfb820b8194a0b1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_12ca190b99eb2c4a5bfb820b8194a0b1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_12ca190b99eb2c4a5bfb820b8194a0b1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_12ca190b99eb2c4a5bfb820b8194a0b1, type_description_1, par_self, par_string ); // Release cached frame. if ( frame_12ca190b99eb2c4a5bfb820b8194a0b1 == cache_frame_12ca190b99eb2c4a5bfb820b8194a0b1 ) { Py_DECREF( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); } cache_frame_12ca190b99eb2c4a5bfb820b8194a0b1 = NULL; assertFrameObject( frame_12ca190b99eb2c4a5bfb820b8194a0b1 ); // 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$serializer$$$function_4_encode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_string ); par_string = 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_string ); par_string = 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$serializer$$$function_4_encode ); 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$serializer$$$function_5_encodeStrict( 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_string = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_aa654545b650d2245e74c97c0df44114; 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_aa654545b650d2245e74c97c0df44114 = 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_aa654545b650d2245e74c97c0df44114, codeobj_aa654545b650d2245e74c97c0df44114, module_html5lib$serializer, sizeof(void *)+sizeof(void *) ); frame_aa654545b650d2245e74c97c0df44114 = cache_frame_aa654545b650d2245e74c97c0df44114; // Push the new frame as the currently active one. pushFrameStack( frame_aa654545b650d2245e74c97c0df44114 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_aa654545b650d2245e74c97c0df44114 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_string ); tmp_isinstance_inst_1 = par_string; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_text_type ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_text_type ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "text_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 232; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; 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 = 232; type_description_1 = "oo"; 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 = 232; type_description_1 = "oo"; 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 232; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_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 = 233; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encoding ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 233; type_description_1 = "oo"; 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 = 233; type_description_1 = "oo"; 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:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; if ( par_string == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 234; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_string; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 234; type_description_1 = "oo"; 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 = 234; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_encoding ); 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 = 234; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_plain_strict; frame_aa654545b650d2245e74c97c0df44114->m_frame.f_lineno = 234; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( 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 = 234; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { if ( par_string == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 236; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = par_string; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_aa654545b650d2245e74c97c0df44114 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_aa654545b650d2245e74c97c0df44114 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_aa654545b650d2245e74c97c0df44114 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_aa654545b650d2245e74c97c0df44114, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_aa654545b650d2245e74c97c0df44114->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_aa654545b650d2245e74c97c0df44114, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_aa654545b650d2245e74c97c0df44114, type_description_1, par_self, par_string ); // Release cached frame. if ( frame_aa654545b650d2245e74c97c0df44114 == cache_frame_aa654545b650d2245e74c97c0df44114 ) { Py_DECREF( frame_aa654545b650d2245e74c97c0df44114 ); } cache_frame_aa654545b650d2245e74c97c0df44114 = NULL; assertFrameObject( frame_aa654545b650d2245e74c97c0df44114 ); // 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$serializer$$$function_5_encodeStrict ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_string ); par_string = 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_string ); par_string = 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$serializer$$$function_5_encodeStrict ); 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$serializer$$$function_6_serialize( 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. struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] ); struct Nuitka_CellObject *par_treewalker = PyCell_NEW1( python_pars[ 1 ] ); struct Nuitka_CellObject *par_encoding = PyCell_NEW1( python_pars[ 2 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_encoding; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[2] = par_treewalker; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[2] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$serializer$$$function_6_serialize ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_treewalker ); Py_DECREF( par_treewalker ); par_treewalker = NULL; } { CHECK_OBJECT( (PyObject *)par_encoding ); Py_DECREF( par_encoding ); par_encoding = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_treewalker ); Py_DECREF( par_treewalker ); par_treewalker = NULL; } { CHECK_OBJECT( (PyObject *)par_encoding ); Py_DECREF( par_encoding ); par_encoding = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$serializer$$$function_6_serialize ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_locals { PyObject *var_in_cdata; PyObject *var_Filter; PyObject *var_token; PyObject *var_type; PyObject *var_doctype; PyObject *var_quote_char; PyObject *var_name; PyObject *var__; PyObject *var_attr_name; PyObject *var_attr_value; PyObject *var_k; PyObject *var_v; PyObject *var_quote_attr; PyObject *var_data; PyObject *var_key; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; PyObject *tmp_for_loop_2__for_iterator; PyObject *tmp_for_loop_2__iter_value; PyObject *tmp_tuple_unpack_1__element_1; PyObject *tmp_tuple_unpack_1__element_2; PyObject *tmp_tuple_unpack_1__source_iter; PyObject *tmp_tuple_unpack_2__element_1; PyObject *tmp_tuple_unpack_2__element_2; PyObject *tmp_tuple_unpack_2__source_iter; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; bool tmp_result; int tmp_res; char yield_tmps[1024]; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; int exception_keeper_lineno_7; }; static PyObject *html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_locals *generator_heap = (struct html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 17: goto yield_return_17; case 16: goto yield_return_16; case 15: goto yield_return_15; case 14: goto yield_return_14; case 13: goto yield_return_13; case 12: goto yield_return_12; case 11: goto yield_return_11; case 10: goto yield_return_10; case 9: goto yield_return_9; case 8: goto yield_return_8; case 7: goto yield_return_7; case 6: goto yield_return_6; case 5: goto yield_return_5; case 4: goto yield_return_4; case 3: goto yield_return_3; case 2: goto yield_return_2; case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_in_cdata = NULL; generator_heap->var_Filter = NULL; generator_heap->var_token = NULL; generator_heap->var_type = NULL; generator_heap->var_doctype = NULL; generator_heap->var_quote_char = NULL; generator_heap->var_name = NULL; generator_heap->var__ = NULL; generator_heap->var_attr_name = NULL; generator_heap->var_attr_value = NULL; generator_heap->var_k = NULL; generator_heap->var_v = NULL; generator_heap->var_quote_attr = NULL; generator_heap->var_data = NULL; generator_heap->var_key = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = NULL; generator_heap->tmp_for_loop_2__for_iterator = NULL; generator_heap->tmp_for_loop_2__iter_value = NULL; generator_heap->tmp_tuple_unpack_1__element_1 = NULL; generator_heap->tmp_tuple_unpack_1__element_2 = NULL; generator_heap->tmp_tuple_unpack_1__source_iter = NULL; generator_heap->tmp_tuple_unpack_2__element_1 = NULL; generator_heap->tmp_tuple_unpack_2__element_2 = NULL; generator_heap->tmp_tuple_unpack_2__source_iter = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_2806d4ce90cd1ce99678659655c55e97, module_html5lib$serializer, 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 *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "encoding" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 240; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = PyCell_GET( generator->m_closure[0] ); if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 240; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = PyCell_GET( generator->m_closure[1] ); generator_heap->tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_encoding, tmp_assattr_name_1 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 240; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_False; assert( generator_heap->var_in_cdata == NULL ); Py_INCREF( tmp_assign_source_1 ); generator_heap->var_in_cdata = tmp_assign_source_1; } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = PyList_New( 0 ); if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { Py_DECREF( tmp_assattr_name_2 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 242; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = PyCell_GET( generator->m_closure[1] ); generator_heap->tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_errors, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 242; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } } { 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; int tmp_truth_name_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_2; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "encoding" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 244; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( PyCell_GET( generator->m_closure[0] ) ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 244; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? 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 ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 244; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inject_meta_charset ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 244; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_1 ); generator_heap->exception_lineno = 244; generator_heap->type_description_1 = "cccooooooooooooooo"; 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_1 ); 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_assign_source_2; PyObject *tmp_import_name_from_1; 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_digest_69d6e02e6b70c15a6b9c01a96f918cd7; tmp_globals_name_1 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_Filter_tuple; tmp_level_name_1 = const_int_pos_1; generator->m_frame->m_frame.f_lineno = 245; tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_import_name_from_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 245; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_1 ) ) { tmp_assign_source_2 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)MODULE_DICT(tmp_import_name_from_1), const_str_plain_Filter, const_int_pos_1 ); } else { tmp_assign_source_2 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_Filter ); } Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 245; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } assert( generator_heap->var_Filter == NULL ); generator_heap->var_Filter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( generator_heap->var_Filter ); tmp_called_name_1 = generator_heap->var_Filter; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 246; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( generator->m_closure[2] ); if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "encoding" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 246; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = PyCell_GET( generator->m_closure[0] ); generator->m_frame->m_frame.f_lineno = 246; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 246; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[2] ); PyCell_SET( generator->m_closure[2], tmp_assign_source_3 ); Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_2; PyObject *tmp_attribute_value_2; int tmp_truth_name_3; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 250; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_alphabetical_attributes ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 250; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_2 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_2 ); generator_heap->exception_lineno = 250; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_3 == 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_assign_source_4; PyObject *tmp_import_name_from_2; 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_digest_f1765c16264e9c89e9abd2de673f996b; tmp_globals_name_2 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_Filter_tuple; tmp_level_name_2 = const_int_pos_1; generator->m_frame->m_frame.f_lineno = 251; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 251; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_2 ) ) { tmp_assign_source_4 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)MODULE_DICT(tmp_import_name_from_2), const_str_plain_Filter, const_int_pos_1 ); } else { tmp_assign_source_4 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_Filter ); } Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 251; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_Filter; generator_heap->var_Filter = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( generator_heap->var_Filter ); tmp_called_name_2 = generator_heap->var_Filter; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 252; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = PyCell_GET( generator->m_closure[2] ); generator->m_frame->m_frame.f_lineno = 252; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 252; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[2] ); PyCell_SET( generator->m_closure[2], tmp_assign_source_5 ); Py_XDECREF( old ); } } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_source_name_3; PyObject *tmp_attribute_value_3; int tmp_truth_name_4; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 255; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_strip_whitespace ); if ( tmp_attribute_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 255; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_attribute_value_3 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_3 ); generator_heap->exception_lineno = 255; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_3 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_3; 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_digest_1c1036a1cf9efd79228b74dd5807c5b3; tmp_globals_name_3 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_Filter_tuple; tmp_level_name_3 = const_int_pos_1; generator->m_frame->m_frame.f_lineno = 256; tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_import_name_from_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 256; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_3 ) ) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)MODULE_DICT(tmp_import_name_from_3), const_str_plain_Filter, const_int_pos_1 ); } else { tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_Filter ); } Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 256; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_Filter; generator_heap->var_Filter = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_4; CHECK_OBJECT( generator_heap->var_Filter ); tmp_called_name_3 = generator_heap->var_Filter; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 257; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = PyCell_GET( generator->m_closure[2] ); generator->m_frame->m_frame.f_lineno = 257; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 257; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[2] ); PyCell_SET( generator->m_closure[2], tmp_assign_source_7 ); Py_XDECREF( old ); } } branch_no_3:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_source_name_4; PyObject *tmp_attribute_value_4; int tmp_truth_name_5; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 258; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_sanitize ); if ( tmp_attribute_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 258; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_5 = CHECK_IF_TRUE( tmp_attribute_value_4 ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_4 ); generator_heap->exception_lineno = 258; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_4 ); if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_8; 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_digest_9b858f6e408f00089a6857022cdf383e; tmp_globals_name_4 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain_Filter_tuple; tmp_level_name_4 = const_int_pos_1; generator->m_frame->m_frame.f_lineno = 259; 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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 259; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_4 ) ) { tmp_assign_source_8 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)MODULE_DICT(tmp_import_name_from_4), const_str_plain_Filter, const_int_pos_1 ); } else { tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_Filter ); } Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 259; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_Filter; generator_heap->var_Filter = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT( generator_heap->var_Filter ); tmp_called_name_4 = generator_heap->var_Filter; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 260; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = PyCell_GET( generator->m_closure[2] ); generator->m_frame->m_frame.f_lineno = 260; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 260; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[2] ); PyCell_SET( generator->m_closure[2], tmp_assign_source_9 ); Py_XDECREF( old ); } } branch_no_4:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_5; int tmp_truth_name_6; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 261; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_omit_optional_tags ); if ( tmp_attribute_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 261; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_6 = CHECK_IF_TRUE( tmp_attribute_value_5 ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_5 ); generator_heap->exception_lineno = 261; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_5 ); if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_assign_source_10; 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_digest_3a29b48c0513c8e830e5ce7dd9392fcd; tmp_globals_name_5 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_str_plain_Filter_tuple; tmp_level_name_5 = const_int_pos_1; generator->m_frame->m_frame.f_lineno = 262; 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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 262; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_5 ) ) { tmp_assign_source_10 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)MODULE_DICT(tmp_import_name_from_5), const_str_plain_Filter, const_int_pos_1 ); } else { tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_Filter ); } Py_DECREF( tmp_import_name_from_5 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 262; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_Filter; generator_heap->var_Filter = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_6; CHECK_OBJECT( generator_heap->var_Filter ); tmp_called_name_5 = generator_heap->var_Filter; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 263; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = PyCell_GET( generator->m_closure[2] ); generator->m_frame->m_frame.f_lineno = 263; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 263; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[2] ); PyCell_SET( generator->m_closure[2], tmp_assign_source_11 ); Py_XDECREF( old ); } } branch_no_5:; } { PyObject *tmp_assign_source_12; PyObject *tmp_iter_arg_1; if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "treewalker" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 265; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = PyCell_GET( generator->m_closure[2] ); tmp_assign_source_12 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 265; generator_heap->type_description_1 = "cccooooooooooooooo"; goto frame_exception_exit_1; } assert( generator_heap->tmp_for_loop_1__for_iterator == NULL ); generator_heap->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( generator_heap->tmp_for_loop_1__for_iterator ); tmp_next_source_1 = generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 265; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_for_loop_1__iter_value; generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_14; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_14 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_token; generator_heap->var_token = tmp_assign_source_14; Py_INCREF( generator_heap->var_token ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_15; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( generator_heap->var_token ); tmp_subscribed_name_1 = generator_heap->var_token; tmp_subscript_name_1 = const_str_plain_type; tmp_assign_source_15 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 266; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_type; generator_heap->var_type = tmp_assign_source_15; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( generator_heap->var_type ); tmp_compexpr_left_1 = generator_heap->var_type; tmp_compexpr_right_1 = const_str_plain_Doctype; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 267; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_6 = ( generator_heap->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_16; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; tmp_left_name_1 = const_str_digest_de70a11ef971409076aa426e223c5dfd; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 268; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = generator_heap->var_token; tmp_subscript_name_2 = const_str_plain_name; tmp_right_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 268; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_16 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 268; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_doctype; generator_heap->var_doctype = tmp_assign_source_16; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_subscript_result_1; int tmp_truth_name_7; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 270; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_3 = generator_heap->var_token; tmp_subscript_name_3 = const_str_plain_publicId; tmp_subscript_result_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_subscript_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 270; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_7 = CHECK_IF_TRUE( tmp_subscript_result_1 ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_subscript_result_1 ); generator_heap->exception_lineno = 270; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_7 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_subscript_result_1 ); if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_17; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; if ( generator_heap->var_doctype == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doctype" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 271; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_2 = generator_heap->var_doctype; tmp_left_name_3 = const_str_digest_6e71b18f4f00a0af73d97ee880b369b1; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 271; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_4 = generator_heap->var_token; tmp_subscript_name_4 = const_str_plain_publicId; tmp_right_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 271; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 271; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_17 = tmp_left_name_2; Py_DECREF( tmp_right_name_2 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 271; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->var_doctype = tmp_assign_source_17; } goto branch_end_7; branch_no_7:; { nuitka_bool tmp_condition_result_8; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_subscript_result_2; int tmp_truth_name_8; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 272; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_5 = generator_heap->var_token; tmp_subscript_name_5 = const_str_plain_systemId; tmp_subscript_result_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_5, tmp_subscript_name_5 ); if ( tmp_subscript_result_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 272; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_8 = CHECK_IF_TRUE( tmp_subscript_result_2 ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_subscript_result_2 ); generator_heap->exception_lineno = 272; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_8 = tmp_truth_name_8 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_subscript_result_2 ); 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; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if ( generator_heap->var_doctype == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doctype" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 273; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_4 = generator_heap->var_doctype; tmp_right_name_4 = const_str_digest_de233d91e595275787e1e2553b7d534e; generator_heap->tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_4, tmp_right_name_4 ); tmp_assign_source_18 = tmp_left_name_4; if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 273; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->var_doctype = tmp_assign_source_18; } branch_no_8:; } branch_end_7:; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_subscript_result_3; int tmp_truth_name_9; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 274; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_6 = generator_heap->var_token; tmp_subscript_name_6 = const_str_plain_systemId; tmp_subscript_result_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 ); if ( tmp_subscript_result_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 274; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_9 = CHECK_IF_TRUE( tmp_subscript_result_3 ); if ( tmp_truth_name_9 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_subscript_result_3 ); generator_heap->exception_lineno = 274; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_9 = tmp_truth_name_9 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_subscript_result_3 ); if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_called_instance_1; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 275; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_7 = generator_heap->var_token; tmp_subscript_name_7 = const_str_plain_systemId; tmp_called_instance_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_7, tmp_subscript_name_7 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 275; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 275; tmp_compexpr_left_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_34_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 275; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_2 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 275; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_10 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_called_instance_2; PyObject *tmp_subscribed_name_8; PyObject *tmp_subscript_name_8; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 276; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_8 = generator_heap->var_token; tmp_subscript_name_8 = const_str_plain_systemId; tmp_called_instance_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_8, tmp_subscript_name_8 ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 276; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 276; tmp_compexpr_left_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_39_tuple, 0 ) ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 276; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_3 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 276; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_11 = ( generator_heap->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_called_instance_3; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 277; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_3 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 277; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_serializeError, &PyTuple_GET_ITEM( const_tuple_str_digest_3c80e4986274551c0c6392fccb31e449_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 277; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_11:; } { PyObject *tmp_assign_source_19; tmp_assign_source_19 = const_str_chr_39; { PyObject *old = generator_heap->var_quote_char; generator_heap->var_quote_char = tmp_assign_source_19; Py_INCREF( generator_heap->var_quote_char ); Py_XDECREF( old ); } } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = const_str_chr_34; { PyObject *old = generator_heap->var_quote_char; generator_heap->var_quote_char = tmp_assign_source_20; Py_INCREF( generator_heap->var_quote_char ); Py_XDECREF( old ); } } branch_end_10:; } { PyObject *tmp_assign_source_21; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_9; PyObject *tmp_subscript_name_9; if ( generator_heap->var_doctype == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doctype" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_5 = generator_heap->var_doctype; tmp_left_name_6 = const_str_digest_289cda406035f86f49222ab90986fefb; CHECK_OBJECT( generator_heap->var_quote_char ); tmp_tuple_element_1 = generator_heap->var_quote_char; tmp_right_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_1 ); if ( generator_heap->var_token == NULL ) { Py_DECREF( tmp_right_name_6 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_9 = generator_heap->var_token; tmp_subscript_name_9 = const_str_plain_systemId; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_9, tmp_subscript_name_9 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_right_name_6 ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_1 ); if ( generator_heap->var_quote_char == NULL ) { Py_DECREF( tmp_right_name_6 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quote_char" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_quote_char; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_6, 2, tmp_tuple_element_1 ); tmp_right_name_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_right_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_5, tmp_right_name_5 ); tmp_assign_source_21 = tmp_left_name_5; Py_DECREF( tmp_right_name_5 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 281; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->var_doctype = tmp_assign_source_21; } branch_no_9:; } { PyObject *tmp_assign_source_22; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; if ( generator_heap->var_doctype == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doctype" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 283; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_7 = generator_heap->var_doctype; tmp_right_name_7 = const_str_chr_62; generator_heap->tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_7, tmp_right_name_7 ); tmp_assign_source_22 = tmp_left_name_7; if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 283; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->var_doctype = tmp_assign_source_22; } { PyObject *tmp_expression_name_1; PyObject *tmp_called_name_6; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_7; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 284; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_6 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_encodeStrict ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 284; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } if ( generator_heap->var_doctype == NULL ) { Py_DECREF( tmp_called_name_6 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doctype" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 284; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = generator_heap->var_doctype; generator->m_frame->m_frame.f_lineno = 284; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_expression_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_expression_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 284; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_called_name_6, sizeof(PyObject *), &tmp_source_name_6, sizeof(PyObject *), &tmp_args_element_name_7, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_called_name_6, sizeof(PyObject *), &tmp_source_name_6, sizeof(PyObject *), &tmp_args_element_name_7, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 284; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_6; branch_no_6:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 286; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_4 = generator_heap->var_type; tmp_compexpr_right_4 = const_tuple_str_plain_Characters_str_plain_SpaceCharacters_tuple; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 286; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_12 = ( generator_heap->tmp_res == 1 ) ? 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:; { nuitka_bool tmp_condition_result_13; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; int tmp_truth_name_10; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 287; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_5 = generator_heap->var_type; tmp_compexpr_right_5 = const_str_plain_SpaceCharacters; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 287; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_or_left_value_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; 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 ( generator_heap->var_in_cdata == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_cdata" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 287; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_10 = CHECK_IF_TRUE( generator_heap->var_in_cdata ); if ( tmp_truth_name_10 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 287; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_or_right_value_1 = tmp_truth_name_10 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_13 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_13 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { nuitka_bool tmp_condition_result_14; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; int tmp_truth_name_11; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_called_instance_4; PyObject *tmp_subscribed_name_10; PyObject *tmp_subscript_name_10; if ( generator_heap->var_in_cdata == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_cdata" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_11 = CHECK_IF_TRUE( generator_heap->var_in_cdata ); if ( tmp_truth_name_11 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_left_value_2 = tmp_truth_name_11 == 1 ? 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 ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_10 = generator_heap->var_token; tmp_subscript_name_10 = const_str_plain_data; tmp_called_instance_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_10, tmp_subscript_name_10 ); if ( tmp_called_instance_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 288; tmp_compexpr_left_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_digest_9e22f855d491619d56677fec5533ea95_tuple, 0 ) ); Py_DECREF( tmp_called_instance_4 ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_6 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); Py_DECREF( tmp_compexpr_left_6 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 288; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_right_value_2 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_14 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_14 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_called_instance_5; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 289; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_5 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 289; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_serializeError, &PyTuple_GET_ITEM( const_tuple_str_digest_e9243d32c7c6bcb963ee0c2ceecfb8eb_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 289; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_14:; } { PyObject *tmp_expression_name_2; PyObject *tmp_called_name_7; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_subscribed_name_11; PyObject *tmp_subscript_name_11; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_7 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_encode ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } if ( generator_heap->var_token == NULL ) { Py_DECREF( tmp_called_name_7 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_11 = generator_heap->var_token; tmp_subscript_name_11 = const_str_plain_data; tmp_args_element_name_8 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_11, tmp_subscript_name_11 ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_7 ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 290; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_expression_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_8 ); if ( tmp_expression_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(nuitka_bool), &tmp_or_right_value_1, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_truth_name_10, sizeof(int), &tmp_called_name_7, sizeof(PyObject *), &tmp_source_name_7, sizeof(PyObject *), &tmp_args_element_name_8, sizeof(PyObject *), &tmp_subscribed_name_11, sizeof(PyObject *), &tmp_subscript_name_11, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 2; return tmp_expression_name_2; yield_return_2: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(nuitka_bool), &tmp_or_right_value_1, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_truth_name_10, sizeof(int), &tmp_called_name_7, sizeof(PyObject *), &tmp_source_name_7, sizeof(PyObject *), &tmp_args_element_name_8, sizeof(PyObject *), &tmp_subscribed_name_11, sizeof(PyObject *), &tmp_subscript_name_11, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 290; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_13; branch_no_13:; { PyObject *tmp_expression_name_3; PyObject *tmp_called_name_8; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_called_name_9; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_10; PyObject *tmp_subscribed_name_12; PyObject *tmp_subscript_name_12; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_8 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_encode ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_escape ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_escape ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_8 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "escape" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_name_9 = tmp_mvar_value_1; if ( generator_heap->var_token == NULL ) { Py_DECREF( tmp_called_name_8 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_12 = generator_heap->var_token; tmp_subscript_name_12 = const_str_plain_data; tmp_args_element_name_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_12, tmp_subscript_name_12 ); if ( tmp_args_element_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_8 ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 292; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_args_element_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_args_element_name_10 ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_8 ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 292; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_expression_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_expression_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(nuitka_bool), &tmp_or_right_value_1, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_truth_name_10, sizeof(int), &tmp_called_name_8, sizeof(PyObject *), &tmp_source_name_8, sizeof(PyObject *), &tmp_args_element_name_9, sizeof(PyObject *), &tmp_called_name_9, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_args_element_name_10, sizeof(PyObject *), &tmp_subscribed_name_12, sizeof(PyObject *), &tmp_subscript_name_12, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 3; return tmp_expression_name_3; yield_return_3: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(nuitka_bool), &tmp_or_right_value_1, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_truth_name_10, sizeof(int), &tmp_called_name_8, sizeof(PyObject *), &tmp_source_name_8, sizeof(PyObject *), &tmp_args_element_name_9, sizeof(PyObject *), &tmp_called_name_9, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_args_element_name_10, sizeof(PyObject *), &tmp_subscribed_name_12, sizeof(PyObject *), &tmp_subscript_name_12, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 292; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } branch_end_13:; } goto branch_end_12; branch_no_12:; { nuitka_bool tmp_condition_result_15; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 294; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_7 = generator_heap->var_type; tmp_compexpr_right_7 = const_tuple_str_plain_StartTag_str_plain_EmptyTag_tuple; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_7, tmp_compexpr_left_7 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 294; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_15 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_assign_source_23; PyObject *tmp_subscribed_name_13; PyObject *tmp_subscript_name_13; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 295; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_13 = generator_heap->var_token; tmp_subscript_name_13 = const_str_plain_name; tmp_assign_source_23 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_13, tmp_subscript_name_13 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 295; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_name; generator_heap->var_name = tmp_assign_source_23; Py_XDECREF( old ); } } { PyObject *tmp_expression_name_4; PyObject *tmp_called_name_10; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_11; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_9 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_encodeStrict ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_8 = const_str_digest_19aff41d8ac585724335bfceaca74bdf; if ( generator_heap->var_name == NULL ) { Py_DECREF( tmp_called_name_10 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_8 = generator_heap->var_name; tmp_args_element_name_11 = BINARY_OPERATION_REMAINDER( tmp_left_name_8, tmp_right_name_8 ); if ( tmp_args_element_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_10 ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 296; { PyObject *call_args[] = { tmp_args_element_name_11 }; tmp_expression_name_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_11 ); if ( tmp_expression_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_name_10, sizeof(PyObject *), &tmp_source_name_9, sizeof(PyObject *), &tmp_args_element_name_11, sizeof(PyObject *), &tmp_left_name_8, sizeof(PyObject *), &tmp_right_name_8, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 4; return tmp_expression_name_4; yield_return_4: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_name_10, sizeof(PyObject *), &tmp_source_name_9, sizeof(PyObject *), &tmp_args_element_name_11, sizeof(PyObject *), &tmp_left_name_8, sizeof(PyObject *), &tmp_right_name_8, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 296; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } { nuitka_bool tmp_condition_result_16; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; PyObject *tmp_mvar_value_2; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_10; if ( generator_heap->var_name == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_8 = generator_heap->var_name; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_rcdataElements ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_rcdataElements ); } if ( tmp_mvar_value_2 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "rcdataElements" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_8 = tmp_mvar_value_2; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_8, tmp_compexpr_left_8 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_left_value_3 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_3 == 1 ) { goto and_right_3; } else { goto and_left_3; } and_right_3:; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_10 = PyCell_GET( generator->m_closure[1] ); tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_escape_rcdata ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 297; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_right_value_3 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_16 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_16 = tmp_and_left_value_3; and_end_3:; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { PyObject *tmp_assign_source_24; tmp_assign_source_24 = Py_True; { PyObject *old = generator_heap->var_in_cdata; generator_heap->var_in_cdata = tmp_assign_source_24; Py_INCREF( generator_heap->var_in_cdata ); Py_XDECREF( old ); } } goto branch_end_16; branch_no_16:; { nuitka_bool tmp_condition_result_17; int tmp_truth_name_12; if ( generator_heap->var_in_cdata == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_cdata" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 299; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_12 = CHECK_IF_TRUE( generator_heap->var_in_cdata ); if ( tmp_truth_name_12 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 299; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_17 = tmp_truth_name_12 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { PyObject *tmp_called_instance_6; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 300; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_6 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 300; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_serializeError, &PyTuple_GET_ITEM( const_tuple_str_digest_81bc30b4e62844a6e7deac82a881dc7d_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 300; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_17:; } branch_end_16:; } { PyObject *tmp_assign_source_25; PyObject *tmp_iter_arg_2; PyObject *tmp_called_instance_7; PyObject *tmp_subscribed_name_14; PyObject *tmp_subscript_name_14; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_14 = generator_heap->var_token; tmp_subscript_name_14 = const_str_plain_data; tmp_called_instance_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_14, tmp_subscript_name_14 ); if ( tmp_called_instance_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 301; tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_items ); Py_DECREF( tmp_called_instance_7 ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_25 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->tmp_for_loop_2__for_iterator; generator_heap->tmp_for_loop_2__for_iterator = tmp_assign_source_25; Py_XDECREF( old ); } } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_26; CHECK_OBJECT( generator_heap->tmp_for_loop_2__for_iterator ); tmp_next_source_2 = generator_heap->tmp_for_loop_2__for_iterator; tmp_assign_source_26 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_26 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_3; } } { PyObject *old = generator_heap->tmp_for_loop_2__iter_value; generator_heap->tmp_for_loop_2__iter_value = tmp_assign_source_26; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_27; PyObject *tmp_iter_arg_3; CHECK_OBJECT( generator_heap->tmp_for_loop_2__iter_value ); tmp_iter_arg_3 = generator_heap->tmp_for_loop_2__iter_value; tmp_assign_source_27 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter; generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_27; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_28; PyObject *tmp_unpack_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_28 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_28 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_5; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1; generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_28; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_29; PyObject *tmp_unpack_2; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_29 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_29 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_5; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2; generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_29; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = generator_heap->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 ) ); generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_5; } } } else { Py_DECREF( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_5; } } goto try_end_1; // Exception handler code: try_except_handler_5:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_4; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { // Tried code: { PyObject *tmp_assign_source_30; PyObject *tmp_iter_arg_4; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_1 ); tmp_iter_arg_4 = generator_heap->tmp_tuple_unpack_1__element_1; tmp_assign_source_30 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_6; } { PyObject *old = generator_heap->tmp_tuple_unpack_2__source_iter; generator_heap->tmp_tuple_unpack_2__source_iter = tmp_assign_source_30; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_31; PyObject *tmp_unpack_3; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = generator_heap->tmp_tuple_unpack_2__source_iter; tmp_assign_source_31 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_31 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_7; } { PyObject *old = generator_heap->tmp_tuple_unpack_2__element_1; generator_heap->tmp_tuple_unpack_2__element_1 = tmp_assign_source_31; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_32; PyObject *tmp_unpack_4; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = generator_heap->tmp_tuple_unpack_2__source_iter; tmp_assign_source_32 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_32 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_7; } { PyObject *old = generator_heap->tmp_tuple_unpack_2__element_2; generator_heap->tmp_tuple_unpack_2__element_2 = tmp_assign_source_32; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = generator_heap->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 ) ); generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_7; } } } else { Py_DECREF( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; generator_heap->exception_lineno = 301; goto try_except_handler_7; } } goto try_end_2; // Exception handler code: try_except_handler_7:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_2__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_2__source_iter ); generator_heap->tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto try_except_handler_6; } // End of try: try_end_2:; } goto try_end_3; // Exception handler code: try_except_handler_6:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_1 ); generator_heap->tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_2 ); generator_heap->tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto try_except_handler_3; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_2__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_2__source_iter ); generator_heap->tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_33; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__element_1 ); tmp_assign_source_33 = generator_heap->tmp_tuple_unpack_2__element_1; { PyObject *old = generator_heap->var__; generator_heap->var__ = tmp_assign_source_33; Py_INCREF( generator_heap->var__ ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_1 ); generator_heap->tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_34; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__element_2 ); tmp_assign_source_34 = generator_heap->tmp_tuple_unpack_2__element_2; { PyObject *old = generator_heap->var_attr_name; generator_heap->var_attr_name = tmp_assign_source_34; Py_INCREF( generator_heap->var_attr_name ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_2 ); generator_heap->tmp_tuple_unpack_2__element_2 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_35; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_2 ); tmp_assign_source_35 = generator_heap->tmp_tuple_unpack_1__element_2; { PyObject *old = generator_heap->var_attr_value; generator_heap->var_attr_value = tmp_assign_source_35; Py_INCREF( generator_heap->var_attr_value ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_36; if ( generator_heap->var_attr_name == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 303; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_assign_source_36 = generator_heap->var_attr_name; { PyObject *old = generator_heap->var_k; generator_heap->var_k = tmp_assign_source_36; Py_INCREF( generator_heap->var_k ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_37; if ( generator_heap->var_attr_value == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr_value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 304; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_assign_source_37 = generator_heap->var_attr_value; { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_37; Py_INCREF( generator_heap->var_v ); Py_XDECREF( old ); } } { PyObject *tmp_expression_name_5; PyObject *tmp_called_instance_8; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 305; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_8 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 305; tmp_expression_name_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_8, const_str_plain_encodeStrict, &PyTuple_GET_ITEM( const_tuple_str_space_tuple, 0 ) ); if ( tmp_expression_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 305; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_instance_8, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 5; return tmp_expression_name_5; yield_return_5: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_instance_8, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 305; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } { PyObject *tmp_expression_name_6; PyObject *tmp_called_name_11; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_12; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 307; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_11 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_encodeStrict ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 307; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_k == NULL ) { Py_DECREF( tmp_called_name_11 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 307; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_12 = generator_heap->var_k; generator->m_frame->m_frame.f_lineno = 307; { PyObject *call_args[] = { tmp_args_element_name_12 }; tmp_expression_name_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); if ( tmp_expression_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 307; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_name_11, sizeof(PyObject *), &tmp_source_name_11, sizeof(PyObject *), &tmp_args_element_name_12, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 6; return tmp_expression_name_6; yield_return_6: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_name_11, sizeof(PyObject *), &tmp_source_name_11, sizeof(PyObject *), &tmp_args_element_name_12, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 307; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } { nuitka_bool tmp_condition_result_18; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_12; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; PyObject *tmp_called_name_12; PyObject *tmp_source_name_13; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; PyObject *tmp_called_instance_9; PyObject *tmp_mvar_value_4; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 308; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_12 = PyCell_GET( generator->m_closure[1] ); tmp_operand_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_minimize_boolean_attributes ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 308; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 308; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_or_left_value_2 = ( generator_heap->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 ( generator_heap->var_k == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_left_9 = generator_heap->var_k; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_booleanAttributes ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_booleanAttributes ); } if ( tmp_mvar_value_3 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "booleanAttributes" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_13 = tmp_mvar_value_3; tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_get ); if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_name == NULL ) { Py_DECREF( tmp_called_name_12 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_13 = generator_heap->var_name; tmp_args_element_name_14 = const_tuple_empty; generator->m_frame->m_frame.f_lineno = 309; { PyObject *call_args[] = { tmp_args_element_name_13, tmp_args_element_name_14 }; tmp_compexpr_right_9 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_12, call_args ); } Py_DECREF( tmp_called_name_12 ); if ( tmp_compexpr_right_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_9, tmp_compexpr_left_9 ); Py_DECREF( tmp_compexpr_right_9 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 309; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_left_value_4 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_4 == 1 ) { goto and_right_4; } else { goto and_left_4; } and_right_4:; if ( generator_heap->var_k == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 310; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_left_10 = generator_heap->var_k; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_booleanAttributes ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_booleanAttributes ); } if ( tmp_mvar_value_4 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "booleanAttributes" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 310; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_9 = tmp_mvar_value_4; generator->m_frame->m_frame.f_lineno = 310; tmp_compexpr_right_10 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_9, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_empty_tuple_empty_tuple, 0 ) ); if ( tmp_compexpr_right_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 310; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_10, tmp_compexpr_left_10 ); Py_DECREF( tmp_compexpr_right_10 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 310; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_right_value_4 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_right_value_2 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_or_right_value_2 = tmp_and_left_value_4; and_end_4:; tmp_condition_result_18 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_condition_result_18 = tmp_or_left_value_2; or_end_2:; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_expression_name_7; PyObject *tmp_called_instance_10; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 311; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_10 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 311; tmp_expression_name_7 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_10, const_str_plain_encodeStrict, &PyTuple_GET_ITEM( const_tuple_str_chr_61_tuple, 0 ) ); if ( tmp_expression_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 311; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_called_instance_10, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 7; return tmp_expression_name_7; yield_return_7: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_called_instance_10, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 311; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } { nuitka_bool tmp_condition_result_19; int tmp_or_left_truth_3; nuitka_bool tmp_or_left_value_3; nuitka_bool tmp_or_right_value_3; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; PyObject *tmp_source_name_14; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; PyObject *tmp_len_arg_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_14 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_left_11 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_quote_attr_values ); if ( tmp_compexpr_left_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_11 = const_str_plain_always; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_11, tmp_compexpr_right_11 ); Py_DECREF( tmp_compexpr_left_11 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_or_left_value_3 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_3 = tmp_or_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_3 == 1 ) { goto or_left_3; } else { goto or_right_3; } or_right_3:; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_len_arg_1 = generator_heap->var_v; tmp_compexpr_left_12 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_12 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_12, tmp_compexpr_right_12 ); Py_DECREF( tmp_compexpr_left_12 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 312; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_or_right_value_3 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_19 = tmp_or_right_value_3; goto or_end_3; or_left_3:; tmp_condition_result_19 = tmp_or_left_value_3; or_end_3:; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { PyObject *tmp_assign_source_38; tmp_assign_source_38 = Py_True; { PyObject *old = generator_heap->var_quote_attr; generator_heap->var_quote_attr = tmp_assign_source_38; Py_INCREF( generator_heap->var_quote_attr ); Py_XDECREF( old ); } } goto branch_end_19; branch_no_19:; { nuitka_bool tmp_condition_result_20; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; PyObject *tmp_source_name_15; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 314; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_15 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_left_13 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_quote_attr_values ); if ( tmp_compexpr_left_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 314; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_13 = const_str_plain_spec; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_13, tmp_compexpr_right_13 ); Py_DECREF( tmp_compexpr_left_13 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 314; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_20 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { PyObject *tmp_assign_source_39; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; PyObject *tmp_called_name_13; PyObject *tmp_source_name_16; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_15; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpec ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpec ); } if ( tmp_mvar_value_5 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_quoteAttributeSpec" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 315; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_16 = tmp_mvar_value_5; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_search ); if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 315; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_v == NULL ) { Py_DECREF( tmp_called_name_13 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 315; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_15 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 315; { PyObject *call_args[] = { tmp_args_element_name_15 }; tmp_compexpr_left_14 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args ); } Py_DECREF( tmp_called_name_13 ); if ( tmp_compexpr_left_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 315; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_14 = Py_None; tmp_assign_source_39 = ( tmp_compexpr_left_14 != tmp_compexpr_right_14 ) ? Py_True : Py_False; Py_DECREF( tmp_compexpr_left_14 ); { PyObject *old = generator_heap->var_quote_attr; generator_heap->var_quote_attr = tmp_assign_source_39; Py_INCREF( generator_heap->var_quote_attr ); Py_XDECREF( old ); } } goto branch_end_20; branch_no_20:; { nuitka_bool tmp_condition_result_21; PyObject *tmp_compexpr_left_15; PyObject *tmp_compexpr_right_15; PyObject *tmp_source_name_17; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 316; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_17 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_left_15 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_quote_attr_values ); if ( tmp_compexpr_left_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 316; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_15 = const_str_plain_legacy; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_15, tmp_compexpr_right_15 ); Py_DECREF( tmp_compexpr_left_15 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 316; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_21 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { PyObject *tmp_assign_source_40; PyObject *tmp_compexpr_left_16; PyObject *tmp_compexpr_right_16; PyObject *tmp_called_name_14; PyObject *tmp_source_name_18; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_16; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeLegacy ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__quoteAttributeLegacy ); } if ( tmp_mvar_value_6 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_quoteAttributeLegacy" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 317; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_18 = tmp_mvar_value_6; tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_search ); if ( tmp_called_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 317; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_v == NULL ) { Py_DECREF( tmp_called_name_14 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 317; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_16 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 317; { PyObject *call_args[] = { tmp_args_element_name_16 }; tmp_compexpr_left_16 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args ); } Py_DECREF( tmp_called_name_14 ); if ( tmp_compexpr_left_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 317; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_16 = Py_None; tmp_assign_source_40 = ( tmp_compexpr_left_16 != tmp_compexpr_right_16 ) ? Py_True : Py_False; Py_DECREF( tmp_compexpr_left_16 ); { PyObject *old = generator_heap->var_quote_attr; generator_heap->var_quote_attr = tmp_assign_source_40; Py_INCREF( generator_heap->var_quote_attr ); Py_XDECREF( old ); } } goto branch_end_21; branch_no_21:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_cae40bec1d8e4a2ab96611b9f5b1ebd9; generator->m_frame->m_frame.f_lineno = 319; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); generator_heap->exception_type = tmp_raise_type_1; generator_heap->exception_lineno = 319; RAISE_EXCEPTION_WITH_TYPE( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } branch_end_21:; } branch_end_20:; } branch_end_19:; } { PyObject *tmp_assign_source_41; PyObject *tmp_called_instance_11; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 321; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_11 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 321; tmp_assign_source_41 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_11, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_38_str_digest_945228044f484d0c86a3cdf3a6e4cbbd_tuple, 0 ) ); if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 321; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_41; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_22; PyObject *tmp_source_name_19; PyObject *tmp_attribute_value_6; int tmp_truth_name_13; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 322; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_19 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_6 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_escape_lt_in_attrs ); if ( tmp_attribute_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 322; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_truth_name_13 = CHECK_IF_TRUE( tmp_attribute_value_6 ); if ( tmp_truth_name_13 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_6 ); generator_heap->exception_lineno = 322; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_22 = tmp_truth_name_13 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_6 ); if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { PyObject *tmp_assign_source_42; PyObject *tmp_called_instance_12; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 323; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_12 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 323; tmp_assign_source_42 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_12, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_60_str_digest_25fd5ead3f086addba74ff5e559ee564_tuple, 0 ) ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 323; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_42; Py_XDECREF( old ); } } branch_no_22:; } { nuitka_bool tmp_condition_result_23; int tmp_truth_name_14; if ( generator_heap->var_quote_attr == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quote_attr" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 324; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_truth_name_14 = CHECK_IF_TRUE( generator_heap->var_quote_attr ); if ( tmp_truth_name_14 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 324; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_23 = tmp_truth_name_14 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { PyObject *tmp_assign_source_43; PyObject *tmp_source_name_20; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 325; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_20 = PyCell_GET( generator->m_closure[1] ); tmp_assign_source_43 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_quote_char ); if ( tmp_assign_source_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 325; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_quote_char; generator_heap->var_quote_char = tmp_assign_source_43; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_24; PyObject *tmp_source_name_21; PyObject *tmp_attribute_value_7; int tmp_truth_name_15; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 326; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_21 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_7 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_use_best_quote_char ); if ( tmp_attribute_value_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 326; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_truth_name_15 = CHECK_IF_TRUE( tmp_attribute_value_7 ); if ( tmp_truth_name_15 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_7 ); generator_heap->exception_lineno = 326; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_24 = tmp_truth_name_15 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_7 ); if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { nuitka_bool tmp_condition_result_25; int tmp_and_left_truth_5; nuitka_bool tmp_and_left_value_5; nuitka_bool tmp_and_right_value_5; PyObject *tmp_compexpr_left_17; PyObject *tmp_compexpr_right_17; PyObject *tmp_compexpr_left_18; PyObject *tmp_compexpr_right_18; tmp_compexpr_left_17 = const_str_chr_39; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 327; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_17 = generator_heap->var_v; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_17, tmp_compexpr_left_17 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 327; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_left_value_5 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_5 = tmp_and_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_5 == 1 ) { goto and_right_5; } else { goto and_left_5; } and_right_5:; tmp_compexpr_left_18 = const_str_chr_34; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 327; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_18 = generator_heap->var_v; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_18, tmp_compexpr_left_18 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 327; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_right_value_5 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_25 = tmp_and_right_value_5; goto and_end_5; and_left_5:; tmp_condition_result_25 = tmp_and_left_value_5; and_end_5:; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { PyObject *tmp_assign_source_44; tmp_assign_source_44 = const_str_chr_34; { PyObject *old = generator_heap->var_quote_char; generator_heap->var_quote_char = tmp_assign_source_44; Py_INCREF( generator_heap->var_quote_char ); Py_XDECREF( old ); } } goto branch_end_25; branch_no_25:; { nuitka_bool tmp_condition_result_26; int tmp_and_left_truth_6; nuitka_bool tmp_and_left_value_6; nuitka_bool tmp_and_right_value_6; PyObject *tmp_compexpr_left_19; PyObject *tmp_compexpr_right_19; PyObject *tmp_compexpr_left_20; PyObject *tmp_compexpr_right_20; tmp_compexpr_left_19 = const_str_chr_34; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 329; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_19 = generator_heap->var_v; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_19, tmp_compexpr_left_19 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 329; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_left_value_6 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_6 = tmp_and_left_value_6 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_6 == 1 ) { goto and_right_6; } else { goto and_left_6; } and_right_6:; tmp_compexpr_left_20 = const_str_chr_39; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 329; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_20 = generator_heap->var_v; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_20, tmp_compexpr_left_20 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 329; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_and_right_value_6 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_26 = tmp_and_right_value_6; goto and_end_6; and_left_6:; tmp_condition_result_26 = tmp_and_left_value_6; and_end_6:; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { PyObject *tmp_assign_source_45; tmp_assign_source_45 = const_str_chr_39; { PyObject *old = generator_heap->var_quote_char; generator_heap->var_quote_char = tmp_assign_source_45; Py_INCREF( generator_heap->var_quote_char ); Py_XDECREF( old ); } } branch_no_26:; } branch_end_25:; } branch_no_24:; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_compexpr_left_21; PyObject *tmp_compexpr_right_21; if ( generator_heap->var_quote_char == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quote_char" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 331; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_compexpr_left_21 = generator_heap->var_quote_char; tmp_compexpr_right_21 = const_str_chr_39; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_21, tmp_compexpr_right_21 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 331; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_condition_result_27 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { PyObject *tmp_assign_source_46; PyObject *tmp_called_instance_13; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 332; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_13 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 332; tmp_assign_source_46 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_13, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_39_str_digest_a3d81feff0be3a3ff360ca33ad836962_tuple, 0 ) ); if ( tmp_assign_source_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 332; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_46; Py_XDECREF( old ); } } goto branch_end_27; branch_no_27:; { PyObject *tmp_assign_source_47; PyObject *tmp_called_instance_14; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 334; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_called_instance_14 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 334; tmp_assign_source_47 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_14, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_34_str_digest_0a0424cff781b765f01c51300bb05782_tuple, 0 ) ); if ( tmp_assign_source_47 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 334; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_47; Py_XDECREF( old ); } } branch_end_27:; } { PyObject *tmp_expression_name_8; PyObject *tmp_called_name_15; PyObject *tmp_source_name_22; PyObject *tmp_args_element_name_17; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 335; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_22 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_encodeStrict ); if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 335; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_quote_char == NULL ) { Py_DECREF( tmp_called_name_15 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quote_char" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 335; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_17 = generator_heap->var_quote_char; generator->m_frame->m_frame.f_lineno = 335; { PyObject *call_args[] = { tmp_args_element_name_17 }; tmp_expression_name_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args ); } Py_DECREF( tmp_called_name_15 ); if ( tmp_expression_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 335; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_15, sizeof(PyObject *), &tmp_source_name_22, sizeof(PyObject *), &tmp_args_element_name_17, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 8; return tmp_expression_name_8; yield_return_8: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_15, sizeof(PyObject *), &tmp_source_name_22, sizeof(PyObject *), &tmp_args_element_name_17, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 335; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } { PyObject *tmp_expression_name_9; PyObject *tmp_called_name_16; PyObject *tmp_source_name_23; PyObject *tmp_args_element_name_18; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 336; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_23 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_encode ); if ( tmp_called_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 336; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_v == NULL ) { Py_DECREF( tmp_called_name_16 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 336; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_18 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 336; { PyObject *call_args[] = { tmp_args_element_name_18 }; tmp_expression_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args ); } Py_DECREF( tmp_called_name_16 ); if ( tmp_expression_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 336; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_16, sizeof(PyObject *), &tmp_source_name_23, sizeof(PyObject *), &tmp_args_element_name_18, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 9; return tmp_expression_name_9; yield_return_9: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_16, sizeof(PyObject *), &tmp_source_name_23, sizeof(PyObject *), &tmp_args_element_name_18, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 336; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } { PyObject *tmp_expression_name_10; PyObject *tmp_called_name_17; PyObject *tmp_source_name_24; PyObject *tmp_args_element_name_19; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 337; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_24 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_encodeStrict ); if ( tmp_called_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 337; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_quote_char == NULL ) { Py_DECREF( tmp_called_name_17 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quote_char" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 337; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_19 = generator_heap->var_quote_char; generator->m_frame->m_frame.f_lineno = 337; { PyObject *call_args[] = { tmp_args_element_name_19 }; tmp_expression_name_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_17, call_args ); } Py_DECREF( tmp_called_name_17 ); if ( tmp_expression_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 337; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_17, sizeof(PyObject *), &tmp_source_name_24, sizeof(PyObject *), &tmp_args_element_name_19, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 10; return tmp_expression_name_10; yield_return_10: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_17, sizeof(PyObject *), &tmp_source_name_24, sizeof(PyObject *), &tmp_args_element_name_19, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 337; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } goto branch_end_23; branch_no_23:; { PyObject *tmp_expression_name_11; PyObject *tmp_called_name_18; PyObject *tmp_source_name_25; PyObject *tmp_args_element_name_20; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 339; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_source_name_25 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_18 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_encode ); if ( tmp_called_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 339; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } if ( generator_heap->var_v == NULL ) { Py_DECREF( tmp_called_name_18 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 339; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_args_element_name_20 = generator_heap->var_v; generator->m_frame->m_frame.f_lineno = 339; { PyObject *call_args[] = { tmp_args_element_name_20 }; tmp_expression_name_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_18, call_args ); } Py_DECREF( tmp_called_name_18 ); if ( tmp_expression_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 339; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_18, sizeof(PyObject *), &tmp_source_name_25, sizeof(PyObject *), &tmp_args_element_name_20, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 11; return tmp_expression_name_11; yield_return_11: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_18, sizeof(nuitka_bool), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_source_name_12, sizeof(PyObject *), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_9, sizeof(PyObject *), &tmp_compexpr_right_9, sizeof(PyObject *), &tmp_called_name_12, sizeof(PyObject *), &tmp_source_name_13, sizeof(PyObject *), &tmp_mvar_value_3, sizeof(PyObject *), &tmp_args_element_name_13, sizeof(PyObject *), &tmp_args_element_name_14, sizeof(PyObject *), &tmp_compexpr_left_10, sizeof(PyObject *), &tmp_compexpr_right_10, sizeof(PyObject *), &tmp_called_instance_9, sizeof(PyObject *), &tmp_mvar_value_4, sizeof(PyObject *), &tmp_condition_result_23, sizeof(nuitka_bool), &tmp_truth_name_14, sizeof(int), &tmp_called_name_18, sizeof(PyObject *), &tmp_source_name_25, sizeof(PyObject *), &tmp_args_element_name_20, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 339; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } branch_end_23:; } branch_no_18:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 301; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } goto try_end_5; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_5 = generator_heap->exception_type; generator_heap->exception_keeper_value_5 = generator_heap->exception_value; generator_heap->exception_keeper_tb_5 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_5 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value ); generator_heap->tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator ); generator_heap->tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_5; generator_heap->exception_value = generator_heap->exception_keeper_value_5; generator_heap->exception_tb = generator_heap->exception_keeper_tb_5; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_5; goto try_except_handler_2; } // End of try: try_end_5:; } { Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value ); generator_heap->tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator ); generator_heap->tmp_for_loop_2__for_iterator = NULL; } { nuitka_bool tmp_condition_result_28; int tmp_and_left_truth_7; nuitka_bool tmp_and_left_value_7; nuitka_bool tmp_and_right_value_7; PyObject *tmp_compexpr_left_22; PyObject *tmp_compexpr_right_22; PyObject *tmp_mvar_value_7; PyObject *tmp_source_name_26; PyObject *tmp_attribute_value_8; int tmp_truth_name_16; if ( generator_heap->var_name == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_22 = generator_heap->var_name; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_voidElements ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_voidElements ); } if ( tmp_mvar_value_7 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "voidElements" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_22 = tmp_mvar_value_7; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_22, tmp_compexpr_left_22 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_left_value_7 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_7 = tmp_and_left_value_7 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_7 == 1 ) { goto and_right_7; } else { goto and_left_7; } and_right_7:; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_26 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_8 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain_use_trailing_solidus ); if ( tmp_attribute_value_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_16 = CHECK_IF_TRUE( tmp_attribute_value_8 ); if ( tmp_truth_name_16 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_8 ); generator_heap->exception_lineno = 340; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_right_value_7 = tmp_truth_name_16 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_8 ); tmp_condition_result_28 = tmp_and_right_value_7; goto and_end_7; and_left_7:; tmp_condition_result_28 = tmp_and_left_value_7; and_end_7:; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_28; } else { goto branch_no_28; } branch_yes_28:; { nuitka_bool tmp_condition_result_29; PyObject *tmp_source_name_27; PyObject *tmp_attribute_value_9; int tmp_truth_name_17; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 341; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_27 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_9 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_space_before_trailing_solidus ); if ( tmp_attribute_value_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 341; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_17 = CHECK_IF_TRUE( tmp_attribute_value_9 ); if ( tmp_truth_name_17 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_9 ); generator_heap->exception_lineno = 341; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_29 = tmp_truth_name_17 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_9 ); if ( tmp_condition_result_29 == NUITKA_BOOL_TRUE ) { goto branch_yes_29; } else { goto branch_no_29; } branch_yes_29:; { PyObject *tmp_expression_name_12; PyObject *tmp_called_instance_15; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 342; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_15 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 342; tmp_expression_name_12 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_15, const_str_plain_encodeStrict, &PyTuple_GET_ITEM( const_tuple_str_digest_1c1d8534171c01e2acfa5f22e7740f2b_tuple, 0 ) ); if ( tmp_expression_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 342; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_28, sizeof(nuitka_bool), &tmp_and_left_truth_7, sizeof(int), &tmp_and_left_value_7, sizeof(nuitka_bool), &tmp_and_right_value_7, sizeof(nuitka_bool), &tmp_compexpr_left_22, sizeof(PyObject *), &tmp_compexpr_right_22, sizeof(PyObject *), &tmp_mvar_value_7, sizeof(PyObject *), &tmp_source_name_26, sizeof(PyObject *), &tmp_attribute_value_8, sizeof(PyObject *), &tmp_truth_name_16, sizeof(int), &tmp_condition_result_29, sizeof(nuitka_bool), &tmp_source_name_27, sizeof(PyObject *), &tmp_attribute_value_9, sizeof(PyObject *), &tmp_truth_name_17, sizeof(int), &tmp_called_instance_15, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 12; return tmp_expression_name_12; yield_return_12: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_28, sizeof(nuitka_bool), &tmp_and_left_truth_7, sizeof(int), &tmp_and_left_value_7, sizeof(nuitka_bool), &tmp_and_right_value_7, sizeof(nuitka_bool), &tmp_compexpr_left_22, sizeof(PyObject *), &tmp_compexpr_right_22, sizeof(PyObject *), &tmp_mvar_value_7, sizeof(PyObject *), &tmp_source_name_26, sizeof(PyObject *), &tmp_attribute_value_8, sizeof(PyObject *), &tmp_truth_name_16, sizeof(int), &tmp_condition_result_29, sizeof(nuitka_bool), &tmp_source_name_27, sizeof(PyObject *), &tmp_attribute_value_9, sizeof(PyObject *), &tmp_truth_name_17, sizeof(int), &tmp_called_instance_15, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 342; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_29; branch_no_29:; { PyObject *tmp_expression_name_13; PyObject *tmp_called_instance_16; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 344; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_16 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 344; tmp_expression_name_13 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_16, const_str_plain_encodeStrict, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_expression_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 344; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_28, sizeof(nuitka_bool), &tmp_and_left_truth_7, sizeof(int), &tmp_and_left_value_7, sizeof(nuitka_bool), &tmp_and_right_value_7, sizeof(nuitka_bool), &tmp_compexpr_left_22, sizeof(PyObject *), &tmp_compexpr_right_22, sizeof(PyObject *), &tmp_mvar_value_7, sizeof(PyObject *), &tmp_source_name_26, sizeof(PyObject *), &tmp_attribute_value_8, sizeof(PyObject *), &tmp_truth_name_16, sizeof(int), &tmp_condition_result_29, sizeof(nuitka_bool), &tmp_source_name_27, sizeof(PyObject *), &tmp_attribute_value_9, sizeof(PyObject *), &tmp_truth_name_17, sizeof(int), &tmp_called_instance_16, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 13; return tmp_expression_name_13; yield_return_13: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_28, sizeof(nuitka_bool), &tmp_and_left_truth_7, sizeof(int), &tmp_and_left_value_7, sizeof(nuitka_bool), &tmp_and_right_value_7, sizeof(nuitka_bool), &tmp_compexpr_left_22, sizeof(PyObject *), &tmp_compexpr_right_22, sizeof(PyObject *), &tmp_mvar_value_7, sizeof(PyObject *), &tmp_source_name_26, sizeof(PyObject *), &tmp_attribute_value_8, sizeof(PyObject *), &tmp_truth_name_16, sizeof(int), &tmp_condition_result_29, sizeof(nuitka_bool), &tmp_source_name_27, sizeof(PyObject *), &tmp_attribute_value_9, sizeof(PyObject *), &tmp_truth_name_17, sizeof(int), &tmp_called_instance_16, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 344; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } branch_end_29:; } branch_no_28:; } { PyObject *tmp_expression_name_14; PyObject *tmp_called_instance_17; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 345; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_17 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 345; tmp_expression_name_14 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_17, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_chr_62_tuple, 0 ) ); if ( tmp_expression_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 345; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_instance_17, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 14; return tmp_expression_name_14; yield_return_14: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_called_instance_17, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 345; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_15; branch_no_15:; { nuitka_bool tmp_condition_result_30; PyObject *tmp_compexpr_left_23; PyObject *tmp_compexpr_right_23; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 347; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_23 = generator_heap->var_type; tmp_compexpr_right_23 = const_str_plain_EndTag; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_23, tmp_compexpr_right_23 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 347; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_30 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto branch_yes_30; } else { goto branch_no_30; } branch_yes_30:; { PyObject *tmp_assign_source_48; PyObject *tmp_subscribed_name_15; PyObject *tmp_subscript_name_15; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 348; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_15 = generator_heap->var_token; tmp_subscript_name_15 = const_str_plain_name; tmp_assign_source_48 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_15, tmp_subscript_name_15 ); if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 348; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_name; generator_heap->var_name = tmp_assign_source_48; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_31; PyObject *tmp_compexpr_left_24; PyObject *tmp_compexpr_right_24; PyObject *tmp_mvar_value_8; CHECK_OBJECT( generator_heap->var_name ); tmp_compexpr_left_24 = generator_heap->var_name; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_rcdataElements ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_rcdataElements ); } if ( tmp_mvar_value_8 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "rcdataElements" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 349; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_24 = tmp_mvar_value_8; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_24, tmp_compexpr_left_24 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 349; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_31 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto branch_yes_31; } else { goto branch_no_31; } branch_yes_31:; { PyObject *tmp_assign_source_49; tmp_assign_source_49 = Py_False; { PyObject *old = generator_heap->var_in_cdata; generator_heap->var_in_cdata = tmp_assign_source_49; Py_INCREF( generator_heap->var_in_cdata ); Py_XDECREF( old ); } } goto branch_end_31; branch_no_31:; { nuitka_bool tmp_condition_result_32; int tmp_truth_name_18; if ( generator_heap->var_in_cdata == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_cdata" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 351; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_18 = CHECK_IF_TRUE( generator_heap->var_in_cdata ); if ( tmp_truth_name_18 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 351; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_32 = tmp_truth_name_18 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto branch_yes_32; } else { goto branch_no_32; } branch_yes_32:; { PyObject *tmp_called_instance_18; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 352; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_18 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 352; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_18, const_str_plain_serializeError, &PyTuple_GET_ITEM( const_tuple_str_digest_81bc30b4e62844a6e7deac82a881dc7d_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 352; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_32:; } branch_end_31:; } { PyObject *tmp_expression_name_15; PyObject *tmp_called_name_19; PyObject *tmp_source_name_28; PyObject *tmp_args_element_name_21; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_28 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_19 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_encodeStrict ); if ( tmp_called_name_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_9 = const_str_digest_effaccf01132aa7a279407b5ff12ad69; if ( generator_heap->var_name == NULL ) { Py_DECREF( tmp_called_name_19 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_9 = generator_heap->var_name; tmp_args_element_name_21 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); if ( tmp_args_element_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_19 ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 353; { PyObject *call_args[] = { tmp_args_element_name_21 }; tmp_expression_name_15 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_19, call_args ); } Py_DECREF( tmp_called_name_19 ); Py_DECREF( tmp_args_element_name_21 ); if ( tmp_expression_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_called_name_19, sizeof(PyObject *), &tmp_source_name_28, sizeof(PyObject *), &tmp_args_element_name_21, sizeof(PyObject *), &tmp_left_name_9, sizeof(PyObject *), &tmp_right_name_9, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 15; return tmp_expression_name_15; yield_return_15: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_called_name_19, sizeof(PyObject *), &tmp_source_name_28, sizeof(PyObject *), &tmp_args_element_name_21, sizeof(PyObject *), &tmp_left_name_9, sizeof(PyObject *), &tmp_right_name_9, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 353; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_30; branch_no_30:; { nuitka_bool tmp_condition_result_33; PyObject *tmp_compexpr_left_25; PyObject *tmp_compexpr_right_25; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 355; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_25 = generator_heap->var_type; tmp_compexpr_right_25 = const_str_plain_Comment; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_25, tmp_compexpr_right_25 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 355; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_33 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto branch_yes_33; } else { goto branch_no_33; } branch_yes_33:; { PyObject *tmp_assign_source_50; PyObject *tmp_subscribed_name_16; PyObject *tmp_subscript_name_16; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 356; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_16 = generator_heap->var_token; tmp_subscript_name_16 = const_str_plain_data; tmp_assign_source_50 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_16, tmp_subscript_name_16 ); if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 356; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_data; generator_heap->var_data = tmp_assign_source_50; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_34; PyObject *tmp_compexpr_left_26; PyObject *tmp_compexpr_right_26; PyObject *tmp_called_instance_19; CHECK_OBJECT( generator_heap->var_data ); tmp_called_instance_19 = generator_heap->var_data; generator->m_frame->m_frame.f_lineno = 357; tmp_compexpr_left_26 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_19, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_digest_85fe97af08c9a213aa891dc673aeaa3e_tuple, 0 ) ); if ( tmp_compexpr_left_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 357; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_26 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_26, tmp_compexpr_right_26 ); Py_DECREF( tmp_compexpr_left_26 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 357; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_34 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_34; } else { goto branch_no_34; } branch_yes_34:; { PyObject *tmp_called_instance_20; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 358; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_20 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 358; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_20, const_str_plain_serializeError, &PyTuple_GET_ITEM( const_tuple_str_digest_1368a1262adf6c8f9e05641f9e489ea4_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 358; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_34:; } { PyObject *tmp_expression_name_16; PyObject *tmp_called_name_20; PyObject *tmp_source_name_29; PyObject *tmp_args_element_name_22; PyObject *tmp_left_name_10; PyObject *tmp_right_name_10; PyObject *tmp_subscribed_name_17; PyObject *tmp_subscript_name_17; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_29 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_20 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_encodeStrict ); if ( tmp_called_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_10 = const_str_digest_c80a6937774641657a6dac4ad54a24d6; if ( generator_heap->var_token == NULL ) { Py_DECREF( tmp_called_name_20 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_17 = generator_heap->var_token; tmp_subscript_name_17 = const_str_plain_data; tmp_right_name_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_17, tmp_subscript_name_17 ); if ( tmp_right_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_20 ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_22 = BINARY_OPERATION_REMAINDER( tmp_left_name_10, tmp_right_name_10 ); Py_DECREF( tmp_right_name_10 ); if ( tmp_args_element_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_20 ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 359; { PyObject *call_args[] = { tmp_args_element_name_22 }; tmp_expression_name_16 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_20, call_args ); } Py_DECREF( tmp_called_name_20 ); Py_DECREF( tmp_args_element_name_22 ); if ( tmp_expression_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_condition_result_33, sizeof(nuitka_bool), &tmp_compexpr_left_25, sizeof(PyObject *), &tmp_compexpr_right_25, sizeof(PyObject *), &tmp_called_name_20, sizeof(PyObject *), &tmp_source_name_29, sizeof(PyObject *), &tmp_args_element_name_22, sizeof(PyObject *), &tmp_left_name_10, sizeof(PyObject *), &tmp_right_name_10, sizeof(PyObject *), &tmp_subscribed_name_17, sizeof(PyObject *), &tmp_subscript_name_17, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 16; return tmp_expression_name_16; yield_return_16: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_condition_result_33, sizeof(nuitka_bool), &tmp_compexpr_left_25, sizeof(PyObject *), &tmp_compexpr_right_25, sizeof(PyObject *), &tmp_called_name_20, sizeof(PyObject *), &tmp_source_name_29, sizeof(PyObject *), &tmp_args_element_name_22, sizeof(PyObject *), &tmp_left_name_10, sizeof(PyObject *), &tmp_right_name_10, sizeof(PyObject *), &tmp_subscribed_name_17, sizeof(PyObject *), &tmp_subscript_name_17, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 359; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_33; branch_no_33:; { nuitka_bool tmp_condition_result_35; PyObject *tmp_compexpr_left_27; PyObject *tmp_compexpr_right_27; if ( generator_heap->var_type == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 361; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_27 = generator_heap->var_type; tmp_compexpr_right_27 = const_str_plain_Entity; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_27, tmp_compexpr_right_27 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 361; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_35 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto branch_yes_35; } else { goto branch_no_35; } branch_yes_35:; { PyObject *tmp_assign_source_51; PyObject *tmp_subscribed_name_18; PyObject *tmp_subscript_name_18; if ( generator_heap->var_token == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 362; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_18 = generator_heap->var_token; tmp_subscript_name_18 = const_str_plain_name; tmp_assign_source_51 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_18, tmp_subscript_name_18 ); if ( tmp_assign_source_51 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 362; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_name; generator_heap->var_name = tmp_assign_source_51; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_52; PyObject *tmp_left_name_11; PyObject *tmp_right_name_11; CHECK_OBJECT( generator_heap->var_name ); tmp_left_name_11 = generator_heap->var_name; tmp_right_name_11 = const_str_chr_59; tmp_assign_source_52 = BINARY_OPERATION_ADD( tmp_left_name_11, tmp_right_name_11 ); if ( tmp_assign_source_52 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 363; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_key; generator_heap->var_key = tmp_assign_source_52; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_36; PyObject *tmp_compexpr_left_28; PyObject *tmp_compexpr_right_28; PyObject *tmp_mvar_value_9; CHECK_OBJECT( generator_heap->var_key ); tmp_compexpr_left_28 = generator_heap->var_key; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_entities ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_entities ); } if ( tmp_mvar_value_9 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "entities" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 364; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_28 = tmp_mvar_value_9; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_28, tmp_compexpr_left_28 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 364; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_36 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto branch_yes_36; } else { goto branch_no_36; } branch_yes_36:; { PyObject *tmp_called_name_21; PyObject *tmp_source_name_30; PyObject *tmp_args_element_name_23; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 365; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_30 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_21 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain_serializeError ); if ( tmp_called_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 365; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_left_name_12 = const_str_digest_45bf095ec65b6daaf5d7d061d493ab02; if ( generator_heap->var_name == NULL ) { Py_DECREF( tmp_called_name_21 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 365; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_12 = generator_heap->var_name; tmp_args_element_name_23 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 ); if ( tmp_args_element_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_21 ); generator_heap->exception_lineno = 365; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 365; { PyObject *call_args[] = { tmp_args_element_name_23 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_21, call_args ); } Py_DECREF( tmp_called_name_21 ); Py_DECREF( tmp_args_element_name_23 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 365; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_36:; } { nuitka_bool tmp_condition_result_37; int tmp_and_left_truth_8; nuitka_bool tmp_and_left_value_8; nuitka_bool tmp_and_right_value_8; PyObject *tmp_source_name_31; PyObject *tmp_attribute_value_10; int tmp_truth_name_19; PyObject *tmp_compexpr_left_29; PyObject *tmp_compexpr_right_29; PyObject *tmp_mvar_value_10; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_31 = PyCell_GET( generator->m_closure[1] ); tmp_attribute_value_10 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_resolve_entities ); if ( tmp_attribute_value_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_truth_name_19 = CHECK_IF_TRUE( tmp_attribute_value_10 ); if ( tmp_truth_name_19 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_10 ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_left_value_8 = tmp_truth_name_19 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_10 ); tmp_and_left_truth_8 = tmp_and_left_value_8 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_8 == 1 ) { goto and_right_8; } else { goto and_left_8; } and_right_8:; if ( generator_heap->var_key == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_29 = generator_heap->var_key; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_xmlEntities ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_xmlEntities ); } if ( tmp_mvar_value_10 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "xmlEntities" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_right_29 = tmp_mvar_value_10; generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_29, tmp_compexpr_left_29 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 366; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_and_right_value_8 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_37 = tmp_and_right_value_8; goto and_end_8; and_left_8:; tmp_condition_result_37 = tmp_and_left_value_8; and_end_8:; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto branch_yes_37; } else { goto branch_no_37; } branch_yes_37:; { PyObject *tmp_assign_source_53; PyObject *tmp_subscribed_name_19; PyObject *tmp_mvar_value_11; PyObject *tmp_subscript_name_19; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_entities ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_entities ); } if ( tmp_mvar_value_11 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "entities" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 367; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_19 = tmp_mvar_value_11; if ( generator_heap->var_key == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 367; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscript_name_19 = generator_heap->var_key; tmp_assign_source_53 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_19, tmp_subscript_name_19 ); if ( tmp_assign_source_53 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 367; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_data; generator_heap->var_data = tmp_assign_source_53; Py_XDECREF( old ); } } goto branch_end_37; branch_no_37:; { PyObject *tmp_assign_source_54; PyObject *tmp_left_name_13; PyObject *tmp_right_name_13; tmp_left_name_13 = const_str_digest_0a965353587989cc5fc3cd0b4a3488a4; if ( generator_heap->var_name == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 369; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_13 = generator_heap->var_name; tmp_assign_source_54 = BINARY_OPERATION_REMAINDER( tmp_left_name_13, tmp_right_name_13 ); if ( tmp_assign_source_54 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 369; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_data; generator_heap->var_data = tmp_assign_source_54; Py_XDECREF( old ); } } branch_end_37:; } { PyObject *tmp_expression_name_17; PyObject *tmp_called_name_22; PyObject *tmp_source_name_32; PyObject *tmp_args_element_name_24; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 370; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_32 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_22 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_encodeStrict ); if ( tmp_called_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 370; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } if ( generator_heap->var_data == NULL ) { Py_DECREF( tmp_called_name_22 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 370; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_24 = generator_heap->var_data; generator->m_frame->m_frame.f_lineno = 370; { PyObject *call_args[] = { tmp_args_element_name_24 }; tmp_expression_name_17 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_22, call_args ); } Py_DECREF( tmp_called_name_22 ); if ( tmp_expression_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 370; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_condition_result_33, sizeof(nuitka_bool), &tmp_compexpr_left_25, sizeof(PyObject *), &tmp_compexpr_right_25, sizeof(PyObject *), &tmp_condition_result_35, sizeof(nuitka_bool), &tmp_compexpr_left_27, sizeof(PyObject *), &tmp_compexpr_right_27, sizeof(PyObject *), &tmp_called_name_22, sizeof(PyObject *), &tmp_source_name_32, sizeof(PyObject *), &tmp_args_element_name_24, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 17; return tmp_expression_name_17; yield_return_17: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_6, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_15, sizeof(nuitka_bool), &tmp_compexpr_left_7, sizeof(PyObject *), &tmp_compexpr_right_7, sizeof(PyObject *), &tmp_condition_result_30, sizeof(nuitka_bool), &tmp_compexpr_left_23, sizeof(PyObject *), &tmp_compexpr_right_23, sizeof(PyObject *), &tmp_condition_result_33, sizeof(nuitka_bool), &tmp_compexpr_left_25, sizeof(PyObject *), &tmp_compexpr_right_25, sizeof(PyObject *), &tmp_condition_result_35, sizeof(nuitka_bool), &tmp_compexpr_left_27, sizeof(PyObject *), &tmp_compexpr_right_27, sizeof(PyObject *), &tmp_called_name_22, sizeof(PyObject *), &tmp_source_name_32, sizeof(PyObject *), &tmp_args_element_name_24, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 370; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto branch_end_35; branch_no_35:; { PyObject *tmp_called_name_23; PyObject *tmp_source_name_33; PyObject *tmp_args_element_name_25; PyObject *tmp_subscribed_name_20; PyObject *tmp_subscript_name_20; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 373; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_33 = PyCell_GET( generator->m_closure[1] ); tmp_called_name_23 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_serializeError ); if ( tmp_called_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 373; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } if ( generator_heap->var_token == NULL ) { Py_DECREF( tmp_called_name_23 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 373; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_20 = generator_heap->var_token; tmp_subscript_name_20 = const_str_plain_data; tmp_args_element_name_25 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_20, tmp_subscript_name_20 ); if ( tmp_args_element_name_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_23 ); generator_heap->exception_lineno = 373; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 373; { PyObject *call_args[] = { tmp_args_element_name_25 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_23, call_args ); } Py_DECREF( tmp_called_name_23 ); Py_DECREF( tmp_args_element_name_25 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 373; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_end_35:; } branch_end_33:; } branch_end_30:; } branch_end_15:; } branch_end_12:; } branch_end_6:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 265; generator_heap->type_description_1 = "cccooooooooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_6; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_6 = generator_heap->exception_type; generator_heap->exception_keeper_value_6 = generator_heap->exception_value; generator_heap->exception_keeper_tb_6 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_6 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value ); generator_heap->tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator ); generator_heap->tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_6; generator_heap->exception_value = generator_heap->exception_keeper_value_6; generator_heap->exception_tb = generator_heap->exception_keeper_tb_6; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_6:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, generator->m_closure[1], generator->m_closure[2], generator->m_closure[0], generator_heap->var_in_cdata, generator_heap->var_Filter, generator_heap->var_token, generator_heap->var_type, generator_heap->var_doctype, generator_heap->var_quote_char, generator_heap->var_name, generator_heap->var__, generator_heap->var_attr_name, generator_heap->var_attr_value, generator_heap->var_k, generator_heap->var_v, generator_heap->var_quote_attr, generator_heap->var_data, generator_heap->var_key ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_7; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_7 = generator_heap->exception_type; generator_heap->exception_keeper_value_7 = generator_heap->exception_value; generator_heap->exception_keeper_tb_7 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_7 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_in_cdata ); generator_heap->var_in_cdata = NULL; } { Py_XDECREF( generator_heap->var_Filter ); generator_heap->var_Filter = NULL; } { Py_XDECREF( generator_heap->var_token ); generator_heap->var_token = NULL; } { Py_XDECREF( generator_heap->var_type ); generator_heap->var_type = NULL; } { Py_XDECREF( generator_heap->var_doctype ); generator_heap->var_doctype = NULL; } { Py_XDECREF( generator_heap->var_quote_char ); generator_heap->var_quote_char = NULL; } { Py_XDECREF( generator_heap->var_name ); generator_heap->var_name = NULL; } { Py_XDECREF( generator_heap->var__ ); generator_heap->var__ = NULL; } { Py_XDECREF( generator_heap->var_attr_name ); generator_heap->var_attr_name = NULL; } { Py_XDECREF( generator_heap->var_attr_value ); generator_heap->var_attr_value = NULL; } { Py_XDECREF( generator_heap->var_k ); generator_heap->var_k = NULL; } { Py_XDECREF( generator_heap->var_v ); generator_heap->var_v = NULL; } { Py_XDECREF( generator_heap->var_quote_attr ); generator_heap->var_quote_attr = NULL; } { Py_XDECREF( generator_heap->var_data ); generator_heap->var_data = NULL; } { Py_XDECREF( generator_heap->var_key ); generator_heap->var_key = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_7; generator_heap->exception_value = generator_heap->exception_keeper_value_7; generator_heap->exception_tb = generator_heap->exception_keeper_tb_7; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_7; goto function_exception_exit; } // End of try: try_end_7:; } { Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value ); generator_heap->tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator ); generator_heap->tmp_for_loop_1__for_iterator = NULL; } { Py_XDECREF( generator_heap->var_in_cdata ); generator_heap->var_in_cdata = NULL; } { Py_XDECREF( generator_heap->var_Filter ); generator_heap->var_Filter = NULL; } { Py_XDECREF( generator_heap->var_token ); generator_heap->var_token = NULL; } { Py_XDECREF( generator_heap->var_type ); generator_heap->var_type = NULL; } { Py_XDECREF( generator_heap->var_doctype ); generator_heap->var_doctype = NULL; } { Py_XDECREF( generator_heap->var_quote_char ); generator_heap->var_quote_char = NULL; } { Py_XDECREF( generator_heap->var_name ); generator_heap->var_name = NULL; } { Py_XDECREF( generator_heap->var__ ); generator_heap->var__ = NULL; } { Py_XDECREF( generator_heap->var_attr_name ); generator_heap->var_attr_name = NULL; } { Py_XDECREF( generator_heap->var_attr_value ); generator_heap->var_attr_value = NULL; } { Py_XDECREF( generator_heap->var_k ); generator_heap->var_k = NULL; } { Py_XDECREF( generator_heap->var_v ); generator_heap->var_v = NULL; } { Py_XDECREF( generator_heap->var_quote_attr ); generator_heap->var_quote_attr = NULL; } { Py_XDECREF( generator_heap->var_data ); generator_heap->var_data = NULL; } { Py_XDECREF( generator_heap->var_key ); generator_heap->var_key = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_maker( void ) { return Nuitka_Generator_New( html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_context, module_html5lib$serializer, const_str_plain_serialize, #if PYTHON_VERSION >= 350 const_str_digest_2fe33107e3a0e0c5960752cdfe6bac8b, #endif codeobj_2806d4ce90cd1ce99678659655c55e97, 3, sizeof(struct html5lib$serializer$$$function_6_serialize$$$genobj_1_serialize_locals) ); } static PyObject *impl_html5lib$serializer$$$function_7_render( 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_treewalker = python_pars[ 1 ]; PyObject *par_encoding = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_09a693524f82cf35345f33576cadf6f6; 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_09a693524f82cf35345f33576cadf6f6 = 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_09a693524f82cf35345f33576cadf6f6, codeobj_09a693524f82cf35345f33576cadf6f6, module_html5lib$serializer, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_09a693524f82cf35345f33576cadf6f6 = cache_frame_09a693524f82cf35345f33576cadf6f6; // Push the new frame as the currently active one. pushFrameStack( frame_09a693524f82cf35345f33576cadf6f6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_09a693524f82cf35345f33576cadf6f6 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( par_encoding ); tmp_truth_name_1 = CHECK_IF_TRUE( par_encoding ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_1 = "ooo"; 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_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_list_arg_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; tmp_source_name_1 = const_bytes_empty; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); assert( !(tmp_called_name_1 == NULL) ); CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_serialize ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_treewalker == NULL ) { Py_DECREF( tmp_called_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", "treewalker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_treewalker; if ( par_encoding == NULL ) { Py_DECREF( tmp_called_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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_encoding; frame_09a693524f82cf35345f33576cadf6f6->m_frame.f_lineno = 396; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_list_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PySequence_List( tmp_list_arg_1 ); Py_DECREF( tmp_list_arg_1 ); 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 = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_09a693524f82cf35345f33576cadf6f6->m_frame.f_lineno = 396; { 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 = 396; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_list_arg_2; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_5; tmp_source_name_3 = const_str_empty; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_join ); assert( !(tmp_called_name_3 == NULL) ); CHECK_OBJECT( par_self ); tmp_source_name_4 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_serialize ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_treewalker == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "treewalker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_treewalker; frame_09a693524f82cf35345f33576cadf6f6->m_frame.f_lineno = 398; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_list_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_list_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = PySequence_List( tmp_list_arg_2 ); Py_DECREF( tmp_list_arg_2 ); 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 = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_09a693524f82cf35345f33576cadf6f6->m_frame.f_lineno = 398; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_return_value = 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_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 398; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_09a693524f82cf35345f33576cadf6f6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_09a693524f82cf35345f33576cadf6f6 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_09a693524f82cf35345f33576cadf6f6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_09a693524f82cf35345f33576cadf6f6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_09a693524f82cf35345f33576cadf6f6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_09a693524f82cf35345f33576cadf6f6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_09a693524f82cf35345f33576cadf6f6, type_description_1, par_self, par_treewalker, par_encoding ); // Release cached frame. if ( frame_09a693524f82cf35345f33576cadf6f6 == cache_frame_09a693524f82cf35345f33576cadf6f6 ) { Py_DECREF( frame_09a693524f82cf35345f33576cadf6f6 ); } cache_frame_09a693524f82cf35345f33576cadf6f6 = NULL; assertFrameObject( frame_09a693524f82cf35345f33576cadf6f6 ); // 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$serializer$$$function_7_render ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_treewalker ); par_treewalker = NULL; } { Py_XDECREF( par_encoding ); par_encoding = 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_treewalker ); par_treewalker = NULL; } { Py_XDECREF( par_encoding ); par_encoding = 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$serializer$$$function_7_render ); 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$serializer$$$function_8_serializeError( 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_0c25520c0857e20ca57e22f1fb625f4e; 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_0c25520c0857e20ca57e22f1fb625f4e = 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_0c25520c0857e20ca57e22f1fb625f4e, codeobj_0c25520c0857e20ca57e22f1fb625f4e, module_html5lib$serializer, sizeof(void *)+sizeof(void *) ); frame_0c25520c0857e20ca57e22f1fb625f4e = cache_frame_0c25520c0857e20ca57e22f1fb625f4e; // Push the new frame as the currently active one. pushFrameStack( frame_0c25520c0857e20ca57e22f1fb625f4e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0c25520c0857e20ca57e22f1fb625f4e ) == 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; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_errors ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append ); 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 = 402; type_description_1 = "oo"; 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 = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_0c25520c0857e20ca57e22f1fb625f4e->m_frame.f_lineno = 402; { 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 = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_3; PyObject *tmp_attribute_value_1; int tmp_truth_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 = 403; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_strict ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 403; type_description_1 = "oo"; 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 = 403; type_description_1 = "oo"; 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_raise_type_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_SerializeError ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SerializeError ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SerializeError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 404; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_raise_type_1 = tmp_mvar_value_1; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 404; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0c25520c0857e20ca57e22f1fb625f4e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0c25520c0857e20ca57e22f1fb625f4e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0c25520c0857e20ca57e22f1fb625f4e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0c25520c0857e20ca57e22f1fb625f4e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0c25520c0857e20ca57e22f1fb625f4e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0c25520c0857e20ca57e22f1fb625f4e, type_description_1, par_self, par_data ); // Release cached frame. if ( frame_0c25520c0857e20ca57e22f1fb625f4e == cache_frame_0c25520c0857e20ca57e22f1fb625f4e ) { Py_DECREF( frame_0c25520c0857e20ca57e22f1fb625f4e ); } cache_frame_0c25520c0857e20ca57e22f1fb625f4e = NULL; assertFrameObject( frame_0c25520c0857e20ca57e22f1fb625f4e ); // 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$serializer$$$function_8_serializeError ); 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$serializer$$$function_8_serializeError ); 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$serializer$$$function_1_htmlentityreplace_errors( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_1_htmlentityreplace_errors, const_str_plain_htmlentityreplace_errors, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_974692674f3c300cc4e1662658b357fc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_2_serialize( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_2_serialize, const_str_plain_serialize, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_52603af83d42e5ab3900a2800331eb68, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, const_str_digest_3ebff851ef4ced537dfeb1da9816b872, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_3___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_3___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_014ff86370a6b88b8cba0a005dc66e61, #endif codeobj_b8616de2d353c55093a327431e69d92a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, const_str_digest_8f45e66dcad25a84568377b5ca20c9b8, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_4_encode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_4_encode, const_str_plain_encode, #if PYTHON_VERSION >= 300 const_str_digest_142631de7020fd4952e4a338fac17c9c, #endif codeobj_12ca190b99eb2c4a5bfb820b8194a0b1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_5_encodeStrict( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_5_encodeStrict, const_str_plain_encodeStrict, #if PYTHON_VERSION >= 300 const_str_digest_4059b94fc4f22f1c3a890cddd6eb7b75, #endif codeobj_aa654545b650d2245e74c97c0df44114, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_6_serialize( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_6_serialize, const_str_plain_serialize, #if PYTHON_VERSION >= 300 const_str_digest_2fe33107e3a0e0c5960752cdfe6bac8b, #endif codeobj_2806d4ce90cd1ce99678659655c55e97, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_7_render( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_7_render, const_str_plain_render, #if PYTHON_VERSION >= 300 const_str_digest_4770ad00e7b626b24ceafb8f23e7a8bb, #endif codeobj_09a693524f82cf35345f33576cadf6f6, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, const_str_digest_76103f97635a3101aea1df9bc3d540fd, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$serializer$$$function_8_serializeError( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$serializer$$$function_8_serializeError, const_str_plain_serializeError, #if PYTHON_VERSION >= 300 const_str_digest_4e22726cad3faad8ce2e39a5a9cdeafe, #endif codeobj_0c25520c0857e20ca57e22f1fb625f4e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$serializer, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_html5lib$serializer = { PyModuleDef_HEAD_INIT, "html5lib.serializer", /* 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$serializer ) { #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$serializer ); } 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.serializer: 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.serializer: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("html5lib.serializer: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in inithtml5lib$serializer" ); // 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$serializer = Py_InitModule4( "html5lib.serializer", // 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$serializer = PyModule_Create( &mdef_html5lib$serializer ); #endif moduledict_html5lib$serializer = MODULE_DICT( module_html5lib$serializer ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (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$serializer, (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$serializer, (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$serializer, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_html5lib$serializer ); // 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_fe7418a8bad7cc10cdbf2c4eff8a8e5b, module_html5lib$serializer ); 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$serializer, (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$serializer, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (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$serializer, (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$serializer, (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 *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_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; PyObject *tmp_import_from_3__module = NULL; PyObject *tmp_import_from_4__module = NULL; PyObject *tmp_import_from_5__module = 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_d87f98f57637e0d7a26ece04383710bf; 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; 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 *tmp_iterator_attempt; 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; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_html5lib$serializer_104 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_08e23ddb3575e156fd03530ae8535837_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_08e23ddb3575e156fd03530ae8535837_2 = NULL; 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; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *locals_html5lib$serializer_407 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_490cf39db856f7d89e4dea8e97aa0151; UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (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$serializer, (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_d87f98f57637e0d7a26ece04383710bf = MAKE_MODULE_FRAME( codeobj_d87f98f57637e0d7a26ece04383710bf, module_html5lib$serializer ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_d87f98f57637e0d7a26ece04383710bf ); assert( Py_REFCNT( frame_d87f98f57637e0d7a26ece04383710bf ) == 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 = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (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 = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (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 = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (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_import_name_from_4; 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_six; tmp_globals_name_1 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_text_type_tuple; tmp_level_name_1 = const_int_0; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 2; tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_import_name_from_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 2; goto frame_exception_exit_1; } tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_text_type ); Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 2; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_text_type, 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$serializer; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 4; 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 = 4; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (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_codecs; tmp_globals_name_3 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_register_error_str_plain_xmlcharrefreplace_errors_tuple; tmp_level_name_3 = const_int_0; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 6; 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 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_10; } { // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_import_name_from_5; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_5 = tmp_import_from_2__module; tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_register_error ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_register_error, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_6 = tmp_import_from_2__module; tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_xmlcharrefreplace_errors ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_xmlcharrefreplace_errors, tmp_assign_source_12 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; 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_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = 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 frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { PyObject *tmp_assign_source_13; 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_plain_constants; tmp_globals_name_4 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_a2eee181b984e5300927a4acf00aa1a3_tuple; tmp_level_name_4 = const_int_pos_1; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 8; tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto frame_exception_exit_1; } assert( tmp_import_from_3__module == NULL ); tmp_import_from_3__module = tmp_assign_source_13; } { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_7 = tmp_import_from_3__module; 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_voidElements, const_int_pos_1 ); } else { tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_voidElements ); } if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_voidElements, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_8; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_8 = tmp_import_from_3__module; 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_booleanAttributes, const_int_pos_1 ); } else { tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_booleanAttributes ); } if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_booleanAttributes, tmp_assign_source_15 ); } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_9; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_9 = tmp_import_from_3__module; if ( PyModule_Check( tmp_import_name_from_9 ) ) { tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)MODULE_DICT(tmp_import_name_from_9), const_str_plain_spaceCharacters, const_int_pos_1 ); } else { tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_spaceCharacters ); } if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_spaceCharacters, tmp_assign_source_16 ); } goto try_end_3; // 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_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = 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:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = NULL; } { PyObject *tmp_assign_source_17; 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$serializer; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_2a9f1a6c3bbd2d5f92618b0c2a7d4f62_tuple; tmp_level_name_5 = const_int_pos_1; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 9; tmp_assign_source_17 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto frame_exception_exit_1; } assert( tmp_import_from_4__module == NULL ); tmp_import_from_4__module = tmp_assign_source_17; } { // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_10; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_10 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_10 ) ) { tmp_assign_source_18 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)MODULE_DICT(tmp_import_name_from_10), const_str_plain_rcdataElements, const_int_pos_1 ); } else { tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_rcdataElements ); } if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_rcdataElements, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_11; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_11 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_11 ) ) { tmp_assign_source_19 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)MODULE_DICT(tmp_import_name_from_11), const_str_plain_entities, const_int_pos_1 ); } else { tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_entities ); } if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_entities, tmp_assign_source_19 ); } { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_12; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_12 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_12 ) ) { tmp_assign_source_20 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)MODULE_DICT(tmp_import_name_from_12), const_str_plain_xmlEntities, const_int_pos_1 ); } else { tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain_xmlEntities ); } if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_xmlEntities, tmp_assign_source_20 ); } goto try_end_4; // Exception handler code: try_except_handler_4:; 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_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = 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_4:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = NULL; } { PyObject *tmp_assign_source_21; 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$serializer; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_str_plain_treewalkers_str_plain__utils_tuple; tmp_level_name_6 = const_int_pos_1; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 10; tmp_assign_source_21 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto frame_exception_exit_1; } assert( tmp_import_from_5__module == NULL ); tmp_import_from_5__module = tmp_assign_source_21; } { // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_import_name_from_13; CHECK_OBJECT( tmp_import_from_5__module ); tmp_import_name_from_13 = tmp_import_from_5__module; if ( PyModule_Check( tmp_import_name_from_13 ) ) { tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)MODULE_DICT(tmp_import_name_from_13), const_str_plain_treewalkers, const_int_pos_1 ); } else { tmp_assign_source_22 = IMPORT_NAME( tmp_import_name_from_13, const_str_plain_treewalkers ); } if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_treewalkers, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_14; CHECK_OBJECT( tmp_import_from_5__module ); tmp_import_name_from_14 = tmp_import_from_5__module; if ( PyModule_Check( tmp_import_name_from_14 ) ) { tmp_assign_source_23 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_14, (PyObject *)MODULE_DICT(tmp_import_name_from_14), const_str_plain__utils, const_int_pos_1 ); } else { tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_14, const_str_plain__utils ); } if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__utils, tmp_assign_source_23 ); } goto try_end_5; // Exception handler code: try_except_handler_5:; 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; { CHECK_OBJECT( (PyObject *)tmp_import_from_5__module ); Py_DECREF( tmp_import_from_5__module ); tmp_import_from_5__module = 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_5:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_5__module ); Py_DECREF( tmp_import_from_5__module ); tmp_import_from_5__module = NULL; } { PyObject *tmp_assign_source_24; PyObject *tmp_import_name_from_15; 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_digest_ab515849ebca7deaff42737911a1a57e; tmp_globals_name_7 = (PyObject *)moduledict_html5lib$serializer; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain_escape_tuple; tmp_level_name_7 = const_int_0; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 11; tmp_import_name_from_15 = 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_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } tmp_assign_source_24 = IMPORT_NAME( tmp_import_name_from_15, const_str_plain_escape ); Py_DECREF( tmp_import_name_from_15 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_escape, tmp_assign_source_24 ); } { PyObject *tmp_assign_source_25; PyObject *tmp_left_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_right_name_1; tmp_source_name_1 = const_str_empty; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); assert( !(tmp_called_name_1 == NULL) ); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_spaceCharacters ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharacters ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharacters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 13; goto frame_exception_exit_1; } tmp_args_element_name_1 = tmp_mvar_value_1; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 13; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_left_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } tmp_right_name_1 = const_str_digest_cdec768902c025a1be1382af5e0130c1; tmp_assign_source_25 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpecChars, tmp_assign_source_25 ); } { PyObject *tmp_assign_source_26; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_right_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_2 == 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 = 14; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_compile ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } tmp_left_name_3 = const_str_chr_91; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpecChars ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpecChars ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_quoteAttributeSpecChars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 14; goto frame_exception_exit_1; } tmp_right_name_2 = tmp_mvar_value_3; tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 14; goto frame_exception_exit_1; } tmp_right_name_3 = const_str_chr_93; tmp_args_element_name_2 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); 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 = 14; goto frame_exception_exit_1; } frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 14; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_26 = 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_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpec, tmp_assign_source_26 ); } { PyObject *tmp_assign_source_27; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_3; PyObject *tmp_left_name_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_4; PyObject *tmp_mvar_value_5; PyObject *tmp_right_name_5; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_4 == 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 = 15; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_4; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_compile ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } tmp_left_name_5 = const_str_chr_91; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpecChars ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__quoteAttributeSpecChars ); } if ( tmp_mvar_value_5 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_quoteAttributeSpecChars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 15; goto frame_exception_exit_1; } tmp_right_name_4 = tmp_mvar_value_5; tmp_left_name_4 = BINARY_OPERATION_ADD( tmp_left_name_5, tmp_right_name_4 ); if ( tmp_left_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 15; goto frame_exception_exit_1; } tmp_right_name_5 = const_str_digest_0f38fb7cd422658bd6cecda5d259f9d8; tmp_args_element_name_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_5 ); Py_DECREF( tmp_left_name_4 ); 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 = 15; goto frame_exception_exit_1; } frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 15; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_27 = 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_assign_source_27 == 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$serializer, (Nuitka_StringObject *)const_str_plain__quoteAttributeLegacy, tmp_assign_source_27 ); } { PyObject *tmp_assign_source_28; tmp_assign_source_28 = PyDict_New(); UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__encode_entity_map, tmp_assign_source_28 ); } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = Py_True; UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__is_ucs4, tmp_assign_source_29 ); } { PyObject *tmp_assign_source_30; PyObject *tmp_iter_arg_1; PyObject *tmp_list_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_6; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_entities ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_entities ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "entities" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 27; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_6; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 27; tmp_list_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto frame_exception_exit_1; } tmp_iter_arg_1 = PySequence_List( tmp_list_arg_1 ); Py_DECREF( tmp_list_arg_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto frame_exception_exit_1; } tmp_assign_source_30 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_30; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_31; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_31 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_31 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto try_except_handler_6; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_31; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_32; 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_32 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_32; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_33 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_33 == 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 ); } exception_lineno = 27; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_33; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_34; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_34 = UNPACK_NEXT( tmp_unpack_2, 1, 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 ); } exception_lineno = 27; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_34; 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 ); exception_lineno = 27; goto try_except_handler_8; } } } 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 ); exception_lineno = 27; goto try_except_handler_8; } } goto try_end_6; // Exception handler code: try_except_handler_8:; 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; { 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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; } // End of try: try_end_6:; } goto try_end_7; // Exception handler code: try_except_handler_7:; 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_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_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_6; } // End of try: try_end_7:; } { 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_35; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_35 = tmp_tuple_unpack_1__element_1; UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_k, tmp_assign_source_35 ); } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_36; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_36 = tmp_tuple_unpack_1__element_2; UPDATE_STRING_DICT0( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v, tmp_assign_source_36 ); } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_mvar_value_7; int tmp_truth_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_mvar_value_8; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_operand_name_1; PyObject *tmp_mvar_value_9; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_2; PyObject *tmp_mvar_value_10; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__is_ucs4 ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__is_ucs4 ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_is_ucs4" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 29; goto try_except_handler_6; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_7 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; goto try_except_handler_6; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? 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:; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 29; goto try_except_handler_6; } tmp_len_arg_1 = tmp_mvar_value_8; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; goto try_except_handler_6; } tmp_compexpr_right_1 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 29; goto try_except_handler_6; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_value_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_or_left_value_1 = tmp_and_left_value_1; and_end_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:; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__is_ucs4 ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__is_ucs4 ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_is_ucs4" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; goto try_except_handler_6; } tmp_operand_name_1 = tmp_mvar_value_9; 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 = 30; goto try_except_handler_6; } 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:; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; goto try_except_handler_6; } tmp_len_arg_2 = tmp_mvar_value_10; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto try_except_handler_6; } tmp_compexpr_right_2 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 30; goto try_except_handler_6; } tmp_and_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_or_right_value_1 = tmp_and_left_value_2; and_end_2:; tmp_condition_result_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_1 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_start_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_mvar_value_11; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_11 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 32; goto try_except_handler_6; } tmp_compexpr_left_3 = tmp_mvar_value_11; tmp_compexpr_right_3 = const_str_chr_38; 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 = 32; goto try_except_handler_6; } 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:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_len_arg_3; PyObject *tmp_mvar_value_12; tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_12 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 33; goto try_except_handler_6; } tmp_len_arg_3 = tmp_mvar_value_12; tmp_compexpr_left_4 = BUILTIN_LEN( tmp_len_arg_3 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; goto try_except_handler_6; } tmp_compexpr_right_4 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_EQ_NORECURSE( 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 = 33; goto try_except_handler_6; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_37; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_13; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_14; tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_13 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 34; goto try_except_handler_6; } tmp_source_name_4 = tmp_mvar_value_13; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_surrogatePairToCodepoint ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_6; } tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_14 == NULL )) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_14 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 34; goto try_except_handler_6; } tmp_args_element_name_4 = tmp_mvar_value_14; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 34; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_37 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_6; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v, tmp_assign_source_37 ); } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_38; PyObject *tmp_ord_arg_1; PyObject *tmp_mvar_value_15; tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_15 == NULL )) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_15 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; goto try_except_handler_6; } tmp_ord_arg_1 = tmp_mvar_value_15; tmp_assign_source_38 = BUILTIN_ORD( tmp_ord_arg_1 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto try_except_handler_6; } UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v, tmp_assign_source_38 ); } branch_end_3:; } { nuitka_bool tmp_condition_result_4; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_mvar_value_16; PyObject *tmp_mvar_value_17; PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_18; PyObject *tmp_call_result_1; int tmp_truth_name_2; tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_16 == NULL )) { tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } CHECK_OBJECT( tmp_mvar_value_16 ); tmp_compexpr_left_5 = tmp_mvar_value_16; tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); if (unlikely( tmp_mvar_value_17 == NULL )) { tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); } if ( tmp_mvar_value_17 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode_entity_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 37; goto try_except_handler_6; } tmp_compexpr_right_5 = tmp_mvar_value_17; tmp_res = PySequence_Contains( tmp_compexpr_right_5, tmp_compexpr_left_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 37; goto try_except_handler_6; } 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:; tmp_mvar_value_18 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_k ); if (unlikely( tmp_mvar_value_18 == NULL )) { tmp_mvar_value_18 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_k ); } if ( tmp_mvar_value_18 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "k" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 37; goto try_except_handler_6; } tmp_called_instance_2 = tmp_mvar_value_18; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 37; tmp_call_result_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_islower ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 37; goto try_except_handler_6; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 37; goto try_except_handler_6; } tmp_or_right_value_2 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); tmp_condition_result_4 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_condition_result_4 = tmp_or_left_value_2; or_end_2:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_ass_subvalue_1; PyObject *tmp_mvar_value_19; PyObject *tmp_ass_subscribed_1; PyObject *tmp_mvar_value_20; PyObject *tmp_ass_subscript_1; PyObject *tmp_mvar_value_21; tmp_mvar_value_19 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_k ); if (unlikely( tmp_mvar_value_19 == NULL )) { tmp_mvar_value_19 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_k ); } if ( tmp_mvar_value_19 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "k" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; goto try_except_handler_6; } tmp_ass_subvalue_1 = tmp_mvar_value_19; tmp_mvar_value_20 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); if (unlikely( tmp_mvar_value_20 == NULL )) { tmp_mvar_value_20 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode_entity_map ); } if ( tmp_mvar_value_20 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode_entity_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; goto try_except_handler_6; } tmp_ass_subscribed_1 = tmp_mvar_value_20; tmp_mvar_value_21 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_v ); if (unlikely( tmp_mvar_value_21 == NULL )) { tmp_mvar_value_21 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_v ); } if ( tmp_mvar_value_21 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; goto try_except_handler_6; } tmp_ass_subscript_1 = tmp_mvar_value_21; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 39; goto try_except_handler_6; } } branch_no_4:; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto try_except_handler_6; } goto loop_start_1; loop_end_1:; } goto try_end_8; // Exception handler code: try_except_handler_6:; 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_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_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_8:; } { 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_assign_source_39; tmp_assign_source_39 = MAKE_FUNCTION_html5lib$serializer$$$function_1_htmlentityreplace_errors( ); UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_htmlentityreplace_errors, tmp_assign_source_39 ); } { PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_22; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_mvar_value_23; tmp_mvar_value_22 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_register_error ); if (unlikely( tmp_mvar_value_22 == NULL )) { tmp_mvar_value_22 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_register_error ); } if ( tmp_mvar_value_22 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "register_error" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; goto frame_exception_exit_1; } tmp_called_name_5 = tmp_mvar_value_22; tmp_args_element_name_5 = const_str_plain_htmlentityreplace; tmp_mvar_value_23 = GET_STRING_DICT_VALUE( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_htmlentityreplace_errors ); if (unlikely( tmp_mvar_value_23 == NULL )) { tmp_mvar_value_23 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_htmlentityreplace_errors ); } CHECK_OBJECT( tmp_mvar_value_23 ); tmp_args_element_name_6 = tmp_mvar_value_23; frame_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 72; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args ); } if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_40; PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_str_plain_etree_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_assign_source_40 = MAKE_FUNCTION_html5lib$serializer$$$function_2_serialize( tmp_defaults_1 ); UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_serialize, tmp_assign_source_40 ); } { // Tried code: { PyObject *tmp_assign_source_41; 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_41 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_41; } { PyObject *tmp_assign_source_42; tmp_assign_source_42 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_42; } { PyObject *tmp_assign_source_43; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_5; 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_6; int tmp_truth_name_3; 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 = 104; goto try_except_handler_9; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == 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 = 104; goto try_except_handler_9; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } tmp_condition_result_6 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == 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 = 104; goto try_except_handler_9; } 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 = 104; goto try_except_handler_9; } 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_43 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_43; } { nuitka_bool tmp_condition_result_7; 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 = 104; goto try_except_handler_9; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { 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 = 104; goto try_except_handler_9; } } branch_no_5:; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_source_name_5; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_5 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ ); tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_44; PyObject *tmp_called_name_6; PyObject *tmp_source_name_6; 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_6 = tmp_class_creation_1__metaclass; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } tmp_tuple_element_1 = const_str_plain_HTMLSerializer; 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_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 104; tmp_assign_source_44 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_44; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_7 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_7, 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 = 104; goto try_except_handler_9; } tmp_condition_result_9 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_8; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_6 = 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 = 104; goto try_except_handler_9; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_8 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 104; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_9; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 104; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_9; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_45; tmp_assign_source_45 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_45; } branch_end_6:; } { PyObject *tmp_assign_source_46; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_html5lib$serializer_104 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_fe7418a8bad7cc10cdbf2c4eff8a8e5b; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, 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 = 104; goto try_except_handler_11; } } { tmp_dictset_value = const_str_plain_HTMLSerializer; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, 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 = 104; goto try_except_handler_11; } } MAKE_OR_REUSE_FRAME( cache_frame_08e23ddb3575e156fd03530ae8535837_2, codeobj_08e23ddb3575e156fd03530ae8535837, module_html5lib$serializer, sizeof(void *) ); frame_08e23ddb3575e156fd03530ae8535837_2 = cache_frame_08e23ddb3575e156fd03530ae8535837_2; // Push the new frame as the currently active one. pushFrameStack( frame_08e23ddb3575e156fd03530ae8535837_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_08e23ddb3575e156fd03530ae8535837_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_plain_legacy; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_quote_attr_values, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_str_chr_34; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_quote_char, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_use_best_quote_char, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_omit_optional_tags, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 112; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_minimize_boolean_attributes, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_use_trailing_solidus, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 114; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_space_before_trailing_solidus, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_escape_lt_in_attrs, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_escape_rcdata, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_resolve_entities, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_alphabetical_attributes, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_inject_meta_charset, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_strip_whitespace, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_sanitize, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_tuple_7067a801a1d1cf60ecdf09e746f9d90d_tuple; tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_options, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_3___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, 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 = 135; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_4_encode( ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_encode, 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 = 224; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_5_encodeStrict( ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_encodeStrict, 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_2; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_6_serialize( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_serialize, 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 = 238; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_3 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_7_render( tmp_defaults_3 ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_render, 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 = 375; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_str_digest_3c001c9cdbc9559f8c41b15d80a1821f_tuple; Py_INCREF( tmp_defaults_4 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$serializer$$$function_8_serializeError( tmp_defaults_4 ); tmp_res = PyObject_SetItem( locals_html5lib$serializer_104, const_str_plain_serializeError, 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 = 400; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_08e23ddb3575e156fd03530ae8535837_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_08e23ddb3575e156fd03530ae8535837_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_08e23ddb3575e156fd03530ae8535837_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_08e23ddb3575e156fd03530ae8535837_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_08e23ddb3575e156fd03530ae8535837_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_08e23ddb3575e156fd03530ae8535837_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_08e23ddb3575e156fd03530ae8535837_2 == cache_frame_08e23ddb3575e156fd03530ae8535837_2 ) { Py_DECREF( frame_08e23ddb3575e156fd03530ae8535837_2 ); } cache_frame_08e23ddb3575e156fd03530ae8535837_2 = NULL; assertFrameObject( frame_08e23ddb3575e156fd03530ae8535837_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_11; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_6 = tmp_class_creation_1__bases; tmp_compexpr_right_6 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_11; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == 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$serializer_104, 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 = 104; goto try_except_handler_11; } } branch_no_8:; } { PyObject *tmp_assign_source_47; PyObject *tmp_called_name_7; 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_7 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_HTMLSerializer; 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$serializer_104; 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_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 104; tmp_assign_source_47 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_47 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 104; goto try_except_handler_11; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_47; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_46 = outline_0_var___class__; Py_INCREF( tmp_assign_source_46 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_DECREF( locals_html5lib$serializer_104 ); locals_html5lib$serializer_104 = NULL; } { goto try_return_handler_10; } // Exception handler code: try_except_handler_11:; 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_DECREF( locals_html5lib$serializer_104 ); locals_html5lib$serializer_104 = 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 try_except_handler_10; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { 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_10:; 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; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 104; goto try_except_handler_9; outline_result_1:; UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_HTMLSerializer, tmp_assign_source_46 ); } goto try_end_9; // Exception handler code: try_except_handler_9:; 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( 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_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; } // End of try: try_end_9:; } { 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_48; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_Exception_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_48 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_48; } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_49; } { PyObject *tmp_assign_source_50; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_11; 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_12; int tmp_truth_name_4; 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 = 407; goto try_except_handler_12; } tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == 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 = 407; goto try_except_handler_12; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } tmp_condition_result_12 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == 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 = 407; goto try_except_handler_12; } 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 = 407; goto try_except_handler_12; } 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_50 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_50; } { nuitka_bool tmp_condition_result_13; 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 = 407; goto try_except_handler_12; } tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { 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 = 407; goto try_except_handler_12; } } branch_no_9:; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_source_name_9; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_9 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ ); tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assign_source_51; PyObject *tmp_called_name_8; PyObject *tmp_source_name_10; 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_10 = tmp_class_creation_2__metaclass; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } tmp_tuple_element_4 = const_str_plain_SerializeError; 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_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 407; tmp_assign_source_51 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_51 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_51; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_11 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_11, 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 = 407; goto try_except_handler_12; } tmp_condition_result_15 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_12; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_7 = 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 = 407; goto try_except_handler_12; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_12 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ ); Py_DECREF( tmp_source_name_12 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 407; goto try_except_handler_12; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_12; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 407; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_12; } branch_no_11:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_52; tmp_assign_source_52 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_52; } branch_end_10:; } { PyObject *tmp_assign_source_53; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_html5lib$serializer_407 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_fe7418a8bad7cc10cdbf2c4eff8a8e5b; tmp_res = PyObject_SetItem( locals_html5lib$serializer_407, 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 = 407; goto try_except_handler_14; } } { tmp_dictset_value = const_str_digest_3da7ccb3c63d1454ed2de4f48f61b7ae; tmp_res = PyObject_SetItem( locals_html5lib$serializer_407, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_14; } } { tmp_dictset_value = const_str_plain_SerializeError; tmp_res = PyObject_SetItem( locals_html5lib$serializer_407, 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 = 407; goto try_except_handler_14; } } { nuitka_bool tmp_condition_result_16; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_7 = tmp_class_creation_2__bases; tmp_compexpr_right_7 = const_tuple_type_Exception_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_7, tmp_compexpr_right_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_14; } tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { tmp_dictset_value = const_tuple_type_Exception_tuple; tmp_res = PyObject_SetItem( locals_html5lib$serializer_407, 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 = 407; goto try_except_handler_14; } } branch_no_12:; } { PyObject *tmp_assign_source_54; PyObject *tmp_called_name_9; 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_9 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_SerializeError; 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$serializer_407; 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_d87f98f57637e0d7a26ece04383710bf->m_frame.f_lineno = 407; tmp_assign_source_54 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_54 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; goto try_except_handler_14; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_54; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_53 = outline_1_var___class__; Py_INCREF( tmp_assign_source_53 ); goto try_return_handler_14; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { Py_DECREF( locals_html5lib$serializer_407 ); locals_html5lib$serializer_407 = NULL; } { goto try_return_handler_13; } // Exception handler code: try_except_handler_14:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_html5lib$serializer_407 ); locals_html5lib$serializer_407 = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { 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_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$serializer ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 407; goto try_except_handler_12; outline_result_2:; UPDATE_STRING_DICT1( moduledict_html5lib$serializer, (Nuitka_StringObject *)const_str_plain_SerializeError, tmp_assign_source_53 ); } goto try_end_10; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = 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_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; } // End of try: try_end_10:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_d87f98f57637e0d7a26ece04383710bf ); #endif popFrameStack(); assertFrameObject( frame_d87f98f57637e0d7a26ece04383710bf ); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d87f98f57637e0d7a26ece04383710bf ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d87f98f57637e0d7a26ece04383710bf, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d87f98f57637e0d7a26ece04383710bf->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d87f98f57637e0d7a26ece04383710bf, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_2:; { 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; } return MOD_RETURN_VALUE( module_html5lib$serializer ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }